summaryrefslogtreecommitdiff
path: root/lib/dijit/themes/tundra/form/Common.css
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dijit/themes/tundra/form/Common.css')
-rw-r--r--lib/dijit/themes/tundra/form/Common.css40
1 files changed, 34 insertions, 6 deletions
diff --git a/lib/dijit/themes/tundra/form/Common.css b/lib/dijit/themes/tundra/form/Common.css
index 999eb22ee..201368639 100644
--- a/lib/dijit/themes/tundra/form/Common.css
+++ b/lib/dijit/themes/tundra/form/Common.css
@@ -1,48 +1,76 @@
+/****
+ dijit.form.TextBox
+ dijit.form.ValidationTextBox
+ dijit.form.SerializableTextBox
+ dijit.form.RangeBoundTextBox
+ dijit.form.NumberTextBox
+ dijit.form.CurrencyTextBox
+ dijit.form.NumberSpinner
+ dijit.form.ComboBox (partial)
+ ****/
+
.tundra .dijitInputContainer INPUT,
.tundra .dijitTextBox {
- margin: 0em 0.1em;
+ margin: 0 0.1em;
}
+
.tundra .dijitTextArea {
padding: 3px;
}
+
.tundra .dijitTextBox {
-
+ /* For all except dijit.form.NumberSpinner: the actual input element.
+ For TextBox, ComboBox, Spinner: the div that contains the input.
+ Otherwise the actual input element.
+ */
background:#fff url("../images/validationInputBg.png") repeat-x top left;
#background:#fff url('../images/validationInputBg.gif') repeat-x top left;
border:1px solid #b3b3b3;
}
+
+/* ComboBox specific rules*/
.tundra .dijitComboBox .dijitButtonNode {
padding: 0 0.2em;
}
.tundra .dijitTextBox .dijitButtonNode {
-
+ /* line between the input area and the drop down button, and also between
+ * the up and down buttons of a spinner
+ */
border-color: #9b9b9b;
}
+
.tundra .dijitTextBoxFocused {
-
+ /* input field when focused (ie: typing affects it) */
border-color:#406b9b;
}
.tundra .dijitTextBoxFocused .dijitButtonNode {
border-color:#366dba;
}
+
.tundra .dijitError {
background-color:#f9f7ba;
background-image:none;
}
+
.tundra .dijitErrorFocused {
background-color:#f9f999;
background-image:none;
}
+
+/* Validation errors */
.tundra .dijitValidationIcon {
-
+ /* prevent height change when widget goes from valid to invalid state */
width: 16px;
background: transparent url('../images/warning.png') no-repeat center center;
}
+
+/* The highlight is shown in the ComboBox menu. */
.tundra .dijitComboBoxHighlightMatch {
background-color:#a5beda;
}
+
.tundra .dijitFocusedLabel {
-
+ /* for checkboxes or radio buttons, hatch border around the corresponding label, to indicate focus */
outline: 1px dotted #666666;
}