EarlyBlue 2.0a1 -> 2.0a2 changes, communicator/ and global/ changes
[themes.git] / EarlyBlue / global / numberbox.css
index e1515ce3a6679c067bebfd0e9685dcf6f79d87d8..41fc4cd73dc7a72b0f991383ef18804568c5fd02 100644 (file)
@@ -11,6 +11,8 @@
  * for the specific language governing rights and limitations under the
  * License.
  *
+ * The Original Code is mozilla.org code.
+ *
  * The Initial Developer of the Original Code is the Mozilla Corporation
  * Portions created by the Initial Developer are Copyright (C) 2006
  * the Initial Developer. All Rights Reserved.
@@ -41,6 +43,7 @@
 
 textbox[type="number"] {
   padding: 0 !important;
+  border: none;
   cursor: default;
 }
 
@@ -50,5 +53,25 @@ html|*.numberbox-input {
 
 .numberbox-input-box {
   -moz-box-align: center;
+  cursor: text;
+  border: 1px inset #CCD0DD;
+  border-right-width: 0px;
+  padding: 1px;
+  background-color: #FFFFFF;
+  color: #000000;
+}
+
+textbox[type="number"] > spinbuttons {
+  border: 1px inset #CCD0DD;
+  border-left-width: 0px;
 }
 
+textbox[type="number"][focused="true"] > .numberbox-input-box,
+textbox[type="number"][focused="true"] > spinbuttons {
+  border-color: #6699CC;
+}
+
+textbox[type="number"][disabled="true"] > .numberbox-input-box,
+textbox[type="number"][disabled="true"] > spinbuttons {
+  border-color: #666699;
+}