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 23, 2024
1 parent 6168c55 commit 6b34310
Show file tree
Hide file tree
Showing 17 changed files with 64 additions and 35 deletions.
4 changes: 2 additions & 2 deletions src/bootstrap/_customizations.css
Original file line number Diff line number Diff line change
Expand Up @@ -121,15 +121,15 @@ ul:not([class]) li {
content: none;
}

.accordion-button svg.icon {
.accordion-button .icon {
flex-shrink: 0;
width: 24px;
height: 24px;
margin-left: auto;
transition: transform 0.2s ease-in-out;
}

.accordion-button:not(.collapsed) svg.icon {
.accordion-button:not(.collapsed) .icon {
transform: rotate(-180deg);
}

Expand Down
13 changes: 7 additions & 6 deletions src/design/icons.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ module.exports = [
{ id: 'api', category: 'general' },
{ id: 'back', category: 'general' },
{ id: 'caret-down', category: 'caret' },
{ id: 'caret-left', category: 'caret' },
{ id: 'caret-right', category: 'caret' },
{ id: 'caret-up', category: 'caret' },
{ id: 'checkmark', category: 'general' },
{ id: 'checkout-complete', category: 'checkout' },
{ id: 'checkout-expired', category: 'checkout' },
Expand All @@ -36,28 +38,26 @@ module.exports = [
{ id: 'logo-tor', category: 'logo' },
{ id: 'minus', category: 'general' },
{ 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' },
{ id: 'nav-invoice', category: 'nav' },
{ id: 'nav-invoices', category: 'nav' },
{ id: 'nav-keypad', category: 'nav' },
{ id: 'nav-lightning-address', category: 'nav' },
{ id: 'nav-manage', category: 'nav' },
{ id: 'nav-menu', category: 'nav' },
{ id: 'nav-mobile-menu', category: 'nav' },
{ id: 'nav-notifications', category: 'nav' },
{ id: 'nav-pay-button', category: 'nav' },
{ id: 'nav-payment-requests', category: 'nav' },
{ id: 'nav-payouts', category: 'nav' },
{ id: 'nav-plugin', category: 'nav' },
{ id: 'nav-plugins-explore', category: 'nav' },
{ id: 'nav-plugins-manage', category: 'nav' },
{ id: 'nav-pointofsale', category: 'nav' },
{ id: 'nav-pull-payments', category: 'nav' },
{ id: 'nav-reporting', category: 'nav' },
{ id: 'nav-server-settings', category: 'nav' },
{ id: 'nav-settings', category: 'nav' },
{ id: 'nav-store-settings', category: 'nav' },
{ id: 'nav-store', category: 'nav' },
{ id: 'notifications-invoice-failure', category: 'notifications' },
{ id: 'notifications-invoice-settled', category: 'notifications' },
Expand All @@ -73,6 +73,7 @@ module.exports = [
{ id: 'pos-static', category: 'pos' },
{ id: 'qr-code', category: 'general' },
{ id: 'scan-qr', category: 'general' },
{ id: 'settings', category: 'general' },
{ id: 'social-github', category: 'social' },
{ id: 'social-mattermost', category: 'social' },
{ id: 'social-nostr', category: 'social' },
Expand Down
3 changes: 3 additions & 0 deletions src/icons/caret/left.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/icons/caret/up.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 0 additions & 3 deletions src/icons/nav/back.svg

This file was deleted.

3 changes: 0 additions & 3 deletions src/icons/nav/close.svg

This file was deleted.

File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
9 changes: 8 additions & 1 deletion src/icons/notifications/invoice-failure.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 8 additions & 1 deletion src/icons/notifications/invoice-settled.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 8 additions & 3 deletions src/icons/notifications/payout-approved.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 8 additions & 3 deletions src/icons/notifications/payout.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/icons/settings.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/static/styles/btcpayserver-bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -12257,15 +12257,15 @@ ul:not([class]) li {
content: none;
}

.accordion-button svg.icon {
.accordion-button .icon {
flex-shrink: 0;
width: 24px;
height: 24px;
margin-left: auto;
transition: transform 0.2s ease-in-out;
}

.accordion-button:not(.collapsed) svg.icon {
.accordion-button:not(.collapsed) .icon {
transform: rotate(-180deg);
}

Expand Down
Loading

0 comments on commit 6b34310

Please sign in to comment.