bug 339635: Safebrowsing urlbar warning icon not themable r=bryner
authortony@ponderer.org
Tue, 06 Nov 2007 21:09:44 -0800
changeset 7474 b04d7e553fc91957c863659a627e791ff64348ba
parent 7473 c30e5314fdcde9ceeb8d477dc3378ad52a57069e
child 7475 9400ec3f4f90e46cd2cd75e8f38c9e46fc0cc900
push id1
push userbsmedberg@mozilla.com
push dateThu, 20 Mar 2008 16:49:24 +0000
treeherderautoland@61007906a1f8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbryner
bugs339635
milestone1.9a9pre
bug 339635: Safebrowsing urlbar warning icon not themable r=bryner
browser/themes/gnomestripe/browser/safebrowsing/browser-protection.css
--- a/browser/themes/gnomestripe/browser/safebrowsing/browser-protection.css
+++ b/browser/themes/gnomestripe/browser/safebrowsing/browser-protection.css
@@ -114,11 +114,19 @@
 
 #safebrowsing-pref-caption text { 
   text-align: center;
   color: #FFFFFF;
   font-size: 150%;
   font-family: arial, helvetica, sans-serif;
 }
 
-#safebrowsing-urlbar-icon { 
+#safebrowsing-urlbar-icon {
   padding-right: 2px;
 }
+
+#safebrowsing-urlbar-icon[level="safe"] {
+  list-style-image: none;
+}
+
+#safebrowsing-urlbar-icon[level="warn"] {
+  list-style-image: url("chrome://browser/skin/safebrowsing/warning16x16.png");
+}