diff --git a/README.md b/README.md index bd40bfb..4cf90f1 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,10 @@ To disable a tweak, set the key to `false` or delete it, then restart the browse |-| |`uc.tweak.less-permissions-button-padding`| +|disable custom context menus| +|-| +|`uc.tweak.revert-context-menu`| + ## Mica Tweak Instructions (Windows 11 Only) 1. Download and install [Mica For Everyone](https://github.com/MicaForEveryone/MicaForEveryone). 2. Create a custom process rule with the following: diff --git a/chrome/global/colors.css b/chrome/global/colors.css index 3f2eed2..62a1f46 100644 --- a/chrome/global/colors.css +++ b/chrome/global/colors.css @@ -46,9 +46,9 @@ --input-error-border-color: #FF848A !important; --zoom-controls-bgcolor: #4A4A4A !important; --arrowpanel-background: #fff !important; - --arrowpanel-color: #000 !important; + --arrowpanel-color: #1c1c1c !important; --panel-description-color: #000a !important; - --panel-disabled-color: #0009 !important; + --panel-disabled-color: #9E9E9E !important; --arrowpanel-dimmed: #565656 !important; --arrowpanel-dimmed-further: #707070 !important; --panel-item-hover-bgcolor: #eee !important; diff --git a/chrome/global/popup.css b/chrome/global/popup.css index 16b2d47..d119924 100644 --- a/chrome/global/popup.css +++ b/chrome/global/popup.css @@ -386,18 +386,20 @@ panelview .toolbarbutton-1, min-height: calc(16px + var(--uc-contextmenu-menuitem-padding-block) * 2) !important; } +/* disable context menu when this tweak is applied */ +@supports not -moz-bool-pref("uc.tweak.revert-context-menu") { /* Context Menu */ -menupopup, -menupopup menuitem, -menupopup menu, -menupopup menuseparator, +menupopup:not(.PanelUI-subView), +menupopup:not(.PanelUI-subView) menuitem, +menupopup:not(.PanelUI-subView) menu, +menupopup:not(.PanelUI-subView) menuseparator, panel { -moz-appearance: none !important; } -menupopup, +menupopup:not(.PanelUI-subView), panel[type="autocomplete-richlistbox"], -menulist>menupopup>menucaption { +menulist>menupopup:not(.PanelUI-subView)>menucaption { -moz-window-shadow: none !important; background: 0 !important; border: 0 !important; @@ -412,44 +414,62 @@ panel[type="autocomplete-richlistbox"]>.autocomplete-richlistbox, } /* make room for menu shadow */ -menupopup { +menupopup:not(.PanelUI-subView) { padding: 4px 12px 20px !important; margin: -6px -12px -16px !important; } -#bookmarks-menu-button menupopup { - padding: 4px 12px 20px !important; - margin: -8px -24px -16px -12px !important; -} - /* cut off shadow so it doesn't get in the way of the menubar items */ menubar menupopup { padding: 1px 8px 20px !important; margin: -1px -4px -16px !important; } -.menupopup-arrowscrollbox { - box-shadow: +menupopup { + --uc-margin: 0 !important; + --uc-box-shadow: 0 8px 12px #0003, 0 4px 5px #0002, 0 2px 4px #0002, - 0 0 0 1px #0001 !important; + 0 0 0 1px #0001; } -/* no way to get current firefox theme, using prefers-color-scheme instead */ @media (prefers-color-scheme:dark) { - .menupopup-arrowscrollbox { - box-shadow: + menupopup { + --uc-box-shadow: 0 8px 12px #0003, 0 4px 5px #0003, 0 2px 4px #0002, - 0 0 0 1px #0002 !important; + 0 0 0 1px #0002; } } +/* use default shadow for subview menupopup (eg. bookmarks) */ +menupopup.PanelUI-subView { + --uc-box-shadow: 0 0 0 1px var(--panel-border-color); + --uc-margin: 1px !important; + margin-top: -5px !important; +} + +.menupopup-arrowscrollbox { + box-shadow: var(--uc-box-shadow) !important; +} + .popup-internal-box, .menupopup-arrowscrollbox { margin: 0 !important; +} + +.menupopup-arrowscrollbox { + margin: var(--uc-margin) !important; +} + +.popup-internal-box { + margin: 0 !important; +} + +.popup-internal-box, +.menupopup-arrowscrollbox { padding: var(--uc-contextmenu-padding) !important; border-radius: var(--uc-contextmenu-border-radius) !important; color: inherit !important; @@ -622,3 +642,4 @@ menuitem[checked="true"]>.menu-iconic-left, font-size: 13.6px !important; } } +} diff --git a/chrome/global/tweaks.css b/chrome/global/tweaks.css index 2e5bcd5..9ec5dfb 100644 --- a/chrome/global/tweaks.css +++ b/chrome/global/tweaks.css @@ -204,42 +204,61 @@ browsing indicator) */ } @media not (-moz-platform: macos) { - @supports -moz-bool-pref("uc.tweak.horizontal-context-navigation") { - #context-navigation { - flex-direction: column !important; - -moz-box-orient: vertical !important; - } + @supports not -moz-bool-pref("uc.tweak.revert-context-menu") { + @supports -moz-bool-pref("uc.tweak.horizontal-context-navigation") { + #context-navigation { + flex-direction: column !important; + -moz-box-orient: vertical !important; + } - #context-navigation>.menuitem-iconic { - -moz-box-pack: start !important; - } + #context-navigation>.menuitem-iconic { + -moz-box-pack: start !important; + } - #context-navigation .menu-iconic-text { - display: -moz-box !important; - } + #context-navigation .menu-iconic-text { + display: -moz-box !important; + } - #context-navigation>#context-back .menu-iconic-text::before { - content: "Back" !important; - } + #context-navigation>#context-back .menu-iconic-text::before { + content: "Back" !important; + } - #context-navigation>#context-forward .menu-iconic-text::before { - content: "Forward" !important; - } + #context-navigation>#context-forward .menu-iconic-text::before { + content: "Forward" !important; + } - #context-navigation>#context-reload .menu-iconic-text::before { - content: "Reload" !important; - } + #context-navigation>#context-reload .menu-iconic-text::before { + content: "Reload" !important; + } - #context-navigation>#context-stop .menu-iconic-text::before { - content: "Stop" !important; - } + #context-navigation>#context-stop .menu-iconic-text::before { + content: "Stop" !important; + } - #context-navigation>#context-bookmarkpage .menu-iconic-text::before { - content: "Bookmark Page" !important; - } + #context-navigation>#context-bookmarkpage .menu-iconic-text::before { + content: "Bookmark Page" !important; + } - #context-navigation>#context-bookmarkpage[starred] .menu-iconic-text::before { - content: "Edit Bookmark" !important; + #context-navigation>#context-bookmarkpage[starred] .menu-iconic-text::before { + content: "Edit Bookmark" !important; + } + } + } +} + +@media (-moz-windows-compositor) { + @supports -moz-bool-pref("uc.tweak.revert-context-menu") { + menupopup { + --panel-color: var(--arrowpanel-color) !important; + --panel-border-radius: 4px !important; + --panel-border-color: var(--arrowpanel-border-color) !important; + --panel-background: var(--arrowpanel-background) !important; + --menuitem-hover-background-color: var(--panel-item-hover-bgcolor) !important; + --menu-background-color: var(--arrowpanel-background) !important; + --menu-color: var(--arrowpanel-color) !important; + --menuitem-disabled-hover-background-color: #0000 !important; + --menu-disabled-color: var(--panel-disabled-color) !important; + --menu-border-color: var(--panel-separator-color) !important; } } } diff --git a/chrome/icons/accessibility.svg b/chrome/icons/accessibility.svg new file mode 100755 index 0000000..bfcf02a --- /dev/null +++ b/chrome/icons/accessibility.svg @@ -0,0 +1,3 @@ + + + diff --git a/chrome/icons/add-to-dictionary.svg b/chrome/icons/add-to-dictionary.svg new file mode 100644 index 0000000..ebcb80f --- /dev/null +++ b/chrome/icons/add-to-dictionary.svg @@ -0,0 +1,4 @@ + + + + diff --git a/chrome/icons/audio-save.svg b/chrome/icons/audio-save.svg new file mode 100644 index 0000000..21b6752 --- /dev/null +++ b/chrome/icons/audio-save.svg @@ -0,0 +1,4 @@ + + + + diff --git a/chrome/icons/bookmark-star-on-tray.svg b/chrome/icons/bookmark-star-on-tray.svg index 912cdc9..e35453e 100644 --- a/chrome/icons/bookmark-star-on-tray.svg +++ b/chrome/icons/bookmark-star-on-tray.svg @@ -1,4 +1,4 @@ - - - + + + diff --git a/chrome/icons/container-tab.svg b/chrome/icons/container-tab.svg new file mode 100644 index 0000000..3a11413 --- /dev/null +++ b/chrome/icons/container-tab.svg @@ -0,0 +1,3 @@ + + + diff --git a/chrome/icons/duplicate-tab.svg b/chrome/icons/duplicate-tab.svg new file mode 100644 index 0000000..5c80180 --- /dev/null +++ b/chrome/icons/duplicate-tab.svg @@ -0,0 +1,3 @@ + + + diff --git a/chrome/icons/edit-delete.svg b/chrome/icons/edit-delete.svg new file mode 100755 index 0000000..cf851d6 --- /dev/null +++ b/chrome/icons/edit-delete.svg @@ -0,0 +1,3 @@ + + + diff --git a/chrome/icons/edit-redo.svg b/chrome/icons/edit-redo.svg new file mode 100644 index 0000000..4fd020f --- /dev/null +++ b/chrome/icons/edit-redo.svg @@ -0,0 +1,3 @@ + + + diff --git a/chrome/icons/edit-select-all.svg b/chrome/icons/edit-select-all.svg new file mode 100755 index 0000000..f39494d --- /dev/null +++ b/chrome/icons/edit-select-all.svg @@ -0,0 +1,3 @@ + + + diff --git a/chrome/icons/edit-undo.svg b/chrome/icons/edit-undo.svg new file mode 100755 index 0000000..7595ba6 --- /dev/null +++ b/chrome/icons/edit-undo.svg @@ -0,0 +1,3 @@ + + + diff --git a/chrome/icons/edit.svg b/chrome/icons/edit.svg new file mode 100644 index 0000000..f77c003 --- /dev/null +++ b/chrome/icons/edit.svg @@ -0,0 +1,3 @@ + + + diff --git a/chrome/icons/icons.css b/chrome/icons/icons.css index fd37eb3..887460d 100644 --- a/chrome/icons/icons.css +++ b/chrome/icons/icons.css @@ -31,6 +31,7 @@ and 11 so applied to both) */ } #appMenu-multiView .subviewbutton, +#sidebarMenu-popup .subviewbutton, #overflowMenu-customize-button { -moz-context-properties: fill, fill-opacity !important; fill: currentColor !important; @@ -133,7 +134,9 @@ and 11 so applied to both) */ #history-panelmenu, .urlbarView-row[source="history"]>.urlbarView-row-inner>.urlbarView-no-wrap>.urlbarView-favicon, #urlbar-engine-one-off-item-history, -#appMenu-history-button { +#appMenu-history-button, +#sidebar-switcher-history, +#sidebar-box[sidebarcommand="viewHistorySidebar"]>#sidebar-header>#sidebar-switcher-target>#sidebar-icon { list-style-image: url("history.svg") !important; } @@ -147,12 +150,15 @@ and 11 so applied to both) */ list-style-image: url("print.svg") !important; } -#find-button, -.searchbar-search-icon, -#appMenu-find-button2 { +.searchbar-search-icon { list-style-image: url("search-glass.svg") !important; } +#find-button, +#appMenu-find-button2 { + list-style-image: url("search-page.svg") !important; +} + #open-file-button { list-style-image: url("open.svg") !important; } @@ -204,8 +210,11 @@ and 11 so applied to both) */ list-style-image: url("forget.svg") !important; } -#privatebrowsing-button, #appMenu-new-private-window-button2 { + list-style-image: url("private-window.svg") !important; +} + +#privatebrowsing-button { list-style-image: url("privateBrowsing.svg") !important; } @@ -240,7 +249,9 @@ and 11 so applied to both) */ } #bookmarks-menu-button, -#appMenu-bookmarks-button { +#appMenu-bookmarks-button, +#sidebar-switcher-bookmarks, +#sidebar-box[sidebarcommand="viewBookmarksSidebar"]>#sidebar-header>#sidebar-switcher-target>#sidebar-icon { list-style-image: url("bookmark-star-on-tray.svg") !important; } @@ -369,6 +380,11 @@ and 11 so applied to both) */ list-style-image: url("bookmark.svg") !important; } +#sidebar-box[sidebarcommand="viewTabsSidebar"]>#sidebar-header>#sidebar-switcher-target>#sidebar-icon, +#sidebar-switcher-tabs { + list-style-image: url("send-to-device.svg") !important; +} + /* tab icons */ .tab-icon-image[src="chrome://branding/content/icon32.png"], .tab-icon-image[src="chrome://global/skin/icons/settings.svg"], @@ -522,16 +538,31 @@ and 11 so applied to both) */ background-image: url("stop-to-reload.svg") !important; } +#reader-mode-button>.urlbar-icon { + list-style-image: url("reader-mode.svg") !important; +} + +/* disable context menu icons when this tweak is applied */ +@supports not -moz-bool-pref("uc.tweak.revert-context-menu") { + /* Context Menu Icons */ menupopup>menuitem:is([checked="true"], [selected="true"]) .menu-iconic-icon { list-style-image: url("checkmark.svg") !important; } +#context-video-pictureinpicture:not([checked="true"]) .menu-iconic-icon { + list-style-image: url("media-pip.svg") !important; +} + +#context-media-loop:not([checked="true"]) .menu-iconic-icon { + list-style-image: url("media-loop.svg") !important; +} + :not(:not(menubar)>menu, #ContentSelectDropdown)>menupopup>menuitem:not(.menuitem-iconic, [type="checkbox"], [type="radio"], .in-menulist, .in-menulist menuitem, .unified-nav-current), :not(:not(menubar)>menu, #ContentSelectDropdown)>menupopup>menu:not(.menu-iconic, [type="checkbox"], [type="radio"], .in-menulist, .in-menulist menu, .unified-nav-current) { - background-image: var(--uc-menu-image) !important; + background-image: var(--menu-image) !important; background-size: 16px !important; - background-position: var(--arrowpanel-menuitem-padding-inline) center !important; + background-position: var(--uc-contextmenu-menuitem-padding-inline) center !important; background-repeat: no-repeat !important; -moz-context-properties: fill, fill-opacity !important; fill: currentColor !important; @@ -539,27 +570,353 @@ menupopup>menuitem:is([checked="true"], [selected="true"]) .menu-iconic-icon { @media (-moz-platform: macos) { #context-back { - --uc-menu-image: url("back.svg"); + --menu-image: url("back.svg"); } #context-forward { - --uc-menu-image: url("forward.svg"); + --menu-image: url("forward.svg"); } #context-reload { - --uc-menu-image: url("reload.svg"); + --menu-image: url("reload.svg"); } #context-stop { - --uc-menu-image: url("close.svg"); + --menu-image: url("close.svg"); } #context-bookmarkpage { - --uc-menu-image: url("bookmark-hollow.svg"); + --menu-image: url("bookmark-hollow.svg"); } #contentAreaContextMenu #context-bookmarkpage[starred] { - --uc-menu-image: url("bookmark.svg"); + --menu-image: url("bookmark.svg"); fill: var(--lwt-toolbarbutton-icon-fill-attention, var(--toolbarbutton-icon-fill-attention, currentColor)) !important; } } + +#context-savepage { + --menu-image: url("save.svg"); +} + +#context-selectall, +.textbox-contextmenu menuitem[cmd*="selectAll"], +#context_selectAllTabs, +#toolbar-context-selectAllTabs { + --menu-image: url("edit-select-all.svg"); +} + +#context-undo, +.textbox-contextmenu menuitem[cmd*="undo"], +#context_undoCloseTab, +#toolbar-context-undoCloseTab { + --menu-image: url("edit-undo.svg"); +} + +#context-redo, +.textbox-contextmenu menuitem[cmd*="redo"] { + --menu-image: url("edit-redo.svg"); +} + +#context-copy, +.textbox-contextmenu menuitem[cmd*="copy"], +#placesContext_copy { + --menu-image: url("edit-copy.svg"); +} + +#context-paste, +.textbox-contextmenu menuitem[cmd*="paste"], +#placesContext_paste_group { + --menu-image: url("edit-paste.svg"); +} + +#context-cut, +.textbox-contextmenu menuitem[cmd*="cut"], +#placesContext_cut { + --menu-image: url("edit-cut.svg"); +} + +#context-delete, +.customize-context-removeExtension, +.textbox-contextmenu menuitem[cmd*="delete"], +menuitem[id="placesContext_deleteBookmark"], +menuitem[id="placesContext_deleteFolder"], +menuitem[id="placesContext_delete"], +menuitem[id="placesContext_delete_history"], +menuitem[id="placesContext_deleteHost"] { + --menu-image: url("edit-delete.svg"); +} + +#paste-and-go { + --menu-image: url("paste-and-go.svg"); +} + +#context-print-selection { + --menu-image: url("print.svg"); +} + +#context-take-screenshot { + --menu-image: url("screenshot.svg"); +} + +#context-viewsource { + --menu-image: url("source-code.svg"); +} + +#context-inspect-a11y { + --menu-image: url("accessibility.svg"); +} + +#context-inspect { + --menu-image: url("inspect.svg"); +} + +#context-searchselect { + --menu-image: url("search-glass.svg"); +} + +#context-viewimage { + --menu-image: url("image-open.svg"); +} + +#context-saveimage, +#context-video-saveimage { + --menu-image: url("image-save.svg"); +} + +#context-savevideo { + --menu-image: url("video-save.svg"); +} + +#context-viewvideo { + --menu-image: url("video-open.svg") +} + +#context-saveaudio { + --menu-image: url("audio-save.svg"); +} + +#context-copyimage-contents { + --menu-image: url("image-copy.svg"); +} + +#context-copyimage, +#context-copyvideourl, +#context-copylink { + --menu-image: url("link.svg"); +} + +#context-sendimage, +#context-sendvideo, +#context-sendaudio { + --menu-image: url("mail.svg"); +} + +#context-setDesktopBackground, +.viewCustomizeToolbar { + --menu-image: url("customize.svg"); +} + +#context-reloadimage, +#context_reloadTab, +#context_reloadSelectedTabs, +#toolbar-context-reloadSelectedTab, +#toolbar-context-reloadSelectedTabs { + --menu-image: url("reload.svg"); +} + +#context-sendlinktodevice, +#context_sendTabToDevice, +#context-sendpagetodevice { + --menu-image: url("send-to-device.svg"); +} + +#context-openlinkintab, +#context-openlinkincontainertab, +menuitem[id="placesContext_open:newtab"], +menuitem[id="placesContext_openLinks:tabs"], +menuitem[id="placesContext_openBookmarkLinks:tabs"], +menuitem[id="placesContext_openBookmarkContainer:tabs"] { + --menu-image: url("tab.svg"); +} + +#context_openANewTab, +#toolbar-context-openANewTab { + --menu-image: url("new-tab-image.svg"); +} + +#context-openlinkinusercontext-menu, +menu[id="placesContext_open:newcontainertab"], +menu[id="placesContext_openContainer:tabs"] { + --menu-image: url("container-tab.svg"); +} + +#context-openlink, +menuitem[id="placesContext_open:newwindow"] { + --menu-image: url("window.svg"); +} + +#context-openlinkprivate, +menuitem[id="placesContext_open:newprivatewindow"] { + --menu-image: url("private-window.svg"); +} + +#context-savelink { + --menu-image: url("downloads.svg"); +} + +#spell-add-to-dictionary { + --menu-image: url("add-to-dictionary.svg"); +} + +#manage-saved-logins { + --menu-image: url("passwords.svg"); +} + +#context-media-play, +#context_playTab, +#context_playSelectedTabs { + --menu-image: url("media-play.svg"); +} + +#context-media-pause { + --menu-image: url("media-pause.svg"); +} + +#context-media-mute, +#context_toggleMuteTab, +#context_toggleMuteSelectedTabs { + --menu-image: url("media-mute.svg"); +} + +#context-media-unmute, +#context_toggleMuteTab[muted], +#context_toggleMuteSelectedTabs[muted] { + --menu-image: url("media-unmute.svg"); +} + +#context-media-playbackrate { + --menu-image: url("media-speed.svg"); +} + +#context-video-fullscreen { + --menu-image: url("fullscreen.svg"); +} + +#context-leave-dom-fullscreen, +menuitem[contexttype="fullscreen"][label*="Exit"] { + --menu-image: url("fullscreen-exit.svg"); +} + +#context-media-hidecontrols, +#context-media-showcontrols { + --menu-image: url("permissions.svg"); +} + +#context_pinTab, +#context_unpinTab, +#context_pinSelectedTabs, +#context_unpinSelectedTabs, +.customize-context-moveToPanel { + --menu-image: url("pin.svg"); +} + +#context_duplicateTab, +#context_duplicateTabs { + --menu-image: url("duplicate-tab.svg"); +} + +#context_bookmarkTab, +#context_bookmarkSelectedTabs, +#toggle_PersonalToolbar, +#context-bookmarklink, +#toolbar-context-bookmarkSelectedTab, +#toolbar-context-bookmarkSelectedTabs { + --menu-image: url("bookmark-hollow.svg"); +} + +menuitem[id="placesContext_show_bookmark:info"], +menuitem[id="placesContext_show_folder:info"], +menuitem[id="placesContext_show:info"] { + --menu-image: url("edit.svg"); +} + +menuitem[id="placesContext_showAllBookmarks"], +#BMB_bookmarksShowAllTop, +#BMB_bookmarksShowAll, +.customize-context-manageExtension { + --menu-image: url("manage.svg"); +} + +menuitem[id="placesContext_new:bookmark"], +menuitem[id="placesContext_new:folder"], +menuitem[id="placesContext_new:separator"] { + --menu-image: url("plus.svg"); +} + +#context-savelinktopocket, +#context-pocket { + --menu-image: url("pocket-outline.svg"); +} + +#context_moveTabOptions { + --menu-image: url("move-tab.svg"); +} + +.share-tab-url-item { + --menu-image: url("share.svg"); +} + +#context_reopenInContainer { + --menu-image: url("container-tab.svg"); +} + +#context_closeTab { + --menu-image: url("close.svg"); +} + +.customize-context-reportExtension { + --menu-image: url("report.svg"); +} +} + +/* header icons for the app menu sub menus (eg. fx account, history...) */ +.panel-header>h1>span::before { + content: ""; + --uc-padding: 16px; + --uc-margin: 8px; + background-image: var(--header-image); + background-size: 16px; + background-position: center; + background-repeat: no-repeat; + -moz-context-properties: fill, fill-opacity; + fill: currentColor; +} + +#PanelUI-fxa .panel-header>h1>span::before { + --header-image: var(--avatar-image-url); + transform: scale(1.25); + border-radius: 99px; + display: inline-block; + height: 16px; + padding-inline-start: var(--uc-padding); + margin-inline-end: var(--uc-margin); +} + +#PanelUI-bookmarks .panel-header>h1>span::before { + --header-image: url("bookmark-star-on-tray.svg"); + padding-inline-start: var(--uc-padding); + margin-inline-end: var(--uc-margin); +} + +#PanelUI-history .panel-header>h1>span::before { + --header-image: url("history.svg"); + padding-inline-start: var(--uc-padding); + margin-inline-end: var(--uc-margin); +} + +#PanelUI-helpView .panel-header>h1>span::before { + --header-image: url("help.svg"); + padding-inline-start: var(--uc-padding); + margin-inline-end: var(--uc-margin); +} diff --git a/chrome/icons/image-copy.svg b/chrome/icons/image-copy.svg new file mode 100644 index 0000000..8266f7c --- /dev/null +++ b/chrome/icons/image-copy.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/chrome/icons/image-open.svg b/chrome/icons/image-open.svg new file mode 100644 index 0000000..b17d039 --- /dev/null +++ b/chrome/icons/image-open.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/chrome/icons/image-save.svg b/chrome/icons/image-save.svg new file mode 100644 index 0000000..4ed3345 --- /dev/null +++ b/chrome/icons/image-save.svg @@ -0,0 +1,4 @@ + + + + diff --git a/chrome/icons/inspect.svg b/chrome/icons/inspect.svg new file mode 100755 index 0000000..8f29365 --- /dev/null +++ b/chrome/icons/inspect.svg @@ -0,0 +1,3 @@ + + + diff --git a/chrome/icons/link.svg b/chrome/icons/link.svg new file mode 100644 index 0000000..4509293 --- /dev/null +++ b/chrome/icons/link.svg @@ -0,0 +1,3 @@ + + + diff --git a/chrome/icons/manage.svg b/chrome/icons/manage.svg new file mode 100644 index 0000000..59e1249 --- /dev/null +++ b/chrome/icons/manage.svg @@ -0,0 +1,3 @@ + + + diff --git a/chrome/icons/media-loop.svg b/chrome/icons/media-loop.svg new file mode 100644 index 0000000..0ff335c --- /dev/null +++ b/chrome/icons/media-loop.svg @@ -0,0 +1,3 @@ + + + diff --git a/chrome/icons/media-mute.svg b/chrome/icons/media-mute.svg new file mode 100644 index 0000000..bfcc81f --- /dev/null +++ b/chrome/icons/media-mute.svg @@ -0,0 +1,3 @@ + + + diff --git a/chrome/icons/media-pause.svg b/chrome/icons/media-pause.svg new file mode 100644 index 0000000..6212a20 --- /dev/null +++ b/chrome/icons/media-pause.svg @@ -0,0 +1,3 @@ + + + diff --git a/chrome/icons/media-pip.svg b/chrome/icons/media-pip.svg new file mode 100644 index 0000000..a83fb54 --- /dev/null +++ b/chrome/icons/media-pip.svg @@ -0,0 +1,3 @@ + + + diff --git a/chrome/icons/media-play.svg b/chrome/icons/media-play.svg new file mode 100644 index 0000000..da95f78 --- /dev/null +++ b/chrome/icons/media-play.svg @@ -0,0 +1,3 @@ + + + diff --git a/chrome/icons/media-speed.svg b/chrome/icons/media-speed.svg new file mode 100644 index 0000000..a7767c7 --- /dev/null +++ b/chrome/icons/media-speed.svg @@ -0,0 +1,3 @@ + + + diff --git a/chrome/icons/media-unmute.svg b/chrome/icons/media-unmute.svg new file mode 100644 index 0000000..9a7d4b7 --- /dev/null +++ b/chrome/icons/media-unmute.svg @@ -0,0 +1,3 @@ + + + diff --git a/chrome/icons/move-tab.svg b/chrome/icons/move-tab.svg new file mode 100644 index 0000000..9c5d46f --- /dev/null +++ b/chrome/icons/move-tab.svg @@ -0,0 +1,3 @@ + + + diff --git a/chrome/icons/paste-and-go.svg b/chrome/icons/paste-and-go.svg new file mode 100644 index 0000000..119cac8 --- /dev/null +++ b/chrome/icons/paste-and-go.svg @@ -0,0 +1,3 @@ + + + diff --git a/chrome/icons/pin.svg b/chrome/icons/pin.svg new file mode 100644 index 0000000..fbfc31c --- /dev/null +++ b/chrome/icons/pin.svg @@ -0,0 +1,3 @@ + + + diff --git a/chrome/icons/private-window.svg b/chrome/icons/private-window.svg new file mode 100644 index 0000000..59126a2 --- /dev/null +++ b/chrome/icons/private-window.svg @@ -0,0 +1,4 @@ + + + + diff --git a/chrome/icons/reader-mode.svg b/chrome/icons/reader-mode.svg new file mode 100644 index 0000000..370fda6 --- /dev/null +++ b/chrome/icons/reader-mode.svg @@ -0,0 +1,4 @@ + + + + diff --git a/chrome/icons/report.svg b/chrome/icons/report.svg new file mode 100644 index 0000000..7b7517f --- /dev/null +++ b/chrome/icons/report.svg @@ -0,0 +1,3 @@ + + + diff --git a/chrome/icons/save.svg b/chrome/icons/save.svg index 8e04ec6..e3179f3 100644 --- a/chrome/icons/save.svg +++ b/chrome/icons/save.svg @@ -1,3 +1,3 @@ - + diff --git a/chrome/icons/search-page.svg b/chrome/icons/search-page.svg new file mode 100755 index 0000000..05c3b53 --- /dev/null +++ b/chrome/icons/search-page.svg @@ -0,0 +1,3 @@ + + + diff --git a/chrome/icons/send-to-device.svg b/chrome/icons/send-to-device.svg new file mode 100644 index 0000000..2d77ac2 --- /dev/null +++ b/chrome/icons/send-to-device.svg @@ -0,0 +1,3 @@ + + + diff --git a/chrome/icons/share.svg b/chrome/icons/share.svg new file mode 100644 index 0000000..1d135f4 --- /dev/null +++ b/chrome/icons/share.svg @@ -0,0 +1,3 @@ + + + diff --git a/chrome/icons/source-code.svg b/chrome/icons/source-code.svg new file mode 100755 index 0000000..a65f35d --- /dev/null +++ b/chrome/icons/source-code.svg @@ -0,0 +1,3 @@ + + + diff --git a/chrome/icons/video-open.svg b/chrome/icons/video-open.svg new file mode 100644 index 0000000..5aba487 --- /dev/null +++ b/chrome/icons/video-open.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/chrome/icons/video-save.svg b/chrome/icons/video-save.svg new file mode 100644 index 0000000..9523d94 --- /dev/null +++ b/chrome/icons/video-save.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/chrome/toolbar/navbar.css b/chrome/toolbar/navbar.css index 9120727..7e52dc2 100644 --- a/chrome/toolbar/navbar.css +++ b/chrome/toolbar/navbar.css @@ -90,22 +90,26 @@ .toolbarbutton-1>.toolbarbutton-icon, .toolbarbutton-1>.toolbarbutton-text, .toolbarbutton-1>.toolbarbutton-badge-stack, - .bookmark-item:not(menu, menuitem), + :not(.panel-subview-body>toolbaritem)>.bookmark-item:not(menu, menuitem), .urlbar-page-action, .identity-box-button, #tracking-protection-icon-container, - #fxa-toolbar-menu-button { + #fxa-toolbar-menu-button, + panel button, + panel menulist { transition: background-color 0.25s ease !important; } .toolbarbutton-1:not([disabled=true]):is([open],[checked],:hover:active)>.toolbarbutton-icon, .toolbarbutton-1:not([disabled=true]):is([open],[checked],:hover:active)>.toolbarbutton-text, .toolbarbutton-1:not([disabled=true]):is([open],[checked],:hover:active)>.toolbarbutton-badge-stack, - .bookmark-item:not(menu, menuitem):not([disabled=true]):is([open],[checked],:hover:active), + :not(.panel-subview-body>toolbaritem)>.bookmark-item:not(menu, menuitem):not([disabled=true]):is([open],[checked],:hover:active), .urlbar-page-action:not([disabled=true]):is([open],[checked],:hover:active), .identity-box-button:not([disabled=true]):is([open],[checked],:hover:active), #tracking-protection-icon-container:not([disabled=true]):is([open],[checked],:hover:active), - #fxa-toolbar-menu-button:not([disabled=true]):is([open],[checked],:hover:active) { + #fxa-toolbar-menu-button:not([disabled=true]):is([open],[checked],:hover:active), + panel button:not([disabled=true]):is([open],[checked],:hover:active), + panel menulist:not([disabled=true]):is([open],[checked],:hover:active) { transition-duration: 0s !important; } } diff --git a/chrome/toolbar/urlbar.css b/chrome/toolbar/urlbar.css index ed86943..80f3b57 100644 --- a/chrome/toolbar/urlbar.css +++ b/chrome/toolbar/urlbar.css @@ -112,11 +112,9 @@ width: unset !important; } -#identity-icon-box { - padding-inline: var(--uc-urlbar-icon-inline-padding) !important; -} - -#identity-permission-box { +#identity-icon-box, +#identity-permission-box, +.notification-anchor-icon { padding-inline: var(--uc-urlbar-icon-inline-padding) !important; } @@ -181,6 +179,15 @@ opacity: var(--urlbar-icon-fill-opacity) !important; } +#notification-popup-box:hover { + background-color: var(--urlbar-box-hover-bgcolor) !important; +} + +#notification-popup-box:hover:active, +#notification-popup-box[open] { + background-color: var(--urlbar-box-active-bgcolor) !important; +} + /* remove background from urlbar box */ #identity-box[pageproxystate="valid"].notSecureText>.identity-box-button:not(:hover, [open]), #identity-box[pageproxystate="valid"].chromeUI>.identity-box-button:not(:hover, [open]),