Skip to content

Commit

Permalink
More icon updates
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisreimann committed Apr 18, 2024
1 parent 480c8f8 commit 5acc2cd
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 16 deletions.
22 changes: 14 additions & 8 deletions src/bootstrap/_customizations.css
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,19 @@ ul:not([class]) li {
padding: 1rem;
}

/* Icons */
.icon {
display: inline-block;
width: var(--icon-size, 1rem);
height: var(--icon-size, 1rem);
flex-shrink: 0 !important;
}

/* Button */
.btn .icon {
--icon-size: 1.25em;
}

.btn-outline-secondary {
--btcpay-btn-color: var(--btcpay-secondary-text);
}
Expand All @@ -176,12 +188,6 @@ ul:not([class]) li {
--btcpay-btn-color: var(--btcpay-secondary-text-active);
}

.btn .icon {
--btn-icon-size: 1.25em;
height: var(--btn-icon-size);
width: var(--btn-icon-size);
}

.btn.rounded-circle {
display: inline-flex;
align-items: center;
Expand All @@ -205,8 +211,8 @@ ul:not([class]) li {
position: relative;
top: -0.4rem;
display: inline-block;
width: 1rem;
height: 1rem;
width: var(--icon-size, 1rem);
height: var(--icon-size, 1rem);
}

.dropdown-toggle-split {
Expand Down
1 change: 1 addition & 0 deletions src/design/icons.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ module.exports = [
{ id: 'nav-account', category: 'nav' },
{ id: 'nav-back', category: 'nav' },
{ id: 'nav-close', category: 'nav' },
{ id: 'nav-contact', category: 'nav' },
{ id: 'nav-crowdfund', category: 'nav' },
{ id: 'nav-dashboard', category: 'nav' },
{ id: 'nav-explore', category: 'nav' },
Expand Down
3 changes: 3 additions & 0 deletions src/icons/nav/contact.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 14 additions & 8 deletions src/static/styles/btcpayserver-bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -12298,7 +12298,19 @@ ul:not([class]) li {
padding: 1rem;
}

/* Icons */
.icon {
display: inline-block;
width: var(--icon-size, 1rem);
height: var(--icon-size, 1rem);
flex-shrink: 0 !important;
}

/* Button */
.btn .icon {
--icon-size: 1.25em;
}

.btn-outline-secondary {
--btcpay-btn-color: var(--btcpay-secondary-text);
}
Expand All @@ -12312,12 +12324,6 @@ ul:not([class]) li {
--btcpay-btn-color: var(--btcpay-secondary-text-active);
}

.btn .icon {
--btn-icon-size: 1.25em;
height: var(--btn-icon-size);
width: var(--btn-icon-size);
}

.btn.rounded-circle {
display: inline-flex;
align-items: center;
Expand All @@ -12341,8 +12347,8 @@ ul:not([class]) li {
position: relative;
top: -0.4rem;
display: inline-block;
width: 1rem;
height: 1rem;
width: var(--icon-size, 1rem);
height: var(--icon-size, 1rem);
}

.dropdown-toggle-split {
Expand Down
1 change: 1 addition & 0 deletions src/static/svg/icons.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5acc2cd

Please sign in to comment.