Style headerbar like toolbar when CSD is disabled,

plus code improvements
This commit is contained in:
Rafael Mardojai CM 2019-06-26 22:13:01 -05:00
parent 91c6e11344
commit c4987e117f
2 changed files with 13 additions and 7 deletions

View File

@ -5,15 +5,20 @@
@import "headerbar-private-urlbar.css";
@namespace xul "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
/* Header bar colors */
/* Headerbar */
#nav-bar {
background-image: var(--gnome-headerbar-background) !important;
padding: 0 3px !important;
}
/* Headerbar CSD colors */
:root[tabsintitlebar] #nav-bar {
background: var(--gnome-headerbar-background) !important;
border: none !important;
border-bottom: 1px solid var(--gnome-headerbar-border-color) !important;
box-shadow: var(--gnome-headerbar-box-shadow) !important;
}
#nav-bar:-moz-window-inactive {
background-image: var(--gnome-inactive-headerbar-background) !important;
:root[tabsintitlebar] #nav-bar:-moz-window-inactive {
background: var(--gnome-inactive-headerbar-background) !important;
border-bottom-color: var(--gnome-inactive-headerbar-border-color) !important;
box-shadow: var(--gnome-inactive-headerbar-box-shadow) !important;
}

View File

@ -10,7 +10,7 @@
/* Toolbox colors */
#navigator-toolbox {
border: 0 !important;
background: transparent !important;
background: none !important;
}
.toolbarbutton-icon {
@ -18,13 +18,14 @@
fill: var(--gnome-toolbar-color);
}
#PersonalToolbar, #toolbar-menubar, #TabsToolbar, findbar {
#nav-bar, #PersonalToolbar, #toolbar-menubar, #TabsToolbar, findbar {
background: var(--gnome-toolbar-background) !important;
border-bottom: 1px solid var(--gnome-toolbar-border-color) !important;
}
#nav-bar:-moz-window-inactive,
#PersonalToolbar:-moz-window-inactive, #toolbar-menubar:-moz-window-inactive,
#TabsToolbar:-moz-window-inactive, findbar:-moz-window-inactive {
background-color: var(--gnome-inactive-toolbar-background) !important;
background: var(--gnome-inactive-toolbar-background) !important;
border-bottom: 1px solid var(--gnome-inactive-toolbar-border-color) !important;
}