]>
Commit | Line | Data |
---|---|---|
2f01fe57 | 1 | |
81bea17a AD |
2 | /**** |
3 | dijit.form.TextBox | |
4 | dijit.form.ValidationTextBox | |
5 | dijit.form.SerializableTextBox | |
6 | dijit.form.RangeBoundTextBox | |
7 | dijit.form.NumberTextBox | |
8 | dijit.form.CurrencyTextBox | |
9 | dijit.form.NumberSpinner | |
10 | dijit.form.ComboBox (partial) | |
11 | ****/ | |
12 | ||
f0cfe83e | 13 | .tundra .dijitInputContainer input { |
81bea17a | 14 | margin: 0 0.1em; |
2f01fe57 | 15 | } |
81bea17a | 16 | |
2f01fe57 AD |
17 | .tundra .dijitTextArea { |
18 | padding: 3px; | |
19 | } | |
81bea17a | 20 | |
f0cfe83e AD |
21 | .tundra .dijitSelect .dijitButtonContents, |
22 | .tundra .dijitSelect, | |
2f01fe57 | 23 | .tundra .dijitTextBox { |
81bea17a AD |
24 | /* For all except dijit.form.NumberSpinner: the actual input element. |
25 | For TextBox, ComboBox, Spinner: the div that contains the input. | |
26 | Otherwise the actual input element. | |
27 | */ | |
2f01fe57 AD |
28 | background:#fff url("../images/validationInputBg.png") repeat-x top left; |
29 | #background:#fff url('../images/validationInputBg.gif') repeat-x top left; | |
f0cfe83e AD |
30 | } |
31 | .tundra .dijitSelect, | |
32 | .tundra .dijitTextBox { | |
2f01fe57 AD |
33 | border:1px solid #b3b3b3; |
34 | } | |
81bea17a | 35 | |
f0cfe83e | 36 | .tundra .dijitSelect .dijitArrowButton, |
2f01fe57 AD |
37 | .tundra .dijitComboBox .dijitButtonNode { |
38 | padding: 0 0.2em; | |
39 | } | |
f0cfe83e | 40 | .tundra .dijitSelect .dijitButtonContents, |
2f01fe57 | 41 | .tundra .dijitTextBox .dijitButtonNode { |
81bea17a AD |
42 | /* line between the input area and the drop down button, and also between |
43 | * the up and down buttons of a spinner | |
44 | */ | |
2f01fe57 AD |
45 | border-color: #9b9b9b; |
46 | } | |
81bea17a | 47 | |
f0cfe83e | 48 | .tundra .dijitSelectFocused, |
2f01fe57 | 49 | .tundra .dijitTextBoxFocused { |
81bea17a | 50 | /* input field when focused (ie: typing affects it) */ |
2f01fe57 AD |
51 | border-color:#406b9b; |
52 | } | |
f0cfe83e | 53 | .tundra .dijitSelectFocused TD, |
2f01fe57 AD |
54 | .tundra .dijitTextBoxFocused .dijitButtonNode { |
55 | border-color:#366dba; | |
56 | } | |
81bea17a | 57 | |
2f01fe57 AD |
58 | .tundra .dijitError { |
59 | background-color:#f9f7ba; | |
60 | background-image:none; | |
61 | } | |
81bea17a | 62 | |
2f01fe57 AD |
63 | .tundra .dijitErrorFocused { |
64 | background-color:#f9f999; | |
65 | background-image:none; | |
66 | } | |
81bea17a AD |
67 | |
68 | /* Validation errors */ | |
f0cfe83e | 69 | .tundra .dijitValidationTextBoxError .dijitValidationIcon { |
81bea17a | 70 | /* prevent height change when widget goes from valid to invalid state */ |
2f01fe57 AD |
71 | width: 16px; |
72 | background: transparent url('../images/warning.png') no-repeat center center; | |
73 | } | |
81bea17a AD |
74 | |
75 | /* The highlight is shown in the ComboBox menu. */ | |
2f01fe57 AD |
76 | .tundra .dijitComboBoxHighlightMatch { |
77 | background-color:#a5beda; | |
78 | } | |
81bea17a | 79 | |
2f01fe57 | 80 | .tundra .dijitFocusedLabel { |
81bea17a | 81 | /* for checkboxes or radio buttons, hatch border around the corresponding label, to indicate focus */ |
2f01fe57 AD |
82 | outline: 1px dotted #666666; |
83 | } |