226 lines
6.5 KiB
CSS
226 lines
6.5 KiB
CSS
/* Main context menu */
|
|
menupopup,
|
|
popup, popup > menu > menupopup,
|
|
menupopup > menu > menupopup,
|
|
menupopup scrollbox {
|
|
-moz-appearance: none !important;
|
|
background: var(--mid-way-color) !important;
|
|
border: none !important;
|
|
padding: 0px 0px 0px 0px !important;
|
|
}
|
|
|
|
/* More options right arrow */
|
|
.menu-right {
|
|
filter: invert(95%) !important;
|
|
}
|
|
|
|
/* Top Row of Navigation Options */
|
|
#context-navigation menuitem {
|
|
color: var(--grey-10) !important;
|
|
background: var(--primary-dark-color) !important;
|
|
}
|
|
|
|
#context-navigation menuitem:hover {
|
|
background: var(--dark-accent) !important;
|
|
}
|
|
|
|
/* Menu items */
|
|
menupopup menu, menuitem {
|
|
-moz-appearance: none !important;
|
|
color: var(--grey-10) !important;
|
|
}
|
|
|
|
/* Menu Separators - removed */
|
|
menupopup menuseparator {
|
|
padding: 0 !important;
|
|
border-top: none !important;
|
|
margin: 2px 6px 2px 6px !important;
|
|
}
|
|
|
|
/* Context menu, display disabled items in a different colour */
|
|
|
|
menu[disabled="true"], menuitem[disabled="true"] {
|
|
color: var(--light-accent-color) !important;
|
|
}
|
|
|
|
menu[disabled="true"]:hover, menuitem:hover[disabled="true"] {
|
|
color: var(--light-accent-color) !important;
|
|
background-color: var(--primary-dark-color) !important;
|
|
}
|
|
|
|
#context-navigation menuitem[disabled="true"] {
|
|
color: var(--light-accent-color) !important;
|
|
}
|
|
|
|
#context-navigation menuitem:hover[disabled="true"] {
|
|
color: var(--light-accent-color) !important;
|
|
background-color: var(--dark-accent) !important;
|
|
}
|
|
|
|
menupopup menu:hover,
|
|
menuitem:hover,
|
|
menu[_moz-menuactive="true"],
|
|
menuitem[_moz-menuactive="true"] {
|
|
color: var(--grey-10) !important;
|
|
background-color: var(--dark-accent) !important;
|
|
}
|
|
|
|
/* Sidebar Header Context Menu */
|
|
.panel-arrowcontent {
|
|
color: var(--grey-10) !important;
|
|
background: var(--mid-way-color) !important;
|
|
}
|
|
|
|
/* Sidebar border */
|
|
vbox#sidebar-box.chromeclass-extrachrome {
|
|
border-color: var(--dark-accent) !important;
|
|
border-right: 1px !important;
|
|
border-style: solid !important;
|
|
}
|
|
|
|
/* Fixes for addon icons */
|
|
#_testpilot-containers_7 .menu-iconic-left,
|
|
#treestyletab_piro_sakura_ne_jp_8 .menu-iconic-left {
|
|
filter: invert(55%) !important;
|
|
}
|
|
|
|
/* The following snippets are designed to fix problems
|
|
* only noticed on Windows computers */
|
|
|
|
@media screen and (-moz-windows-theme),
|
|
screen and (-moz-windows-classic),
|
|
screen and (-moz-windows-default-theme),
|
|
screen and (-moz-os-version: windows-win7),
|
|
screen and (-moz-os-version: windows-win8),
|
|
screen and (-moz-os-version: windows-win10) {
|
|
|
|
/* Remove white separators between menu items */
|
|
menupopup menuseparator {
|
|
-moz-appearance:none !important;
|
|
background: rgba(0, 0, 0, 0) !important;
|
|
border: 0px !important;
|
|
}
|
|
|
|
/* Removes white bar between icons and menu items */
|
|
#context-navigation, #context-sep-navigation {
|
|
padding: 0px !important;
|
|
}
|
|
|
|
/* Bookmark Toolbar, fix border */
|
|
#BMB_bookmarksPopup menupopup {
|
|
padding: 4px 0px 0px 0px !important;
|
|
}
|
|
|
|
/* Context menus, border added because Windows has a different drop shadow effect than macOS */
|
|
#personal-bookmarks menupopup,
|
|
.panel-arrowcontent,
|
|
.box-inherit scrollbox-innerbox,
|
|
#BMB_bookmarksPopup menupopup[placespopup="true"] > hbox,
|
|
menupopup#BMB_bookmarksPopup > menu > menupopup > hbox,
|
|
menupopup#bookmarksMenuPopup > menu > menupopup,
|
|
menupopup#bookmarksMenuPopup menupopup[placespopup="true"],
|
|
menupopup#contentAreaContextMenu,
|
|
menupopup#contentAreaContextMenu menupopup,
|
|
menupopup#placesContext,
|
|
menupopup#bookmarksMenuPopup,
|
|
menupopup#PlacesChevronPopup,
|
|
menupopup#toolbar-context-menu,
|
|
menupopup#downloadsContextMenu,
|
|
menupopup#tabContextMenu,
|
|
menupopup#tabContextMenu menupopup,
|
|
toolbaritem#menubar-items menupopup {
|
|
border-color: var(--primary-dark-color) !important;
|
|
border-width: 1px !important;
|
|
border-style: solid !important;
|
|
}
|
|
|
|
/* Bookmarks Toolbar, Toolbar Context menu, LEFT/RIGHT padding fixes */
|
|
#personal-bookmarks menupopup .bookmark-item,
|
|
#bookmarksMenuPopup,
|
|
menupopup#goPopup {
|
|
padding-left: 4px !important;
|
|
padding-right: 4px !important;
|
|
}
|
|
|
|
/* Tab menu, LEFT/RIGHT padding fixes */
|
|
menupopup#tabContextMenu > menu > menupopup > .popup-internal-box,
|
|
menupopup#toolbar-context-menu,
|
|
menupopup#contentAreaContextMenu menupopup {
|
|
padding-left: 2px !important;
|
|
padding-right: 2px !important;
|
|
}
|
|
|
|
/* Context menus, TOP/BOTTOM padding fixes */
|
|
menupopup,
|
|
menupopup > menu > menupopup {
|
|
padding: 4px 0px 4px 0px !important;
|
|
}
|
|
|
|
/* Menus, text size to match macOS */
|
|
menupopup#contentAreaContextMenu > menuitem,
|
|
menupopup#contentAreaContextMenu > menu,
|
|
#PlacesToolbar menupopup > menuitem,
|
|
#PlacesToolbar menupopup > menu,
|
|
menupopup#tabContextMenu > menuitem,
|
|
menupopup#tabContextMenu > menu,
|
|
menupopup#tabContextMenu menupopup > menuitem,
|
|
menupopup#tabContextMenu menupopup > menu,
|
|
menupopup#toolbar-context-menu > menuitem ,
|
|
menupopup#placesContext menuitem {
|
|
font-size: 1.167em !important;
|
|
padding-top: 1px !important;
|
|
padding-bottom: 1px !important;
|
|
}
|
|
|
|
menupopup#contentAreaContextMenu menupopup > menuitem,
|
|
menupopup#contentAreaContextMenu menupopup > menu,
|
|
#PlacesToolbar menupopup menupopup > menuitem,
|
|
#PlacesToolbar menupopup menupopup > menu,
|
|
menupopup#tabContextMenu menupopup > menuitem,
|
|
menupopup#tabContextMenu menupopup > menu,
|
|
menupopup.textbox-contextmenu > menuitem {
|
|
font-size: 1em !important;
|
|
}
|
|
|
|
/* Menu Bar menus, text size to match macOS */
|
|
toolbaritem#menubar-items menupopup > menuitem,
|
|
toolbaritem#menubar-items menupopup > menu {
|
|
font-size: 1.167em !important;
|
|
}
|
|
|
|
toolbaritem#menubar-items menupopup menupopup > menuitem,
|
|
toolbaritem#menubar-items menupopup menupopup > menu {
|
|
font-size: 1em !important;
|
|
}
|
|
|
|
/* Toolbar menu, LEFT/RIGHT padding fixes */
|
|
#customization-toolbar-menu,
|
|
toolbaritem#menubar-items menupopup,
|
|
toolbaritem#menubar-items menupopup > menu > menupopup {
|
|
padding-left: 2px !important;
|
|
padding-right: 2px !important;
|
|
}
|
|
|
|
/* Context menu, TOP/BOTTOM padding fixes */
|
|
#personal-bookmarks menupopup menuitem {
|
|
padding-top: 1px !important;
|
|
padding-bottom: 1px !important;
|
|
}
|
|
|
|
menupopup#contentAreaContextMenu menuitem,
|
|
menupopup#contentAreaContextMenu menu {
|
|
padding-top: 1px !important;
|
|
padding-bottom: 1px !important;
|
|
}
|
|
|
|
menupopup#contentAreaContextMenu > .menuitem-iconic {
|
|
padding-top: 0px !important;
|
|
padding-bottom: 0px !important;
|
|
}
|
|
|
|
/* Menus, slightly adjust arrow */
|
|
menupopup .menu-right {
|
|
margin-right: 0px !important;
|
|
}
|
|
}
|