2021-10-11 00:52:35 +08:00
|
|
|
/* 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";
|
|
|
|
|
2023-02-14 15:51:51 +08:00
|
|
|
#nav-bar, #PersonalToolbar, #toolbar-menubar, #TabsToolbar, #titlebar {
|
|
|
|
border: none !important;
|
2021-10-11 00:52:35 +08:00
|
|
|
color: var(--gnome-toolbar-color);
|
|
|
|
background: var(--gnome-toolbar-background) !important;
|
|
|
|
}
|
|
|
|
|
2023-01-13 15:13:44 +08:00
|
|
|
#TabsToolbar {
|
|
|
|
border-bottom: 1px solid var(--gnome-toolbar-border-color) !important;
|
|
|
|
}
|
|
|
|
|
2021-10-11 00:52:35 +08:00
|
|
|
findbar {
|
|
|
|
border: 0 !important;
|
|
|
|
background: var(--gnome-findbar-background) !important;
|
2024-01-08 20:15:22 +08:00
|
|
|
border-top: 1px solid var(--gnome-toolbar-border-color) !important;
|
2021-10-11 00:52:35 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#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);
|
|
|
|
}
|
|
|
|
|
|
|
|
#titlebar {
|
|
|
|
min-height: 0 !important
|
|
|
|
max-height: 36px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#nav-bar {
|
|
|
|
border: none !important;
|
|
|
|
box-shadow: none !important;
|
|
|
|
border-top-width: 0px !important;
|
|
|
|
border-bottom-width: 0px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* allow to drag headerbar empty space */
|
|
|
|
:root[tabsintitlebar] #nav-bar .chromeclass-location {
|
|
|
|
-moz-window-dragging: drag !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#toolbar-menubar:not([inactive=true]) {
|
|
|
|
margin-bottom: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Reorder toolbars */
|
|
|
|
#navigator-toolbox #nav-bar, findbar {
|
|
|
|
-moz-box-ordinal-group: 0;
|
2023-05-11 00:56:43 +08:00
|
|
|
order: 0;
|
2021-10-11 00:52:35 +08:00
|
|
|
}
|
|
|
|
#navigator-toolbox #PersonalToolbar {
|
|
|
|
-moz-box-ordinal-group: 1;
|
2023-05-11 00:56:43 +08:00
|
|
|
order: 1;
|
2021-10-11 00:52:35 +08:00
|
|
|
}
|
|
|
|
#navigator-toolbox #titlebar {
|
|
|
|
-moz-box-ordinal-group: 2;
|
2023-05-11 00:56:43 +08:00
|
|
|
order: 2;
|
2021-10-11 00:52:35 +08:00
|
|
|
}
|
|
|
|
#navigator-toolbox toolbar {
|
|
|
|
-moz-box-ordinal-group: 10;
|
2023-05-11 00:56:43 +08:00
|
|
|
order: 10;
|
2021-10-11 00:52:35 +08:00
|
|
|
}
|
|
|
|
#navigator-toolbox #TabsToolbar {
|
|
|
|
-moz-box-ordinal-group: 100;
|
2023-05-11 00:56:43 +08:00
|
|
|
order: 100;
|
2021-10-11 00:52:35 +08:00
|
|
|
}
|
|
|
|
|
2023-03-07 12:50:48 +08:00
|
|
|
/* Sidebar */
|
2023-10-26 01:31:19 +08:00
|
|
|
#sidebar-box, #sidebar,
|
2023-03-07 12:50:48 +08:00
|
|
|
.sidebar-panel[lwt-sidebar] {
|
|
|
|
color: var(--gnome-toolbar-color) !important;
|
|
|
|
background: var(--gnome-toolbar-background) !important;
|
|
|
|
}
|
|
|
|
|
2023-10-26 01:31:19 +08:00
|
|
|
.sidebar-splitter {
|
|
|
|
width: 1px !important;
|
|
|
|
background-color: var(--gnome-toolbar-border-color) !important;
|
|
|
|
border: none !important;
|
|
|
|
}
|
|
|
|
|
2023-03-07 14:41:01 +08:00
|
|
|
/* Customization page */
|
|
|
|
#customization-container:-moz-lwtheme {
|
|
|
|
background-image: linear-gradient(var(--gnome-browser-before-load-background), var(--gnome-browser-before-load-background)) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#customization-footer {
|
|
|
|
border-top: 1px solid var(--gnome-toolbar-border-color) !important;
|
|
|
|
color: var(--gnome-toolbar-color) !important;
|
|
|
|
background: var(--gnome-toolbar-background) !important;
|
|
|
|
border-radius: 0 0 12px 12px !important;
|
|
|
|
}
|
|
|
|
|
2021-10-11 00:52:35 +08:00
|
|
|
#PersonalToolbar {
|
2023-01-13 15:13:44 +08:00
|
|
|
padding: 0 3px 3px !important;
|
2021-10-11 00:52:35 +08:00
|
|
|
height: 32px !important;
|
2023-01-13 15:13:44 +08:00
|
|
|
max-height: 32px !important;
|
2021-10-11 00:52:35 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/* bookmark-item */
|
|
|
|
toolbarbutton.bookmark-item {
|
2023-01-13 15:13:44 +08:00
|
|
|
padding: 3px 6px !important;
|
2021-10-11 00:52:35 +08:00
|
|
|
margin: 0 2px !important;
|
|
|
|
border-radius: 3px !important;
|
2023-01-13 15:13:44 +08:00
|
|
|
max-height: 24px !important;
|
2021-10-11 00:52:35 +08:00
|
|
|
}
|