From 82eb455ff771b06c1cbb2f4545b2940eac4b1a3b Mon Sep 17 00:00:00 2001 From: Infocatcher Date: Fri, 1 Nov 2013 23:48:55 +0400 Subject: [PATCH] Change icons in "List all tabs" menu Works only with patches from Infocatcher/Private_Tab#113 --- Private_Tab_icon/privateTabIcon-SeaMonkey.css | 9 ++++++--- Private_Tab_icon/privateTabIcon.css | 9 ++++++--- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/Private_Tab_icon/privateTabIcon-SeaMonkey.css b/Private_Tab_icon/privateTabIcon-SeaMonkey.css index 5d686e3..eac1cc9 100644 --- a/Private_Tab_icon/privateTabIcon-SeaMonkey.css +++ b/Private_Tab_icon/privateTabIcon-SeaMonkey.css @@ -2,11 +2,13 @@ @-moz-document url("chrome://navigator/content/navigator.xul") { /* Add icon to private tabs, https://addons.mozilla.org/addon/private-tab/ */ - .tabbrowser-tab[privateTab-isPrivate]:not([busy]) .tab-icon { + .tabbrowser-tab[privateTab-isPrivate]:not([busy]) .tab-icon, + .menuitem-iconic[privateTab-isPrivate] .menu-iconic-icon { /* Trick: change binding to break "src" attribute */ -moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton") !important; } - .tabbrowser-tab[privateTab-isPrivate]:not([busy]) .tab-icon > .toolbarbutton-icon { + .tabbrowser-tab[privateTab-isPrivate]:not([busy]) .tab-icon > .toolbarbutton-icon, + .menuitem-iconic[privateTab-isPrivate] .menu-iconic-icon > .toolbarbutton-icon { list-style-image: url("chrome://privatetab/content/privacy-16.png") !important; display: -moz-box !important; width: auto !important; @@ -15,7 +17,8 @@ padding: 0 !important; border: none !important; } - .tabbrowser-tab[privateTab-isPrivate]:not([busy]) .tab-icon > .toolbarbutton-text { + .tabbrowser-tab[privateTab-isPrivate]:not([busy]) .tab-icon > .toolbarbutton-text, + .menuitem-iconic[privateTab-isPrivate] .menu-iconic-icon > .toolbarbutton-text { display: none !important; } } \ No newline at end of file diff --git a/Private_Tab_icon/privateTabIcon.css b/Private_Tab_icon/privateTabIcon.css index def3fcd..1c75ddd 100644 --- a/Private_Tab_icon/privateTabIcon.css +++ b/Private_Tab_icon/privateTabIcon.css @@ -2,11 +2,13 @@ @-moz-document url("chrome://browser/content/browser.xul") { /* Add icon to private tabs, https://addons.mozilla.org/addon/private-tab/ */ - .tabbrowser-tab[privateTab-isPrivate] .tab-icon-image { + .tabbrowser-tab[privateTab-isPrivate] .tab-icon-image, + .menuitem-iconic[privateTab-isPrivate] .menu-iconic-icon { /* Trick: change binding to break "src" attribute */ -moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton") !important; } - .tabbrowser-tab[privateTab-isPrivate] .tab-icon-image > .toolbarbutton-icon { + .tabbrowser-tab[privateTab-isPrivate] .tab-icon-image > .toolbarbutton-icon, + .menuitem-iconic[privateTab-isPrivate] .menu-iconic-icon > .toolbarbutton-icon { list-style-image: url("chrome://browser/skin/Privacy-16.png") !important; display: -moz-box !important; width: auto !important; @@ -15,7 +17,8 @@ padding: 0 !important; border: none !important; } - .tabbrowser-tab[privateTab-isPrivate] .tab-icon-image > .toolbarbutton-text { + .tabbrowser-tab[privateTab-isPrivate] .tab-icon-image > .toolbarbutton-text, + .menuitem-iconic[privateTab-isPrivate] .menu-iconic-icon > .toolbarbutton-text { display: none !important; } } \ No newline at end of file