Rework colors definitions
This commit is contained in:
parent
b180555583
commit
f74812513f
|
@ -7,14 +7,7 @@
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
:root {
|
:root {
|
||||||
/* Accent */
|
/* Accent */
|
||||||
|
--gnome-accent-bg: #16A085;
|
||||||
--gnome-accent: #16A085;
|
--gnome-accent: #16A085;
|
||||||
|
|
||||||
/* Buttons */
|
|
||||||
--gnome-button-suggested-action-background: linear-gradient(to top, rgb(36, 235, 195) 2px, #16A085);
|
|
||||||
--gnome-button-suggested-action-border-color: #16A085;
|
|
||||||
--gnome-button-suggested-action-border-accent-color: #004b3d;
|
|
||||||
--gnome-button-suggested-action-hover-background: linear-gradient(to top, rgb(36, 235, 195), #16A085 1px);
|
|
||||||
--gnome-button-suggested-action-active-background: rgb(16, 129, 107);
|
|
||||||
--gnome-button-suggested-action-active-border-color: rgb(13, 109, 90);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,111 +6,67 @@
|
||||||
* override them. */
|
* override them. */
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
:root {
|
:root {
|
||||||
/* Browser area before a page starts loading */
|
|
||||||
--gnome-browser-before-load-background: #242424;
|
|
||||||
|
|
||||||
/* Accent */
|
/* Accent */
|
||||||
--gnome-accent-bg: #3584e4;
|
--gnome-accent-bg: var(--gnome-palette-blue-3);
|
||||||
--gnome-accent: #78aeed;
|
--gnome-accent: #78aeed;
|
||||||
--gnome-selection-bg: rgba(53, 132, 228, .25);
|
|
||||||
|
|
||||||
/* Toolbars */
|
--gnome-toolbar-star-button: var(--gnome-palette-yellow-1);
|
||||||
--gnome-toolbar-background: var(--gnome-headerbar-background);
|
|
||||||
--gnome-toolbar-color: #ffffff;
|
|
||||||
--gnome-toolbar-border-color: rgba(0, 0, 0, .36);
|
|
||||||
--gnome-toolbar-icon-fill: #eeeeec;
|
|
||||||
--gnome-inactive-toolbar-color: #919190;
|
|
||||||
--gnome-inactive-toolbar-background: var(--gnome-inactive-headerbar-background);
|
|
||||||
--gnome-inactive-toolbar-border-color: var(--gnome-toolbar-border-color);
|
|
||||||
--gnome-inactive-toolbar-icon-fill: #919190;
|
|
||||||
|
|
||||||
/* Sidebar */
|
/* Window */
|
||||||
--gnome-sidebar-background: var(--gnome-toolbar-background);
|
--gnome-window-background: #242424;
|
||||||
--gnome-inactive-sidebar-background: var(--gnome-sidebar-background);
|
--gnome-window-color: white;
|
||||||
|
--gnome-view-background: #1e1e1e;
|
||||||
|
|
||||||
/* Menus */
|
/* Card */
|
||||||
|
--gnome-card-background: rgba(255, 255, 255, 0.08);
|
||||||
|
--gnome-card-shade-color: color-mix(in srgb, black 36%, transparent);
|
||||||
|
|
||||||
|
/* Menu */
|
||||||
--gnome-menu-background: #383838;
|
--gnome-menu-background: #383838;
|
||||||
--gnome-menu-border-color: rgba(0, 0, 0, .14);
|
|
||||||
--gnome-menu-shadow: 0 1px 5px 1px rgba(0,0,0, .09), 0 2px 14px 3px rgba(0,0,0, .05);
|
|
||||||
--gnome-menu-button-hover-background: var(--gnome-button-background);
|
|
||||||
--gnome-menu-separator-color: rgba(255, 255, 255, .1);
|
|
||||||
|
|
||||||
/* Header bar */
|
/* Header bar */
|
||||||
--gnome-headerbar-background: #303030;
|
--gnome-headerbar-background: #303030;
|
||||||
--gnome-headerbar-border-color: var(--gnome-toolbar-border-color);
|
--gnome-headerbar-shade-color: color-mix(in srgb, black 36%, transparent);
|
||||||
--gnome-inactive-headerbar-background: var(--gnome-browser-before-load-background);
|
|
||||||
--gnome-inactive-headerbar-border-color: var(--gnome-toolbar-border-color);
|
|
||||||
|
|
||||||
/* Buttons */
|
/* Toolbars */
|
||||||
--gnome-button-background: rgba(255, 255, 255, .1);
|
--gnome-toolbar-icon-fill: #eeeeec;
|
||||||
--gnome-button-hover-background: rgba(255, 255, 255, .15);
|
|
||||||
--gnome-button-active-background: rgba(255, 255, 255, .3);
|
|
||||||
--gnome-button-flat-hover-background: rgba(255, 255, 255, .07);
|
|
||||||
--gnome-button-flat-active-background: rgba(255, 255, 255, .1);
|
|
||||||
--gnome-button-suggested-action-background: var(--gnome-accent-bg);
|
|
||||||
--gnome-button-destructive-action-background: #e01b24;
|
|
||||||
|
|
||||||
--gnome-button-close-background: var(--gnome-button-flat-hover-background);
|
|
||||||
--gnome-button-hover-close-background:var(--gnome-button-hover-background);
|
|
||||||
--gnome-button-active-close-background: var(--gnome-button-active-background);
|
|
||||||
|
|
||||||
--gnome-toolbar-star-button: #f8e45c;
|
|
||||||
|
|
||||||
/* Entries */
|
|
||||||
--gnome-entry-background: rgba(255, 255, 255, .1);
|
|
||||||
--gnome-entry-color: #ffffff;
|
|
||||||
--gnome-inactive-entry-color: #d6d6d6;
|
|
||||||
--gnome-focused-urlbar-border-color: rgba(120, 174, 237, .5); /* Same as --gnome-accent but with opacity*/
|
|
||||||
|
|
||||||
/* Switch */
|
|
||||||
--gnome-switch-background: rgba(255, 255, 255, .15);
|
|
||||||
--gnome-switch-slider-background: #d2d2d2;
|
|
||||||
--gnome-switch-active-background: var(--gnome-accent-bg);
|
|
||||||
--gnome-switch-active-slider-background: #ffffff;
|
|
||||||
|
|
||||||
/* Tabs */
|
/* Tabs */
|
||||||
--gnome-tabbar-background: var(--gnome-headerbar-background);
|
|
||||||
--gnome-tabbar-tab-separator-color: rgba(255, 255, 255, .15);
|
|
||||||
--gnome-tabbar-tab-hover-background: #3f3f3f; /* Hardcoded color */
|
--gnome-tabbar-tab-hover-background: #3f3f3f; /* Hardcoded color */
|
||||||
--gnome-tabbar-tab-active-background: #444444; /* Hardcoded color */
|
--gnome-tabbar-tab-active-background: #444444; /* Hardcoded color */
|
||||||
--gnome-tabbar-tab-active-background-contrast: #4F4F4F; /* Hardcoded color */
|
--gnome-tabbar-tab-active-background-contrast: #4F4F4F; /* Hardcoded color */
|
||||||
--gnome-tabbar-tab-active-hover-background: #4b4b4b; /* Hardcoded color */
|
--gnome-tabbar-tab-active-hover-background: #4b4b4b; /* Hardcoded color */
|
||||||
--gnome-inactive-tabbar-background: var(--gnome-inactive-headerbar-background);
|
|
||||||
--gnome-inactive-tabbar-tab-hover-background: #2c2c2c; /* Hardcoded color */
|
|
||||||
--gnome-inactive-tabbar-tab-active-background: #2e2e2e; /* Hardcoded color */
|
|
||||||
--gnome-tab-button-background: rgba(0, 0, 0, .5);
|
|
||||||
--gnome-tab-button-hover-background: rgba(0, 0, 0, .6);
|
|
||||||
--gnome-tabbar-tab-identity-base-opacity: 0;
|
|
||||||
--gnome-tabbar-tab-needs-attetion: #546F8E;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Private window colors */
|
|
||||||
:root {
|
|
||||||
--gnome-private-accent: #78aeed;
|
|
||||||
|
|
||||||
/* Toolbars */
|
|
||||||
--gnome-private-toolbar-background: var(--gnome-headerbar-background);
|
|
||||||
--gnome-private-inactive-toolbar-background: var(--gnome-inactive-headerbar-background);
|
|
||||||
/* Menus */
|
|
||||||
--gnome-private-menu-background: #383838;
|
|
||||||
/* Header bar */
|
|
||||||
--gnome-private-headerbar-background: #252F49;
|
|
||||||
--gnome-private-inactive-headerbar-background: var(--gnome-private-toolbar-background);
|
|
||||||
/* Tabs */
|
|
||||||
--gnome-private-tabbar-tab-hover-background: #343e56; /* Hardcoded color */
|
|
||||||
--gnome-private-tabbar-tab-active-background: #343e56; /* Hardcoded color */
|
|
||||||
--gnome-private-tabbar-tab-active-background-contrast: #495675; /* Hardcoded color */
|
|
||||||
--gnome-private-tabbar-tab-active-hover-background: #414a61; /* Hardcoded color */
|
|
||||||
--gnome-private-inactive-tabbar-tab-hover-background: #242c3f; /* Hardcoded color */
|
|
||||||
--gnome-private-inactive-tabbar-tab-active-background: #272e41; /* Hardcoded color */
|
|
||||||
|
|
||||||
/* Text color for Firefox Logo in new private tab */
|
/* Text color for Firefox Logo in new private tab */
|
||||||
--gnome-private-wordmark: #FBFBFE;
|
--gnome-private-wordmark: #FBFBFE;
|
||||||
|
|
||||||
/* New private tab background */
|
/* New private tab background */
|
||||||
--gnome-private-in-content-page-background: #242424;
|
--gnome-private-in-content-page-background: #242424;
|
||||||
|
|
||||||
/* Private browsing info box */
|
/* Private browsing info box */
|
||||||
--gnome-private-text-primary-color: #FBFBFE;
|
--gnome-private-text-primary-color: #FBFBFE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Backdrop colors */
|
||||||
|
:root:-moz-window-inactive {
|
||||||
|
--gnome-tabbar-tab-hover-background: #2c2c2c; /* Hardcoded color */
|
||||||
|
--gnome-tabbar-tab-active-background: #2e2e2e; /* Hardcoded color */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Private colors */
|
||||||
|
:root[privatebrowsingmode="temporary"] {
|
||||||
|
--gnome-accent-fg: #78aeed;
|
||||||
|
/* Headerbar */
|
||||||
|
--gnome-headerbar-background: #252F49 !important;
|
||||||
|
/* Tabs */
|
||||||
|
--gnome-tabbar-tab-hover-background: #343e56; /* Hardcoded color */
|
||||||
|
--gnome-tabbar-tab-active-background: #343e56; /* Hardcoded color */
|
||||||
|
--gnome-tabbar-tab-active-background-contrast: #495675; /* Hardcoded color */
|
||||||
|
--gnome-tabbar-tab-active-hover-background: #414a61; /* Hardcoded color */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Private and backdrop colors */
|
||||||
|
:root[privatebrowsingmode="temporary"]:-moz-window-inactive {
|
||||||
|
--gnome-headerbar-background: #252F49 !important;
|
||||||
|
--gnome-tabbar-tab-hover-background: #242c3f; /* Hardcoded color */
|
||||||
|
--gnome-tabbar-tab-active-background: #272e41; /* Hardcoded color */
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,42 +7,11 @@
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
/* Accent */
|
/* Accent */
|
||||||
|
--gnome-accent-bg: #16A085;
|
||||||
--gnome-accent: #16A085;
|
--gnome-accent: #16A085;
|
||||||
|
|
||||||
/* Buttons */
|
|
||||||
--gnome-button-suggested-action-background: linear-gradient(to top, rgb(36, 235, 195) 2px, #16A085);
|
|
||||||
--gnome-button-suggested-action-border-color: #16A085;
|
|
||||||
--gnome-button-suggested-action-border-accent-color: #004b3d;
|
|
||||||
--gnome-button-suggested-action-hover-background: linear-gradient(to top, rgb(36, 235, 195), #16A085 1px);
|
|
||||||
--gnome-button-suggested-action-active-background: rgb(16, 129, 107);
|
|
||||||
--gnome-button-suggested-action-active-border-color: rgb(13, 109, 90);
|
|
||||||
|
|
||||||
/* Switch */
|
|
||||||
--gnome-switch-active-border-color: #1fdab5;
|
|
||||||
--gnome-switch-active-slider-border-color: #1fdab5;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Recolor some elements that are blue by default */
|
/* Recolor some elements that are blue by default */
|
||||||
|
|
||||||
#star-button[starred] {
|
|
||||||
fill: #16A085 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tab-throbber[busy]::before {
|
|
||||||
background-image: url("chrome://global/skin/icons/loading.png") !important;
|
|
||||||
animation: unset !important;
|
|
||||||
filter: invert(0.9) sepia(1) saturate(5) hue-rotate(110deg)
|
|
||||||
}
|
|
||||||
.tab-throbber[busy]:not([progress])::before {
|
|
||||||
/* Grays the blue during "Connecting" state */
|
|
||||||
filter: grayscale(100%);
|
|
||||||
}
|
|
||||||
@media (min-resolution: 2dppx) {
|
|
||||||
.tab-throbber[busy]::before {
|
|
||||||
background-image: url("chrome://global/skin/icons/loading@2x.png") !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#tabbrowser-tabs {
|
#tabbrowser-tabs {
|
||||||
--tab-loading-fill: #16A085! important;
|
--tab-loading-fill: #16A085! important;
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,107 +6,153 @@
|
||||||
* override them. */
|
* override them. */
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
/* Browser area before a page starts loading */
|
/* Pallete */
|
||||||
--gnome-browser-before-load-background: #FAFAFA;
|
--gnome-palette-blue-1: #99c1f1;
|
||||||
|
--gnome-palette-blue-2: #62a0ea;
|
||||||
|
--gnome-palette-blue-3: #3584e4;
|
||||||
|
--gnome-palette-blue-4: #1c71d8;
|
||||||
|
--gnome-palette-blue-5: #1a5fb4;
|
||||||
|
--gnome-palette-green-1: #8ff0a4;
|
||||||
|
--gnome-palette-green-2: #57e389;
|
||||||
|
--gnome-palette-green-3: #33d17a;
|
||||||
|
--gnome-palette-green-4: #2ec27e;
|
||||||
|
--gnome-palette-green-5: #26a269;
|
||||||
|
--gnome-palette-yellow-1: #f9f06b;
|
||||||
|
--gnome-palette-yellow-2: #f8e45c;
|
||||||
|
--gnome-palette-yellow-3: #f6d32d;
|
||||||
|
--gnome-palette-yellow-4: #f5c211;
|
||||||
|
--gnome-palette-yellow-5: #e5a50a;
|
||||||
|
--gnome-palette-orange-1: #ffbe6f;
|
||||||
|
--gnome-palette-orange-2: #ffa348;
|
||||||
|
--gnome-palette-orange-3: #ff7800;
|
||||||
|
--gnome-palette-orange-4: #e66100;
|
||||||
|
--gnome-palette-orange-5: #c64600;
|
||||||
|
--gnome-palette-red-1: #f66151;
|
||||||
|
--gnome-palette-red-2: #ed333b;
|
||||||
|
--gnome-palette-red-3: #e01b24;
|
||||||
|
--gnome-palette-red-4: #c01c28;
|
||||||
|
--gnome-palette-red-5: #a51d2d;
|
||||||
|
--gnome-palette-purple-1: #dc8add;
|
||||||
|
--gnome-palette-purple-2: #c061cb;
|
||||||
|
--gnome-palette-purple-3: #9141ac;
|
||||||
|
--gnome-palette-purple-4: #813d9c;
|
||||||
|
--gnome-palette-purple-5: #613583;
|
||||||
|
--gnome-palette-brown-1: #cdab8f;
|
||||||
|
--gnome-palette-brown-2: #b5835a;
|
||||||
|
--gnome-palette-brown-3: #986a44;
|
||||||
|
--gnome-palette-brown-4: #865e3c;
|
||||||
|
--gnome-palette-brown-5: #63452c;
|
||||||
|
--gnome-palette-light-1: #ffffff;
|
||||||
|
--gnome-palette-light-2: #f6f5f4;
|
||||||
|
--gnome-palette-light-3: #deddda;
|
||||||
|
--gnome-palette-light-4: #c0bfbc;
|
||||||
|
--gnome-palette-light-5: #9a9996;
|
||||||
|
--gnome-palette-dark-1: #77767b;
|
||||||
|
--gnome-palette-dark-2: #5e5c64;
|
||||||
|
--gnome-palette-dark-3: #3d3846;
|
||||||
|
--gnome-palette-dark-4: #241f31;
|
||||||
|
--gnome-palette-dark-5: #000000;
|
||||||
|
|
||||||
/* Accent */
|
/* Accent */
|
||||||
--gnome-accent-bg: #3584e4;
|
--gnome-accent-bg: var(--gnome-palette-blue-3);
|
||||||
--gnome-accent: #1c71d8;
|
--gnome-accent: var(--gnome-palette-blue-4);
|
||||||
--gnome-selection-bg: rgba(53, 132, 228, .45);
|
|
||||||
|
|
||||||
/* Toolbars */
|
--gnome-selection-bg: color-mix(in srgb, var(--gnome-accent-bg) 30%, transparent);
|
||||||
--gnome-toolbar-background: var(--gnome-headerbar-background);
|
--gnome-toolbar-star-button: #ae7b03;
|
||||||
--gnome-toolbar-color: rgb(46, 52, 54);
|
|
||||||
--gnome-toolbar-border-color: #dbdbdb;
|
|
||||||
--gnome-toolbar-icon-fill: #2f2f2f;
|
|
||||||
--gnome-inactive-toolbar-background: var(--gnome-inactive-headerbar-background);
|
|
||||||
--gnome-inactive-toolbar-color: #d5d0cc;
|
|
||||||
--gnome-inactive-toolbar-border-color: #e9e9e9;
|
|
||||||
--gnome-inactive-toolbar-icon-fill: #969696;
|
|
||||||
|
|
||||||
/* Sidebar */
|
/* Window */
|
||||||
--gnome-sidebar-background: var(--gnome-toolbar-background);
|
--gnome-window-background: #fafafa;
|
||||||
--gnome-inactive-sidebar-background: var(--gnome-sidebar-background);
|
--gnome-window-color: rgba(0, 0, 0, 0.8);
|
||||||
|
--gnome-view-background: #ffffff;
|
||||||
|
--gnome-view-color: var(--gnome-window-color);
|
||||||
|
--gnome-view-selected-background: color-mix(in srgb, var(--gnome-accent-bg) 25%, transparent);
|
||||||
|
--gnome-view-selected-hover-background: color-mix(in srgb, var(--gnome-accent-bg) 32%, transparent);
|
||||||
|
--gnome-view-selected-active-background: color-mix(in srgb, var(--gnome-accent-bg) 39%, transparent);
|
||||||
|
|
||||||
|
/* Card */
|
||||||
|
--gnome-card-background: #ffffff;
|
||||||
|
--gnome-card-shade-color: color-mix(in srgb, black 7%, transparent);
|
||||||
|
|
||||||
/* Menu */
|
/* Menu */
|
||||||
--gnome-menu-background: #ffffff;
|
--gnome-menu-background: #ffffff;
|
||||||
--gnome-menu-border-color: rgba(0, 0, 0, .14);
|
--gnome-menu-color: var(--gnome-window-color);
|
||||||
|
--gnome-menu-border-color: rgba(0, 0, 0, .04);
|
||||||
--gnome-menu-shadow: 0 1px 5px 1px rgba(0,0,0, .09), 0 2px 14px 3px rgba(0,0,0, .05);
|
--gnome-menu-shadow: 0 1px 5px 1px rgba(0,0,0, .09), 0 2px 14px 3px rgba(0,0,0, .05);
|
||||||
--gnome-menu-button-hover-background: var(--gnome-button-background);
|
--gnome-menu-button-hover-background: var(--gnome-button-background);
|
||||||
--gnome-menu-separator-color: rgba(0, 0, 0, 0.1);
|
--gnome-menu-separator-color: var(--gnome-border-color);
|
||||||
|
|
||||||
/* Header bar */
|
/* Header bar */
|
||||||
--gnome-headerbar-background: #EBEBEB;
|
--gnome-headerbar-background: #ebebeb;
|
||||||
--gnome-headerbar-border-color: var(--gnome-toolbar-border-color);
|
--gnome-headerbar-shade-color: rgba(0, 0, 0, 0.07);
|
||||||
--gnome-inactive-headerbar-background: var(--gnome-browser-before-load-background);
|
|
||||||
--gnome-inactive-headerbar-border-color: var(--gnome-inactive-toolbar-border-color);
|
/* Toolbars */
|
||||||
|
--gnome-toolbar-background: var(--gnome-headerbar-background);
|
||||||
|
--gnome-toolbar-color: var(--gnome-window-color);
|
||||||
|
--gnome-toolbar-border-color: var(--gnome-headerbar-shade-color);
|
||||||
|
--gnome-toolbar-icon-fill: #2f2f2f;
|
||||||
|
|
||||||
|
/* Elements */
|
||||||
|
--gnome-border-color: color-mix(in srgb, currentColor 15%, transparent);
|
||||||
|
--gnome-hover-color: color-mix(in srgb, currentColor 7%, transparent);
|
||||||
|
--gnome-active-color: color-mix(in srgb, currentColor 16%, transparent);
|
||||||
|
--gnome-selected-color: color-mix(in srgb, currentColor 10%, transparent);
|
||||||
|
--gnome-selected-hover-color: color-mix(in srgb, currentColor 13%, transparent);
|
||||||
|
--gnome-selected-active-color: color-mix(in srgb, currentColor 19%, transparent);
|
||||||
|
--gnome-trough-background: color-mix(in srgb, currentColor 15%, transparent);
|
||||||
|
--gnome-trough-hover-background: color-mix(in srgb, currentColor 20%, transparent);
|
||||||
|
--gnome-trough-active-background: color-mix(in srgb, currentColor 25%, transparent);
|
||||||
|
|
||||||
/* Buttons */
|
/* Buttons */
|
||||||
--gnome-button-background: rgba(0, 0, 0, .08);
|
--gnome-button-background: color-mix(in srgb, currentColor 10%, transparent);
|
||||||
--gnome-button-hover-background: rgba(0, 0, 0, .12);
|
--gnome-button-hover-background: color-mix(in srgb, currentColor 15%, transparent);
|
||||||
--gnome-button-active-background: rgba(0, 0, 0, .24);
|
--gnome-button-active-background: color-mix(in srgb, currentColor 30%, transparent);
|
||||||
--gnome-button-flat-hover-background: rgba(0, 0, 0, .056);
|
|
||||||
--gnome-button-flat-active-background: rgba(0, 0, 0, .128);
|
|
||||||
--gnome-button-suggested-action-background: var(--gnome-accent-bg);
|
--gnome-button-suggested-action-background: var(--gnome-accent-bg);
|
||||||
--gnome-button-destructive-action-background: #e01b24;
|
--gnome-button-destructive-action-background: #e01b24;
|
||||||
|
|
||||||
--gnome-button-close-background: var(--gnome-button-background);
|
|
||||||
--gnome-button-hover-close-background:var(--gnome-button-hover-background);
|
|
||||||
--gnome-button-active-close-background: var(--gnome-button-active-background);
|
|
||||||
|
|
||||||
--gnome-toolbar-star-button: #ae7b03;
|
|
||||||
|
|
||||||
/* Entries */
|
/* Entries */
|
||||||
--gnome-entry-background: rgba(0, 0, 0, .08);
|
--gnome-entry-background: var(--gnome-button-background);
|
||||||
--gnome-entry-color: #303030;
|
--gnome-entry-color: var(--gnome-view-color);
|
||||||
--gnome-inactive-entry-color: #303030;
|
--gnome-focused-urlbar-border-color: color-mix(in srgb, var(--gnome-accent) 50%, transparent);
|
||||||
--gnome-focused-urlbar-border-color: rgba(28, 113, 216, .5);
|
|
||||||
|
|
||||||
/* Switch */
|
|
||||||
--gnome-switch-background: rgba(0, 0, 0, .12);
|
|
||||||
--gnome-switch-slider-background: #ffffff;
|
|
||||||
--gnome-switch-active-background: var(--gnome-accent-bg);
|
|
||||||
--gnome-switch-active-slider-background: #ffffff;
|
|
||||||
|
|
||||||
/* Tabs */
|
/* Tabs */
|
||||||
--gnome-tabbar-background: var(--gnome-headerbar-background);
|
--gnome-tabbar-background: var(--gnome-headerbar-background);
|
||||||
--gnome-tabbar-tab-separator-color: var(--gnome-toolbar-border-color);
|
--gnome-tabbar-tab-separator-color: var(--gnome-headerbar-shade-color);
|
||||||
--gnome-tabbar-tab-hover-background: #dedede; /* Hardcoded color */
|
--gnome-tabbar-tab-hover-background: #dedede; /* Hardcoded color */
|
||||||
--gnome-tabbar-tab-active-background: #d9d9d9; /* Hardcoded color */
|
--gnome-tabbar-tab-active-background: #d9d9d9; /* Hardcoded color */
|
||||||
--gnome-tabbar-tab-active-background-contrast: #c0c0c0; /* Hardcoded color */
|
--gnome-tabbar-tab-active-background-contrast: #c0c0c0; /* Hardcoded color */
|
||||||
--gnome-tabbar-tab-active-hover-background: #d2d2d2; /* Hardcoded color */
|
--gnome-tabbar-tab-active-hover-background: #d2d2d2; /* Hardcoded color */
|
||||||
--gnome-inactive-tabbar-background: var(--gnome-inactive-headerbar-background);
|
--gnome-tabbar-tab-needs-attetion: var(--gnome-accent);
|
||||||
--gnome-inactive-tabbar-tab-hover-background: #f3f3f3; /* Hardcoded color */
|
|
||||||
--gnome-inactive-tabbar-tab-active-background: #EFEFEF; /* Hardcoded color */
|
|
||||||
--gnome-tabbar-tab-identity-base-opacity: .1;
|
|
||||||
--gnome-tabbar-tab-needs-attetion: #84AEE2;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Private window colors */
|
|
||||||
:root {
|
|
||||||
--gnome-private-accent: #1c71d8;
|
|
||||||
|
|
||||||
/* Toolbars */
|
|
||||||
--gnome-private-toolbar-background: var(--gnome-headerbar-background);
|
|
||||||
--gnome-private-inactive-toolbar-background: var(--gnome-inactive-headerbar-background);
|
|
||||||
/* Menus */
|
|
||||||
--gnome-private-menu-background: #ffffff;
|
|
||||||
/* Header bar */
|
|
||||||
--gnome-private-headerbar-background: #D7E3F0;
|
|
||||||
--gnome-private-inactive-headerbar-background: var(--gnome-private-toolbar-background);
|
|
||||||
/* Tabs */
|
|
||||||
--gnome-private-tabbar-tab-hover-background: #cbd7e3; /* Hardcoded color */
|
|
||||||
--gnome-private-tabbar-tab-active-background: #c6d1dd; /* Hardcoded color */
|
|
||||||
--gnome-private-tabbar-tab-active-background-contrast: #a9b6c4; /* Hardcoded color */
|
|
||||||
--gnome-private-tabbar-tab-active-hover-background: #c0cbd7; /* Hardcoded color */
|
|
||||||
--gnome-private-inactive-tabbar-tab-hover-background: #e4e9f0; /* Hardcoded color */
|
|
||||||
--gnome-private-inactive-tabbar-tab-active-background: #e1e7ed; /* Hardcoded color */
|
|
||||||
|
|
||||||
/* Text color for Firefox Logo in new private tab */
|
/* Text color for Firefox Logo in new private tab */
|
||||||
--gnome-private-wordmark: #20123A;
|
--gnome-private-wordmark: #20123A;
|
||||||
|
|
||||||
/* New private tab background */
|
/* New private tab background */
|
||||||
--gnome-private-in-content-page-background: #FAFAFA;
|
--gnome-private-in-content-page-background: #FAFAFA;
|
||||||
|
|
||||||
/* Private browsing info box */
|
/* Private browsing info box */
|
||||||
--gnome-private-text-primary-color: #15141A;
|
--gnome-private-text-primary-color: #15141A;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Backdrop colors */
|
||||||
|
:root:-moz-window-inactive {
|
||||||
|
--gnome-headerbar-background: var(--gnome-window-background);
|
||||||
|
--gnome-tabbar-tab-hover-background: #f3f3f3; /* Hardcoded color */
|
||||||
|
--gnome-tabbar-tab-active-background: #EFEFEF; /* Hardcoded color */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Private colors */
|
||||||
|
:root[privatebrowsingmode="temporary"] {
|
||||||
|
--gnome-accent-fg: var(--gnome-palette-blue-4);
|
||||||
|
/* Headerbar */
|
||||||
|
--gnome-headerbar-background: #D7E3F0 !important;
|
||||||
|
/* Tabs */
|
||||||
|
--gnome-tabbar-tab-hover-background: #cbd7e3; /* Hardcoded color */
|
||||||
|
--gnome-tabbar-tab-active-background: #c6d1dd; /* Hardcoded color */
|
||||||
|
--gnome-tabbar-tab-active-background-contrast: #a9b6c4; /* Hardcoded color */
|
||||||
|
--gnome-tabbar-tab-active-hover-background: #c0cbd7; /* Hardcoded color */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Private and backdrop colors */
|
||||||
|
:root[privatebrowsingmode="temporary"]:-moz-window-inactive {
|
||||||
|
--gnome-headerbar-background: #D7E3F0 !important;
|
||||||
|
--gnome-tabbar-tab-hover-background: #e4e9f0; /* Hardcoded color */
|
||||||
|
--gnome-tabbar-tab-active-background: #e1e7ed; /* Hardcoded color */
|
||||||
|
}
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
@import "parts/toolbox.css";
|
@import "parts/toolbox.css";
|
||||||
@import "parts/headerbar.css";
|
@import "parts/headerbar.css";
|
||||||
@import "parts/headerbar-private-window.css";
|
|
||||||
@import "parts/csd.css";
|
@import "parts/csd.css";
|
||||||
@import "parts/urlbar.css";
|
@import "parts/urlbar.css";
|
||||||
@import "parts/tabsbar.css";
|
@import "parts/tabsbar.css";
|
||||||
|
|
|
@ -179,7 +179,7 @@ button.close:hover,
|
||||||
#item-choose button:hover,
|
#item-choose button:hover,
|
||||||
.unified-extensions-item-menu-button:hover {
|
.unified-extensions-item-menu-button:hover {
|
||||||
outline: 0 !important;
|
outline: 0 !important;
|
||||||
background: var(--gnome-button-flat-hover-background) !important;
|
background: var(--gnome-hover-color) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Active buttons */
|
/* Active buttons */
|
||||||
|
@ -219,7 +219,7 @@ button.close:active,
|
||||||
.permission-popup-permission-remove-button:active,
|
.permission-popup-permission-remove-button:active,
|
||||||
#item-choose button:active,
|
#item-choose button:active,
|
||||||
.unified-extensions-item-menu-button:active {
|
.unified-extensions-item-menu-button:active {
|
||||||
background: var(--gnome-button-flat-active-background) !important;
|
background: var(--gnome-active-color) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Disabled buttons */
|
/* Disabled buttons */
|
||||||
|
@ -230,17 +230,6 @@ button.close:active,
|
||||||
opacity: .5 !important;
|
opacity: .5 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Inactive window buttons */
|
|
||||||
#nav-bar toolbarbutton:not(#urlbar-zoom-button):not(.subviewbutton):-moz-window-inactive,
|
|
||||||
.findbar-container toolbarbutton:-moz-window-inactive,
|
|
||||||
#sidebar-switcher-target:-moz-window-inactive,
|
|
||||||
#viewButton:-moz-window-inactive,
|
|
||||||
.notification-button:-moz-window-inactive {
|
|
||||||
background: var(--gnome-inactive-button-background) !important;
|
|
||||||
box-shadow: var(--gnome-inactive-button-box-shadow) !important;
|
|
||||||
border-color: var(--gnome-inactive-button-border-color) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Circle buttons */
|
/* Circle buttons */
|
||||||
#downloadsPanel-mainView .download-state .downloadButton,
|
#downloadsPanel-mainView .download-state .downloadButton,
|
||||||
.permission-popup-permission-remove-button:not(#hack) {
|
.permission-popup-permission-remove-button:not(#hack) {
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
#protections-popup-tp-switch {
|
#protections-popup-tp-switch {
|
||||||
background: var(--gnome-switch-background) !important;
|
background: var(--gnome-trough-background) !important;
|
||||||
border: 0 !important;
|
border: 0 !important;
|
||||||
border-radius: 24px !important;
|
border-radius: 24px !important;
|
||||||
min-width: 48px !important;
|
min-width: 48px !important;
|
||||||
|
@ -23,11 +23,14 @@
|
||||||
display: block !important;
|
display: block !important;
|
||||||
margin: 0 !important;
|
margin: 0 !important;
|
||||||
}
|
}
|
||||||
|
#protections-popup-tp-switch:hover {
|
||||||
|
background-image: var(--gnome-trough-hover-background) !important;
|
||||||
|
}
|
||||||
#protections-popup-tp-switch::before {
|
#protections-popup-tp-switch::before {
|
||||||
position: absolute !important;
|
position: absolute !important;
|
||||||
top: 2px;
|
top: 2px;
|
||||||
left: 2px;
|
left: 2px;
|
||||||
background: var(--gnome-switch-slider-background) !important;
|
background: #fff !important;
|
||||||
box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
|
box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
|
||||||
border: 0 !important;
|
border: 0 !important;
|
||||||
border-radius: 24px !important;
|
border-radius: 24px !important;
|
||||||
|
@ -37,10 +40,10 @@
|
||||||
outline: 0 !important;
|
outline: 0 !important;
|
||||||
}
|
}
|
||||||
#protections-popup-tp-switch[enabled] {
|
#protections-popup-tp-switch[enabled] {
|
||||||
background: var(--gnome-switch-active-background) !important;
|
background: var(--gnome-accent-bg) !important;
|
||||||
padding-inline-start: 24px !important;
|
padding-inline-start: 24px !important;
|
||||||
}
|
}
|
||||||
#protections-popup-tp-switch[enabled]::before {
|
#protections-popup-tp-switch[enabled]::before {
|
||||||
background: var(--gnome-switch-active-slider-background) !important;
|
background: #fff !important;
|
||||||
left: 24px;
|
left: 24px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -121,7 +121,7 @@
|
||||||
:root[tabsintitlebar][inFullscreen] #window-controls toolbarbutton {
|
:root[tabsintitlebar][inFullscreen] #window-controls toolbarbutton {
|
||||||
-moz-appearance: none !important;
|
-moz-appearance: none !important;
|
||||||
padding: 0 2px !important;
|
padding: 0 2px !important;
|
||||||
background: var(--gnome-button-close-background);
|
background: var(--gnome-button-background);
|
||||||
transition: background 0.3s;
|
transition: background 0.3s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -149,21 +149,18 @@
|
||||||
:root[tabsintitlebar][inFullscreen] #window-controls toolbarbutton .toolbarbutton-icon {
|
:root[tabsintitlebar][inFullscreen] #window-controls toolbarbutton .toolbarbutton-icon {
|
||||||
width: 16px;
|
width: 16px;
|
||||||
}
|
}
|
||||||
:root[tabsintitlebar] #titlebar:-moz-window-inactive .titlebar-button,
|
:root[tabsintitlebar] #titlebar .titlebar-button:not([disabled]):hover,
|
||||||
:root[tabsintitlebar][inFullscreen] #window-controls:-moz-window-inactive toolbarbutton {
|
:root[tabsintitlebar][inFullscreen] #window-controls toolbarbutton:not([disabled]):hover {
|
||||||
background: var(--gnome-inactive-tabbar-tab-active-background) !important;
|
|
||||||
}
|
|
||||||
:root[tabsintitlebar] #titlebar:not(:-moz-window-inactive) .titlebar-button:not([disabled]):hover,
|
|
||||||
:root[tabsintitlebar][inFullscreen] #window-controls:not(:-moz-window-inactive) toolbarbutton:not([disabled]):hover {
|
|
||||||
background: var(--gnome-button-hover-background) !important;
|
background: var(--gnome-button-hover-background) !important;
|
||||||
}
|
}
|
||||||
:root[tabsintitlebar] #titlebar:not(:-moz-window-inactive) .titlebar-button:not([disabled]):active,
|
:root[tabsintitlebar] #titlebar .titlebar-button:not([disabled]):active,
|
||||||
:root[tabsintitlebar][inFullscreen] #window-controls:not(:-moz-window-inactive) toolbarbutton:not([disabled]):active {
|
:root[tabsintitlebar][inFullscreen] #window-controls toolbarbutton:not([disabled]):active {
|
||||||
background: var(--gnome-button-active-close-background) !important;
|
background: var(--gnome-button-active-background) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
:root[tabsintitlebar] #titlebar .titlebar-button:where(:hover):not(:hover) {
|
:root[tabsintitlebar] #titlebar .titlebar-button:-moz-window-inactive,
|
||||||
background: var(--gnome-button-hover-close-background) !important;
|
:root[tabsintitlebar][inFullscreen] #window-controls toolbarbutton:-moz-window-inactive {
|
||||||
|
filter: opacity(0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* OPTIONAL: Allow draging the window from headerbar buttons */
|
/* OPTIONAL: Allow draging the window from headerbar buttons */
|
||||||
|
|
|
@ -28,7 +28,7 @@ window {
|
||||||
}
|
}
|
||||||
|
|
||||||
window[role="dialog"] {
|
window[role="dialog"] {
|
||||||
background: var(--gnome-toolbar-background) !important;
|
background: var(--gnome-window-background) !important;
|
||||||
border: 0 !important;
|
border: 0 !important;
|
||||||
box-shadow: var(--gnome-menu-shadow) !important;
|
box-shadow: var(--gnome-menu-shadow) !important;
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
background: var(--gnome-entry-background) !important;
|
background: var(--gnome-entry-background) !important;
|
||||||
outline: 2px solid transparent !important;
|
outline: 2px solid transparent !important;
|
||||||
border: 0 !important;
|
border: 0 !important;
|
||||||
border-radius: 8px !important;
|
border-radius: 6px !important;
|
||||||
box-shadow: none !important;
|
box-shadow: none !important;
|
||||||
color: var(--gnome-entry-color) !important;
|
color: var(--gnome-entry-color) !important;
|
||||||
height: 34px !important;
|
height: 34px !important;
|
||||||
|
|
|
@ -1,44 +0,0 @@
|
||||||
/* Private window headerbar */
|
|
||||||
|
|
||||||
@namespace xul url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
|
||||||
|
|
||||||
:root[privatebrowsingmode="temporary"] {
|
|
||||||
--gnome-accent: var(--gnome-private-accent) !important;
|
|
||||||
--gnome-accent-fg: var(--gnome-private-accent) !important;
|
|
||||||
/* Toolbars */
|
|
||||||
--gnome-toolbar-background: var(--gnome-private-toolbar-background) !important;
|
|
||||||
--gnome-inactive-toolbar-background: var(--gnome-private-inactive-toolbar-background) !important;
|
|
||||||
/* Menus */
|
|
||||||
--gnome-menu-background: var(--gnome-private-menu-background) !important;
|
|
||||||
/* Change headerbar colors */
|
|
||||||
--gnome-headerbar-background: var(--gnome-private-headerbar-background) !important;
|
|
||||||
--gnome-inactive-headerbar-background: var(--gnome-private-inactive-headerbar-background) !important;
|
|
||||||
/* Tabs */
|
|
||||||
--gnome-tabbar-tab-hover-background: var(--gnome-private-tabbar-tab-hover-background);
|
|
||||||
--gnome-tabbar-tab-active-background: var(--gnome-private-tabbar-tab-active-background);
|
|
||||||
--gnome-tabbar-tab-active-background-contrast: var(--gnome-private-tabbar-tab-active-background-contrast);
|
|
||||||
--gnome-tabbar-tab-active-hover-background: var(--gnome-private-tabbar-tab-active-hover-background);
|
|
||||||
--gnome-inactive-tabbar-tab-hover-background: var(--gnome-private-inactive-tabbar-tab-hover-background);
|
|
||||||
--gnome-inactive-tabbar-tab-active-background: var(--gnome-private-inactive-tabbar-tab-active-background);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Add private window headerbar indicator */
|
|
||||||
:root[privatebrowsingmode="temporary"] #nav-bar toolbarspring:first-of-type:before {
|
|
||||||
background: url("../icons/eye-not-looking-symbolic.svg") no-repeat;
|
|
||||||
background-size: 64px 64px;
|
|
||||||
content: "";
|
|
||||||
display: block;
|
|
||||||
position: absolute;
|
|
||||||
width: 64px;
|
|
||||||
height: 46px;
|
|
||||||
top: 0;
|
|
||||||
transform: translate(15px, 0);
|
|
||||||
fill: var(--gnome-toolbar-color) !important;
|
|
||||||
fill-opacity: 0.2 !important;
|
|
||||||
-moz-context-properties: fill, fill-opacity;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Hide tabsbar default private browsing indicator */
|
|
||||||
#private-browsing-indicator-with-label {
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
|
@ -3,18 +3,28 @@
|
||||||
|
|
||||||
/* Headerbar */
|
/* Headerbar */
|
||||||
#nav-bar {
|
#nav-bar {
|
||||||
|
background: var(--gnome-headerbar-background) !important;
|
||||||
|
border-bottom: 1px solid var(--gnome-headerbar-shade-color) !important;
|
||||||
padding: 6px 3px !important;
|
padding: 6px 3px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Headerbar CSD colors */
|
/* Add private window headerbar indicator */
|
||||||
#nav-bar {
|
:root[privatebrowsingmode="temporary"] #nav-bar toolbarspring:first-of-type:before {
|
||||||
background: var(--gnome-headerbar-background) !important;
|
background: url("../icons/eye-not-looking-symbolic.svg") no-repeat;
|
||||||
border: none !important;
|
background-size: 64px 64px;
|
||||||
border-bottom: 1px solid var(--gnome-headerbar-border-color) !important;
|
content: "";
|
||||||
box-shadow: var(--gnome-headerbar-box-shadow) !important;
|
display: block;
|
||||||
|
position: absolute;
|
||||||
|
width: 64px;
|
||||||
|
height: 46px;
|
||||||
|
top: 0;
|
||||||
|
transform: translate(15px, 0);
|
||||||
|
fill: var(--gnome-toolbar-color) !important;
|
||||||
|
fill-opacity: 0.2 !important;
|
||||||
|
-moz-context-properties: fill, fill-opacity;
|
||||||
}
|
}
|
||||||
#nav-bar:-moz-window-inactive {
|
|
||||||
background: var(--gnome-inactive-headerbar-background) !important;
|
/* Hide tabsbar default private browsing indicator */
|
||||||
border-bottom-color: var(--gnome-inactive-headerbar-border-color) !important;
|
#private-browsing-indicator-with-label {
|
||||||
box-shadow: var(--gnome-inactive-headerbar-box-shadow) !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
|
|
@ -60,7 +60,7 @@ button.close::before,
|
||||||
:root[tabsintitlebar] #titlebar .titlebar-buttonbox .titlebar-restore .toolbarbutton-icon:-moz-window-inactive,
|
:root[tabsintitlebar] #titlebar .titlebar-buttonbox .titlebar-restore .toolbarbutton-icon:-moz-window-inactive,
|
||||||
:root[tabsintitlebar] #titlebar .titlebar-buttonbox .titlebar-min .toolbarbutton-icon:-moz-window-inactive,
|
:root[tabsintitlebar] #titlebar .titlebar-buttonbox .titlebar-min .toolbarbutton-icon:-moz-window-inactive,
|
||||||
:root[tabsintitlebar][inFullscreen] #window-controls #restore-button .toolbarbutton-icon {
|
:root[tabsintitlebar][inFullscreen] #window-controls #restore-button .toolbarbutton-icon {
|
||||||
fill: var(--gnome-inactive-toolbar-icon-fill) !important;
|
fill-opacity: 0.5 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Dimmed icons */
|
/* Dimmed icons */
|
||||||
|
|
|
@ -8,8 +8,8 @@
|
||||||
richlistbox#items {
|
richlistbox#items {
|
||||||
--in-content-item-selected: var(--gnome-accent-bg) !important;
|
--in-content-item-selected: var(--gnome-accent-bg) !important;
|
||||||
--in-content-item-selected-text: #fff !important;
|
--in-content-item-selected-text: #fff !important;
|
||||||
background: var(--gnome-menu-background) !important;
|
background: var(--gnome-card-background) !important;
|
||||||
border: 1px solid var(--gnome-button-border-color) !important;
|
border: 0 !important;
|
||||||
border-radius: 12px !important;
|
border-radius: 12px !important;
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
@ -29,12 +29,12 @@ richlistbox#items richlistitem {
|
||||||
}
|
}
|
||||||
.permission-popup-permission-list-anchor:not(:last-child),
|
.permission-popup-permission-list-anchor:not(:last-child),
|
||||||
richlistbox#items richlistitem:not(:last-child) {
|
richlistbox#items richlistitem:not(:last-child) {
|
||||||
border-bottom: 1px solid var(--gnome-menu-separator-color);
|
border-bottom: 1px solid var(--gnome-card-shade-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Fix list buttons on selected state */
|
/* Fix list buttons on selected state */
|
||||||
@media (prefers-color-scheme: light) {
|
@media (prefers-color-scheme: light) {
|
||||||
richlistbox#items richlistitem[selected=true] button:not(:hover) {
|
richlistbox#items richlistitem[selected=true] button {
|
||||||
filter: invert() brightness(200%) !important;
|
filter: invert() brightness(200%) !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -55,7 +55,7 @@ panel[type=arrow] {
|
||||||
/* Style popovers */
|
/* Style popovers */
|
||||||
panel:not([remote]) {
|
panel:not([remote]) {
|
||||||
--arrowpanel-background: var(--gnome-menu-background) !important;
|
--arrowpanel-background: var(--gnome-menu-background) !important;
|
||||||
--panel-item-hover-bgcolor: var(--gnome-menu-button-hover-background) !important;
|
--panel-item-hover-bgcolor: var(--gnome-selected-background) !important;
|
||||||
}
|
}
|
||||||
panel {
|
panel {
|
||||||
--arrowpanel-padding: 0 !important;
|
--arrowpanel-padding: 0 !important;
|
||||||
|
@ -225,7 +225,7 @@ menupopup menu:not([disabled="true"]):is(:hover, [_moz-menuactive]),
|
||||||
.identity-popup-content-blocking-category:not([disabled="true"]):hover,
|
.identity-popup-content-blocking-category:not([disabled="true"]):hover,
|
||||||
#PlacesToolbar .bookmark-item:is(:hover, [open], [_moz-menuactive]),
|
#PlacesToolbar .bookmark-item:is(:hover, [open], [_moz-menuactive]),
|
||||||
#downloadsPanel-mainView .download-state:hover {
|
#downloadsPanel-mainView .download-state:hover {
|
||||||
background: var(--gnome-menu-button-hover-background) !important;
|
background: var(--gnome-selected-color) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Menu buttons fix */
|
/* Menu buttons fix */
|
||||||
|
|
|
@ -7,5 +7,5 @@
|
||||||
#tabbrowser-tabpanels,
|
#tabbrowser-tabpanels,
|
||||||
#tabbrowser-tabpanels[pendingpaint],
|
#tabbrowser-tabpanels[pendingpaint],
|
||||||
browser {
|
browser {
|
||||||
background-color: var(--gnome-browser-before-load-background) !important;
|
background-color: var(--gnome-window-background) !important;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,12 +2,19 @@
|
||||||
|
|
||||||
@namespace xul "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
|
@namespace xul "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
|
||||||
|
|
||||||
#sidebar-box, .sidebar-panel {
|
#sidebar-header {
|
||||||
background: var(--gnome-sidebar-background) !important;
|
background: var(--gnome-toolbar-background) !important;
|
||||||
|
border-bottom: 1px solid var(--gnome-toolbar-border-color) !important;
|
||||||
|
padding: 6px !important;
|
||||||
}
|
}
|
||||||
#sidebar-box:-moz-window-inactive, .sidebar-panel:-moz-window-inactive {
|
#sidebar-search-container {
|
||||||
background: var(--gnome-inactive-sidebar-background) !important;
|
padding: 6px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#sidebar {
|
||||||
|
background: var(--gnome-window-background) !important;
|
||||||
|
}
|
||||||
|
|
||||||
#sidebar-box:-moz-window-inactive label, #sidebar-box:-moz-window-inactive image,
|
#sidebar-box:-moz-window-inactive label, #sidebar-box:-moz-window-inactive image,
|
||||||
.sidebar-panel:-moz-window-inactive label, .sidebar-panel:-moz-window-inactive image,
|
.sidebar-panel:-moz-window-inactive label, .sidebar-panel:-moz-window-inactive image,
|
||||||
.sidebar-placesTreechildren:-moz-window-inactive {
|
.sidebar-placesTreechildren:-moz-window-inactive {
|
||||||
|
@ -16,19 +23,9 @@
|
||||||
#sidebar-splitter {
|
#sidebar-splitter {
|
||||||
background: var(--gnome-toolbar-background) !important;
|
background: var(--gnome-toolbar-background) !important;
|
||||||
border: 0 !important;
|
border: 0 !important;
|
||||||
border-right: 1px solid var(--gnome-toolbar-border-color) !important;
|
border-right: 1px solid var(--gnome-border-color) !important;
|
||||||
width: 0 !important;
|
width: 0 !important;
|
||||||
}
|
}
|
||||||
#sidebar-splitter:-moz-window-inactive {
|
|
||||||
background: var(--gnome-inactive-toolbar-background) !important;
|
|
||||||
border-color: var(--gnome-inactive-toolbar-border-color) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#sidebar-header {
|
|
||||||
padding: 6px !important;
|
|
||||||
border-bottom: 1px solid var(--gnome-toolbar-border-color) !important;
|
|
||||||
}
|
|
||||||
#sidebar-search-container {
|
|
||||||
padding: 6px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
|
@ -19,10 +19,6 @@
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#TabsToolbar:-moz-window-inactive {
|
|
||||||
background-color: var(--gnome-inactive-tabbar-background) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Tabs bar height */
|
/* Tabs bar height */
|
||||||
#tabbrowser-tabs,
|
#tabbrowser-tabs,
|
||||||
#tabbrowser-tabs arrowscrollbox {
|
#tabbrowser-tabs arrowscrollbox {
|
||||||
|
@ -41,9 +37,6 @@ tab > stack {
|
||||||
#TabsToolbar {
|
#TabsToolbar {
|
||||||
--gnome-tabbar-fade-background: var(--gnome-tabbar-background);
|
--gnome-tabbar-fade-background: var(--gnome-tabbar-background);
|
||||||
}
|
}
|
||||||
#TabsToolbar:-moz-window-inactive {
|
|
||||||
--gnome-tabbar-fade-background: var(--gnome-inactive-tabbar-background);
|
|
||||||
}
|
|
||||||
|
|
||||||
#scrollbutton-up:not([disabled])::after,
|
#scrollbutton-up:not([disabled])::after,
|
||||||
#scrollbutton-down:not([disabled])::after {
|
#scrollbutton-down:not([disabled])::after {
|
||||||
|
@ -149,9 +142,6 @@ spacer[part=overflow-start-indicator], spacer[part=overflow-end-indicator] {
|
||||||
) 1;
|
) 1;
|
||||||
border-image: var(--gnome-tabbar-tab-separator-hack1);
|
border-image: var(--gnome-tabbar-tab-separator-hack1);
|
||||||
}
|
}
|
||||||
.tabbrowser-tab:-moz-window-inactive {
|
|
||||||
--gnome-tabbar-tab-separator-hack0: var(--gnome-inactive-tabbar-background);
|
|
||||||
}
|
|
||||||
#tabbrowser-tabs[overflow="true"] .tabbrowser-tab[first-visible-unpinned-tab] {
|
#tabbrowser-tabs[overflow="true"] .tabbrowser-tab[first-visible-unpinned-tab] {
|
||||||
border-image: none !important;
|
border-image: none !important;
|
||||||
}
|
}
|
||||||
|
@ -260,7 +250,11 @@ tab {
|
||||||
}
|
}
|
||||||
:root:not(:-moz-window-inactive) .tab-icon-overlay:hover,
|
:root:not(:-moz-window-inactive) .tab-icon-overlay:hover,
|
||||||
:root:not(:-moz-window-inactive) .tab-close-button:hover {
|
:root:not(:-moz-window-inactive) .tab-close-button:hover {
|
||||||
background: var(--gnome-button-flat-hover-background) !important;
|
background: var(--gnome-hover-color) !important;
|
||||||
|
}
|
||||||
|
:root:not(:-moz-window-inactive) .tab-icon-overlay:active,
|
||||||
|
:root:not(:-moz-window-inactive) .tab-close-button:active {
|
||||||
|
background: var(--gnome-active-color) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tab-icon-stack:is([soundplaying], [muted], [activemedia-blocked]) image {
|
.tab-icon-stack:is([soundplaying], [muted], [activemedia-blocked]) image {
|
||||||
|
@ -284,10 +278,10 @@ tab {
|
||||||
}
|
}
|
||||||
.tab-icon-overlay:is([pinned]):not([crashed]),
|
.tab-icon-overlay:is([pinned]):not([crashed]),
|
||||||
.tab-icon-overlay:is([sharing]):not([crashed], [selected]) {
|
.tab-icon-overlay:is([sharing]):not([crashed], [selected]) {
|
||||||
background: var(--gnome-tab-button-background) !important;
|
background: var(--gnome-button-background) !important;
|
||||||
}
|
}
|
||||||
.tab-icon-overlay:is([pinned], [sharing]):not([crashed]):hover {
|
.tab-icon-overlay:is([pinned], [sharing]):not([crashed]):hover {
|
||||||
background: var(--gnome-tab-button-hover-background) !important;
|
background: var(--gnome-button-hover-background) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Fix icon overlay posisition when sharing */
|
/* Fix icon overlay posisition when sharing */
|
||||||
|
@ -308,21 +302,6 @@ tab {
|
||||||
width: 16px !important;
|
width: 16px !important;
|
||||||
z-index: 100 !important;
|
z-index: 100 !important;
|
||||||
}
|
}
|
||||||
:root:-moz-window-inactive .tab-close-button:not(#hack) {
|
|
||||||
opacity: .18 !important;
|
|
||||||
}
|
|
||||||
:root:not(:-moz-window-inactive) .tab-close-button:active {
|
|
||||||
background-image: var(--gnome-button-active-background) !important;
|
|
||||||
box-shadow: var(--gnome-button-active-box-shadow) !important;
|
|
||||||
border-color: var(--gnome-button-active-border-color) !important;
|
|
||||||
border-bottom-color: var(--gnome-button-active-border-color) !important;
|
|
||||||
border-top-color: var(--gnome-button-active-border-accent-color) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tab-close-button:active:not(:hover) {
|
|
||||||
background-image: none !important;
|
|
||||||
box-shadow: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Autohide */
|
/* Autohide */
|
||||||
.tabbrowser-tab:not([selected="true"]) .tab-close-button {
|
.tabbrowser-tab:not([selected="true"]) .tab-close-button {
|
||||||
|
@ -367,12 +346,6 @@ tab {
|
||||||
.tabbrowser-tab:not([pinned]):hover .tab-content::before {
|
.tabbrowser-tab:not([pinned]):hover .tab-content::before {
|
||||||
--gnome-tabbar-tab-close-overlay-bg: var(--gnome-tabbar-tab-hover-background);
|
--gnome-tabbar-tab-close-overlay-bg: var(--gnome-tabbar-tab-hover-background);
|
||||||
}
|
}
|
||||||
.tabbrowser-tab:not([pinned])[selected="true"]:-moz-window-inactive .tab-content::before {
|
|
||||||
--gnome-tabbar-tab-close-overlay-bg: var(--gnome-inactive-tabbar-tab-active-background);
|
|
||||||
}
|
|
||||||
.tabbrowser-tab:not([pinned]):hover:-moz-window-inactive .tab-content::before {
|
|
||||||
--gnome-tabbar-tab-close-overlay-bg: var(--gnome-inactive-tabbar-tab-hover-background);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Tab close button etc. positioning */
|
/* Tab close button etc. positioning */
|
||||||
.tab-throbber, .tab-icon-image, .tab-sharing-icon-overlay, .tab-icon-sound, .tab-close-button {
|
.tab-throbber, .tab-icon-image, .tab-sharing-icon-overlay, .tab-icon-sound, .tab-close-button {
|
||||||
|
@ -387,9 +360,6 @@ tab {
|
||||||
.tab-background[selected=true] {
|
.tab-background[selected=true] {
|
||||||
background-color: var(--gnome-tabbar-tab-active-background) !important;
|
background-color: var(--gnome-tabbar-tab-active-background) !important;
|
||||||
}
|
}
|
||||||
.tab-background[selected=true]:-moz-window-inactive {
|
|
||||||
background-color: var(--gnome-inactive-tabbar-tab-active-background) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Tab hover */
|
/* Tab hover */
|
||||||
.tabbrowser-tab:hover > .tab-stack > .tab-background[selected=true]:not(:-moz-window-inactive) {
|
.tabbrowser-tab:hover > .tab-stack > .tab-background[selected=true]:not(:-moz-window-inactive) {
|
||||||
|
@ -404,9 +374,6 @@ tab {
|
||||||
background-color: var(--gnome-tabbar-tab-hover-background) !important;
|
background-color: var(--gnome-tabbar-tab-hover-background) !important;
|
||||||
border-image: none !important;
|
border-image: none !important;
|
||||||
}
|
}
|
||||||
:root:-moz-window-inactive .tabbrowser-tab:hover > .tab-stack > .tab-background:not([selected=true]) {
|
|
||||||
background-color: var(--gnome-inactive-tabbar-tab-hover-background) !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Full width tabs */
|
/* Full width tabs */
|
||||||
.tabbrowser-tab:not([style^="max-width"]):not([pinned]),
|
.tabbrowser-tab:not([style^="max-width"]):not([pinned]),
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
background: none !important;
|
background: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#nav-bar, #PersonalToolbar, #toolbar-menubar, #TabsToolbar, findbar {
|
#PersonalToolbar, #toolbar-menubar, #TabsToolbar, findbar {
|
||||||
appearance: none !important;
|
appearance: none !important;
|
||||||
border: 0 !important;
|
border: 0 !important;
|
||||||
background: var(--gnome-toolbar-background) !important;
|
background: var(--gnome-toolbar-background) !important;
|
||||||
|
@ -30,8 +30,6 @@ findbar {
|
||||||
#TabsToolbar:-moz-window-inactive,
|
#TabsToolbar:-moz-window-inactive,
|
||||||
findbar:-moz-window-inactive,
|
findbar:-moz-window-inactive,
|
||||||
.container.infobar:-moz-window-inactive {
|
.container.infobar:-moz-window-inactive {
|
||||||
background: var(--gnome-inactive-toolbar-background) !important;
|
|
||||||
border-color: var(--gnome-inactive-toolbar-border-color) !important;
|
|
||||||
transition: background .2s ease-out;
|
transition: background .2s ease-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue