Add: Fully Theme Mode - Menu color

This commit is contained in:
alstjr7375 2021-07-05 16:37:11 +09:00
parent 7446edd955
commit 887b1eac66

View file

@ -72,6 +72,25 @@
}
/* Fully Theme Mode *********************************************************/
/* Default Themes
https://github.com/mozilla/gecko-dev/blob/master/toolkit/mozapps/extensions/default-theme/manifest.json
https://github.com/mozilla/gecko-dev/blob/master/browser/themes/addons/light/manifest.json
https://github.com/mozilla/gecko-dev/blob/master/browser/themes/addons/dark/manifest.json
*/
/*== Menu color ===========================================================*/
:root {
/* is same as toolbar color https://github.com/mozilla/gecko-dev/blob/master/toolkit/themes/windows/global/global.css#L17-L67 */
--menu-color: var(--toolbar-color) !important;
--menu-background-color: var(--toolbar-bgcolor) !important;
--menu-border-color: var(--toolbarbutton-active-background, var(--button-active-bgcolor)) !important;
--menuitem-hover-background-color: var(--toolbarbutton-hover-background, var(--button-hover-bgcolor)) !important;
--menu-disabled-color: color-mix(in srgb, var(--toolbar-color) 40%, transparent) !important;
--menuitem-disabled-hover-background-color: color-mix(in srgb, var(--menuitem-hover-background-color) 40%, transparent) !important;
}
/*= Notification ===========================================================*/
@-moz-document url("chrome://global/content/alerts/alert.xhtml") {
/* line below removes background from the notification "window" on linux */