2018-06-08 12:51:21 +03:00
|
|
|
/* Header bar */
|
|
|
|
@namespace xul "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
|
|
|
|
|
2019-06-27 06:13:01 +03:00
|
|
|
/* Headerbar */
|
2018-06-08 12:51:21 +03:00
|
|
|
#nav-bar {
|
2023-07-13 03:50:17 +03:00
|
|
|
background: var(--gnome-headerbar-background) !important;
|
2019-07-03 02:00:34 +03:00
|
|
|
padding: 6px 3px !important;
|
2019-06-27 06:13:01 +03:00
|
|
|
}
|
|
|
|
|
2023-07-13 03:50:17 +03:00
|
|
|
/* 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);
|
2024-01-04 05:58:12 +02:00
|
|
|
fill: var(--gnome-window-color) !important;
|
2023-07-13 03:50:17 +03:00
|
|
|
fill-opacity: 0.2 !important;
|
|
|
|
-moz-context-properties: fill, fill-opacity;
|
2023-12-10 05:44:13 +02:00
|
|
|
}
|
2023-07-13 03:50:17 +03:00
|
|
|
|
|
|
|
/* Hide tabsbar default private browsing indicator */
|
|
|
|
#private-browsing-indicator-with-label {
|
|
|
|
display: none !important;
|
2018-06-08 12:51:21 +03:00
|
|
|
}
|
2023-12-10 05:44:13 +02:00
|
|
|
|
|
|
|
/* Overlay headerbar on fullscreen */
|
|
|
|
#navigator-toolbox[inFullscreen] {
|
|
|
|
position: fixed !important;
|
|
|
|
transition: margin 300ms ease-in-out 0s !important;
|
|
|
|
line-height: 0;
|
|
|
|
z-index: 1;
|
|
|
|
width: 100vw;
|
|
|
|
}
|
|
|
|
|
|
|
|
#navigator-toolbox[inFullscreen]:hover,
|
|
|
|
#navigator-toolbox[inFullscreen]:focus-within {
|
|
|
|
margin-top: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
#navigator-toolbox[inFullscreen] > * {
|
|
|
|
line-height: normal;
|
|
|
|
}
|