Bug 561097 - Disabled radio buttons are smaller than enabled radio buttons [r=mfinkle]
authorVivien Nicolas <21@vingtetun.org>
Fri, 23 Apr 2010 13:53:34 -0400
changeset 66169 d19073add08b6b48b30e080455958af55841ed59
parent 66168 f399de4c8870a7270525484e39eb52562ae45a97
child 66170 3000aa8a1f958bf02add001a97689da32f051127
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)
reviewersmfinkle
bugs561097
Bug 561097 - Disabled radio buttons are smaller than enabled radio buttons [r=mfinkle]
mobile/chrome/content/content.css
--- a/mobile/chrome/content/content.css
+++ b/mobile/chrome/content/content.css
@@ -198,36 +198,37 @@ html input[type="radio"]:focus {
 html input[type="checkbox"]:focus {
   background: -moz-linear-gradient(top, rgb(141,184,216) 0, rgba(198,225,246,0.2) 2px, rgb(255,255,255) 6px);
 }
 
 html input[type="radio"]:focus {
   background: -moz-radial-gradient(6px 6px, cover, rgb(255,255,255) 3px, rgba(198,225,246,0.2) 5px, rgb(141,184,216) 100%);
 }
 
-html textarea[disabled="true"],
-html select[disabled="true"],
-html button[disabled="true"],
+html textarea[disabled],
+html select[disabled],
+html button[disabled],
 html input:not([type="image"])[disabled="true"] {
   color: rgba(0,0,0,0.3);
   border-color: rgba(125,125,125,0.4);
   border-style: solid;
   border-width: 1px;
   background: transparent -moz-linear-gradient(top, rgba(185,185,185,0.4) 0, rgba(235,235,235,0.4) 3px, rgba(255,255,255,0.4) 100%);
 }
 
-html input[type="button"][disabled="true"],
-html input[type="submit"][disabled="true"],
-html input[type="reset"][disabled="true"],
+html input[type="button"][disabled],
+html input[type="submit"][disabled],
+html input[type="reset"][disabled],
 html button[disabled="true"] {
   padding: 1px 7px 1px 7px;
   background: transparent -moz-linear-gradient(top, rgba(255,255,255,0.4) 0, rgba(235,235,235,0.4) 3px, rgba(185,185,185,0.4) 100%);
 }
 
 
-html input[type="checkbox"][disabled="true"],
-html input[type="radio"][disabled="true"] {
+html input[type="checkbox"][disabled],
+html input[type="radio"][disabled] {
   border:1px solid rgba(125,125,125,0.4) !important;
 }
 
-html select[disabled="true"] input[type="button"] {
+html select[disabled] input[type="button"] {
   opacity: 0.6;
+  padding: 1px 7px 1px 7px;
 }