restyle context menus #162

This commit is contained in:
overdodactyl 2018-09-26 20:38:03 -06:00
parent 5808440027
commit 66bbb466f0
5 changed files with 55 additions and 417 deletions

View File

@ -132,24 +132,8 @@ menupopup scrollbox,
popup,
popup > menu > menupopup {
-moz-appearance: none!important;
background: var(--in-content-box-background)!important;
border: none!important;
padding: 0!important
}
menu.subviewbutton > .menu-right {
fill: #000!important
}
.menu-right {
filter: invert(95%)!important
}
#context-navigation menuitem,
.panel-arrowcontent {
color: var(--in-content-selected-text)!important;
background: var(--in-content-box-background)!important
}
#context-navigation menuitem:hover {
background: var(--in-content-primary-button-background-hover)!important
}
menuitem,
menupopup menu {
-moz-appearance: none!important;
@ -158,12 +142,17 @@ menupopup menu {
}
menupopup menuseparator {
-moz-appearance: none!important;
padding: 1px!important;
margin: 5px 0!important;
background: var(--in-content-table-border-dark-color)!important;
border-top: none!important
background: var(--in-content-table-border-dark-color)!important
}
menu.subviewbutton > .menu-right {
fill: #000!important
}
.menu-right {
filter: invert(95%)!important
}
.menu-right[_moz-menuactive=true] {
filter: invert(10%)!important
}
#context-navigation menuitem[disabled=true],
menu[disabled=true],
menuitem[disabled=true] {
color: var(--in-content-box-border-color)!important
@ -173,98 +162,15 @@ menuitem:hover[disabled=true] {
color: var(--in-content-box-border-color)!important;
background-color: var(--in-content-box-background)!important
}
#context-navigation menuitem:hover[disabled=true] {
color: var(--in-content-box-border-color)!important;
background-color: var(--in-content-box-background)!important
}
menuitem[_moz-menuactive=true],
menupopup menu[_moz-menuactive=true] {
color: var(--in-content-selected-text)!important;
background-color: var(--in-content-primary-button-background-hover)!important
}
vbox#sidebar-box.chromeclass-extrachrome {
border-color: var(--in-content-category-header-background)!important;
border-right: 1px!important;
border-style: solid!important
}
#_testpilot-containers_7 .menu-iconic-left,
#treestyletab_piro_sakura_ne_jp_8 .menu-iconic-left {
filter: invert(55%)!important
}
@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) {
menupopup menuseparator {
padding: 0!important;
border-color: var(--in-content-table-border-dark-color)!important
}
#context-navigation,
#context-sep-navigation {
padding: 0!important
}
#BMB_bookmarksPopup menupopup {
padding: 4px 0 0!important
}
#BMB_bookmarksPopup menupopup[placespopup=true] > hbox,
#personal-bookmarks menupopup,
.box-inherit scrollbox-innerbox,
.panel-arrowcontent,
menupopup#BMB_bookmarksPopup > menu > menupopup > hbox,
menupopup#PlacesChevronPopup,
menupopup#bookmarksMenuPopup,
menupopup#bookmarksMenuPopup > menu > menupopup,
menupopup#bookmarksMenuPopup menupopup[placespopup=true],
menupopup#contentAreaContextMenu,
menupopup#contentAreaContextMenu menupopup,
menupopup#downloadsContextMenu,
menupopup#placesContext,
menupopup#tabContextMenu,
menupopup#tabContextMenu menupopup,
menupopup#toolbar-context-menu,
toolbaritem#menubar-items menupopup {
border-color: var(--in-content-box-background)!important;
border-width: 1px!important;
border-style: solid!important
}
#bookmarksMenuPopup,
#personal-bookmarks menupopup .bookmark-item,
menupopup#goPopup {
padding-left: 4px!important;
padding-right: 4px!important
}
menupopup#contentAreaContextMenu menupopup,
menupopup#tabContextMenu > menu > menupopup > .popup-internal-box,
menupopup#toolbar-context-menu {
padding-left: 2px!important;
padding-right: 2px!important
}
menupopup,
menupopup > menu > menupopup {
padding: 4px 0!important
}
#customization-toolbar-menu,
toolbaritem#menubar-items menupopup,
toolbaritem#menubar-items menupopup > menu > menupopup {
padding-left: 2px!important;
padding-right: 2px!important
}
#personal-bookmarks menupopup menuitem,
menupopup#contentAreaContextMenu menu,
menupopup#contentAreaContextMenu menuitem {
padding-top: 1px!important;
padding-bottom: 1px!important
}
menupopup#contentAreaContextMenu > .menuitem-iconic {
padding-top: 0!important;
padding-bottom: 0!important
}
menupopup .menu-right {
margin-right: 0!important
}
}
@-moz-document url(chrome://browser/content/places/places.xul) {
toolbar {
-moz-appearance: none!important;
@ -592,10 +498,15 @@ url-prefix(https://discovery.addons.mozilla.org) {
}
#homeContentsGroup checkbox[src] .checkbox-icon,
.content-container .icon-container .icon[src=""],
.extension-controlled-icon,
.snippet .block-snippet-button,
.textbox-search-sign {
filter: invert(65%)!important
}
.searchBarHiddenImage,
.searchBarShownImage {
filter: invert(80%)!important
}
.collapsible-section .section-top-bar .info-option-manage button,
.topic .topic-read-more,
a:link {
@ -661,6 +572,7 @@ url-prefix(https://discovery.addons.mozilla.org) {
.detail-view-container,
.section-title span,
.snippet section,
.tail-with-learn-more,
.top-sites-list .top-site-outer .top-site-icon,
.topsite-form .form-wrapper input[type=text] {
color: var(--in-content-page-color)!important
@ -736,6 +648,7 @@ url-prefix(https://discovery.addons.mozilla.org) {
border-color: var(--in-content-box-border-color)!important
}
.collapsible-section .section-top-bar .info-option,
.extension-controlled,
.prefs-pane .prefs-modal-inner-wrapper .options,
.sections-list .section-empty-state {
background: var(--in-content-box-background)!important;

View File

@ -4,24 +4,8 @@ menupopup scrollbox,
popup,
popup > menu > menupopup {
-moz-appearance: none!important;
background: var(--in-content-box-background)!important;
border: none!important;
padding: 0!important
}
menu.subviewbutton > .menu-right {
fill: #000!important
}
.menu-right {
filter: invert(95%)!important
}
#context-navigation menuitem,
.panel-arrowcontent {
color: var(--in-content-selected-text)!important;
background: var(--in-content-box-background)!important
}
#context-navigation menuitem:hover {
background: var(--in-content-primary-button-background-hover)!important
}
menuitem,
menupopup menu {
-moz-appearance: none!important;
@ -30,12 +14,17 @@ menupopup menu {
}
menupopup menuseparator {
-moz-appearance: none!important;
padding: 1px!important;
margin: 5px 0!important;
background: var(--in-content-table-border-dark-color)!important;
border-top: none!important
background: var(--in-content-table-border-dark-color)!important
}
menu.subviewbutton > .menu-right {
fill: #000!important
}
.menu-right {
filter: invert(95%)!important
}
.menu-right[_moz-menuactive=true] {
filter: invert(10%)!important
}
#context-navigation menuitem[disabled=true],
menu[disabled=true],
menuitem[disabled=true] {
color: var(--in-content-box-border-color)!important
@ -45,95 +34,12 @@ menuitem:hover[disabled=true] {
color: var(--in-content-box-border-color)!important;
background-color: var(--in-content-box-background)!important
}
#context-navigation menuitem:hover[disabled=true] {
color: var(--in-content-box-border-color)!important;
background-color: var(--in-content-box-background)!important
}
menuitem[_moz-menuactive=true],
menupopup menu[_moz-menuactive=true] {
color: var(--in-content-selected-text)!important;
background-color: var(--in-content-primary-button-background-hover)!important
}
vbox#sidebar-box.chromeclass-extrachrome {
border-color: var(--in-content-category-header-background)!important;
border-right: 1px!important;
border-style: solid!important
}
#_testpilot-containers_7 .menu-iconic-left,
#treestyletab_piro_sakura_ne_jp_8 .menu-iconic-left {
filter: invert(55%)!important
}
@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) {
menupopup menuseparator {
padding: 0!important;
border-color: var(--in-content-table-border-dark-color)!important
}
#context-navigation,
#context-sep-navigation {
padding: 0!important
}
#BMB_bookmarksPopup menupopup {
padding: 4px 0 0!important
}
#BMB_bookmarksPopup menupopup[placespopup=true] > hbox,
#personal-bookmarks menupopup,
.box-inherit scrollbox-innerbox,
.panel-arrowcontent,
menupopup#BMB_bookmarksPopup > menu > menupopup > hbox,
menupopup#PlacesChevronPopup,
menupopup#bookmarksMenuPopup,
menupopup#bookmarksMenuPopup > menu > menupopup,
menupopup#bookmarksMenuPopup menupopup[placespopup=true],
menupopup#contentAreaContextMenu,
menupopup#contentAreaContextMenu menupopup,
menupopup#downloadsContextMenu,
menupopup#placesContext,
menupopup#tabContextMenu,
menupopup#tabContextMenu menupopup,
menupopup#toolbar-context-menu,
toolbaritem#menubar-items menupopup {
border-color: var(--in-content-box-background)!important;
border-width: 1px!important;
border-style: solid!important
}
#bookmarksMenuPopup,
#personal-bookmarks menupopup .bookmark-item,
menupopup#goPopup {
padding-left: 4px!important;
padding-right: 4px!important
}
menupopup#contentAreaContextMenu menupopup,
menupopup#tabContextMenu > menu > menupopup > .popup-internal-box,
menupopup#toolbar-context-menu {
padding-left: 2px!important;
padding-right: 2px!important
}
menupopup,
menupopup > menu > menupopup {
padding: 4px 0!important
}
#customization-toolbar-menu,
toolbaritem#menubar-items menupopup,
toolbaritem#menubar-items menupopup > menu > menupopup {
padding-left: 2px!important;
padding-right: 2px!important
}
#personal-bookmarks menupopup menuitem,
menupopup#contentAreaContextMenu menu,
menupopup#contentAreaContextMenu menuitem {
padding-top: 1px!important;
padding-bottom: 1px!important
}
menupopup#contentAreaContextMenu > .menuitem-iconic {
padding-top: 0!important;
padding-bottom: 0!important
}
menupopup .menu-right {
margin-right: 0!important
}
}

View File

@ -134,24 +134,8 @@ menupopup scrollbox,
popup,
popup > menu > menupopup {
-moz-appearance: none!important;
background: var(--in-content-box-background)!important;
border: none!important;
padding: 0!important
}
menu.subviewbutton > .menu-right {
fill: #000!important
}
.menu-right {
filter: invert(95%)!important
}
#context-navigation menuitem,
.panel-arrowcontent {
color: var(--in-content-selected-text)!important;
background: var(--in-content-box-background)!important
}
#context-navigation menuitem:hover {
background: var(--in-content-primary-button-background-hover)!important
}
menuitem,
menupopup menu {
-moz-appearance: none!important;
@ -160,12 +144,17 @@ menupopup menu {
}
menupopup menuseparator {
-moz-appearance: none!important;
padding: 1px!important;
margin: 5px 0!important;
background: var(--in-content-table-border-dark-color)!important;
border-top: none!important
background: var(--in-content-table-border-dark-color)!important
}
menu.subviewbutton > .menu-right {
fill: #000!important
}
.menu-right {
filter: invert(95%)!important
}
.menu-right[_moz-menuactive=true] {
filter: invert(10%)!important
}
#context-navigation menuitem[disabled=true],
menu[disabled=true],
menuitem[disabled=true] {
color: var(--in-content-box-border-color)!important
@ -175,98 +164,15 @@ menuitem:hover[disabled=true] {
color: var(--in-content-box-border-color)!important;
background-color: var(--in-content-box-background)!important
}
#context-navigation menuitem:hover[disabled=true] {
color: var(--in-content-box-border-color)!important;
background-color: var(--in-content-box-background)!important
}
menuitem[_moz-menuactive=true],
menupopup menu[_moz-menuactive=true] {
color: var(--in-content-selected-text)!important;
background-color: var(--in-content-primary-button-background-hover)!important
}
vbox#sidebar-box.chromeclass-extrachrome {
border-color: var(--in-content-category-header-background)!important;
border-right: 1px!important;
border-style: solid!important
}
#_testpilot-containers_7 .menu-iconic-left,
#treestyletab_piro_sakura_ne_jp_8 .menu-iconic-left {
filter: invert(55%)!important
}
@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) {
menupopup menuseparator {
padding: 0!important;
border-color: var(--in-content-table-border-dark-color)!important
}
#context-navigation,
#context-sep-navigation {
padding: 0!important
}
#BMB_bookmarksPopup menupopup {
padding: 4px 0 0!important
}
#BMB_bookmarksPopup menupopup[placespopup=true] > hbox,
#personal-bookmarks menupopup,
.box-inherit scrollbox-innerbox,
.panel-arrowcontent,
menupopup#BMB_bookmarksPopup > menu > menupopup > hbox,
menupopup#PlacesChevronPopup,
menupopup#bookmarksMenuPopup,
menupopup#bookmarksMenuPopup > menu > menupopup,
menupopup#bookmarksMenuPopup menupopup[placespopup=true],
menupopup#contentAreaContextMenu,
menupopup#contentAreaContextMenu menupopup,
menupopup#downloadsContextMenu,
menupopup#placesContext,
menupopup#tabContextMenu,
menupopup#tabContextMenu menupopup,
menupopup#toolbar-context-menu,
toolbaritem#menubar-items menupopup {
border-color: var(--in-content-box-background)!important;
border-width: 1px!important;
border-style: solid!important
}
#bookmarksMenuPopup,
#personal-bookmarks menupopup .bookmark-item,
menupopup#goPopup {
padding-left: 4px!important;
padding-right: 4px!important
}
menupopup#contentAreaContextMenu menupopup,
menupopup#tabContextMenu > menu > menupopup > .popup-internal-box,
menupopup#toolbar-context-menu {
padding-left: 2px!important;
padding-right: 2px!important
}
menupopup,
menupopup > menu > menupopup {
padding: 4px 0!important
}
#customization-toolbar-menu,
toolbaritem#menubar-items menupopup,
toolbaritem#menubar-items menupopup > menu > menupopup {
padding-left: 2px!important;
padding-right: 2px!important
}
#personal-bookmarks menupopup menuitem,
menupopup#contentAreaContextMenu menu,
menupopup#contentAreaContextMenu menuitem {
padding-top: 1px!important;
padding-bottom: 1px!important
}
menupopup#contentAreaContextMenu > .menuitem-iconic {
padding-top: 0!important;
padding-bottom: 0!important
}
menupopup .menu-right {
margin-right: 0!important
}
}
@-moz-document url(chrome://browser/content/places/places.xul) {
toolbar {
-moz-appearance: none!important;

View File

@ -132,24 +132,8 @@ menupopup scrollbox,
popup,
popup > menu > menupopup {
-moz-appearance: none!important;
background: var(--in-content-box-background)!important;
border: none!important;
padding: 0!important
}
menu.subviewbutton > .menu-right {
fill: #000!important
}
.menu-right {
filter: invert(95%)!important
}
#context-navigation menuitem,
.panel-arrowcontent {
color: var(--in-content-selected-text)!important;
background: var(--in-content-box-background)!important
}
#context-navigation menuitem:hover {
background: var(--in-content-primary-button-background-hover)!important
}
menuitem,
menupopup menu {
-moz-appearance: none!important;
@ -158,12 +142,17 @@ menupopup menu {
}
menupopup menuseparator {
-moz-appearance: none!important;
padding: 1px!important;
margin: 5px 0!important;
background: var(--in-content-table-border-dark-color)!important;
border-top: none!important
background: var(--in-content-table-border-dark-color)!important
}
menu.subviewbutton > .menu-right {
fill: #000!important
}
.menu-right {
filter: invert(95%)!important
}
.menu-right[_moz-menuactive=true] {
filter: invert(10%)!important
}
#context-navigation menuitem[disabled=true],
menu[disabled=true],
menuitem[disabled=true] {
color: var(--in-content-box-border-color)!important
@ -173,98 +162,15 @@ menuitem:hover[disabled=true] {
color: var(--in-content-box-border-color)!important;
background-color: var(--in-content-box-background)!important
}
#context-navigation menuitem:hover[disabled=true] {
color: var(--in-content-box-border-color)!important;
background-color: var(--in-content-box-background)!important
}
menuitem[_moz-menuactive=true],
menupopup menu[_moz-menuactive=true] {
color: var(--in-content-selected-text)!important;
background-color: var(--in-content-primary-button-background-hover)!important
}
vbox#sidebar-box.chromeclass-extrachrome {
border-color: var(--in-content-category-header-background)!important;
border-right: 1px!important;
border-style: solid!important
}
#_testpilot-containers_7 .menu-iconic-left,
#treestyletab_piro_sakura_ne_jp_8 .menu-iconic-left {
filter: invert(55%)!important
}
@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) {
menupopup menuseparator {
padding: 0!important;
border-color: var(--in-content-table-border-dark-color)!important
}
#context-navigation,
#context-sep-navigation {
padding: 0!important
}
#BMB_bookmarksPopup menupopup {
padding: 4px 0 0!important
}
#BMB_bookmarksPopup menupopup[placespopup=true] > hbox,
#personal-bookmarks menupopup,
.box-inherit scrollbox-innerbox,
.panel-arrowcontent,
menupopup#BMB_bookmarksPopup > menu > menupopup > hbox,
menupopup#PlacesChevronPopup,
menupopup#bookmarksMenuPopup,
menupopup#bookmarksMenuPopup > menu > menupopup,
menupopup#bookmarksMenuPopup menupopup[placespopup=true],
menupopup#contentAreaContextMenu,
menupopup#contentAreaContextMenu menupopup,
menupopup#downloadsContextMenu,
menupopup#placesContext,
menupopup#tabContextMenu,
menupopup#tabContextMenu menupopup,
menupopup#toolbar-context-menu,
toolbaritem#menubar-items menupopup {
border-color: var(--in-content-box-background)!important;
border-width: 1px!important;
border-style: solid!important
}
#bookmarksMenuPopup,
#personal-bookmarks menupopup .bookmark-item,
menupopup#goPopup {
padding-left: 4px!important;
padding-right: 4px!important
}
menupopup#contentAreaContextMenu menupopup,
menupopup#tabContextMenu > menu > menupopup > .popup-internal-box,
menupopup#toolbar-context-menu {
padding-left: 2px!important;
padding-right: 2px!important
}
menupopup,
menupopup > menu > menupopup {
padding: 4px 0!important
}
#customization-toolbar-menu,
toolbaritem#menubar-items menupopup,
toolbaritem#menubar-items menupopup > menu > menupopup {
padding-left: 2px!important;
padding-right: 2px!important
}
#personal-bookmarks menupopup menuitem,
menupopup#contentAreaContextMenu menu,
menupopup#contentAreaContextMenu menuitem {
padding-top: 1px!important;
padding-bottom: 1px!important
}
menupopup#contentAreaContextMenu > .menuitem-iconic {
padding-top: 0!important;
padding-bottom: 0!important
}
menupopup .menu-right {
margin-right: 0!important
}
}
@-moz-document url(chrome://browser/content/places/places.xul) {
toolbar {
-moz-appearance: none!important;
@ -592,10 +498,15 @@ url-prefix(https://discovery.addons.mozilla.org) {
}
#homeContentsGroup checkbox[src] .checkbox-icon,
.content-container .icon-container .icon[src=""],
.extension-controlled-icon,
.snippet .block-snippet-button,
.textbox-search-sign {
filter: invert(65%)!important
}
.searchBarHiddenImage,
.searchBarShownImage {
filter: invert(80%)!important
}
.collapsible-section .section-top-bar .info-option-manage button,
.topic .topic-read-more,
a:link {
@ -661,6 +572,7 @@ url-prefix(https://discovery.addons.mozilla.org) {
.detail-view-container,
.section-title span,
.snippet section,
.tail-with-learn-more,
.top-sites-list .top-site-outer .top-site-icon,
.topsite-form .form-wrapper input[type=text] {
color: var(--in-content-page-color)!important
@ -736,6 +648,7 @@ url-prefix(https://discovery.addons.mozilla.org) {
border-color: var(--in-content-box-border-color)!important
}
.collapsible-section .section-top-bar .info-option,
.extension-controlled,
.prefs-pane .prefs-modal-inner-wrapper .options,
.sections-list .section-empty-state {
background: var(--in-content-box-background)!important;

File diff suppressed because one or more lines are too long