/* Private window headerbar */

@namespace xul url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

:root[privatebrowsingmode="temporary"] {
	--gnome-accent: var(--gnome-private-accent) !important;
	--gnome-accent-fg: var(--gnome-private-accent) !important;
	/* Toolbars */
	--gnome-toolbar-background: var(--gnome-private-toolbar-background) !important;
	--gnome-inactive-toolbar-background: var(--gnome-private-inactive-toolbar-background)  !important;		
	/* Menus */
	--gnome-menu-background: var(--gnome-private-menu-background) !important;		
	/* Change headerbar colors */
	--gnome-headerbar-background: var(--gnome-private-headerbar-background) !important;
	--gnome-inactive-headerbar-background: var(--gnome-private-inactive-headerbar-background) !important;
}

/* 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;
}

/* Hide tabsbar default private browsing indicator */
#TabsToolbar .private-browsing-indicator {
	display: none !important;
}
