From e610ca4480f8040bbf641c78befe0688acd95ce5 Mon Sep 17 00:00:00 2001 From: Piro / YUKI Hiroshi Date: Sat, 23 Nov 2013 23:45:01 +0900 Subject: [PATCH] Show private window indicator as a background image of the window itself on Windows (workaround for #612) --- skin/classic/treestyletab/WINNT-base.css | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/skin/classic/treestyletab/WINNT-base.css b/skin/classic/treestyletab/WINNT-base.css index ff7d10ef..a2a0d3cf 100644 --- a/skin/classic/treestyletab/WINNT-base.css +++ b/skin/classic/treestyletab/WINNT-base.css @@ -39,3 +39,18 @@ } } + + +/* indicator for private window on Australis */ +#main-window[privatebrowsingmode="temporary"]:not([treestyletab-tabbar-position="top"]) + #TabsToolbar::after { + content: none; +} +#main-window[privatebrowsingmode="temporary"]:not([treestyletab-tabbar-position="top"]) { + background-image: url("chrome://browser/skin/privatebrowsing-indicator.png"); + background-repeat: no-repeat; + background-position: top right; +} +#main-window[privatebrowsingmode="temporary"][tabsintitlebar="true"]:not([treestyletab-tabbar-position="top"]) { + background-position: top left; +}