Bug 989479 - Fix disabled=false state for in-content preferences r=jaws
authorTim Nguyen <ntim007@gmail.com>
Fri, 28 Mar 2014 17:46:20 -0700
changeset 176090 775acd446f8fd975dc8c09079d8a816d770e1f4c
parent 176089 0341229bbac4503750d4129282b9200b477567fc
child 176091 5fb093da50901c4b988457c790679ae5e55fdff1
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewersjaws
bugs989479
milestone31.0a1
Bug 989479 - Fix disabled=false state for in-content preferences r=jaws
browser/themes/shared/in-content/preferences.css
--- a/browser/themes/shared/in-content/preferences.css
+++ b/browser/themes/shared/in-content/preferences.css
@@ -142,29 +142,29 @@ menulist {
   -moz-border-bottom-colors: none !important;
   -moz-border-left-colors: none !important;
   border-radius: 5px;
   box-shadow: 0 1px 1px 0 #FFFFFF, inset 0 2px 2px 0 #FFFFFF;
   background-color: #F1F1F1;
   background-image: linear-gradient(#FFFFFF, rgba(255,255,255,0.1));
 }
 
-button:not([disabled]):hover,
-menulist:not([disabled]):hover {
+button:not([disabled="true"]):hover,
+menulist:not([disabled="true"]):hover {
   background-image: linear-gradient(#FFFFFF, rgba(255,255,255,0.6));
 }
 
-button:not([disabled]):hover:active,
-menulist[open="true"]:not([disabled]) {
+button:not([disabled="true"]):hover:active,
+menulist[open="true"]:not([disabled="true"]) {
   background-image: linear-gradient(rgba(255,255,255,0.1),
                                     rgba(255,255,255,0.6));
 }
 
-button[disabled],
-menulist[disabled] {
+button[disabled="true"],
+menulist[disabled="true"] {
   background-image: linear-gradient(rgba(255,255,255,0.5),
                                     rgba(255,255,255,0.1));
   border-color: rgba(23,50,77,0.25);
   color: rgba(115,121,128,0.5);
   text-shadow: 0 1px 1px #FFFFFF;
 }
 
 button > .button-box,
@@ -203,38 +203,38 @@ button[type="menu"] > .button-box > .but
 .spinbuttons-button > .button-box {
   padding: 1px 5px 2px !important;
 }
 
 .spinbuttons-up > .button-box > .button-icon {
   list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
 }
 
-.spinbuttons-up[disabled] > .button-box > .button-icon {
+.spinbuttons-up[disabled="true"] > .button-box > .button-icon {
   list-style-image: url("chrome://global/skin/arrow/arrow-up-dis.gif");
 }
 
 .spinbuttons-down > .button-box > .button-icon {
   list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
 }
 
-.spinbuttons-down[disabled] > .button-box > .button-icon {
+.spinbuttons-down[disabled="true"] > .button-box > .button-icon {
   list-style-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif");
 }
 
 menulist:not([editable="true"]) > .menulist-dropmarker {
   -moz-appearance: none;
   -moz-margin-end: 10px;
   padding: 0;
   border: none;
   background-color: transparent;
   list-style-image: url("chrome://browser/skin/preferences/in-content/dropdown.png")
 }
 
-menulist[disabled]:not([editable="true"]) > .menulist-dropmarker {
+menulist[disabled="true"]:not([editable="true"]) > .menulist-dropmarker {
   list-style-image: url("chrome://browser/skin/preferences/in-content/dropdown-disabled.png")
 }
 
 menulist > menupopup,
 button[type="menu"] > menupopup {
   -moz-appearance: none;
   border: 1px solid rgba(23,50,77,0.4);
   border-radius: 5px;
@@ -292,17 +292,17 @@ textbox {
 }
 
 textbox[focused] {
   color: #424E5A;
   border-color: #0096DC;
   box-shadow: 0 0 2px 2px rgba(0,150,220,0.35), inset 0 0 2px 0 #0096DC;
 }
 
-textbox[disabled] {
+textbox[disabled="true"] {
   color: rgba(115,121,128,0.5);
   border-color: rgba(23,50,77,0.25);
   background-image: linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0.4));
 }
 
 /* Links */
 
 .text-link,