firefox-gnome-theme/theme/parts/headerbar.css

48 lines
1.2 KiB
CSS
Raw Normal View History

/* Header bar */
@namespace xul "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
/* Headerbar */
#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;
}
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);
fill: var(--gnome-toolbar-color) !important;
fill-opacity: 0.2 !important;
-moz-context-properties: fill, fill-opacity;
}
2023-07-13 03:50:17 +03:00
/* Hide tabsbar default private browsing indicator */
#private-browsing-indicator-with-label {
display: none !important;
}
/* 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;
}