mirror of
https://github.com/vinceliuice/WhiteSur-gtk-theme.git
synced 2025-06-07 07:53:07 +00:00
127 lines
3.0 KiB
CSS
127 lines
3.0 KiB
CSS
/* Toolbox, a container for all toolbars (toolbox#navigator-toolbox):
|
|
* - menu bar (toolbar#toolbar-menubar)
|
|
* - tab bar (toolbar#TabsToolbar)
|
|
* - header bar (toolbar#nav-bar)
|
|
* - bookmark bar (toolbar#PersonalToolbar)
|
|
* - add-ons can add their own toolbars (toolbar) */
|
|
|
|
@namespace xul "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
|
|
|
|
#nav-bar, #PersonalToolbar, #toolbar-menubar {
|
|
border: 0 !important;
|
|
color: var(--gnome-toolbar-color);
|
|
background: var(--gnome-toolbar-background) !important;
|
|
border-bottom: none !important;
|
|
}
|
|
|
|
findbar {
|
|
border: 0 !important;
|
|
background: var(--gnome-findbar-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: var(--gnome-inactive-toolbar-background) !important;
|
|
}
|
|
|
|
/* Toolbox colors */
|
|
#navigator-toolbox {
|
|
border: 0 !important;
|
|
background: none !important;
|
|
}
|
|
|
|
.toolbarbutton-icon {
|
|
color: var(--gnome-toolbar-color);
|
|
fill: var(--gnome-toolbar-color);
|
|
}
|
|
|
|
#TabsToolbar {
|
|
margin-top: -43px !important;
|
|
padding: 0 !important;
|
|
margin-bottom: 0 !important;
|
|
margin-left: 460px !important;
|
|
margin-right: 12vw !important;
|
|
background: none !important;
|
|
}
|
|
|
|
:root[sizemode="maximized"] #TabsToolbar {
|
|
margin-left: 500px !important;
|
|
}
|
|
|
|
/* Left window titlebuttons mode */
|
|
@media (-moz-gtk-csd-reversed-placement) {
|
|
#TabsToolbar {
|
|
margin-left: 534px !important;
|
|
margin-right: 5vw !important;
|
|
}
|
|
|
|
:root[sizemode="maximized"] #TabsToolbar {
|
|
margin-left: 574px !important;
|
|
}
|
|
}
|
|
|
|
#nav-bar {
|
|
border: none !important;
|
|
box-shadow: none !important;
|
|
border-top-width: 0px !important;
|
|
border-bottom-width: 0px !important;
|
|
margin-bottom: 0 !important;
|
|
background: none !important;
|
|
}
|
|
|
|
#toolbar-menubar:not([inactive=true]) {
|
|
margin-bottom: 0 !important;
|
|
}
|
|
|
|
#PersonalToolbar {
|
|
padding: 2px 4px 0 4px !important;
|
|
height: 32px !important;
|
|
}
|
|
|
|
/* Overrides: Remove border below the menu bar / above the header bar */
|
|
#TabsToolbar:not([collapsed="true"]) + #nav-bar {
|
|
border-top-width: 0 !important;
|
|
}
|
|
|
|
#navigator-toolbox::after {
|
|
border-bottom-width: 0 !important;
|
|
}
|
|
|
|
/* Overrides: Don't shift other toolbars on tab drag and drop */
|
|
#TabsToolbar[movingtab] {
|
|
padding-bottom: 0 !important;
|
|
}
|
|
#TabsToolbar[movingtab] > .tabbrowser-tabs {
|
|
padding-bottom: 0 !important;
|
|
margin-bottom: 0 !important;
|
|
}
|
|
#TabsToolbar[movingtab] + #nav-bar {
|
|
margin-top: 0 !important;
|
|
}
|
|
|
|
#navigator-toolbox #nav-bar, findbar {
|
|
-moz-box-ordinal-group: 0;
|
|
}
|
|
#navigator-toolbox #PersonalToolbar {
|
|
-moz-box-ordinal-group: 10;
|
|
}
|
|
#navigator-toolbox #titlebar {
|
|
-moz-box-ordinal-group: 1;
|
|
}
|
|
#navigator-toolbox toolbar {
|
|
-moz-box-ordinal-group: 3;
|
|
}
|
|
#navigator-toolbox #TabsToolbar {
|
|
-moz-box-ordinal-group: 2;
|
|
}
|
|
|
|
/* bookmark-item */
|
|
toolbarbutton.bookmark-item {
|
|
padding: 0 4px; !important;
|
|
margin: 0 2px !important;
|
|
border-radius: 3px !important;
|
|
max-height: 20px !important;
|
|
}
|