Skip to content

Commit

Permalink
Merge pull request #852 from zapSNH/master
Browse files Browse the repository at this point in the history
  • Loading branch information
black7375 authored Dec 25, 2023
2 parents 6fda07f + b3e7fff commit f2c8e5d
Show file tree
Hide file tree
Showing 13 changed files with 85 additions and 31 deletions.
52 changes: 38 additions & 14 deletions css/leptonChrome.css

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

26 changes: 19 additions & 7 deletions css/leptonChromeESR.css

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

1 change: 1 addition & 0 deletions icons/command-console.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions icons/command-eyedropper.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions icons/firefox-view.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions icons/flame.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: 1 addition & 3 deletions icons/tab-photon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions icons/translations.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: 9 additions & 0 deletions src/icons/_1.25px_stroke.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#firefox-view-button {
list-style-image: url("../icons/firefox-view.svg") !important;
}
#reset-pbm-toolbar-button {
list-style-image: url("../icons/flame.svg") !important;
}
#translations-button-icon {
list-style-image: url("../icons/translations.svg") !important;
}
6 changes: 3 additions & 3 deletions src/icons/_global_menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -282,21 +282,21 @@ menu.share-tab-url-item {
--menuitem-image: url("../icons/command-frames.svg");
}
#menu_browserConsole {
--menuitem-image: url("chrome://devtools/skin/images/command-console.svg");
--menuitem-image: url("../icons/command-console.svg");
}
#menu_responsiveUI {
/* checkbox */
--menuitem-image: url("../icons/command-responsivemode.svg");
}
#menu_eyedropper {
/* checkbox */
--menuitem-image: url("chrome://devtools/skin/images/command-eyedropper.svg");
--menuitem-image: url("../icons/command-eyedropper.svg");
}
#menu_pageSource {
--menuitem-image: url("../icons/document-search.svg");
}
#extensionsForDevelopers {
--menuitem-image: url("chrome://devtools/skin/images/debugging-addons.svg");
--menuitem-image: url("chrome://mozapps/skin/extensions/extension.svg");
}

/*= windowPopup ==============================================================*/
Expand Down
5 changes: 5 additions & 0 deletions src/icons/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,10 @@
}
}

/** Icons - 1.25px Stroke Width ***********************************************/
@include Option("userChrome.icon.1-25px_stroke") {
@import "1.25px_stroke";
}

/** Icons for fork browsers ***************************************************/
@import "fork_browsers/index";
8 changes: 4 additions & 4 deletions src/icons/_panel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
list-style-image: url("chrome://global/skin/icons/search-glass.svg");
}
#appMenu-translate-button {
list-style-image: url(chrome://browser/skin/translations.svg);
list-style-image: url("../icons/translations.svg");
}
#appMenu-zoom-controls2::before, /* Legacy v104 */
#appMenu-zoom-controls::before {
Expand Down Expand Up @@ -340,7 +340,7 @@ panelMenuBookmarkThisPage[starred] {
/* Browser Console */
#appmenu-developer-tools-view .subviewbutton:nth-last-child(5),
#PanelUI-developer-tools-view .subviewbutton:nth-last-child(5) {
list-style-image: url("chrome://devtools/skin/images/command-console.svg");
list-style-image: url("../icons/command-console.svg");
}
/* Responsive Design Mode */
#appmenu-developer-tools-view .subviewbutton:nth-last-child(4),
Expand All @@ -350,7 +350,7 @@ panelMenuBookmarkThisPage[starred] {
/* Eyedropper */
#appmenu-developer-tools-view .subviewbutton:nth-last-child(3),
#PanelUI-developer-tools-view .subviewbutton:nth-last-child(3) {
list-style-image: url("chrome://devtools/skin/images/command-eyedropper.svg");
list-style-image: url("../icons/command-eyedropper.svg");
}
/* Page Source - Edge file-search.svg */
#appmenu-developer-tools-view .subviewbutton:nth-last-child(2),
Expand All @@ -360,7 +360,7 @@ panelMenuBookmarkThisPage[starred] {
/* Extensions for Devel */
#appmenu-developer-tools-view .subviewbutton:nth-last-child(1),
#PanelUI-developer-tools-view .subviewbutton:nth-last-child(1) {
list-style-image: url("chrome://devtools/skin/images/debugging-addons.svg");
list-style-image: url("chrome://mozapps/skin/extensions/extension.svg");
}
#appmenu-developer-tools-view .subviewbutton:last-child {
margin-bottom: 6px !important;
Expand Down
Loading

0 comments on commit f2c8e5d

Please sign in to comment.