mui-sass 0.9.8 → 0.9.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -46,6 +46,9 @@ $xFormLabelLineHeight: floor($mui-label-font-size * 1.25);
46
46
  // Typography
47
47
  color: $mui-input-font-color;
48
48
  font-size: $mui-input-font-size;
49
+ font-family: inherit;
50
+ line-height: inherit;
51
+
49
52
  padding: 0 25px 0 0;
50
53
 
51
54
  &::-ms-expand {
@@ -112,6 +115,12 @@ $xFormLabelLineHeight: floor($mui-label-font-size * 1.25);
112
115
  border-top: 1px solid mui-color('black-alpha-12');
113
116
  }
114
117
 
118
+ // Edge bugfix
119
+ @supports (-ms-ime-align:auto) {
120
+ border-left: 1px solid mui-color('black-alpha-12');
121
+ border-top: 1px solid mui-color('black-alpha-12');
122
+ }
123
+
115
124
  > div {
116
125
  padding: 0 22px;
117
126
  height: $mui-input-font-size + 26px;
@@ -2,11 +2,6 @@
2
2
  * MUI Table Component
3
3
  */
4
4
 
5
- // Global styles
6
- th {
7
- text-align: left;
8
- }
9
-
10
5
  // Table style
11
6
  .mui-table {
12
7
  width: 100%;
@@ -18,6 +13,10 @@ th {
18
13
  > tbody,
19
14
  > tfoot {
20
15
  > tr {
16
+ > th {
17
+ text-align: left;
18
+ }
19
+
21
20
  > th,
22
21
  > td {
23
22
  padding: $mui-table-cell-padding;
@@ -26,8 +26,6 @@ $xFormLabelLineHeight: floor($mui-label-font-size * 1.25);
26
26
 
27
27
  > input,
28
28
  > textarea {
29
- display: block;
30
-
31
29
  &:focus ~ label {
32
30
  color: $mui-input-border-color-focus;
33
31
  }
@@ -93,6 +91,7 @@ $xFormLabelLineHeight: floor($mui-label-font-size * 1.25);
93
91
 
94
92
  .mui-textfield > input,
95
93
  .mui-textfield > textarea {
94
+ box-sizing: border-box;
96
95
  display: block;
97
96
  background-color: $mui-input-bg-color;
98
97
  color: $mui-input-font-color;
@@ -100,11 +99,15 @@ $xFormLabelLineHeight: floor($mui-label-font-size * 1.25);
100
99
  border-bottom: 1px solid $mui-input-border-color;
101
100
  outline: none;
102
101
  width: 100%;
103
- font-size: $mui-input-font-size;
104
102
  padding: 0;
105
103
  box-shadow: none;
106
104
  border-radius: 0px;
107
105
 
106
+ // Typography
107
+ font-size: $mui-input-font-size;
108
+ font-family: inherit;
109
+ line-height: inherit;
110
+
108
111
  // Bugfix for firefox-android
109
112
  background-image: none;
110
113
 
@@ -164,7 +167,7 @@ $xFormLabelLineHeight: floor($mui-label-font-size * 1.25);
164
167
  .mui-textfield > textarea:not(:focus).mui--is-invalid {
165
168
  &:not(:required),
166
169
  &:required.mui--is-not-empty,
167
- &:required.mui--is-empty.mui--is-dirty,
170
+ &:required.mui--is-empty.mui--is-touched,
168
171
  &:required[value]:not([value=""]):not(.mui--is-empty):not(.mui--is-not-empty),
169
172
  &:required:not(:empty):not(.mui--is-empty):not(.mui--is-not-empty) {
170
173
  border-color: $mui-danger-color;
@@ -177,7 +180,7 @@ $xFormLabelLineHeight: floor($mui-label-font-size * 1.25);
177
180
  .mui-textfield > input:not(:focus).mui--is-invalid {
178
181
  &:not(:required),
179
182
  &:required.mui--is-not-empty,
180
- &:required.mui--is-empty.mui--is-dirty,
183
+ &:required.mui--is-empty.mui--is-touched,
181
184
  &:required[value]:not([value=""]):not(.mui--is-empty):not(.mui--is-not-empty),
182
185
  &:required:not(:empty):not(.mui--is-empty):not(.mui--is-not-empty) {
183
186
  height: $mui-input-height + 1px;
@@ -185,32 +188,52 @@ $xFormLabelLineHeight: floor($mui-label-font-size * 1.25);
185
188
  }
186
189
  }
187
190
 
188
- .mui-textfield > input:invalid:not(:focus),
189
- .mui-textfield > textarea:invalid:not(:focus),
190
- .mui-textfield > input:not(:focus).mui--is-invalid,
191
- .mui-textfield > textarea:not(:focus).mui--is-invalid {
192
- // Set label color to danger color
193
- &:not(:required),
194
- &:required.mui--is-not-empty,
195
- &:required[value]:not([value=""]):not(.mui--is-empty):not(.mui--is-not-empty),
196
- &:required:not(:empty):not(.mui--is-empty):not(.mui--is-not-empty) {
197
- ~ label {
198
- color: $mui-danger-color;
191
+ // set label color for invalid inputs
192
+ .mui-textfield {
193
+ // has floating label
194
+ &.mui-textfield--float-label {
195
+ > input:invalid:not(:focus),
196
+ > textarea:invalid:not(:focus) {
197
+ &:not(:required),
198
+ &:required.mui--is-not-empty,
199
+ &:required[value]:not([value=""]):not(.mui--is-empty):not(.mui--is-not-empty),
200
+ &:required:not(:empty):not(.mui--is-empty):not(.mui--is-not-empty) {
201
+ ~ label {
202
+ color: $mui-danger-color;
203
+ }
204
+ }
205
+ }
206
+ }
207
+
208
+ // doesn't have floating label
209
+ &:not(.mui-textfield--float-label) {
210
+ > input:invalid:not(:focus),
211
+ > textarea:invalid:not(:focus) {
212
+ &:not(:required),
213
+ &:required.mui--is-empty.mui--is-touched,
214
+ &:required.mui--is-not-empty {
215
+ ~ label {
216
+ color: $mui-danger-color;
217
+ }
218
+ }
199
219
  }
200
220
  }
201
221
  }
202
222
 
203
- .mui-textfield > input:not(:focus).mui--is-invalid,
204
- .mui-textfield > textarea:not(:focus).mui--is-invalid {
205
223
 
206
- }
224
+ // set label color for force class (mui--is-invalid)
225
+ .mui-textfield {
226
+ // has floating label
227
+ &.mui-textfield--float-label {
228
+ > .mui--is-invalid.mui--is-not-empty:not(:focus) ~ label {
229
+ color: $mui-danger-color;
230
+ }
231
+ }
207
232
 
208
- .mui-textfield:not(.mui-textfield--float-label) > input:invalid:not(:focus),
209
- .mui-textfield:not(.mui-textfield--float-label) > textarea:invalid:not(:focus),
210
- .mui-textfield:not(.mui-textfield--float-label) > input:not(:focus).mui--is-invalid,
211
- .mui-textfield:not(.mui-textfield--float-label) > textarea:not(:focus).mui--is-invalid {
212
- // Set label color to danger color for dirty, empty fields
213
- &:required.mui--is-empty.mui--is-dirty ~ label {
214
- color: $mui-danger-color;
233
+ // doesn't have floating label
234
+ &:not(.mui-textfield--float-label) {
235
+ > .mui--is-invalid:not(:focus) ~ label {
236
+ color: $mui-danger-color;
237
+ }
215
238
  }
216
239
  }
@@ -15,6 +15,35 @@ $mui-danger-color: mui-color('red', '500') !default;
15
15
 
16
16
 
17
17
 
18
+ // ============================================================================
19
+ // GLOBAL VARIABLES
20
+ // ============================================================================
21
+
22
+ $mui-include-globals: true !default;
23
+
24
+ $mui-body-bg-color: mui-color('white') !default;
25
+
26
+ $mui-base-font-color: mui-color('black-alpha-87') !default;
27
+ $mui-base-font-family: Arial, Verdana, Tahoma !default;
28
+ $mui-base-font-size: 14px !default;
29
+ $mui-base-font-weight: 400 !default;
30
+ $mui-base-line-height: 1.429 !default;
31
+ $mui-base-font-smoothing: false !default;
32
+
33
+ $mui-link-font-color: $mui-primary-color !default;
34
+ $mui-link-text-decoration: none !default;
35
+ $mui-link-font-color-hover: $mui-primary-color-dark !default;
36
+ $mui-link-text-decoration-hover: underline !default;
37
+
38
+ $mui-cursor-disabled: not-allowed !default;
39
+ $mui-border-radius-default: 2px !default;
40
+
41
+ $mui-hr-color: mui-color('black-alpha-12') !default;
42
+ $mui-abbr-border-color: $mui-primary-color !default;
43
+
44
+
45
+
46
+
18
47
  // ============================================================================
19
48
  // MEDIA QUERY BREAKPOINTS
20
49
  // ============================================================================
@@ -50,38 +79,6 @@ $mui-container-xl: 1170px !default;
50
79
 
51
80
 
52
81
 
53
- // ============================================================================
54
- // SCAFFOLDING
55
- // ============================================================================
56
-
57
- $mui-body-bg-color: mui-color('white') !default;
58
- $mui-link-font-color: $mui-primary-color !default;
59
- $mui-link-text-decoration: none !default;
60
- $mui-link-font-color-hover: $mui-primary-color-dark !default;
61
- $mui-link-text-decoration-hover: underline !default;
62
-
63
- $mui-hr-color: mui-color('black-alpha-12') !default;
64
- $mui-abbr-border-color: $mui-primary-color !default;
65
- $mui-cursor-disabled: not-allowed !default;
66
- $mui-border-radius-default: 2px !default;
67
-
68
-
69
-
70
-
71
- // ============================================================================
72
- // TYPOGRAPHY
73
- // ============================================================================
74
-
75
- $mui-base-font-color: mui-color('black-alpha-87') !default;
76
- $mui-base-font-family: Arial, Verdana, Tahoma !default;
77
- $mui-base-font-size: 14px !default;
78
- $mui-base-font-weight: 400 !default;
79
- $mui-base-line-height: 1.429 !default;
80
- $mui-base-font-smoothing: false !default;
81
-
82
-
83
-
84
-
85
82
  // ============================================================================
86
83
  // TEXT COLORS
87
84
  // ============================================================================
@@ -165,27 +162,27 @@ $mui-btn-flat-ripple-color: darken(mui-color('white'), 35%) !default;
165
162
  // FORMS
166
163
  // ============================================================================
167
164
 
168
- $mui-input-bg-color: transparent !default;
169
- $mui-input-bg-color-disabled: transparent !default;
170
- $mui-input-font-color: $mui-base-font-color !default;
171
- $mui-input-font-size: 16px !default;
172
- $mui-input-height: 32px !default;
173
-
174
- $mui-input-placeholder-color: rgba(mui-color('black'), 0.26) !default;
165
+ $mui-input-bg-color: transparent !default;
166
+ $mui-input-bg-color-disabled: transparent !default;
167
+ $mui-input-font-color: $mui-base-font-color !default;
168
+ $mui-input-font-size: 16px !default;
169
+ $mui-input-height: 32px !default;
175
170
 
176
- $mui-input-border-color: $mui-input-placeholder-color !default;
177
- $mui-input-border-color-focus: $mui-primary-color !default;
171
+ $mui-input-placeholder-color: rgba(mui-color('black'), 0.26) !default;
178
172
 
179
- $mui-textarea-height: 64px !default;
173
+ $mui-input-border-color: $mui-input-placeholder-color !default;
174
+ $mui-input-border-color-focus: $mui-primary-color !default;
180
175
 
181
- $mui-label-font-size: 12px !default;
182
- $mui-label-font-color: mui-color('black-alpha-54') !default;
183
- $mui-label-margin-bottom: 3px !default;
176
+ $mui-textarea-height: 64px !default;
184
177
 
185
- $mui-legend-font-size: $mui-base-font-size * 1.5 !default;
186
- $mui-legend-font-color: $mui-base-font-color !default;
178
+ $mui-label-font-size: 12px !default;
179
+ $mui-label-font-color: mui-color('black-alpha-54') !default;
180
+ $mui-label-margin-bottom: 3px !default;
187
181
 
188
- $mui-form-group-margin-bottom: 20px !default;
182
+ $mui-form-legend-font-size: $mui-base-font-size * 1.5 !default;
183
+ $mui-form-legend-margin-bottom: $mui-form-legend-font-size / 2 !default;
184
+ $mui-form-legend-font-color: $mui-base-font-color !default;
185
+ $mui-form-group-margin-bottom: 20px !default;
189
186
 
190
187
 
191
188
 
@@ -6,6 +6,9 @@
6
6
  }
7
7
 
8
8
  #{$list} {
9
+ // box sizing
10
+ box-sizing: border-box;
11
+
9
12
  // Prevent columns from collapsing when empty
10
13
  min-height: 1px;
11
14
 
@@ -24,6 +24,7 @@
24
24
  @mixin mui-container-fixed($gutter: $mui-grid-gutter-width) {
25
25
  @include mui-clearfix();
26
26
 
27
+ box-sizing: border-box;
27
28
  margin-right: auto;
28
29
  margin-left: auto;
29
30
  padding-left: ($gutter / 2);
@@ -38,3 +39,467 @@
38
39
  outline: 5px auto -webkit-focus-ring-color;
39
40
  outline-offset: -2px;
40
41
  }
42
+
43
+ @mixin normalizecss() {
44
+ /*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */
45
+
46
+ /**
47
+ * 1. Change the default font family in all browsers (opinionated).
48
+ * 2. Correct the line height in all browsers.
49
+ * 3. Prevent adjustments of font size after orientation changes in
50
+ * IE on Windows Phone and in iOS.
51
+ */
52
+
53
+ /* Document
54
+ ========================================================================== */
55
+
56
+ html {
57
+ font-family: sans-serif; /* 1 */
58
+ line-height: 1.15; /* 2 */
59
+ -ms-text-size-adjust: 100%; /* 3 */
60
+ -webkit-text-size-adjust: 100%; /* 3 */
61
+ }
62
+
63
+ /* Sections
64
+ ========================================================================== */
65
+
66
+ /**
67
+ * Remove the margin in all browsers (opinionated).
68
+ */
69
+
70
+ body {
71
+ margin: 0;
72
+ }
73
+
74
+ /**
75
+ * Add the correct display in IE 9-.
76
+ */
77
+
78
+ article,
79
+ aside,
80
+ footer,
81
+ header,
82
+ nav,
83
+ section {
84
+ display: block;
85
+ }
86
+
87
+ /**
88
+ * Correct the font size and margin on `h1` elements within `section` and
89
+ * `article` contexts in Chrome, Firefox, and Safari.
90
+ */
91
+
92
+ h1 {
93
+ font-size: 2em;
94
+ margin: 0.67em 0;
95
+ }
96
+
97
+ /* Grouping content
98
+ ========================================================================== */
99
+
100
+ /**
101
+ * Add the correct display in IE 9-.
102
+ * 1. Add the correct display in IE.
103
+ */
104
+
105
+ figcaption,
106
+ figure,
107
+ main { /* 1 */
108
+ display: block;
109
+ }
110
+
111
+ /**
112
+ * Add the correct margin in IE 8.
113
+ */
114
+
115
+ figure {
116
+ margin: 1em 40px;
117
+ }
118
+
119
+ /**
120
+ * 1. Add the correct box sizing in Firefox.
121
+ * 2. Show the overflow in Edge and IE.
122
+ */
123
+
124
+ hr {
125
+ box-sizing: content-box; /* 1 */
126
+ height: 0; /* 1 */
127
+ overflow: visible; /* 2 */
128
+ }
129
+
130
+ /**
131
+ * 1. Correct the inheritance and scaling of font size in all browsers.
132
+ * 2. Correct the odd `em` font sizing in all browsers.
133
+ */
134
+
135
+ pre {
136
+ font-family: monospace, monospace; /* 1 */
137
+ font-size: 1em; /* 2 */
138
+ }
139
+
140
+ /* Text-level semantics
141
+ ========================================================================== */
142
+
143
+ /**
144
+ * 1. Remove the gray background on active links in IE 10.
145
+ * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
146
+ */
147
+
148
+ a {
149
+ background-color: transparent; /* 1 */
150
+ -webkit-text-decoration-skip: objects; /* 2 */
151
+ }
152
+
153
+ /**
154
+ * Remove the outline on focused links when they are also active or hovered
155
+ * in all browsers (opinionated).
156
+ */
157
+
158
+ a:active,
159
+ a:hover {
160
+ outline-width: 0;
161
+ }
162
+
163
+ /**
164
+ * 1. Remove the bottom border in Firefox 39-.
165
+ * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
166
+ */
167
+
168
+ abbr[title] {
169
+ border-bottom: none; /* 1 */
170
+ text-decoration: underline; /* 2 */
171
+ text-decoration: underline dotted; /* 2 */
172
+ }
173
+
174
+ /**
175
+ * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
176
+ */
177
+
178
+ b,
179
+ strong {
180
+ font-weight: inherit;
181
+ }
182
+
183
+ /**
184
+ * Add the correct font weight in Chrome, Edge, and Safari.
185
+ */
186
+
187
+ b,
188
+ strong {
189
+ font-weight: bolder;
190
+ }
191
+
192
+ /**
193
+ * 1. Correct the inheritance and scaling of font size in all browsers.
194
+ * 2. Correct the odd `em` font sizing in all browsers.
195
+ */
196
+
197
+ code,
198
+ kbd,
199
+ samp {
200
+ font-family: monospace, monospace; /* 1 */
201
+ font-size: 1em; /* 2 */
202
+ }
203
+
204
+ /**
205
+ * Add the correct font style in Android 4.3-.
206
+ */
207
+
208
+ dfn {
209
+ font-style: italic;
210
+ }
211
+
212
+ /**
213
+ * Add the correct background and color in IE 9-.
214
+ */
215
+
216
+ mark {
217
+ background-color: #ff0;
218
+ color: #000;
219
+ }
220
+
221
+ /**
222
+ * Add the correct font size in all browsers.
223
+ */
224
+
225
+ small {
226
+ font-size: 80%;
227
+ }
228
+
229
+ /**
230
+ * Prevent `sub` and `sup` elements from affecting the line height in
231
+ * all browsers.
232
+ */
233
+
234
+ sub,
235
+ sup {
236
+ font-size: 75%;
237
+ line-height: 0;
238
+ position: relative;
239
+ vertical-align: baseline;
240
+ }
241
+
242
+ sub {
243
+ bottom: -0.25em;
244
+ }
245
+
246
+ sup {
247
+ top: -0.5em;
248
+ }
249
+
250
+ /* Embedded content
251
+ ========================================================================== */
252
+
253
+ /**
254
+ * Add the correct display in IE 9-.
255
+ */
256
+
257
+ audio,
258
+ video {
259
+ display: inline-block;
260
+ }
261
+
262
+ /**
263
+ * Add the correct display in iOS 4-7.
264
+ */
265
+
266
+ audio:not([controls]) {
267
+ display: none;
268
+ height: 0;
269
+ }
270
+
271
+ /**
272
+ * Remove the border on images inside links in IE 10-.
273
+ */
274
+
275
+ img {
276
+ border-style: none;
277
+ }
278
+
279
+ /**
280
+ * Hide the overflow in IE.
281
+ */
282
+
283
+ svg:not(:root) {
284
+ overflow: hidden;
285
+ }
286
+
287
+ /* Forms
288
+ ========================================================================== */
289
+
290
+ /**
291
+ * 1. Change the font styles in all browsers (opinionated).
292
+ * 2. Remove the margin in Firefox and Safari.
293
+ */
294
+
295
+ button,
296
+ input,
297
+ optgroup,
298
+ select,
299
+ textarea {
300
+ font-family: sans-serif; /* 1 */
301
+ font-size: 100%; /* 1 */
302
+ line-height: 1.15; /* 1 */
303
+ margin: 0; /* 2 */
304
+ }
305
+
306
+ /**
307
+ * Show the overflow in IE.
308
+ * 1. Show the overflow in Edge.
309
+ */
310
+
311
+ button,
312
+ input { /* 1 */
313
+ overflow: visible;
314
+ }
315
+
316
+ /**
317
+ * Remove the inheritance of text transform in Edge, Firefox, and IE.
318
+ * 1. Remove the inheritance of text transform in Firefox.
319
+ */
320
+
321
+ button,
322
+ select { /* 1 */
323
+ text-transform: none;
324
+ }
325
+
326
+ /**
327
+ * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
328
+ * controls in Android 4.
329
+ * 2. Correct the inability to style clickable types in iOS and Safari.
330
+ */
331
+
332
+ button,
333
+ html [type="button"], /* 1 */
334
+ [type="reset"],
335
+ [type="submit"] {
336
+ -webkit-appearance: button; /* 2 */
337
+ }
338
+
339
+ /**
340
+ * Remove the inner border and padding in Firefox.
341
+ */
342
+
343
+ button::-moz-focus-inner,
344
+ [type="button"]::-moz-focus-inner,
345
+ [type="reset"]::-moz-focus-inner,
346
+ [type="submit"]::-moz-focus-inner {
347
+ border-style: none;
348
+ padding: 0;
349
+ }
350
+
351
+ /**
352
+ * Restore the focus styles unset by the previous rule.
353
+ */
354
+
355
+ button:-moz-focusring,
356
+ [type="button"]:-moz-focusring,
357
+ [type="reset"]:-moz-focusring,
358
+ [type="submit"]:-moz-focusring {
359
+ outline: 1px dotted ButtonText;
360
+ }
361
+
362
+ /**
363
+ * Change the border, margin, and padding in all browsers (opinionated).
364
+ */
365
+
366
+ fieldset {
367
+ border: 1px solid #c0c0c0;
368
+ margin: 0 2px;
369
+ padding: 0.35em 0.625em 0.75em;
370
+ }
371
+
372
+ /**
373
+ * 1. Correct the text wrapping in Edge and IE.
374
+ * 2. Correct the color inheritance from `fieldset` elements in IE.
375
+ * 3. Remove the padding so developers are not caught out when they zero out
376
+ * `fieldset` elements in all browsers.
377
+ */
378
+
379
+ legend {
380
+ box-sizing: border-box; /* 1 */
381
+ color: inherit; /* 2 */
382
+ display: table; /* 1 */
383
+ max-width: 100%; /* 1 */
384
+ padding: 0; /* 3 */
385
+ white-space: normal; /* 1 */
386
+ }
387
+
388
+ /**
389
+ * 1. Add the correct display in IE 9-.
390
+ * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
391
+ */
392
+
393
+ progress {
394
+ display: inline-block; /* 1 */
395
+ vertical-align: baseline; /* 2 */
396
+ }
397
+
398
+ /**
399
+ * Remove the default vertical scrollbar in IE.
400
+ */
401
+
402
+ textarea {
403
+ overflow: auto;
404
+ }
405
+
406
+ /**
407
+ * 1. Add the correct box sizing in IE 10-.
408
+ * 2. Remove the padding in IE 10-.
409
+ */
410
+
411
+ [type="checkbox"],
412
+ [type="radio"] {
413
+ box-sizing: border-box; /* 1 */
414
+ padding: 0; /* 2 */
415
+ }
416
+
417
+ /**
418
+ * Correct the cursor style of increment and decrement buttons in Chrome.
419
+ */
420
+
421
+ [type="number"]::-webkit-inner-spin-button,
422
+ [type="number"]::-webkit-outer-spin-button {
423
+ height: auto;
424
+ }
425
+
426
+ /**
427
+ * 1. Correct the odd appearance in Chrome and Safari.
428
+ * 2. Correct the outline style in Safari.
429
+ */
430
+
431
+ [type="search"] {
432
+ -webkit-appearance: textfield; /* 1 */
433
+ outline-offset: -2px; /* 2 */
434
+ }
435
+
436
+ /**
437
+ * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
438
+ */
439
+
440
+ [type="search"]::-webkit-search-cancel-button,
441
+ [type="search"]::-webkit-search-decoration {
442
+ -webkit-appearance: none;
443
+ }
444
+
445
+ /**
446
+ * 1. Correct the inability to style clickable types in iOS and Safari.
447
+ * 2. Change font properties to `inherit` in Safari.
448
+ */
449
+
450
+ ::-webkit-file-upload-button {
451
+ -webkit-appearance: button; /* 1 */
452
+ font: inherit; /* 2 */
453
+ }
454
+
455
+ /* Interactive
456
+ ========================================================================== */
457
+
458
+ /*
459
+ * Add the correct display in IE 9-.
460
+ * 1. Add the correct display in Edge, IE, and Firefox.
461
+ */
462
+
463
+ details, /* 1 */
464
+ menu {
465
+ display: block;
466
+ }
467
+
468
+ /*
469
+ * Add the correct display in all browsers.
470
+ */
471
+
472
+ summary {
473
+ display: list-item;
474
+ }
475
+
476
+ /* Scripting
477
+ ========================================================================== */
478
+
479
+ /**
480
+ * Add the correct display in IE 9-.
481
+ */
482
+
483
+ canvas {
484
+ display: inline-block;
485
+ }
486
+
487
+ /**
488
+ * Add the correct display in IE.
489
+ */
490
+
491
+ template {
492
+ display: none;
493
+ }
494
+
495
+ /* Hidden
496
+ ========================================================================== */
497
+
498
+ /**
499
+ * Add the correct display in IE 10-.
500
+ */
501
+
502
+ [hidden] {
503
+ display: none;
504
+ }
505
+ }