Bug 534053 - Disabled add-ons should look different in the add-ons manager [r=mark.finkle]
authorFabrice Desré <fabrice.desre@gmail.com>
Tue, 15 Dec 2009 16:56:02 -0500
changeset 65921 29ad2820d151e558c525f15ed4cec3e42102459e
parent 65920 c3cb34a985e538f841680721c2c4c64ad2ceb27a
child 65922 57859a75796eccc1b76f821411ee094320ba0732
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmark
bugs534053
Bug 534053 - Disabled add-ons should look different in the add-ons manager [r=mark.finkle]
mobile/themes/hildon/browser.css
mobile/themes/wince/browser.css
--- a/mobile/themes/hildon/browser.css
+++ b/mobile/themes/hildon/browser.css
@@ -398,16 +398,28 @@ toolbarbutton.page-button {
 .addon-rating[rating="4"] {
   -moz-image-region: rect(72px 78px 90px 0px);
 }
 
 .addon-rating[rating="5"] {
   -moz-image-region: rect(90px 78px 108px 0px);
 }
 
+richlistitem[isDisabled="true"] .title {
+  color : gray;
+}
+
+richlistitem[isDisabled="true"] .normal {
+  color : lightgray;
+}
+
+richlistitem[isDisabled="true"] image {
+  opacity: 0.25;
+}
+
 /* downloads panel UI   ---------------------------------------------------- */
 .download-retry-failed {
   color: red !important;
 }
 
 /* special "no downloads" items */
 #dl-empty-message {
   margin-top: 140px; /* 2 times row height */
--- a/mobile/themes/wince/browser.css
+++ b/mobile/themes/wince/browser.css
@@ -180,16 +180,28 @@ toolbarbutton.page-button {
   }
 
   /* let the buttons in a selected addon wrap */
   #addons-list > richlistitem .buttons-box {
     display: block;
   }
 }
 
+richlistitem[isDisabled="true"] .title {
+  color : gray;
+}
+
+richlistitem[isDisabled="true"] .normal {
+  color : lightgray;
+}
+
+richlistitem[isDisabled="true"] image {
+  opacity: 0.25;
+}
+
 /* downloads panel UI   ---------------------------------------------------- */
 .download-retry-failed {
   color: red !important;
 }
 
 /* special "no downloads" items */
 #dl-empty-message {
   margin-top: 12mm; /* 2 times row height */