Debian Codegraph @

dijit/themes/claro/form/Common.css

raw symbols SCIP
1 /* claro/form/Common.css */
2 /*========================= common css =========================*/
3 /* 'dijitTextBox' refers to 'dijit(TextBox|DateTextBox|CurrencyTextBox|...)' */
4 .claro .dijitTextBox,
5 .claro .dijitInputInner {
6 color: #000000;
7 }
8 .claro .dijitValidationTextBoxError .dijitValidationContainer {
9 background-color: #d46464;
10 background-image: url("../form/images/error.png");
11 background-position: top center;
12 border: solid #d46464 0;
13 width: 9px;
14 }
15 .claro .dijitTextBoxError .dijitValidationContainer {
16 border-left-width: 1px;
17 }
18 .claro .dijitValidationTextBoxError .dijitValidationIcon {
19 width: 0;
20 background-color: transparent;
21 /* so the INPUT doesn't obscure the border in rtl+a11y */
22
23 }
24 /* Padding for the input area of TextBox based widgets, and corresponding padding for the
25 * down arrow button and the placeholder. placeholder is explicitly listed because
26 * dijitPlaceHolder is absolutely positioned, so padding set on dijitInputField
27 * won't affect it
28 */
29 .claro .dijitTextArea,
30 .claro .dijitInputField .dijitPlaceHolder {
31 padding: 2px;
32 }
33 .claro .dijitSelect .dijitInputField,
34 .claro .dijitTextBox .dijitInputField {
35 padding: 1px 2px;
36 }
37 .dj_gecko .claro .dijitTextBox .dijitInputInner,
38 .dj_webkit .claro .dijitTextBox .dijitInputInner {
39 padding-left: 1px;
40 padding-right: 1px;
41 }
42 .claro .dijitSelect,
43 .claro .dijitSelect .dijitButtonContents,
44 .claro .dijitTextBox,
45 .claro .dijitTextBox .dijitButtonNode {
46 /* color for (outer) border on *TextBox widgets, and border between input and buttons on ComboBox and Spinner */
47
48 border-color: #b5bcc7;
49 -webkit-transition-property: background-color, border;
50 -moz-transition-property: background-color, border;
51 transition-property: background-color, border;
52 -webkit-transition-duration: 0.35s;
53 -moz-transition-duration: 0.35s;
54 transition-duration: 0.35s;
55 }
56 .claro .dijitSelect,
57 .claro .dijitTextBox {
58 background-color: #ffffff;
59 }
60 /* hover */
61 .claro .dijitSelectHover,
62 .claro .dijitSelectHover .dijitButtonContents,
63 .claro .dijitTextBoxHover,
64 .claro .dijitTextBoxHover .dijitButtonNode {
65 border-color: #759dc0;
66 -webkit-transition-duration: 0.25s;
67 -moz-transition-duration: 0.25s;
68 transition-duration: 0.25s;
69 }
70 .claro .dijitTextBoxHover {
71 background-color: #e5f2fe;
72 background-image: -moz-linear-gradient(rgba(127, 127, 127, 0.2) 0%, rgba(127, 127, 127, 0) 2px);
73 background-image: -webkit-linear-gradient(rgba(127, 127, 127, 0.2) 0%, rgba(127, 127, 127, 0) 2px);
74 background-image: -o-linear-gradient(rgba(127, 127, 127, 0.2) 0%, rgba(127, 127, 127, 0) 2px);
75 background-image: linear-gradient(rgba(127, 127, 127, 0.2) 0%, rgba(127, 127, 127, 0) 2px);
76 }
77 /* error state */
78 .claro .dijitSelectError,
79 .claro .dijitSelectError .dijitButtonContents,
80 .claro .dijitTextBoxError,
81 .claro .dijitTextBoxError .dijitButtonNode {
82 border-color: #d46464;
83 }
84 /* focused state */
85 .claro .dijitSelectFocused,
86 .claro .dijitSelectFocused .dijitButtonContents,
87 .claro .dijitTextBoxFocused,
88 .claro .dijitTextBoxFocused .dijitButtonNode {
89 border-color: #759dc0;
90 -webkit-transition-duration: 0.1s;
91 -moz-transition-duration: 0.1s;
92 transition-duration: 0.1s;
93 }
94 .claro .dijitTextBoxFocused {
95 background-color: #ffffff;
96 background-image: -moz-linear-gradient(rgba(127, 127, 127, 0.2) 0%, rgba(127, 127, 127, 0) 2px);
97 background-image: -webkit-linear-gradient(rgba(127, 127, 127, 0.2) 0%, rgba(127, 127, 127, 0) 2px);
98 background-image: -o-linear-gradient(rgba(127, 127, 127, 0.2) 0%, rgba(127, 127, 127, 0) 2px);
99 background-image: linear-gradient(rgba(127, 127, 127, 0.2) 0%, rgba(127, 127, 127, 0) 2px);
100 }
101 .claro .dijitTextBoxFocused .dijitInputContainer {
102 background: #ffffff;
103 }
104 .claro .dijitSelectErrorFocused,
105 .claro .dijitSelectErrorFocused .dijitButtonContents,
106 .claro .dijitTextBoxErrorFocused,
107 .claro .dijitTextBoxErrorFocused .dijitButtonNode {
108 border-color: #ce5050;
109 }
110 /* disabled state */
111 .claro .dijitSelectDisabled,
112 .claro .dijitSelectDisabled .dijitButtonContents,
113 .claro .dijitTextBoxDisabled,
114 .claro .dijitTextBoxDisabled .dijitButtonNode {
115 border-color: #d3d3d3;
116 }
117 .claro .dijitSelectDisabled,
118 .claro .dijitTextBoxDisabled,
119 .claro .dijitTextBoxDisabled .dijitInputContainer {
120 background-color: #efefef;
121 background-image: none;
122 }
123 .claro .dijitSelectDisabled,
124 .claro .dijitTextBoxDisabled,
125 .claro .dijitTextBoxDisabled .dijitInputInner {
126 color: #818181;
127 }
128 .dj_webkit .claro .dijitDisabled input {
129 /* because WebKit lightens disabled input/textarea no matter what color you specify */
130
131 color: #757575;
132 }
133 .dj_webkit .claro textarea.dijitTextAreaDisabled {
134 /* because WebKit lightens disabled input/textarea no matter what color you specify */
135
136 color: #1b1b1b;
137 }
138 /*========================= for special widgets =========================*/
139 /* Input boxes with an arrow (for a drop down) */
140 .claro .dijitSelect .dijitArrowButtonInner,
141 .claro .dijitComboBox .dijitArrowButtonInner {
142 background-image: url("../form/images/commonFormArrows.png");
143 background-position: -35px 53%;
144 background-repeat: no-repeat;
145 margin: 0;
146 width: 16px;
147 }
148 .claro .dijitComboBox .dijitArrowButtonInner {
149 border: 1px solid #ffffff;
150 }
151 .claro .dijitToolbar .dijitComboBox .dijitArrowButtonInner {
152 border: none;
153 }
154 .claro .dijitToolbar .dijitComboBox .dijitArrowButtonInner {
155 border: none;
156 }
157 /* Add 1px vertical padding to the <input> where user types and the validation icon,
158 to match the 1px border on arrow button */
159 .claro .dijitSelectLabel,
160 .claro .dijitTextBox .dijitInputInner,
161 .claro .dijitValidationTextBox .dijitValidationContainer {
162 padding: 1px 0;
163 }
164 .claro .dijitComboBox .dijitButtonNode {
165 background-color: #efefef;
166 background-image: url("../images/standardGradient.png");
167 background-repeat: repeat-x;
168 background-image: -moz-linear-gradient(rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
169 background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
170 background-image: -o-linear-gradient(rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
171 background-image: linear-gradient(rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
172 _background-image: none;
173 }
174 /* Arrow "hover" effect:
175 * The arrow button should change color whenever the mouse is in a position such that clicking it
176 * will toggle the drop down. That's either (1) anywhere over the ComboBox or (2) over the arrow
177 * button, depending on the openOnClick setting for the widget.
178 */
179 .claro .dijitComboBoxOpenOnClickHover .dijitButtonNode,
180 .claro .dijitComboBox .dijitDownArrowButtonHover,
181 .claro .dijitComboBoxFocused .dijitArrowButton {
182 background-color: #abd6ff;
183 }
184 .claro .dijitComboBoxOpenOnClickHover .dijitArrowButtonInner,
185 .claro .dijitComboBox .dijitDownArrowButtonHover .dijitArrowButtonInner {
186 background-position: -70px 53%;
187 }
188 /* Arrow Button change when drop down is open */
189 .claro .dijitComboBox .dijitHasDropDownOpen {
190 background-color: #7dbdfa;
191 background-image: url("../images/activeGradient.png");
192 background-repeat: repeat-x;
193 background-image: -moz-linear-gradient(rgba(190, 190, 190, 0.98) 0px, rgba(255, 255, 255, 0.65) 3px, rgba(255, 255, 255, 0) 100%);
194 background-image: -webkit-linear-gradient(rgba(190, 190, 190, 0.98) 0px, rgba(255, 255, 255, 0.65) 3px, rgba(255, 255, 255, 0) 100%);
195 background-image: -o-linear-gradient(rgba(190, 190, 190, 0.98) 0px, rgba(255, 255, 255, 0.65) 3px, rgba(255, 255, 255, 0) 100%);
196 background-image: linear-gradient(rgba(190, 190, 190, 0.98) 0px, rgba(255, 255, 255, 0.65) 3px, rgba(255, 255, 255, 0) 100%);
197 _background-image: none;
198 padding: 1px;
199 }
200 .dj_iequirks .claro .dijitComboBox .dijitHasDropDownOpen {
201 padding: 1px 0;
202 }
203 .claro .dijitComboBox .dijitHasDropDownOpen .dijitArrowButtonInner {
204 background-position: -70px 53%;
205 border: 0 none;
206 }
207 /* disabled state */
208 .claro div.dijitComboBoxDisabled .dijitArrowButtonInner {
209 /* specific selector set to override background-position setting from Button.js
210 * (.claro .dijitComboBoxDisabled .dijitArrowButtonInner) */
211
212 background-position: 0 50%;
213 background-color: #efefef;
214 }
215 /*========================= hacks for browsers =========================*/
216 /* it seems the input[type="hidden"] has a height (16px) too... this may cause the widget's height calculate error */
217 .dj_ff3 .claro .dijitInputField input[type="hidden"] {
218 display: none;
219 height: 0;
220 width: 0;
221 }
222 .dj_borderbox .claro .dijitComboBox .dijitHasDropDownOpen .dijitArrowButtonInner {
223 width: 18px;
224 }
225 .dj_borderbox .claro .dijitComboBoxFocused .dijitHasDropDownOpen .dijitArrowButtonInner {
226 width: 16px;
227 }