alchemy 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/app/assets/stylesheets/alchemy/components/_chosen.scss +1 -1
- data/app/assets/stylesheets/alchemy/components/_normalize.scss +262 -314
- data/app/assets/stylesheets/alchemy/components/buttons/_buttons.scss +49 -12
- data/app/assets/stylesheets/alchemy/components/buttons/_buttons_vars.scss +2 -1
- data/app/assets/stylesheets/alchemy/components/forms/_forms.scss +35 -19
- data/app/assets/stylesheets/alchemy/components/forms/_forms_responsive.scss +11 -5
- data/app/assets/stylesheets/alchemy/components/header/_header.scss +2 -0
- data/app/assets/stylesheets/alchemy/components/login/_login.scss +5 -1
- data/app/assets/stylesheets/alchemy/partials/_colors.scss +6 -6
- data/app/assets/stylesheets/alchemy/partials/_vars.scss +1 -1
- data/app/helpers/alchemy/layout_helper.rb +16 -0
- data/lib/alchemy.rb +1 -5
- data/lib/alchemy/engine.rb +8 -0
- data/lib/alchemy/version.rb +1 -1
- data/vendor/assets/javascripts/alchemy/handlebars.js +2201 -0
- metadata +5 -48
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/API.txt +0 -1201
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/FAQ.txt +0 -76
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/LICENSE.txt +0 -22
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/Makefile +0 -9
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/NEWS.txt +0 -508
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/PLUGINS.txt +0 -137
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/README.txt +0 -90
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/ajax.html +0 -143
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/annotating.html +0 -75
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/arrow-down.gif +0 -0
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/arrow-left.gif +0 -0
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/arrow-right.gif +0 -0
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/arrow-up.gif +0 -0
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/basic.html +0 -38
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/data-eu-gdp-growth-1.json +0 -4
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/data-eu-gdp-growth-2.json +0 -4
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/data-eu-gdp-growth-3.json +0 -4
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/data-eu-gdp-growth-4.json +0 -4
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/data-eu-gdp-growth-5.json +0 -4
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/data-eu-gdp-growth.json +0 -4
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/data-japan-gdp-growth.json +0 -4
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/data-usa-gdp-growth.json +0 -4
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/graph-types.html +0 -75
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/hs-2004-27-a-large_web.jpg +0 -0
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/image.html +0 -45
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/index.html +0 -44
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/interacting-axes.html +0 -97
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/interacting.html +0 -93
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/layout.css +0 -6
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/multiple-axes.html +0 -60
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/navigate.html +0 -118
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/percentiles.html +0 -57
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/pie.html +0 -756
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/realtime.html +0 -83
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/resize.html +0 -61
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/selection.html +0 -114
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/setting-options.html +0 -61
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/stacking.html +0 -77
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/symbols.html +0 -49
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/thresholding.html +0 -54
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/time.html +0 -71
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/tracking.html +0 -95
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/turning-series.html +0 -98
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/visitors.html +0 -90
- data/vendor/assets/javascripts/alchemy/jquery/plugins/flot-0.7/examples/zooming.html +0 -98
@@ -1,448 +1,396 @@
|
|
1
|
-
/*! normalize.css
|
1
|
+
/*! normalize.css v2.1.0 | MIT License | git.io/normalize */
|
2
2
|
|
3
|
-
/*
|
3
|
+
/* ==========================================================================
|
4
4
|
HTML5 display definitions
|
5
5
|
========================================================================== */
|
6
6
|
|
7
|
-
|
8
|
-
*
|
7
|
+
/**
|
8
|
+
* Correct `block` display not defined in IE 8/9.
|
9
9
|
*/
|
10
10
|
|
11
|
-
article,
|
12
|
-
|
11
|
+
article,
|
12
|
+
aside,
|
13
|
+
details,
|
14
|
+
figcaption,
|
15
|
+
figure,
|
16
|
+
footer,
|
17
|
+
header,
|
18
|
+
hgroup,
|
19
|
+
main,
|
20
|
+
nav,
|
21
|
+
section,
|
22
|
+
summary {
|
23
|
+
display: block;
|
24
|
+
}
|
13
25
|
|
14
|
-
|
15
|
-
*
|
26
|
+
/**
|
27
|
+
* Correct `inline-block` display not defined in IE 8/9.
|
16
28
|
*/
|
17
29
|
|
18
|
-
audio,
|
19
|
-
|
20
|
-
|
21
|
-
|
30
|
+
audio,
|
31
|
+
canvas,
|
32
|
+
video {
|
33
|
+
display: inline-block;
|
34
|
+
}
|
22
35
|
|
23
|
-
|
24
|
-
*
|
25
|
-
* Remove excess height in
|
36
|
+
/**
|
37
|
+
* Prevent modern browsers from displaying `audio` without controls.
|
38
|
+
* Remove excess height in iOS 5 devices.
|
26
39
|
*/
|
27
40
|
|
28
41
|
audio:not([controls]) {
|
29
|
-
|
30
|
-
|
42
|
+
display: none;
|
43
|
+
height: 0;
|
44
|
+
}
|
31
45
|
|
32
|
-
|
33
|
-
*
|
34
|
-
* Known issue: no IE6 support
|
46
|
+
/**
|
47
|
+
* Address styling not present in IE 8/9.
|
35
48
|
*/
|
36
49
|
|
37
50
|
[hidden] {
|
38
|
-
|
51
|
+
display: none;
|
52
|
+
}
|
39
53
|
|
40
|
-
/*
|
54
|
+
/* ==========================================================================
|
41
55
|
Base
|
42
56
|
========================================================================== */
|
43
57
|
|
44
|
-
|
45
|
-
* 1.
|
46
|
-
*
|
47
|
-
*
|
48
|
-
* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
|
58
|
+
/**
|
59
|
+
* 1. Set default font family to sans-serif.
|
60
|
+
* 2. Prevent iOS text size adjust after orientation change, without disabling
|
61
|
+
* user zoom.
|
49
62
|
*/
|
50
63
|
|
51
64
|
html {
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
-ms-text-size-adjust: 100%;
|
57
|
-
/* 2 */
|
58
|
-
font-family: sans-serif; }
|
65
|
+
font-family: sans-serif; /* 1 */
|
66
|
+
-webkit-text-size-adjust: 100%; /* 2 */
|
67
|
+
-ms-text-size-adjust: 100%; /* 2 */
|
68
|
+
}
|
59
69
|
|
60
|
-
|
61
|
-
*
|
62
|
-
*/
|
63
|
-
|
64
|
-
button, input, select, textarea {
|
65
|
-
font-family: sans-serif; }
|
66
|
-
|
67
|
-
/*
|
68
|
-
* Addresses margins handled incorrectly in IE6/7
|
70
|
+
/**
|
71
|
+
* Remove default margin.
|
69
72
|
*/
|
70
73
|
|
71
74
|
body {
|
72
|
-
|
75
|
+
margin: 0;
|
76
|
+
}
|
73
77
|
|
74
|
-
/*
|
78
|
+
/* ==========================================================================
|
75
79
|
Links
|
76
80
|
========================================================================== */
|
77
81
|
|
78
|
-
|
79
|
-
*
|
82
|
+
/**
|
83
|
+
* Address `outline` inconsistency between Chrome and other browsers.
|
80
84
|
*/
|
81
85
|
|
82
|
-
a {
|
83
|
-
|
84
|
-
|
85
|
-
&:hover, &:active {
|
86
|
-
outline: 0; } }
|
86
|
+
a:focus {
|
87
|
+
outline: thin dotted;
|
88
|
+
}
|
87
89
|
|
88
|
-
|
89
|
-
*
|
90
|
-
* people.opera.com/patrickl/experiments/keyboard/test
|
90
|
+
/**
|
91
|
+
* Improve readability when focused and also mouse hovered in all browsers.
|
91
92
|
*/
|
92
93
|
|
93
|
-
|
94
|
+
a:active,
|
95
|
+
a:hover {
|
96
|
+
outline: 0;
|
97
|
+
}
|
98
|
+
|
99
|
+
/* ==========================================================================
|
94
100
|
Typography
|
95
101
|
========================================================================== */
|
96
102
|
|
97
|
-
|
98
|
-
*
|
99
|
-
*
|
103
|
+
/**
|
104
|
+
* Address variable `h1` font-size and margin within `section` and `article`
|
105
|
+
* contexts in Firefox 4+, Safari 5, and Chrome.
|
100
106
|
*/
|
101
107
|
|
102
108
|
h1 {
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
h2 {
|
107
|
-
font-size: 1.5em;
|
108
|
-
margin: 0.83em 0; }
|
109
|
-
|
110
|
-
h3 {
|
111
|
-
font-size: 1.17em;
|
112
|
-
margin: 1em 0; }
|
113
|
-
|
114
|
-
h4 {
|
115
|
-
font-size: 1em;
|
116
|
-
margin: 1.33em 0; }
|
109
|
+
font-size: 2em;
|
110
|
+
margin: 0.67em 0;
|
111
|
+
}
|
117
112
|
|
118
|
-
|
119
|
-
|
120
|
-
margin: 1.67em 0; }
|
121
|
-
|
122
|
-
h6 {
|
123
|
-
font-size: 0.75em;
|
124
|
-
margin: 2.33em 0; }
|
125
|
-
|
126
|
-
/*
|
127
|
-
* Addresses styling not present in IE7/8/9, S5, Chrome
|
113
|
+
/**
|
114
|
+
* Address styling not present in IE 8/9, Safari 5, and Chrome.
|
128
115
|
*/
|
129
116
|
|
130
117
|
abbr[title] {
|
131
|
-
|
118
|
+
border-bottom: 1px dotted;
|
119
|
+
}
|
132
120
|
|
133
|
-
|
134
|
-
*
|
135
|
-
*/
|
136
|
-
|
137
|
-
b, strong {
|
138
|
-
font-weight: bold; }
|
121
|
+
/**
|
122
|
+
* Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
|
123
|
+
*/
|
139
124
|
|
140
|
-
|
141
|
-
|
125
|
+
b,
|
126
|
+
strong {
|
127
|
+
font-weight: bold;
|
128
|
+
}
|
142
129
|
|
143
|
-
|
144
|
-
*
|
130
|
+
/**
|
131
|
+
* Address styling not present in Safari 5 and Chrome.
|
145
132
|
*/
|
146
133
|
|
147
134
|
dfn {
|
148
|
-
|
135
|
+
font-style: italic;
|
136
|
+
}
|
149
137
|
|
150
|
-
|
151
|
-
*
|
138
|
+
/**
|
139
|
+
* Address differences between Firefox and other browsers.
|
152
140
|
*/
|
153
141
|
|
154
|
-
|
155
|
-
|
156
|
-
|
142
|
+
hr {
|
143
|
+
-moz-box-sizing: content-box;
|
144
|
+
box-sizing: content-box;
|
145
|
+
height: 0;
|
146
|
+
}
|
157
147
|
|
158
|
-
|
159
|
-
*
|
148
|
+
/**
|
149
|
+
* Address styling not present in IE 8/9.
|
160
150
|
*/
|
161
151
|
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
margin: 1em 0;
|
167
|
-
font-family: monospace, serif;
|
168
|
-
_font-family: 'courier new', monospace;
|
169
|
-
font-size: 1em; }
|
152
|
+
mark {
|
153
|
+
background: #ff0;
|
154
|
+
color: #000;
|
155
|
+
}
|
170
156
|
|
171
|
-
|
172
|
-
*
|
173
|
-
* en.wikipedia.org/wiki/User:Davidgothberg/Test59
|
157
|
+
/**
|
158
|
+
* Correct font family set oddly in Safari 5 and Chrome.
|
174
159
|
*/
|
175
160
|
|
176
|
-
code,
|
177
|
-
|
178
|
-
|
179
|
-
|
161
|
+
code,
|
162
|
+
kbd,
|
163
|
+
pre,
|
164
|
+
samp {
|
165
|
+
font-family: monospace, serif;
|
166
|
+
font-size: 1em;
|
167
|
+
}
|
180
168
|
|
181
|
-
|
182
|
-
*
|
169
|
+
/**
|
170
|
+
* Improve readability of pre-formatted text in all browsers.
|
183
171
|
*/
|
184
172
|
|
185
173
|
pre {
|
186
|
-
|
187
|
-
|
188
|
-
word-wrap: break-word; }
|
174
|
+
white-space: pre-wrap;
|
175
|
+
}
|
189
176
|
|
190
|
-
|
191
|
-
*
|
192
|
-
* 2. Addresses quote property not supported in S4
|
177
|
+
/**
|
178
|
+
* Set consistent quote types.
|
193
179
|
*/
|
194
180
|
|
195
|
-
/* 1 */
|
196
|
-
|
197
181
|
q {
|
198
|
-
|
199
|
-
|
200
|
-
content: '';
|
201
|
-
content: none; } }
|
182
|
+
quotes: "\201C" "\201D" "\2018" "\2019";
|
183
|
+
}
|
202
184
|
|
203
|
-
|
185
|
+
/**
|
186
|
+
* Address inconsistent and variable font size in all browsers.
|
187
|
+
*/
|
204
188
|
|
205
189
|
small {
|
206
|
-
|
190
|
+
font-size: 80%;
|
191
|
+
}
|
207
192
|
|
208
|
-
|
209
|
-
*
|
210
|
-
* gist.github.com/413930
|
193
|
+
/**
|
194
|
+
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
|
211
195
|
*/
|
212
196
|
|
213
|
-
sub
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
197
|
+
sub,
|
198
|
+
sup {
|
199
|
+
font-size: 75%;
|
200
|
+
line-height: 0;
|
201
|
+
position: relative;
|
202
|
+
vertical-align: baseline;
|
203
|
+
}
|
218
204
|
|
219
205
|
sup {
|
220
|
-
|
221
|
-
|
222
|
-
position: relative;
|
223
|
-
vertical-align: baseline;
|
224
|
-
top: -0.5em; }
|
206
|
+
top: -0.5em;
|
207
|
+
}
|
225
208
|
|
226
209
|
sub {
|
227
|
-
|
228
|
-
|
229
|
-
/* =============================================================================
|
230
|
-
Lists
|
231
|
-
========================================================================== */
|
232
|
-
|
233
|
-
/*
|
234
|
-
* Addresses margins set differently in IE6/7
|
235
|
-
*/
|
236
|
-
|
237
|
-
dl, menu, ol, ul {
|
238
|
-
margin: 1em 0; }
|
239
|
-
|
240
|
-
dd {
|
241
|
-
margin: 0 0 0 40px; }
|
242
|
-
|
243
|
-
/*
|
244
|
-
* Addresses paddings set differently in IE6/7
|
245
|
-
*/
|
246
|
-
|
247
|
-
menu, ol, ul {
|
248
|
-
padding: 0 0 0 40px; }
|
249
|
-
|
250
|
-
/*
|
251
|
-
* Corrects list images handled incorrectly in IE7
|
252
|
-
*/
|
210
|
+
bottom: -0.25em;
|
211
|
+
}
|
253
212
|
|
254
|
-
|
255
|
-
ul, ol {
|
256
|
-
list-style: none;
|
257
|
-
list-style-image: none; } }
|
258
|
-
|
259
|
-
/* =============================================================================
|
213
|
+
/* ==========================================================================
|
260
214
|
Embedded content
|
261
215
|
========================================================================== */
|
262
216
|
|
263
|
-
|
264
|
-
*
|
265
|
-
* 2. Improves image quality when scaled in IE7
|
266
|
-
* code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
|
217
|
+
/**
|
218
|
+
* Remove border when inside `a` element in IE 8/9.
|
267
219
|
*/
|
268
220
|
|
269
221
|
img {
|
270
|
-
|
271
|
-
|
272
|
-
-ms-interpolation-mode: bicubic;
|
273
|
-
/* 2 */ }
|
222
|
+
border: 0;
|
223
|
+
}
|
274
224
|
|
275
|
-
|
276
|
-
*
|
225
|
+
/**
|
226
|
+
* Correct overflow displayed oddly in IE 9.
|
277
227
|
*/
|
278
228
|
|
279
229
|
svg:not(:root) {
|
280
|
-
|
230
|
+
overflow: hidden;
|
231
|
+
}
|
281
232
|
|
282
|
-
/*
|
233
|
+
/* ==========================================================================
|
283
234
|
Figures
|
284
235
|
========================================================================== */
|
285
236
|
|
286
|
-
|
287
|
-
*
|
237
|
+
/**
|
238
|
+
* Address margin not present in IE 8/9 and Safari 5.
|
288
239
|
*/
|
289
240
|
|
290
|
-
figure
|
291
|
-
|
241
|
+
figure {
|
242
|
+
margin: 0;
|
243
|
+
}
|
292
244
|
|
293
|
-
/*
|
245
|
+
/* ==========================================================================
|
294
246
|
Forms
|
295
247
|
========================================================================== */
|
296
248
|
|
297
|
-
|
298
|
-
*
|
299
|
-
*/
|
300
|
-
|
301
|
-
/*
|
302
|
-
* Define consistent border, margin, and padding
|
249
|
+
/**
|
250
|
+
* Define consistent border, margin, and padding.
|
303
251
|
*/
|
304
252
|
|
305
253
|
fieldset {
|
306
|
-
|
307
|
-
|
308
|
-
|
254
|
+
border: 1px solid #c0c0c0;
|
255
|
+
margin: 0 2px;
|
256
|
+
padding: 0.35em 0.625em 0.75em;
|
257
|
+
}
|
309
258
|
|
310
|
-
|
311
|
-
* 1.
|
312
|
-
* 2.
|
313
|
-
* 3. Corrects alignment displayed oddly in IE6/7
|
259
|
+
/**
|
260
|
+
* 1. Correct `color` not being inherited in IE 8/9.
|
261
|
+
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
314
262
|
*/
|
315
263
|
|
316
264
|
legend {
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
white-space: normal;
|
321
|
-
/* 2 */
|
322
|
-
*margin-left: -7px;
|
323
|
-
/* 3 */ }
|
324
|
-
|
325
|
-
/*
|
326
|
-
* 1. Corrects font size not being inherited in all browsers
|
327
|
-
* 2. Addresses margins set differently in IE6/7, FF3+, S5, Chrome
|
328
|
-
* 3. Improves appearance and consistency in all browsers
|
329
|
-
*/
|
330
|
-
|
331
|
-
button, input, select, textarea {
|
332
|
-
font-size: 100%;
|
333
|
-
/* 1 */
|
334
|
-
margin: 0;
|
335
|
-
/* 2 */
|
336
|
-
vertical-align: baseline;
|
337
|
-
/* 3 */
|
338
|
-
*vertical-align: middle;
|
339
|
-
/* 3 */ }
|
340
|
-
|
341
|
-
/*
|
342
|
-
* Addresses FF3/4 setting line-height on 'input' using !important in the UA stylesheet
|
343
|
-
*/
|
344
|
-
|
345
|
-
button, input {
|
346
|
-
line-height: normal;
|
347
|
-
/* 1 */ }
|
348
|
-
|
349
|
-
/*
|
350
|
-
* 1. Improves usability and consistency of cursor style between image-type 'input' and others
|
351
|
-
* 2. Corrects inability to style clickable 'input' types in iOS
|
352
|
-
* 3. Removes inner spacing in IE7 without affecting normal text inputs
|
353
|
-
* Known issue: inner spacing remains in IE6
|
354
|
-
*/
|
355
|
-
|
356
|
-
button {
|
357
|
-
cursor: pointer;
|
358
|
-
/* 1 */
|
359
|
-
-webkit-appearance: button;
|
360
|
-
/* 2 */
|
361
|
-
*overflow: visible;
|
362
|
-
/* 3 */ }
|
265
|
+
border: 0; /* 1 */
|
266
|
+
padding: 0; /* 2 */
|
267
|
+
}
|
363
268
|
|
269
|
+
/**
|
270
|
+
* 1. Correct font family not being inherited in all browsers.
|
271
|
+
* 2. Correct font size not being inherited in all browsers.
|
272
|
+
* 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
|
273
|
+
*/
|
274
|
+
|
275
|
+
button,
|
276
|
+
input,
|
277
|
+
select,
|
278
|
+
textarea {
|
279
|
+
font-family: inherit; /* 1 */
|
280
|
+
font-size: 100%; /* 2 */
|
281
|
+
margin: 0; /* 3 */
|
282
|
+
}
|
283
|
+
|
284
|
+
/**
|
285
|
+
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
|
286
|
+
* the UA stylesheet.
|
287
|
+
*/
|
288
|
+
|
289
|
+
button,
|
364
290
|
input {
|
365
|
-
|
366
|
-
|
367
|
-
/* 1 */
|
368
|
-
-webkit-appearance: button;
|
369
|
-
/* 2 */
|
370
|
-
*overflow: visible;
|
371
|
-
/* 3 */ } }
|
291
|
+
line-height: normal;
|
292
|
+
}
|
372
293
|
|
373
|
-
|
374
|
-
*
|
294
|
+
/**
|
295
|
+
* Address inconsistent `text-transform` inheritance for `button` and `select`.
|
296
|
+
* All other form control elements do not inherit `text-transform` values.
|
297
|
+
* Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
|
298
|
+
* Correct `select` style inheritance in Firefox 4+ and Opera.
|
375
299
|
*/
|
376
300
|
|
377
|
-
button
|
378
|
-
|
301
|
+
button,
|
302
|
+
select {
|
303
|
+
text-transform: none;
|
304
|
+
}
|
379
305
|
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
&::-webkit-search-decoration, &::-webkit-search-cancel-button {
|
400
|
-
-webkit-appearance: none; } } }
|
306
|
+
/**
|
307
|
+
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
308
|
+
* and `video` controls.
|
309
|
+
* 2. Correct inability to style clickable `input` types in iOS.
|
310
|
+
* 3. Improve usability and consistency of cursor style between image-type
|
311
|
+
* `input` and others.
|
312
|
+
*/
|
313
|
+
|
314
|
+
button,
|
315
|
+
html input[type="button"], /* 1 */
|
316
|
+
input[type="reset"],
|
317
|
+
input[type="submit"] {
|
318
|
+
-webkit-appearance: button; /* 2 */
|
319
|
+
cursor: pointer; /* 3 */
|
320
|
+
}
|
321
|
+
|
322
|
+
/**
|
323
|
+
* Re-set default cursor for disabled elements.
|
324
|
+
*/
|
401
325
|
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
326
|
+
button[disabled],
|
327
|
+
html input[disabled] {
|
328
|
+
cursor: default;
|
329
|
+
}
|
330
|
+
|
331
|
+
/**
|
332
|
+
* 1. Address box sizing set to `content-box` in IE 8/9.
|
333
|
+
* 2. Remove excess padding in IE 8/9.
|
407
334
|
*/
|
408
335
|
|
409
|
-
|
410
|
-
|
411
|
-
|
336
|
+
input[type="checkbox"],
|
337
|
+
input[type="radio"] {
|
338
|
+
box-sizing: border-box; /* 1 */
|
339
|
+
padding: 0; /* 2 */
|
340
|
+
}
|
341
|
+
|
342
|
+
/**
|
343
|
+
* 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
|
344
|
+
* 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
|
345
|
+
* (include `-moz` to future-proof).
|
412
346
|
*/
|
413
347
|
|
414
|
-
|
415
|
-
|
348
|
+
input[type="search"] {
|
349
|
+
-webkit-appearance: textfield; /* 1 */
|
350
|
+
-moz-box-sizing: content-box;
|
351
|
+
-webkit-box-sizing: content-box; /* 2 */
|
352
|
+
box-sizing: content-box;
|
353
|
+
}
|
354
|
+
|
355
|
+
/**
|
356
|
+
* Remove inner padding and search cancel button in Safari 5 and Chrome
|
357
|
+
* on OS X.
|
416
358
|
*/
|
417
359
|
|
418
|
-
|
419
|
-
|
420
|
-
|
360
|
+
input[type="search"]::-webkit-search-cancel-button,
|
361
|
+
input[type="search"]::-webkit-search-decoration {
|
362
|
+
-webkit-appearance: none;
|
363
|
+
}
|
364
|
+
|
365
|
+
/**
|
366
|
+
* Remove inner padding and border in Firefox 4+.
|
421
367
|
*/
|
422
368
|
|
423
|
-
button::-moz-focus-inner,
|
424
|
-
|
425
|
-
|
369
|
+
button::-moz-focus-inner,
|
370
|
+
input::-moz-focus-inner {
|
371
|
+
border: 0;
|
372
|
+
padding: 0;
|
373
|
+
}
|
426
374
|
|
427
|
-
|
428
|
-
* 1.
|
429
|
-
* 2.
|
375
|
+
/**
|
376
|
+
* 1. Remove default vertical scrollbar in IE 8/9.
|
377
|
+
* 2. Improve readability and alignment in all browsers.
|
430
378
|
*/
|
431
379
|
|
432
380
|
textarea {
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
/* 2 */ }
|
381
|
+
overflow: auto; /* 1 */
|
382
|
+
vertical-align: top; /* 2 */
|
383
|
+
}
|
437
384
|
|
438
|
-
/*
|
385
|
+
/* ==========================================================================
|
439
386
|
Tables
|
440
387
|
========================================================================== */
|
441
388
|
|
442
|
-
|
443
|
-
* Remove most spacing between table cells
|
389
|
+
/**
|
390
|
+
* Remove most spacing between table cells.
|
444
391
|
*/
|
445
392
|
|
446
393
|
table {
|
447
|
-
|
448
|
-
|
394
|
+
border-collapse: collapse;
|
395
|
+
border-spacing: 0;
|
396
|
+
}
|