Skip to content

Commit

Permalink
Add: Icons - Translate, Highlight, Widge up/down
Browse files Browse the repository at this point in the history
  • Loading branch information
black7375 committed May 5, 2024
1 parent f976adb commit af2014e
Show file tree
Hide file tree
Showing 5 changed files with 129 additions and 0 deletions.
68 changes: 68 additions & 0 deletions css/leptonChrome.css

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

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

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

4 changes: 4 additions & 0 deletions icons/toolbarButton-editorHighlight.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions src/icons/context_menu/_content_area.scss
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,9 @@
#context-pdfjs-selectall {
--menuitem-image: url("../icons/select-all-on.svg");
}
#context-pdfjs-highlight-selection {
--menuitem-image: url("../icons/toolbarButton-editorHighlight.svg");
}
#context-reveal-password {
--menuitem-image: url("../icons/eye-show.svg");
}
Expand All @@ -226,6 +229,10 @@
--menuitem-image: url("chrome://global/skin/icons/search-glass.svg");
}

#context-translate-selection {
--menuitem-image: url("../icons/translations.svg");
}

#frame {
--menuitem-image: url("../icons/command-frames.svg");
}
Expand Down
24 changes: 24 additions & 0 deletions src/icons/context_menu/_others.scss
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,13 @@ menuitem.searchbar-clear-history {
--menuitem-image: url("../icons/pin-tab.svg");
}

.unified-extensions-context-menu-move-widget-up {
--menuitem-image: url("chrome://global/skin/icons/arrow-up.svg");
}
.unified-extensions-context-menu-move-widget-down {
--menuitem-image: url("chrome://global/skin/icons/arrow-down.svg");
}

.unified-extensions-context-menu-manage-extension {
--menuitem-image: url("chrome://global/skin/icons/settings.svg");
}
Expand All @@ -260,3 +267,20 @@ menuitem.searchbar-clear-history {
--menuitem-image: url("chrome://global/skin/icons/info.svg");
}
}

/*= full-page-translations-panel-settings-menupopup ==========================*/
.manage-languages-menuitem {
--menuitem-image: url("chrome://global/skin/icons/settings.svg");
}
#full-page-translations-panel-settings-menupopup >
menuitem[data-l10n-id="translations-panel-settings-about2"] {
--menuitem-image: url("chrome://global/skin/icons/info.svg");
}

/*= select-translations-panel-settings-menupopup =============================*/
#select-translations-panel-open-settings-page-menuitem {
--menuitem-image: url("chrome://global/skin/icons/settings.svg");
}
#select-translations-panel-about-translations-menuitem {
--menuitem-image: url("chrome://global/skin/icons/info.svg");
}

0 comments on commit af2014e

Please sign in to comment.