2018-06-08 12:51:21 +03: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";
|
|
|
|
|
|
|
|
/* Toolbox colors */
|
2019-06-03 20:47:03 +03:00
|
|
|
#navigator-toolbox {
|
|
|
|
border: 0 !important;
|
2019-06-27 06:13:01 +03:00
|
|
|
background: none !important;
|
2019-06-03 20:47:03 +03:00
|
|
|
}
|
2019-06-26 23:02:57 +03:00
|
|
|
|
2019-08-02 20:48:56 +03:00
|
|
|
#nav-bar, #PersonalToolbar, #toolbar-menubar, #TabsToolbar, findbar {
|
2019-07-05 07:43:30 +03:00
|
|
|
border: 0 !important;
|
2019-06-25 03:57:54 +03:00
|
|
|
background: var(--gnome-toolbar-background) !important;
|
2018-06-08 12:51:21 +03:00
|
|
|
}
|
2022-12-16 20:03:15 +02:00
|
|
|
#nav-bar, #PersonalToolbar, #toolbar-menubar:not([inactive=true]), #TabsToolbar {
|
2022-05-15 20:33:30 +03:00
|
|
|
border-bottom: 1px solid var(--gnome-toolbar-border-color) !important;
|
|
|
|
}
|
|
|
|
findbar {
|
|
|
|
border-top: 1px solid var(--gnome-toolbar-border-color) !important;
|
|
|
|
}
|
2019-06-27 06:13:01 +03:00
|
|
|
#nav-bar:-moz-window-inactive,
|
2019-07-18 01:37:55 +03:00
|
|
|
#PersonalToolbar:-moz-window-inactive,
|
|
|
|
#toolbar-menubar:-moz-window-inactive,
|
|
|
|
#TabsToolbar:-moz-window-inactive,
|
2019-08-01 23:23:16 +03:00
|
|
|
findbar:-moz-window-inactive,
|
2021-05-10 07:23:00 +03:00
|
|
|
.container.infobar:-moz-window-inactive {
|
2019-06-27 06:13:01 +03:00
|
|
|
background: var(--gnome-inactive-toolbar-background) !important;
|
2019-08-02 20:48:56 +03:00
|
|
|
border-color: var(--gnome-inactive-toolbar-border-color) !important;
|
2019-06-02 21:15:51 +03:00
|
|
|
}
|
|
|
|
|
2022-11-20 04:24:08 +02:00
|
|
|
#navigator-toolbox:-moz-window-inactive label,
|
2019-07-06 00:38:11 +03:00
|
|
|
#downloads-indicator-anchor:-moz-window-inactive,
|
|
|
|
findbar:-moz-window-inactive image:not(#hack),
|
2019-07-06 19:07:13 +03:00
|
|
|
findbar:-moz-window-inactive label,
|
2019-08-01 23:23:16 +03:00
|
|
|
findbar:-moz-window-inactive description,
|
|
|
|
#viewButton:-moz-window-inactive dropmarker,
|
2021-05-10 07:23:00 +03:00
|
|
|
.container.infobar:-moz-window-inactive {
|
2019-07-06 00:38:11 +03:00
|
|
|
opacity: 0.7 !important;
|
2019-06-02 21:15:51 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
#toolbar-menubar:not([inactive=true]) {
|
|
|
|
margin-bottom: 0 !important;
|
|
|
|
}
|
|
|
|
#PersonalToolbar {
|
2021-05-10 15:26:09 +03:00
|
|
|
padding: 2px !important;
|
2018-06-08 12:51:21 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* 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;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Reorder toolbars */
|
2022-05-15 20:33:30 +03:00
|
|
|
#navigator-toolbox #nav-bar {
|
2018-06-08 12:51:21 +03:00
|
|
|
-moz-box-ordinal-group: 0;
|
|
|
|
}
|
2021-07-26 04:32:15 +03:00
|
|
|
#navigator-toolbox #PersonalToolbar {
|
2022-12-19 06:01:39 +02:00
|
|
|
-moz-box-ordinal-group: 0;
|
2018-06-08 12:51:21 +03:00
|
|
|
}
|
2021-07-26 04:32:15 +03:00
|
|
|
#navigator-toolbox #titlebar {
|
2022-12-19 06:01:39 +02:00
|
|
|
-moz-box-ordinal-group: 1;
|
2018-06-08 12:51:21 +03:00
|
|
|
}
|
|
|
|
#navigator-toolbox toolbar {
|
|
|
|
-moz-box-ordinal-group: 10;
|
|
|
|
}
|
|
|
|
#navigator-toolbox #TabsToolbar {
|
|
|
|
-moz-box-ordinal-group: 100;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* 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;
|
|
|
|
}
|
2019-08-01 23:23:16 +03:00
|
|
|
|
|
|
|
/* Content notifications */
|
2021-05-10 07:23:00 +03:00
|
|
|
.notificationbox-stack notification-message {
|
2019-08-02 20:48:56 +03:00
|
|
|
border: 0 !important;
|
2020-10-24 01:15:30 +03:00
|
|
|
font-size: 1em !important;
|
2021-05-10 07:23:00 +03:00
|
|
|
padding: 0 !important;
|
|
|
|
border-radius: 0 !important;
|
2021-11-17 19:34:34 +02:00
|
|
|
margin: 0 !important;
|
|
|
|
}
|
|
|
|
.notificationbox-stack notification-message[style*="margin-top"] {
|
|
|
|
margin-top: -48px !important;
|
2021-05-10 07:23:00 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.container.infobar {
|
|
|
|
background: var(--gnome-toolbar-background) !important;
|
|
|
|
box-shadow: none !important;
|
2019-08-01 23:23:16 +03:00
|
|
|
padding: 6px !important;
|
2021-11-18 00:55:31 +02:00
|
|
|
border-radius: 0 !important;
|
2019-08-01 23:23:16 +03:00
|
|
|
}
|
2021-05-10 07:23:00 +03:00
|
|
|
.container.infobar::before {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.container.infobar .icon {
|
2020-10-24 01:15:30 +03:00
|
|
|
height: 16px !important;
|
|
|
|
width: 16px !important;
|
|
|
|
}
|
2021-05-10 07:23:00 +03:00
|
|
|
.notificationbox-stack notification-message[type="warning"] {
|
2020-10-27 06:01:04 +02:00
|
|
|
background: #ffe900 !important;
|
2020-02-21 19:22:44 +02:00
|
|
|
}
|
2021-05-10 07:23:00 +03:00
|
|
|
.notificationbox-stack notification-message[type="critical"] {
|
2020-10-27 06:01:04 +02:00
|
|
|
background: #d70022 !important;
|
2020-02-21 19:22:44 +02:00
|
|
|
}
|
|
|
|
|
2021-05-10 07:23:00 +03:00
|
|
|
.notificationbox-stack[notificationside="top"] notification-message {
|
2019-08-02 20:48:56 +03:00
|
|
|
border-bottom: 1px solid var(--gnome-toolbar-border-color) !important;
|
|
|
|
}
|
2021-05-10 07:23:00 +03:00
|
|
|
.notificationbox-stack[notificationside="bottom"] notification-message {
|
2019-08-02 20:48:56 +03:00
|
|
|
border-top: 1px solid var(--gnome-toolbar-border-color) !important;
|
|
|
|
}
|
2021-05-15 19:51:25 +03:00
|
|
|
|
2022-05-22 06:19:11 +03:00
|
|
|
/* Text link */
|
|
|
|
.text-link {
|
|
|
|
color: var(--gnome-accent) !important;
|
|
|
|
}
|
|
|
|
|
2021-05-15 19:51:25 +03:00
|
|
|
/* OPTIONAL: Hide WebRTC indicator */
|
|
|
|
@supports -moz-bool-pref("gnomeTheme.hideWebrtcIndicator") {
|
|
|
|
#webrtcIndicator {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-07-26 04:44:10 +03:00
|
|
|
/* OPTIONAL: Move Bookmarks toolbar under tabs */
|
2021-07-26 04:32:15 +03:00
|
|
|
@supports -moz-bool-pref("gnomeTheme.bookmarksToolbarUnderTabs") {
|
|
|
|
#navigator-toolbox #titlebar {
|
|
|
|
-moz-box-ordinal-group: 1 !important;
|
|
|
|
}
|
|
|
|
#navigator-toolbox #PersonalToolbar {
|
|
|
|
-moz-box-ordinal-group: 2 !important;
|
|
|
|
}
|
|
|
|
}
|