Show private window indicator as a background image of the window itself on Windows (workaround for #612)

This commit is contained in:
Piro / YUKI Hiroshi 2013-11-23 23:45:01 +09:00
parent eaa8f6c6ea
commit e610ca4480

View File

@ -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;
}