Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: chrome/skin/overlay.css

Issue 5741004535627776: Fix toolbar icon customization in Australis (Closed)
Patch Set: Added 32x32 icon and fixed my own review comments Created Dec. 2, 2013, 10:55 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/skin/overlay.css
===================================================================
--- a/chrome/skin/overlay.css
+++ b/chrome/skin/overlay.css
@@ -36,16 +36,31 @@ toolbar[iconsize="small"] #abp-toolbarbu
#abp-status[abpstate="disabled"],
toolbar[iconsize="small"] #abp-toolbarbutton[abpstate="whitelisted"],
#PersonalToolbar #abp-toolbarbutton[abpstate="whitelisted"],
#header-view-toolbar > #abp-toolbarbutton[abpstate="whitelisted"],
#abp-status[abpstate="whitelisted"] {
-moz-image-region: rect(16px, 16px, 32px, 0px);
}
+#abp-toolbarbutton[cui-areatype="menu-panel"],
+toolbarpaletteitem[place="palette"] > #abp-toolbarbutton
+{
+ list-style-image: url("abp-status-32.png");
+ -moz-image-region: rect(0px, 32px, 32px, 0px);
+}
+
+#abp-toolbarbutton[cui-areatype="menu-panel"][abpstate="disabled"],
+toolbarpaletteitem[place="palette"] > #abp-toolbarbutton[abpstate="disabled"],
+#abp-toolbarbutton[cui-areatype="menu-panel"][abpstate="whitelisted"],
+toolbarpaletteitem[place="palette"] > #abp-toolbarbutton[abpstate="whitelisted"]
+{
+ -moz-image-region: rect(32px, 32px, 64px, 0px);
+}
+
#abp-toolbar-popup {
list-style-image: none;
-moz-image-region: rect(0px, 0px, 0px, 0px);
}
toolbox[vertical="true"] toolbar #abp-toolbarbutton dropmarker {
display: none !important;
}

Powered by Google App Engine
This is Rietveld