2010-11-15 07:39:52 +00:00
|
|
|
|
2011-11-08 16:40:44 +00:00
|
|
|
/****
|
|
|
|
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)
|
|
|
|
****/
|
|
|
|
|
2010-11-15 07:39:52 +00:00
|
|
|
.tundra .dijitInputContainer INPUT,
|
|
|
|
.tundra .dijitTextBox {
|
2011-11-08 16:40:44 +00:00
|
|
|
margin: 0 0.1em;
|
2010-11-15 07:39:52 +00:00
|
|
|
}
|
2011-11-08 16:40:44 +00:00
|
|
|
|
2010-11-15 07:39:52 +00:00
|
|
|
.tundra .dijitTextArea {
|
|
|
|
padding: 3px;
|
|
|
|
}
|
2011-11-08 16:40:44 +00:00
|
|
|
|
2010-11-15 07:39:52 +00:00
|
|
|
.tundra .dijitTextBox {
|
2011-11-08 16:40:44 +00:00
|
|
|
/* 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.
|
|
|
|
*/
|
2010-11-15 07:39:52 +00:00
|
|
|
background:#fff url("../images/validationInputBg.png") repeat-x top left;
|
|
|
|
#background:#fff url('../images/validationInputBg.gif') repeat-x top left;
|
|
|
|
border:1px solid #b3b3b3;
|
|
|
|
}
|
2011-11-08 16:40:44 +00:00
|
|
|
|
|
|
|
/* ComboBox specific rules*/
|
2010-11-15 07:39:52 +00:00
|
|
|
.tundra .dijitComboBox .dijitButtonNode {
|
|
|
|
padding: 0 0.2em;
|
|
|
|
}
|
|
|
|
.tundra .dijitTextBox .dijitButtonNode {
|
2011-11-08 16:40:44 +00:00
|
|
|
/* line between the input area and the drop down button, and also between
|
|
|
|
* the up and down buttons of a spinner
|
|
|
|
*/
|
2010-11-15 07:39:52 +00:00
|
|
|
border-color: #9b9b9b;
|
|
|
|
}
|
2011-11-08 16:40:44 +00:00
|
|
|
|
2010-11-15 07:39:52 +00:00
|
|
|
.tundra .dijitTextBoxFocused {
|
2011-11-08 16:40:44 +00:00
|
|
|
/* input field when focused (ie: typing affects it) */
|
2010-11-15 07:39:52 +00:00
|
|
|
border-color:#406b9b;
|
|
|
|
}
|
|
|
|
.tundra .dijitTextBoxFocused .dijitButtonNode {
|
|
|
|
border-color:#366dba;
|
|
|
|
}
|
2011-11-08 16:40:44 +00:00
|
|
|
|
2010-11-15 07:39:52 +00:00
|
|
|
.tundra .dijitError {
|
|
|
|
background-color:#f9f7ba;
|
|
|
|
background-image:none;
|
|
|
|
}
|
2011-11-08 16:40:44 +00:00
|
|
|
|
2010-11-15 07:39:52 +00:00
|
|
|
.tundra .dijitErrorFocused {
|
|
|
|
background-color:#f9f999;
|
|
|
|
background-image:none;
|
|
|
|
}
|
2011-11-08 16:40:44 +00:00
|
|
|
|
|
|
|
/* Validation errors */
|
2010-11-15 07:39:52 +00:00
|
|
|
.tundra .dijitValidationIcon {
|
2011-11-08 16:40:44 +00:00
|
|
|
/* prevent height change when widget goes from valid to invalid state */
|
2010-11-15 07:39:52 +00:00
|
|
|
width: 16px;
|
|
|
|
background: transparent url('../images/warning.png') no-repeat center center;
|
|
|
|
}
|
2011-11-08 16:40:44 +00:00
|
|
|
|
|
|
|
/* The highlight is shown in the ComboBox menu. */
|
2010-11-15 07:39:52 +00:00
|
|
|
.tundra .dijitComboBoxHighlightMatch {
|
|
|
|
background-color:#a5beda;
|
|
|
|
}
|
2011-11-08 16:40:44 +00:00
|
|
|
|
2010-11-15 07:39:52 +00:00
|
|
|
.tundra .dijitFocusedLabel {
|
2011-11-08 16:40:44 +00:00
|
|
|
/* for checkboxes or radio buttons, hatch border around the corresponding label, to indicate focus */
|
2010-11-15 07:39:52 +00:00
|
|
|
outline: 1px dotted #666666;
|
|
|
|
}
|