mui-sass 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/mui/sass/version.rb +1 -1
- data/vendor/assets/javascripts/mui.js +6 -2
- data/vendor/assets/stylesheets/_mui.scss +1 -1
- data/vendor/assets/stylesheets/mui/normalize-5.0.0.scss +461 -0
- metadata +2 -2
- data/vendor/assets/stylesheets/mui/normalize-3.0.3.scss +0 -424
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fda99fbf6c0197ad1d313f824b5004f71b6ab82d
|
4
|
+
data.tar.gz: b9b0309b4ca88b7cf2990e32b4d7e73245e0f0db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11af104336270b294ee9aa15fa83bd6f5fecaec3dbb0ac8643265df354af1e3b1b356d0bcb73a814cab04df61cf8fa25ec7fecbb343b0a6de150e65cf986f477
|
7
|
+
data.tar.gz: 1127f14eb9c774dbcba2d5905a2a2e89278fd32c2e23b3f2e31d59a1bb2cddf02145e724fd859757d3cbdfc94fcd467828afd7220b67c32cd8ba5a37b4e1827b
|
data/CHANGELOG.md
CHANGED
data/lib/mui/sass/version.rb
CHANGED
@@ -1589,6 +1589,7 @@ Menu.prototype._createMenuEl = function(wrapperEl, selectEl) {
|
|
1589
1589
|
itemPos = 0,
|
1590
1590
|
selectedPos = 0,
|
1591
1591
|
selectedRow = 0,
|
1592
|
+
docFrag = document.createDocumentFragment(), // for speed
|
1592
1593
|
loopEl,
|
1593
1594
|
rowEl,
|
1594
1595
|
optionEls,
|
@@ -1608,7 +1609,7 @@ Menu.prototype._createMenuEl = function(wrapperEl, selectEl) {
|
|
1608
1609
|
rowEl = doc.createElement('div');
|
1609
1610
|
rowEl.textContent = loopEl.label;
|
1610
1611
|
rowEl.className = 'mui-optgroup__label';
|
1611
|
-
|
1612
|
+
docFrag.appendChild(rowEl);
|
1612
1613
|
|
1613
1614
|
inGroup = true;
|
1614
1615
|
optionEls = loopEl.children;
|
@@ -1648,10 +1649,13 @@ Menu.prototype._createMenuEl = function(wrapperEl, selectEl) {
|
|
1648
1649
|
itemPos += 1;
|
1649
1650
|
}
|
1650
1651
|
|
1651
|
-
|
1652
|
+
docFrag.appendChild(rowEl);
|
1652
1653
|
}
|
1653
1654
|
}
|
1654
1655
|
|
1656
|
+
// add rows to menu
|
1657
|
+
menuEl.appendChild(docFrag);
|
1658
|
+
|
1655
1659
|
// save indices
|
1656
1660
|
this.origPos = selectedPos;
|
1657
1661
|
this.currentPos = selectedPos;
|
@@ -0,0 +1,461 @@
|
|
1
|
+
/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */
|
2
|
+
|
3
|
+
/**
|
4
|
+
* 1. Change the default font family in all browsers (opinionated).
|
5
|
+
* 2. Correct the line height in all browsers.
|
6
|
+
* 3. Prevent adjustments of font size after orientation changes in
|
7
|
+
* IE on Windows Phone and in iOS.
|
8
|
+
*/
|
9
|
+
|
10
|
+
/* Document
|
11
|
+
========================================================================== */
|
12
|
+
|
13
|
+
html {
|
14
|
+
font-family: sans-serif; /* 1 */
|
15
|
+
line-height: 1.15; /* 2 */
|
16
|
+
-ms-text-size-adjust: 100%; /* 3 */
|
17
|
+
-webkit-text-size-adjust: 100%; /* 3 */
|
18
|
+
}
|
19
|
+
|
20
|
+
/* Sections
|
21
|
+
========================================================================== */
|
22
|
+
|
23
|
+
/**
|
24
|
+
* Remove the margin in all browsers (opinionated).
|
25
|
+
*/
|
26
|
+
|
27
|
+
body {
|
28
|
+
margin: 0;
|
29
|
+
}
|
30
|
+
|
31
|
+
/**
|
32
|
+
* Add the correct display in IE 9-.
|
33
|
+
*/
|
34
|
+
|
35
|
+
article,
|
36
|
+
aside,
|
37
|
+
footer,
|
38
|
+
header,
|
39
|
+
nav,
|
40
|
+
section {
|
41
|
+
display: block;
|
42
|
+
}
|
43
|
+
|
44
|
+
/**
|
45
|
+
* Correct the font size and margin on `h1` elements within `section` and
|
46
|
+
* `article` contexts in Chrome, Firefox, and Safari.
|
47
|
+
*/
|
48
|
+
|
49
|
+
h1 {
|
50
|
+
font-size: 2em;
|
51
|
+
margin: 0.67em 0;
|
52
|
+
}
|
53
|
+
|
54
|
+
/* Grouping content
|
55
|
+
========================================================================== */
|
56
|
+
|
57
|
+
/**
|
58
|
+
* Add the correct display in IE 9-.
|
59
|
+
* 1. Add the correct display in IE.
|
60
|
+
*/
|
61
|
+
|
62
|
+
figcaption,
|
63
|
+
figure,
|
64
|
+
main { /* 1 */
|
65
|
+
display: block;
|
66
|
+
}
|
67
|
+
|
68
|
+
/**
|
69
|
+
* Add the correct margin in IE 8.
|
70
|
+
*/
|
71
|
+
|
72
|
+
figure {
|
73
|
+
margin: 1em 40px;
|
74
|
+
}
|
75
|
+
|
76
|
+
/**
|
77
|
+
* 1. Add the correct box sizing in Firefox.
|
78
|
+
* 2. Show the overflow in Edge and IE.
|
79
|
+
*/
|
80
|
+
|
81
|
+
hr {
|
82
|
+
box-sizing: content-box; /* 1 */
|
83
|
+
height: 0; /* 1 */
|
84
|
+
overflow: visible; /* 2 */
|
85
|
+
}
|
86
|
+
|
87
|
+
/**
|
88
|
+
* 1. Correct the inheritance and scaling of font size in all browsers.
|
89
|
+
* 2. Correct the odd `em` font sizing in all browsers.
|
90
|
+
*/
|
91
|
+
|
92
|
+
pre {
|
93
|
+
font-family: monospace, monospace; /* 1 */
|
94
|
+
font-size: 1em; /* 2 */
|
95
|
+
}
|
96
|
+
|
97
|
+
/* Text-level semantics
|
98
|
+
========================================================================== */
|
99
|
+
|
100
|
+
/**
|
101
|
+
* 1. Remove the gray background on active links in IE 10.
|
102
|
+
* 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
|
103
|
+
*/
|
104
|
+
|
105
|
+
a {
|
106
|
+
background-color: transparent; /* 1 */
|
107
|
+
-webkit-text-decoration-skip: objects; /* 2 */
|
108
|
+
}
|
109
|
+
|
110
|
+
/**
|
111
|
+
* Remove the outline on focused links when they are also active or hovered
|
112
|
+
* in all browsers (opinionated).
|
113
|
+
*/
|
114
|
+
|
115
|
+
a:active,
|
116
|
+
a:hover {
|
117
|
+
outline-width: 0;
|
118
|
+
}
|
119
|
+
|
120
|
+
/**
|
121
|
+
* 1. Remove the bottom border in Firefox 39-.
|
122
|
+
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
|
123
|
+
*/
|
124
|
+
|
125
|
+
abbr[title] {
|
126
|
+
border-bottom: none; /* 1 */
|
127
|
+
text-decoration: underline; /* 2 */
|
128
|
+
text-decoration: underline dotted; /* 2 */
|
129
|
+
}
|
130
|
+
|
131
|
+
/**
|
132
|
+
* Prevent the duplicate application of `bolder` by the next rule in Safari 6.
|
133
|
+
*/
|
134
|
+
|
135
|
+
b,
|
136
|
+
strong {
|
137
|
+
font-weight: inherit;
|
138
|
+
}
|
139
|
+
|
140
|
+
/**
|
141
|
+
* Add the correct font weight in Chrome, Edge, and Safari.
|
142
|
+
*/
|
143
|
+
|
144
|
+
b,
|
145
|
+
strong {
|
146
|
+
font-weight: bolder;
|
147
|
+
}
|
148
|
+
|
149
|
+
/**
|
150
|
+
* 1. Correct the inheritance and scaling of font size in all browsers.
|
151
|
+
* 2. Correct the odd `em` font sizing in all browsers.
|
152
|
+
*/
|
153
|
+
|
154
|
+
code,
|
155
|
+
kbd,
|
156
|
+
samp {
|
157
|
+
font-family: monospace, monospace; /* 1 */
|
158
|
+
font-size: 1em; /* 2 */
|
159
|
+
}
|
160
|
+
|
161
|
+
/**
|
162
|
+
* Add the correct font style in Android 4.3-.
|
163
|
+
*/
|
164
|
+
|
165
|
+
dfn {
|
166
|
+
font-style: italic;
|
167
|
+
}
|
168
|
+
|
169
|
+
/**
|
170
|
+
* Add the correct background and color in IE 9-.
|
171
|
+
*/
|
172
|
+
|
173
|
+
mark {
|
174
|
+
background-color: #ff0;
|
175
|
+
color: #000;
|
176
|
+
}
|
177
|
+
|
178
|
+
/**
|
179
|
+
* Add the correct font size in all browsers.
|
180
|
+
*/
|
181
|
+
|
182
|
+
small {
|
183
|
+
font-size: 80%;
|
184
|
+
}
|
185
|
+
|
186
|
+
/**
|
187
|
+
* Prevent `sub` and `sup` elements from affecting the line height in
|
188
|
+
* all browsers.
|
189
|
+
*/
|
190
|
+
|
191
|
+
sub,
|
192
|
+
sup {
|
193
|
+
font-size: 75%;
|
194
|
+
line-height: 0;
|
195
|
+
position: relative;
|
196
|
+
vertical-align: baseline;
|
197
|
+
}
|
198
|
+
|
199
|
+
sub {
|
200
|
+
bottom: -0.25em;
|
201
|
+
}
|
202
|
+
|
203
|
+
sup {
|
204
|
+
top: -0.5em;
|
205
|
+
}
|
206
|
+
|
207
|
+
/* Embedded content
|
208
|
+
========================================================================== */
|
209
|
+
|
210
|
+
/**
|
211
|
+
* Add the correct display in IE 9-.
|
212
|
+
*/
|
213
|
+
|
214
|
+
audio,
|
215
|
+
video {
|
216
|
+
display: inline-block;
|
217
|
+
}
|
218
|
+
|
219
|
+
/**
|
220
|
+
* Add the correct display in iOS 4-7.
|
221
|
+
*/
|
222
|
+
|
223
|
+
audio:not([controls]) {
|
224
|
+
display: none;
|
225
|
+
height: 0;
|
226
|
+
}
|
227
|
+
|
228
|
+
/**
|
229
|
+
* Remove the border on images inside links in IE 10-.
|
230
|
+
*/
|
231
|
+
|
232
|
+
img {
|
233
|
+
border-style: none;
|
234
|
+
}
|
235
|
+
|
236
|
+
/**
|
237
|
+
* Hide the overflow in IE.
|
238
|
+
*/
|
239
|
+
|
240
|
+
svg:not(:root) {
|
241
|
+
overflow: hidden;
|
242
|
+
}
|
243
|
+
|
244
|
+
/* Forms
|
245
|
+
========================================================================== */
|
246
|
+
|
247
|
+
/**
|
248
|
+
* 1. Change the font styles in all browsers (opinionated).
|
249
|
+
* 2. Remove the margin in Firefox and Safari.
|
250
|
+
*/
|
251
|
+
|
252
|
+
button,
|
253
|
+
input,
|
254
|
+
optgroup,
|
255
|
+
select,
|
256
|
+
textarea {
|
257
|
+
font-family: sans-serif; /* 1 */
|
258
|
+
font-size: 100%; /* 1 */
|
259
|
+
line-height: 1.15; /* 1 */
|
260
|
+
margin: 0; /* 2 */
|
261
|
+
}
|
262
|
+
|
263
|
+
/**
|
264
|
+
* Show the overflow in IE.
|
265
|
+
* 1. Show the overflow in Edge.
|
266
|
+
*/
|
267
|
+
|
268
|
+
button,
|
269
|
+
input { /* 1 */
|
270
|
+
overflow: visible;
|
271
|
+
}
|
272
|
+
|
273
|
+
/**
|
274
|
+
* Remove the inheritance of text transform in Edge, Firefox, and IE.
|
275
|
+
* 1. Remove the inheritance of text transform in Firefox.
|
276
|
+
*/
|
277
|
+
|
278
|
+
button,
|
279
|
+
select { /* 1 */
|
280
|
+
text-transform: none;
|
281
|
+
}
|
282
|
+
|
283
|
+
/**
|
284
|
+
* 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
|
285
|
+
* controls in Android 4.
|
286
|
+
* 2. Correct the inability to style clickable types in iOS and Safari.
|
287
|
+
*/
|
288
|
+
|
289
|
+
button,
|
290
|
+
html [type="button"], /* 1 */
|
291
|
+
[type="reset"],
|
292
|
+
[type="submit"] {
|
293
|
+
-webkit-appearance: button; /* 2 */
|
294
|
+
}
|
295
|
+
|
296
|
+
/**
|
297
|
+
* Remove the inner border and padding in Firefox.
|
298
|
+
*/
|
299
|
+
|
300
|
+
button::-moz-focus-inner,
|
301
|
+
[type="button"]::-moz-focus-inner,
|
302
|
+
[type="reset"]::-moz-focus-inner,
|
303
|
+
[type="submit"]::-moz-focus-inner {
|
304
|
+
border-style: none;
|
305
|
+
padding: 0;
|
306
|
+
}
|
307
|
+
|
308
|
+
/**
|
309
|
+
* Restore the focus styles unset by the previous rule.
|
310
|
+
*/
|
311
|
+
|
312
|
+
button:-moz-focusring,
|
313
|
+
[type="button"]:-moz-focusring,
|
314
|
+
[type="reset"]:-moz-focusring,
|
315
|
+
[type="submit"]:-moz-focusring {
|
316
|
+
outline: 1px dotted ButtonText;
|
317
|
+
}
|
318
|
+
|
319
|
+
/**
|
320
|
+
* Change the border, margin, and padding in all browsers (opinionated).
|
321
|
+
*/
|
322
|
+
|
323
|
+
fieldset {
|
324
|
+
border: 1px solid #c0c0c0;
|
325
|
+
margin: 0 2px;
|
326
|
+
padding: 0.35em 0.625em 0.75em;
|
327
|
+
}
|
328
|
+
|
329
|
+
/**
|
330
|
+
* 1. Correct the text wrapping in Edge and IE.
|
331
|
+
* 2. Correct the color inheritance from `fieldset` elements in IE.
|
332
|
+
* 3. Remove the padding so developers are not caught out when they zero out
|
333
|
+
* `fieldset` elements in all browsers.
|
334
|
+
*/
|
335
|
+
|
336
|
+
legend {
|
337
|
+
box-sizing: border-box; /* 1 */
|
338
|
+
color: inherit; /* 2 */
|
339
|
+
display: table; /* 1 */
|
340
|
+
max-width: 100%; /* 1 */
|
341
|
+
padding: 0; /* 3 */
|
342
|
+
white-space: normal; /* 1 */
|
343
|
+
}
|
344
|
+
|
345
|
+
/**
|
346
|
+
* 1. Add the correct display in IE 9-.
|
347
|
+
* 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
|
348
|
+
*/
|
349
|
+
|
350
|
+
progress {
|
351
|
+
display: inline-block; /* 1 */
|
352
|
+
vertical-align: baseline; /* 2 */
|
353
|
+
}
|
354
|
+
|
355
|
+
/**
|
356
|
+
* Remove the default vertical scrollbar in IE.
|
357
|
+
*/
|
358
|
+
|
359
|
+
textarea {
|
360
|
+
overflow: auto;
|
361
|
+
}
|
362
|
+
|
363
|
+
/**
|
364
|
+
* 1. Add the correct box sizing in IE 10-.
|
365
|
+
* 2. Remove the padding in IE 10-.
|
366
|
+
*/
|
367
|
+
|
368
|
+
[type="checkbox"],
|
369
|
+
[type="radio"] {
|
370
|
+
box-sizing: border-box; /* 1 */
|
371
|
+
padding: 0; /* 2 */
|
372
|
+
}
|
373
|
+
|
374
|
+
/**
|
375
|
+
* Correct the cursor style of increment and decrement buttons in Chrome.
|
376
|
+
*/
|
377
|
+
|
378
|
+
[type="number"]::-webkit-inner-spin-button,
|
379
|
+
[type="number"]::-webkit-outer-spin-button {
|
380
|
+
height: auto;
|
381
|
+
}
|
382
|
+
|
383
|
+
/**
|
384
|
+
* 1. Correct the odd appearance in Chrome and Safari.
|
385
|
+
* 2. Correct the outline style in Safari.
|
386
|
+
*/
|
387
|
+
|
388
|
+
[type="search"] {
|
389
|
+
-webkit-appearance: textfield; /* 1 */
|
390
|
+
outline-offset: -2px; /* 2 */
|
391
|
+
}
|
392
|
+
|
393
|
+
/**
|
394
|
+
* Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
|
395
|
+
*/
|
396
|
+
|
397
|
+
[type="search"]::-webkit-search-cancel-button,
|
398
|
+
[type="search"]::-webkit-search-decoration {
|
399
|
+
-webkit-appearance: none;
|
400
|
+
}
|
401
|
+
|
402
|
+
/**
|
403
|
+
* 1. Correct the inability to style clickable types in iOS and Safari.
|
404
|
+
* 2. Change font properties to `inherit` in Safari.
|
405
|
+
*/
|
406
|
+
|
407
|
+
::-webkit-file-upload-button {
|
408
|
+
-webkit-appearance: button; /* 1 */
|
409
|
+
font: inherit; /* 2 */
|
410
|
+
}
|
411
|
+
|
412
|
+
/* Interactive
|
413
|
+
========================================================================== */
|
414
|
+
|
415
|
+
/*
|
416
|
+
* Add the correct display in IE 9-.
|
417
|
+
* 1. Add the correct display in Edge, IE, and Firefox.
|
418
|
+
*/
|
419
|
+
|
420
|
+
details, /* 1 */
|
421
|
+
menu {
|
422
|
+
display: block;
|
423
|
+
}
|
424
|
+
|
425
|
+
/*
|
426
|
+
* Add the correct display in all browsers.
|
427
|
+
*/
|
428
|
+
|
429
|
+
summary {
|
430
|
+
display: list-item;
|
431
|
+
}
|
432
|
+
|
433
|
+
/* Scripting
|
434
|
+
========================================================================== */
|
435
|
+
|
436
|
+
/**
|
437
|
+
* Add the correct display in IE 9-.
|
438
|
+
*/
|
439
|
+
|
440
|
+
canvas {
|
441
|
+
display: inline-block;
|
442
|
+
}
|
443
|
+
|
444
|
+
/**
|
445
|
+
* Add the correct display in IE.
|
446
|
+
*/
|
447
|
+
|
448
|
+
template {
|
449
|
+
display: none;
|
450
|
+
}
|
451
|
+
|
452
|
+
/* Hidden
|
453
|
+
========================================================================== */
|
454
|
+
|
455
|
+
/**
|
456
|
+
* Add the correct display in IE 10-.
|
457
|
+
*/
|
458
|
+
|
459
|
+
[hidden] {
|
460
|
+
display: none;
|
461
|
+
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mui-sass
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dmitriy Tarasov
|
@@ -102,7 +102,7 @@ files:
|
|
102
102
|
- vendor/assets/stylesheets/mui/mixins/_grid-framework.scss
|
103
103
|
- vendor/assets/stylesheets/mui/mixins/_typography.scss
|
104
104
|
- vendor/assets/stylesheets/mui/mixins/_util.scss
|
105
|
-
- vendor/assets/stylesheets/mui/normalize-
|
105
|
+
- vendor/assets/stylesheets/mui/normalize-5.0.0.scss
|
106
106
|
homepage: https://github.com/rubysamurai/mui-sass
|
107
107
|
licenses:
|
108
108
|
- MIT
|
@@ -1,424 +0,0 @@
|
|
1
|
-
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
|
2
|
-
|
3
|
-
/**
|
4
|
-
* 1. Set default font family to sans-serif.
|
5
|
-
* 2. Prevent iOS and IE text size adjust after device orientation change,
|
6
|
-
* without disabling user zoom.
|
7
|
-
*/
|
8
|
-
|
9
|
-
html {
|
10
|
-
font-family: sans-serif; /* 1 */
|
11
|
-
-ms-text-size-adjust: 100%; /* 2 */
|
12
|
-
-webkit-text-size-adjust: 100%; /* 2 */
|
13
|
-
}
|
14
|
-
|
15
|
-
/**
|
16
|
-
* Remove default margin.
|
17
|
-
*/
|
18
|
-
|
19
|
-
body {
|
20
|
-
margin: 0;
|
21
|
-
}
|
22
|
-
|
23
|
-
/* HTML5 display definitions
|
24
|
-
========================================================================== */
|
25
|
-
|
26
|
-
/**
|
27
|
-
* Correct `block` display not defined for any HTML5 element in IE 8/9.
|
28
|
-
* Correct `block` display not defined for `details` or `summary` in IE 10/11
|
29
|
-
* and Firefox.
|
30
|
-
* Correct `block` display not defined for `main` in IE 11.
|
31
|
-
*/
|
32
|
-
|
33
|
-
article,
|
34
|
-
aside,
|
35
|
-
details,
|
36
|
-
figcaption,
|
37
|
-
figure,
|
38
|
-
footer,
|
39
|
-
header,
|
40
|
-
hgroup,
|
41
|
-
main,
|
42
|
-
menu,
|
43
|
-
nav,
|
44
|
-
section,
|
45
|
-
summary {
|
46
|
-
display: block;
|
47
|
-
}
|
48
|
-
|
49
|
-
/**
|
50
|
-
* 1. Correct `inline-block` display not defined in IE 8/9.
|
51
|
-
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
|
52
|
-
*/
|
53
|
-
|
54
|
-
audio,
|
55
|
-
canvas,
|
56
|
-
progress,
|
57
|
-
video {
|
58
|
-
display: inline-block; /* 1 */
|
59
|
-
vertical-align: baseline; /* 2 */
|
60
|
-
}
|
61
|
-
|
62
|
-
/**
|
63
|
-
* Prevent modern browsers from displaying `audio` without controls.
|
64
|
-
* Remove excess height in iOS 5 devices.
|
65
|
-
*/
|
66
|
-
|
67
|
-
audio:not([controls]) {
|
68
|
-
display: none;
|
69
|
-
height: 0;
|
70
|
-
}
|
71
|
-
|
72
|
-
/**
|
73
|
-
* Address `[hidden]` styling not present in IE 8/9/10.
|
74
|
-
* Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.
|
75
|
-
*/
|
76
|
-
|
77
|
-
[hidden],
|
78
|
-
template {
|
79
|
-
display: none;
|
80
|
-
}
|
81
|
-
|
82
|
-
/* Links
|
83
|
-
========================================================================== */
|
84
|
-
|
85
|
-
/**
|
86
|
-
* Remove the gray background color from active links in IE 10.
|
87
|
-
*/
|
88
|
-
|
89
|
-
a {
|
90
|
-
background-color: transparent;
|
91
|
-
}
|
92
|
-
|
93
|
-
/**
|
94
|
-
* Improve readability of focused elements when they are also in an
|
95
|
-
* active/hover state.
|
96
|
-
*/
|
97
|
-
|
98
|
-
a:active,
|
99
|
-
a:hover {
|
100
|
-
outline: 0;
|
101
|
-
}
|
102
|
-
|
103
|
-
/* Text-level semantics
|
104
|
-
========================================================================== */
|
105
|
-
|
106
|
-
/**
|
107
|
-
* Address styling not present in IE 8/9/10/11, Safari, and Chrome.
|
108
|
-
*/
|
109
|
-
|
110
|
-
abbr[title] {
|
111
|
-
border-bottom: 1px dotted;
|
112
|
-
}
|
113
|
-
|
114
|
-
/**
|
115
|
-
* Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
|
116
|
-
*/
|
117
|
-
|
118
|
-
b,
|
119
|
-
strong {
|
120
|
-
font-weight: bold;
|
121
|
-
}
|
122
|
-
|
123
|
-
/**
|
124
|
-
* Address styling not present in Safari and Chrome.
|
125
|
-
*/
|
126
|
-
|
127
|
-
dfn {
|
128
|
-
font-style: italic;
|
129
|
-
}
|
130
|
-
|
131
|
-
/**
|
132
|
-
* Address variable `h1` font-size and margin within `section` and `article`
|
133
|
-
* contexts in Firefox 4+, Safari, and Chrome.
|
134
|
-
*/
|
135
|
-
|
136
|
-
h1 {
|
137
|
-
font-size: 2em;
|
138
|
-
margin: 0.67em 0;
|
139
|
-
}
|
140
|
-
|
141
|
-
/**
|
142
|
-
* Address styling not present in IE 8/9.
|
143
|
-
*/
|
144
|
-
|
145
|
-
mark {
|
146
|
-
background: #ff0;
|
147
|
-
color: #000;
|
148
|
-
}
|
149
|
-
|
150
|
-
/**
|
151
|
-
* Address inconsistent and variable font size in all browsers.
|
152
|
-
*/
|
153
|
-
|
154
|
-
small {
|
155
|
-
font-size: 80%;
|
156
|
-
}
|
157
|
-
|
158
|
-
/**
|
159
|
-
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
|
160
|
-
*/
|
161
|
-
|
162
|
-
sub,
|
163
|
-
sup {
|
164
|
-
font-size: 75%;
|
165
|
-
line-height: 0;
|
166
|
-
position: relative;
|
167
|
-
vertical-align: baseline;
|
168
|
-
}
|
169
|
-
|
170
|
-
sup {
|
171
|
-
top: -0.5em;
|
172
|
-
}
|
173
|
-
|
174
|
-
sub {
|
175
|
-
bottom: -0.25em;
|
176
|
-
}
|
177
|
-
|
178
|
-
/* Embedded content
|
179
|
-
========================================================================== */
|
180
|
-
|
181
|
-
/**
|
182
|
-
* Remove border when inside `a` element in IE 8/9/10.
|
183
|
-
*/
|
184
|
-
|
185
|
-
img {
|
186
|
-
border: 0;
|
187
|
-
}
|
188
|
-
|
189
|
-
/**
|
190
|
-
* Correct overflow not hidden in IE 9/10/11.
|
191
|
-
*/
|
192
|
-
|
193
|
-
svg:not(:root) {
|
194
|
-
overflow: hidden;
|
195
|
-
}
|
196
|
-
|
197
|
-
/* Grouping content
|
198
|
-
========================================================================== */
|
199
|
-
|
200
|
-
/**
|
201
|
-
* Address margin not present in IE 8/9 and Safari.
|
202
|
-
*/
|
203
|
-
|
204
|
-
figure {
|
205
|
-
margin: 1em 40px;
|
206
|
-
}
|
207
|
-
|
208
|
-
/**
|
209
|
-
* Address differences between Firefox and other browsers.
|
210
|
-
*/
|
211
|
-
|
212
|
-
hr {
|
213
|
-
box-sizing: content-box;
|
214
|
-
height: 0;
|
215
|
-
}
|
216
|
-
|
217
|
-
/**
|
218
|
-
* Contain overflow in all browsers.
|
219
|
-
*/
|
220
|
-
|
221
|
-
pre {
|
222
|
-
overflow: auto;
|
223
|
-
}
|
224
|
-
|
225
|
-
/**
|
226
|
-
* Address odd `em`-unit font size rendering in all browsers.
|
227
|
-
*/
|
228
|
-
|
229
|
-
code,
|
230
|
-
kbd,
|
231
|
-
pre,
|
232
|
-
samp {
|
233
|
-
font-family: monospace, monospace;
|
234
|
-
font-size: 1em;
|
235
|
-
}
|
236
|
-
|
237
|
-
/* Forms
|
238
|
-
========================================================================== */
|
239
|
-
|
240
|
-
/**
|
241
|
-
* Known limitation: by default, Chrome and Safari on OS X allow very limited
|
242
|
-
* styling of `select`, unless a `border` property is set.
|
243
|
-
*/
|
244
|
-
|
245
|
-
/**
|
246
|
-
* 1. Correct color not being inherited.
|
247
|
-
* Known issue: affects color of disabled elements.
|
248
|
-
* 2. Correct font properties not being inherited.
|
249
|
-
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
|
250
|
-
*/
|
251
|
-
|
252
|
-
button,
|
253
|
-
input,
|
254
|
-
optgroup,
|
255
|
-
select,
|
256
|
-
textarea {
|
257
|
-
color: inherit; /* 1 */
|
258
|
-
font: inherit; /* 2 */
|
259
|
-
margin: 0; /* 3 */
|
260
|
-
}
|
261
|
-
|
262
|
-
/**
|
263
|
-
* Address `overflow` set to `hidden` in IE 8/9/10/11.
|
264
|
-
*/
|
265
|
-
|
266
|
-
button {
|
267
|
-
overflow: visible;
|
268
|
-
}
|
269
|
-
|
270
|
-
/**
|
271
|
-
* Address inconsistent `text-transform` inheritance for `button` and `select`.
|
272
|
-
* All other form control elements do not inherit `text-transform` values.
|
273
|
-
* Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
|
274
|
-
* Correct `select` style inheritance in Firefox.
|
275
|
-
*/
|
276
|
-
|
277
|
-
button,
|
278
|
-
select {
|
279
|
-
text-transform: none;
|
280
|
-
}
|
281
|
-
|
282
|
-
/**
|
283
|
-
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
284
|
-
* and `video` controls.
|
285
|
-
* 2. Correct inability to style clickable `input` types in iOS.
|
286
|
-
* 3. Improve usability and consistency of cursor style between image-type
|
287
|
-
* `input` and others.
|
288
|
-
*/
|
289
|
-
|
290
|
-
button,
|
291
|
-
html input[type="button"], /* 1 */
|
292
|
-
input[type="reset"],
|
293
|
-
input[type="submit"] {
|
294
|
-
-webkit-appearance: button; /* 2 */
|
295
|
-
cursor: pointer; /* 3 */
|
296
|
-
}
|
297
|
-
|
298
|
-
/**
|
299
|
-
* Re-set default cursor for disabled elements.
|
300
|
-
*/
|
301
|
-
|
302
|
-
button[disabled],
|
303
|
-
html input[disabled] {
|
304
|
-
cursor: default;
|
305
|
-
}
|
306
|
-
|
307
|
-
/**
|
308
|
-
* Remove inner padding and border in Firefox 4+.
|
309
|
-
*/
|
310
|
-
|
311
|
-
button::-moz-focus-inner,
|
312
|
-
input::-moz-focus-inner {
|
313
|
-
border: 0;
|
314
|
-
padding: 0;
|
315
|
-
}
|
316
|
-
|
317
|
-
/**
|
318
|
-
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
|
319
|
-
* the UA stylesheet.
|
320
|
-
*/
|
321
|
-
|
322
|
-
input {
|
323
|
-
line-height: normal;
|
324
|
-
}
|
325
|
-
|
326
|
-
/**
|
327
|
-
* It's recommended that you don't attempt to style these elements.
|
328
|
-
* Firefox's implementation doesn't respect box-sizing, padding, or width.
|
329
|
-
*
|
330
|
-
* 1. Address box sizing set to `content-box` in IE 8/9/10.
|
331
|
-
* 2. Remove excess padding in IE 8/9/10.
|
332
|
-
*/
|
333
|
-
|
334
|
-
input[type="checkbox"],
|
335
|
-
input[type="radio"] {
|
336
|
-
box-sizing: border-box; /* 1 */
|
337
|
-
padding: 0; /* 2 */
|
338
|
-
}
|
339
|
-
|
340
|
-
/**
|
341
|
-
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
|
342
|
-
* `font-size` values of the `input`, it causes the cursor style of the
|
343
|
-
* decrement button to change from `default` to `text`.
|
344
|
-
*/
|
345
|
-
|
346
|
-
input[type="number"]::-webkit-inner-spin-button,
|
347
|
-
input[type="number"]::-webkit-outer-spin-button {
|
348
|
-
height: auto;
|
349
|
-
}
|
350
|
-
|
351
|
-
/**
|
352
|
-
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
|
353
|
-
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome.
|
354
|
-
*/
|
355
|
-
|
356
|
-
input[type="search"] {
|
357
|
-
-webkit-appearance: textfield; /* 1 */
|
358
|
-
box-sizing: content-box; /* 2 */
|
359
|
-
}
|
360
|
-
|
361
|
-
/**
|
362
|
-
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
|
363
|
-
* Safari (but not Chrome) clips the cancel button when the search input has
|
364
|
-
* padding (and `textfield` appearance).
|
365
|
-
*/
|
366
|
-
|
367
|
-
input[type="search"]::-webkit-search-cancel-button,
|
368
|
-
input[type="search"]::-webkit-search-decoration {
|
369
|
-
-webkit-appearance: none;
|
370
|
-
}
|
371
|
-
|
372
|
-
/**
|
373
|
-
* Define consistent border, margin, and padding.
|
374
|
-
*/
|
375
|
-
|
376
|
-
fieldset {
|
377
|
-
border: 1px solid #c0c0c0;
|
378
|
-
margin: 0 2px;
|
379
|
-
padding: 0.35em 0.625em 0.75em;
|
380
|
-
}
|
381
|
-
|
382
|
-
/**
|
383
|
-
* 1. Correct `color` not being inherited in IE 8/9/10/11.
|
384
|
-
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
385
|
-
*/
|
386
|
-
|
387
|
-
legend {
|
388
|
-
border: 0; /* 1 */
|
389
|
-
padding: 0; /* 2 */
|
390
|
-
}
|
391
|
-
|
392
|
-
/**
|
393
|
-
* Remove default vertical scrollbar in IE 8/9/10/11.
|
394
|
-
*/
|
395
|
-
|
396
|
-
textarea {
|
397
|
-
overflow: auto;
|
398
|
-
}
|
399
|
-
|
400
|
-
/**
|
401
|
-
* Don't inherit the `font-weight` (applied by a rule above).
|
402
|
-
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
|
403
|
-
*/
|
404
|
-
|
405
|
-
optgroup {
|
406
|
-
font-weight: bold;
|
407
|
-
}
|
408
|
-
|
409
|
-
/* Tables
|
410
|
-
========================================================================== */
|
411
|
-
|
412
|
-
/**
|
413
|
-
* Remove most spacing between table cells.
|
414
|
-
*/
|
415
|
-
|
416
|
-
table {
|
417
|
-
border-collapse: collapse;
|
418
|
-
border-spacing: 0;
|
419
|
-
}
|
420
|
-
|
421
|
-
td,
|
422
|
-
th {
|
423
|
-
padding: 0;
|
424
|
-
}
|