Repository navigation
Expand file tree
/
Copy pathformalize.css
More file actions
256 lines (219 loc) · 4.54 KB
/
Copy pathformalize.css
File metadata and controls
256 lines (219 loc) · 4.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
/* `Widths
----------------------------------------------------------------------------------------------------*/
.input_tiny {
width: 50px;
}
.input_small {
width: 100px;
}
.input_medium {
width: 150px;
}
.input_large {
width: 200px;
}
.input_xlarge {
width: 250px;
}
.input_xxlarge {
width: 300px;
}
.input_full {
width: 100%;
}
/*
Added via JS to <textarea> and class="input_full".
Applies only to IE7. Other browsers don't need it.
*/
.input_full_wrap {
display: block;
padding-right: 8px;
}
/* `UI Consistency
----------------------------------------------------------------------------------------------------*/
::-moz-focus-inner {
border: 0;
}
input[type="search"]::-webkit-search-decoration {
display: none;
}
input,
select,
textarea {
-moz-background-clip: padding;
-webkit-background-clip: padding;
background-clip: padding-box;
margin: 0;
vertical-align: middle;
}
textarea,
select,
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="email"],
input[type="month"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="time"],
input[type="url"],
input[type="week"] {
-webkit-appearance: none;
-moz-border-radius: 0;
-webkit-border-radius: 0;
border-radius: 0;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
background-color: #fff;
border: 1px solid;
border-color: #848484 #c1c1c1 #e1e1e1;
color: #000;
outline: 0;
padding: 2px 3px;
font-size: 13px;
font-family: Arial, sans-serif;
height: 1.8em;
/* IE7 */
*padding-top: 2px;
*padding-bottom: 1px;
*height: auto;
}
/*
Separate rule for Firefox.
Cannot stack with WebKit's.
*/
input.placeholder_text,
textarea.placeholder_text,
input:-moz-placeholder,
textarea:-moz-placeholder {
color: #888;
}
::-webkit-input-placeholder {
color: #888;
}
input:focus,
input:active,
select:focus,
select:active,
textarea:focus,
textarea:active {
-moz-box-shadow: #06f 0 0 7px;
-webkit-box-shadow: #06f 0 0 7px;
box-shadow: #06f 0 0 7px;
/* for Opera */
z-index: 1;
}
input[type="file"]:focus,
input[type="file"]:active,
input[type="radio"]:focus,
input[type="radio"]:active,
input[type="checkbox"]:focus,
input[type="checkbox"]:active {
-moz-box-shadow: none;
-webkit-box-shadow: none;
box-shadow: none;
}
select[disabled],
textarea[disabled],
input[type="date"][disabled],
input[type="datetime"][disabled],
input[type="datetime-local"][disabled],
input[type="email"][disabled],
input[type="month"][disabled],
input[type="number"][disabled],
input[type="password"][disabled],
input[type="search"][disabled],
input[type="tel"][disabled],
input[type="text"][disabled],
input[type="time"][disabled],
input[type="url"][disabled],
input[type="week"][disabled] {
background-color: #eee;
}
input[disabled],
select[disabled],
select[disabled] option,
select[disabled] optgroup,
textarea[disabled] {
-moz-box-shadow: none;
-webkit-box-shadow: none;
box-shadow: none;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
color: #888;
cursor: default;
}
.is_webkit select {
/* Tweaks for Safari + Chrome. */
background-image: url(../images/select_arrow.gif);
background-repeat: no-repeat;
background-position: right center;
padding-right: 20px;
}
textarea,
select[size],
select[multiple] {
height: auto;
}
.is_webkit select[size],
.is_webkit select[multiple] {
background-image: none;
padding: 0;
}
textarea {
min-height: 40px;
overflow: auto;
resize: vertical;
width: 100%;
}
optgroup {
color: #000;
font-style: normal;
font-weight: normal;
}
/* `IE6
----------------------------------------------------------------------------------------------------*/
/*
Everything below this line is for IE6.
Delete it if you don't support it! :)
Classes are added dynamically via JS,
because IE6 doesn't support attribute
selectors: .ie6_button, .ie6_input, etc.
Note: These style rules are somewhat
duplicated because IE6 bombs out when
it sees attribute selectors. Example:
.ie6_button {
This works in IE6.
}
.ie6_button,
input[type=submit] {
This doesn't work.
}
*/
.ie6_input,
* html textarea,
* html select {
background: #fff;
border: 1px solid;
border-color: #848484 #c1c1c1 #e1e1e1;
color: #000;
padding: 2px 3px 1px;
font-size: 13px;
font-family: Arial, sans-serif;
vertical-align: top;
}
* html select {
margin-top: 1px;
}
.placeholder_text,
.ie6_input_disabled {
color: #888;
}
.ie6_input_disabled {
background: #eee;
}