Bug 594484 - Don't override cursor and color styles for the number box text input because it breaks disabled="true" styling. r=dao a=gavin
authorMarkus Stange <mstange@themasta.com>
Fri, 15 Oct 2010 12:23:11 +0200
changeset 55855 8130457aed614e10b985554d5b4ef45fe5d16b3a
parent 55854 d27d7109949888415f956c13d640070157a227bc
child 55856 0ec6080862240dd36c8870e979442f8f633a798a
push idunknown
push userunknown
push dateunknown
reviewersdao, gavin
bugs594484
milestone2.0b8pre
Bug 594484 - Don't override cursor and color styles for the number box text input because it breaks disabled="true" styling. r=dao a=gavin
toolkit/themes/gnomestripe/global/numberbox.css
toolkit/themes/pinstripe/global/numberbox.css
--- a/toolkit/themes/gnomestripe/global/numberbox.css
+++ b/toolkit/themes/gnomestripe/global/numberbox.css
@@ -51,17 +51,16 @@ textbox[type="number"] {
 
 html|*.numberbox-input {
   text-align: right;
 }
 
 .numberbox-input-box {
   -moz-box-align: center;
   -moz-appearance: spinner-textfield;
-  cursor: text;
   margin-right: -1px;
   border: 2px solid;
   -moz-border-top-colors: ThreeDShadow ThreeDDarkShadow;
   -moz-border-right-colors: ThreeDHighlight ThreeDLightShadow;
   -moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow;
   -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow;
   padding: 3px;
 }
--- a/toolkit/themes/pinstripe/global/numberbox.css
+++ b/toolkit/themes/pinstripe/global/numberbox.css
@@ -47,20 +47,18 @@ textbox[type="number"] {
 }
 
 html|*.numberbox-input {
   text-align: right;
 }
 
 .numberbox-input-box {
   -moz-appearance: textfield;
-  cursor: text;
   margin-right: 4px;
   border: 3px solid;
   -moz-border-top-colors: transparent #888888 #000000;
   -moz-border-right-colors: transparent #FFFFFF #000000;
   -moz-border-bottom-colors: transparent #FFFFFF #000000;
   -moz-border-left-colors: transparent #888888 #000000;
   border-top-right-radius: 2px;
   border-bottom-left-radius: 2px;
   background-color: -moz-Field;
-  color: -moz-FieldText;
 }