fenix-fox/chrome/dark_context_menus.css

58 lines
1.4 KiB
CSS
Raw Normal View History

2019-04-05 14:25:33 +00:00
/* Makes context menus dark */
/* 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-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,
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;
background-color: var(--uc-menu-bkgnd) !important;
border-color: var(--uc-menu-disabled) !important;
}
2019-06-01 11:35:52 +00:00
panel menulist:hover, panel menulist[open]{ border-color: Highlight !important; }
#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-06-01 11:35:52 +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-06-01 11:35:52 +00:00
menu:not(.subviewbutton) > .menu-right{ filter: invert(1) }