Skip to content

Commit

Permalink
Add: Icons - Close Tab, Close Window, Find Again #917
Browse files Browse the repository at this point in the history
  • Loading branch information
black7375 committed Jul 1, 2024
1 parent f5e3ce1 commit 362f34b
Show file tree
Hide file tree
Showing 4 changed files with 85 additions and 13 deletions.
74 changes: 61 additions & 13 deletions css/leptonChrome.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions css/leptonChromeESR.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions src/icons/_global_menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,12 @@
--menuitem-image: url("../icons/toolbarButton-upload.svg");
}
#menu_close {
--menuitem-image: var(--uc-tab-close-icon);
}
#menu_closeWindow {
@include Option("userChrome.icon.menu.full") {
--menuitem-image: url("../icons/close-window.svg");
}
}

#menu_savePage {
Expand Down Expand Up @@ -90,6 +94,9 @@ menu.share-tab-url-item {
--menuitem-image: url("chrome://global/skin/icons/search-glass.svg");
}
#menu_findAgain {
@include Option("userChrome.icon.menu.full") {
--menuitem-image: url("../icons/find-again.svg");
}
}

#textfieldDirection-swap {
Expand Down
2 changes: 2 additions & 0 deletions src/icons/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
--uc-tab-copy-icon: url("../icons/tab-copy.svg");
--uc-tab-unload-icon: url("../icons/tab-unload.svg");
--uc-tab-multiple-icon: url("../icons/tab-desktop-multiple.svg");
--uc-tab-close-icon: url("../icons/close-tab.svg");
--uc-tab-close-duplicate-icon: url("../icons/close-duplicate-tabs.svg");
--uc-new-tab-icon: url("../icons/new-tab.svg");
--uc-new-tab-forward-icon: url("../icons/new-tab-forward.svg");
Expand All @@ -17,6 +18,7 @@
--uc-tab-copy-icon: url("../icons/tab-copy-photon.svg");
--uc-tab-unload-icon: url("../icons/tab-unload-photon.svg");
--uc-tab-multiple-icon: url("../icons/tab-multiple.svg");
--uc-tab-close-icon: url("../icons/close-tab-photon.svg");
--uc-tab-close-duplicate-icon: url("../icons/close-duplicate-tabs-photon.svg");
--uc-new-tab-icon: url("../icons/new-tab-photon.svg");
--uc-new-tab-forward-icon: url("../icons/new-tab-forward-photon.svg");
Expand Down

0 comments on commit 362f34b

Please sign in to comment.