mobile-config-firefox/chrome/dark_context_menus.css

68 lines
2 KiB
CSS
Raw Normal View History

2020-05-22 05:13:58 +00:00
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/dark_context_menus.css made available under Mozilla Public License v. 2.0
See the above repository for updates as well as full license text. */
2019-11-04 09:46:12 +00:00
/* Makes context menus dark. Also affects some portions of menu popups */
2019-04-05 14:25:33 +00:00
/* Uses dark theme colors but does not respect dark theme variables (they wouldn't work on sidebar context menu) */
:root{
--uc-menu-bkgnd: rgb(74,74,79);
--uc-menu-color: rgb(230,230,230);
--uc-menu-dimmed: rgba(255,255,255,0.1);
--uc-menu-disabled: rgb(50,50,50);
}
2019-06-01 11:35:52 +00:00
panel richlistbox,
panel tree,
panel button,
panel menulist,
panel textbox,
2019-11-04 09:46:12 +00:00
panel input,
2019-04-05 14:25:33 +00:00
menupopup,
menu,
menuitem{ -moz-appearance: none !important; }
2019-06-01 11:35:52 +00:00
menulist,
2019-04-05 14:25:33 +00:00
menuitem,
menu{ min-height: 1.8em }
2019-06-01 11:35:52 +00:00
panel menulist{ border: 1px solid transparent }
panel richlistbox,
panel tree,
panel button,
panel menulist,
panel textbox,
2019-11-04 09:46:12 +00:00
panel input,
panel #searchbar,
menupopup:not(#BMB_bookmarksPopup),
2019-04-13 19:23:14 +00:00
#main-menubar > menu > menupopup,
2019-04-05 14:25:33 +00:00
#context-navigation{
color: var(--uc-menu-color) !important;
padding: 2px;
2019-11-04 09:46:12 +00:00
background-color: var(--uc-menu-bkgnd) !important;
2019-04-05 14:25:33 +00:00
border-color: var(--uc-menu-disabled) !important;
}
2019-11-04 09:46:12 +00:00
panel textbox input{ padding: 2px !important; }
panel input{ border-width: 1px; border-style: solid; background-color: rgba(0,0,0,0.1) !important; }
panel #searchbar{ background-color: rgba(0,0,0,0.1) !important; padding: 0 !important; }
panel #searchbar input{ background-color: transparent !important; }
panel menulist:hover,
panel menulist[open]{ border-color: Highlight !important; }
2019-06-01 11:35:52 +00:00
#editBMPanel_folderMenuList > menupopup > menuitem{ color: var(--uc-menu-color) !important; }
panel treechildren::-moz-tree-row(selected),
2019-07-09 08:31:41 +00:00
panel button:hover,
2019-04-05 14:25:33 +00:00
menu:hover,
menu[_moz-menuactive],
menu[open],
menuitem:hover,
2019-11-04 09:46:12 +00:00
menuitem[_moz-menuactive]{ background-color: var(--uc-menu-dimmed) !important; color: inherit !important; }
2019-04-05 14:25:33 +00:00
menu[disabled="true"],
2019-04-13 19:23:14 +00:00
menuitem[disabled="true"]{ color: var(--uc-menu-disabled) !important; }
2019-11-04 09:46:12 +00:00
menu:not(.subviewbutton) > .menu-right{ filter: invert(1) }