@gettrx/core-styles 1.0.28 → 1.0.30

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.
Files changed (106) hide show
  1. package/dist/assets/core-icons.json +7512 -0
  2. package/dist/assets/fonts/Gettrx-Icon.ttf +0 -0
  3. package/dist/assets/fonts/Gettrx-Icon.woff +0 -0
  4. package/dist/assets/fonts/Gettrx-Icon.woff2 +0 -0
  5. package/dist/assets/fonts/Roboto-Black.ttf +0 -0
  6. package/dist/assets/fonts/Roboto-BlackItalic.ttf +0 -0
  7. package/dist/assets/fonts/Roboto-Bold.ttf +0 -0
  8. package/dist/assets/fonts/Roboto-BoldItalic.ttf +0 -0
  9. package/dist/assets/fonts/Roboto-Italic.ttf +0 -0
  10. package/dist/assets/fonts/Roboto-Light.ttf +0 -0
  11. package/dist/assets/fonts/Roboto-LightItalic.ttf +0 -0
  12. package/dist/assets/fonts/Roboto-Medium.ttf +0 -0
  13. package/dist/assets/fonts/Roboto-MediumItalic.ttf +0 -0
  14. package/dist/assets/fonts/Roboto-Regular.ttf +0 -0
  15. package/dist/assets/fonts/Roboto-Thin.ttf +0 -0
  16. package/dist/assets/fonts/Roboto-ThinItalic.ttf +0 -0
  17. package/dist/assets/fonts/tabler-icons.eot +0 -0
  18. package/dist/assets/fonts/tabler-icons.ttf +0 -0
  19. package/dist/assets/fonts/tabler-icons.woff +0 -0
  20. package/dist/assets/fonts/tabler-icons.woff2 +0 -0
  21. package/dist/core-styles.css +1 -0
  22. package/dist/core-styles.scss +12 -0
  23. package/dist/styles/_font-face.scss +77 -0
  24. package/dist/styles/_functions.scss +180 -0
  25. package/dist/styles/_icons.scss +1535 -0
  26. package/dist/styles/_reboot.scss +610 -0
  27. package/dist/styles/_variables.scss +1125 -0
  28. package/dist/styles/components/_accordion.scss +149 -0
  29. package/dist/styles/components/_alert.scss +68 -0
  30. package/dist/styles/components/_badge.scss +38 -0
  31. package/dist/styles/components/_breadcrumb.scss +40 -0
  32. package/dist/styles/components/_button-group.scss +142 -0
  33. package/dist/styles/components/_buttons.scss +192 -0
  34. package/dist/styles/components/_card.scss +239 -0
  35. package/dist/styles/components/_carousel.scss +209 -0
  36. package/dist/styles/components/_close.scss +56 -0
  37. package/dist/styles/components/_dropdown.scss +232 -0
  38. package/dist/styles/components/_forms.scss +9 -0
  39. package/dist/styles/components/_images.scss +42 -0
  40. package/dist/styles/components/_list-group.scss +197 -0
  41. package/dist/styles/components/_modal.scss +237 -0
  42. package/dist/styles/components/_nav.scss +209 -0
  43. package/dist/styles/components/_navbar.scss +268 -0
  44. package/dist/styles/components/_pagination.scss +109 -0
  45. package/dist/styles/components/_placeholders.scss +51 -0
  46. package/dist/styles/components/_popover.scss +196 -0
  47. package/dist/styles/components/_progress.scss +62 -0
  48. package/dist/styles/components/_spinners.scss +83 -0
  49. package/dist/styles/components/_tables.scss +171 -0
  50. package/dist/styles/components/_toasts.scss +73 -0
  51. package/dist/styles/components/_tooltip.scss +119 -0
  52. package/dist/styles/components/_type.scss +95 -0
  53. package/dist/styles/components/forms/_floating-labels.scss +94 -0
  54. package/dist/styles/components/forms/_form-check.scss +164 -0
  55. package/dist/styles/components/forms/_form-control.scss +216 -0
  56. package/dist/styles/components/forms/_form-range.scss +91 -0
  57. package/dist/styles/components/forms/_form-select.scss +69 -0
  58. package/dist/styles/components/forms/_form-text.scss +11 -0
  59. package/dist/styles/components/forms/_input-group.scss +132 -0
  60. package/dist/styles/components/forms/_labels.scss +36 -0
  61. package/dist/styles/components/forms/_validation.scss +12 -0
  62. package/dist/styles/components/mixins/_alert.scss +14 -0
  63. package/dist/styles/components/mixins/_backdrop.scss +14 -0
  64. package/dist/styles/components/mixins/_banner.scss +7 -0
  65. package/dist/styles/components/mixins/_box-shadow.scss +16 -0
  66. package/dist/styles/components/mixins/_buttons.scss +70 -0
  67. package/dist/styles/components/mixins/_caret.scss +68 -0
  68. package/dist/styles/components/mixins/_clearfix.scss +9 -0
  69. package/dist/styles/components/mixins/_deprecate.scss +10 -0
  70. package/dist/styles/components/mixins/_forms.scss +145 -0
  71. package/dist/styles/components/mixins/_gradients.scss +43 -0
  72. package/dist/styles/components/mixins/_image.scss +16 -0
  73. package/dist/styles/components/mixins/_list-group.scss +26 -0
  74. package/dist/styles/components/mixins/_lists.scss +7 -0
  75. package/dist/styles/components/mixins/_pagination.scss +10 -0
  76. package/dist/styles/components/mixins/_reset-text.scss +17 -0
  77. package/dist/styles/components/mixins/_resize.scss +6 -0
  78. package/dist/styles/components/mixins/_table-variants.scss +24 -0
  79. package/dist/styles/components/mixins/_text-truncate.scss +8 -0
  80. package/dist/styles/components/mixins/_transition.scss +24 -0
  81. package/dist/styles/components/mixins/_visually-hidden.scss +33 -0
  82. package/dist/styles/css/gettrx.css +13552 -0
  83. package/dist/styles/functions/_color.functions.scss +14 -0
  84. package/dist/styles/functions/_grid.functions.scss +41 -0
  85. package/dist/styles/functions/_map.functions.scss +36 -0
  86. package/dist/styles/layout/_containers.scss +43 -0
  87. package/dist/styles/layout/_grid.scss +26 -0
  88. package/dist/styles/layout/_layout.scss +2 -0
  89. package/dist/styles/maps/_border.maps.scss +24 -0
  90. package/dist/styles/maps/_colors.maps.scss +10 -0
  91. package/dist/styles/maps/_fonts.maps.scss +10 -0
  92. package/dist/styles/maps/_layout.maps.scss +33 -0
  93. package/dist/styles/maps/_positions.maps.scss +15 -0
  94. package/dist/styles/maps/_shadow.maps.scss +11 -0
  95. package/dist/styles/maps/_spacing.maps.scss +23 -0
  96. package/dist/styles/mixins/_border-radius.mixins.scss +61 -0
  97. package/dist/styles/mixins/_breakpoints.mixins.scss +129 -0
  98. package/dist/styles/mixins/_container.mixins.scss +13 -0
  99. package/dist/styles/mixins/_grid.mixins.scss +157 -0
  100. package/dist/styles/mixins/_utilities.mixins.scss +84 -0
  101. package/dist/styles/utilities/_api.scss +33 -0
  102. package/dist/styles/utilities/_utilities.scss +695 -0
  103. package/dist/tokens/_tokens.scss +216 -0
  104. package/dist/tokens/tokens.css +218 -0
  105. package/dist/tokens/tokens.js +216 -0
  106. package/package.json +1 -1
@@ -0,0 +1,610 @@
1
+ @use "../tokens/tokens";
2
+ @use "mixins/border-radius.mixins" as border-radius-mixins;
3
+
4
+ // Reboot
5
+ //
6
+ // Normalization of HTML elements, manually forked from Normalize.css to remove
7
+ // styles targeting irrelevant browsers while applying new styles.
8
+ //
9
+ // Normalize is licensed MIT. https://github.com/necolas/normalize.css
10
+
11
+
12
+ // Document
13
+ //
14
+ // Change from `box-sizing: content-box` so that `width` is not affected by `padding` or `border`.
15
+
16
+ *,
17
+ *::before,
18
+ *::after {
19
+ box-sizing: border-box;
20
+ }
21
+
22
+
23
+ // Root
24
+ //
25
+ // Ability to the value of the root font sizes, affecting the value of `rem`.
26
+ // null by default, thus nothing is generated.
27
+
28
+ :root {
29
+ font-size: tokens.$gtr-size-font-size-root;
30
+
31
+ @media (prefers-reduced-motion: no-preference) {
32
+ scroll-behavior: smooth;
33
+ }
34
+ }
35
+
36
+
37
+ // Body
38
+ //
39
+ // 1. Remove the margin in all browsers.
40
+ // 2. As a best practice, apply a default `background-color`.
41
+ // 3. Prevent adjustments of font size after orientation changes in iOS.
42
+ // 4. Change the default tap highlight to be completely transparent in iOS.
43
+
44
+ // scss-docs-start reboot-body-rules
45
+ body {
46
+ margin: 0; // 1
47
+ font-family: var(--gtr-body-font-family);
48
+ font-size: var(--gtr-body-font-size);
49
+ font-weight: var(--gtr-body-font-weight);
50
+ line-height: var(--gtr-body-line-height);
51
+ color: var(--gtr-body-color);
52
+ text-align: var(--gtr-body-text-align);
53
+ background-color: var(--gtr-body-bg); // 2
54
+ -webkit-text-size-adjust: 100%; // 3
55
+ -webkit-tap-highlight-color: rgba(tokens.$gtr-color-base-black-100, 0); // 4
56
+ }
57
+
58
+ // scss-docs-end reboot-body-rules
59
+
60
+
61
+ // Content grouping
62
+ //
63
+ // 1. Reset Firefox's gray color
64
+
65
+ hr {
66
+ margin: tokens.$gtr-size-spacing-base 0;
67
+ color: inherit; // 1
68
+ border: 0;
69
+ border-top: var(--gtr-border-width) solid inherit;
70
+ opacity: .25;
71
+ }
72
+
73
+
74
+ // Typography
75
+ //
76
+ // 1. Remove top margins from headings
77
+ // By default, `<h1>`-`<h6>` all receive top and bottom margins. We nuke the top
78
+ // margin for easier control within type scales as it avoids margin collapsing.
79
+
80
+ %heading {
81
+ margin-top: 0; // 1
82
+ margin-bottom: tokens.$gtr-size-spacing-2;
83
+ font-family: inherit;
84
+ font-style: inherit;
85
+ font-weight: 500;
86
+ line-height: 1.2;
87
+ color: var(--gtr-heading-color);
88
+ }
89
+
90
+ h1 {
91
+ @extend %heading;
92
+ font-size: tokens.$gtr-size-font-heading-1;
93
+ }
94
+
95
+ h2 {
96
+ @extend %heading;
97
+ font-size: tokens.$gtr-size-font-heading-2;
98
+ }
99
+
100
+ h3 {
101
+ @extend %heading;
102
+ font-size: tokens.$gtr-size-font-heading-3;
103
+ }
104
+
105
+ h4 {
106
+ @extend %heading;
107
+ font-size: tokens.$gtr-size-font-heading-4;
108
+ }
109
+
110
+ h5 {
111
+ @extend %heading;
112
+ font-size: tokens.$gtr-size-font-heading-5;
113
+ }
114
+
115
+ h6 {
116
+ @extend %heading;
117
+ font-size: tokens.$gtr-size-font-heading-6;
118
+ }
119
+
120
+
121
+ // Reset margins on paragraphs
122
+ //
123
+ // Similarly, the top margin on `<p>`s get reset. However, we also reset the
124
+ // bottom margin to use `rem` units instead of `em`.
125
+
126
+ p {
127
+ margin-top: 0;
128
+ margin-bottom: 1rem;
129
+ }
130
+
131
+
132
+ // Abbreviations
133
+ //
134
+ // 1. Add the correct text decoration in Chrome, Edge, Opera, and Safari.
135
+ // 2. Add explicit cursor to indicate changed behavior.
136
+ // 3. Prevent the text-decoration to be skipped.
137
+
138
+ abbr[title] {
139
+ text-decoration: underline dotted; // 1
140
+ cursor: help; // 2
141
+ text-decoration-skip-ink: none; // 3
142
+ }
143
+
144
+
145
+ // Address
146
+
147
+ address {
148
+ margin-bottom: 1rem;
149
+ font-style: normal;
150
+ line-height: inherit;
151
+ }
152
+
153
+
154
+ // Lists
155
+
156
+ ol,
157
+ ul {
158
+ padding-left: 2rem;
159
+ }
160
+
161
+ ol,
162
+ ul,
163
+ dl {
164
+ margin-top: 0;
165
+ margin-bottom: 1rem;
166
+ }
167
+
168
+ ol ol,
169
+ ul ul,
170
+ ol ul,
171
+ ul ol {
172
+ margin-bottom: 0;
173
+ }
174
+
175
+ dt {
176
+ font-weight: tokens.$gtr-size-font-weight-bold;
177
+ }
178
+
179
+ // 1. Undo browser default
180
+
181
+ dd {
182
+ margin-bottom: .5rem;
183
+ margin-left: 0; // 1
184
+ }
185
+
186
+
187
+ // Blockquote
188
+
189
+ blockquote {
190
+ margin: 0 0 1rem;
191
+ }
192
+
193
+
194
+ // Strong
195
+ //
196
+ // Add the correct font weight in Chrome, Edge, and Safari
197
+
198
+ b,
199
+ strong {
200
+ font-weight: tokens.$gtr-size-font-weight-bolder;
201
+ }
202
+
203
+
204
+ // Small
205
+ //
206
+ // Add the correct font size in all browsers
207
+
208
+ small {
209
+ font-size: tokens.$gtr-size-font-size-sm;
210
+ }
211
+
212
+
213
+ // Mark
214
+
215
+ mark {
216
+ padding: .1875em;
217
+ background-color: tokens.$gtr-color-base-success-base;
218
+ }
219
+
220
+
221
+ // Sub and Sup
222
+ //
223
+ // Prevent `sub` and `sup` elements from affecting the line height in
224
+ // all browsers.
225
+
226
+ sub,
227
+ sup {
228
+ position: relative;
229
+ font-size: .75em;
230
+ line-height: 0;
231
+ vertical-align: baseline;
232
+ }
233
+
234
+ sub {
235
+ bottom: -.25em;
236
+ }
237
+
238
+ sup {
239
+ top: -.5em;
240
+ }
241
+
242
+
243
+ // Links
244
+
245
+ a {
246
+ color: rgba(var(--gtr-link-color-rgb), var(--gtr-link-opacity, 1));
247
+ text-decoration: underline;
248
+
249
+ &:hover {
250
+ --gtr-link-color-rgb: var(--gtr-link-hover-color-rgb);
251
+ text-decoration: none;
252
+ }
253
+ }
254
+
255
+ // And undo these styles for placeholder links/named anchors (without href).
256
+ // It would be more straightforward to just use a[href] in previous block, but that
257
+ // causes specificity issues in many other styles that are too complex to fix.
258
+ // See https://github.com/twbs/bootstrap/issues/19402
259
+
260
+ a:not([href]):not([class]) {
261
+ &,
262
+ &:hover {
263
+ color: inherit;
264
+ text-decoration: none;
265
+ }
266
+ }
267
+
268
+
269
+ // Code
270
+
271
+ pre,
272
+ code,
273
+ kbd,
274
+ samp {
275
+ font-family: tokens.$gtr-component-font-family-code;
276
+ font-size: 1em; // Correct the odd `em` font sizing in all browsers.
277
+ }
278
+
279
+ // 1. Remove browser default top margin
280
+ // 2. Reset browser default of `1em` to use `rem`s
281
+ // 3. Don't allow content to break outside
282
+
283
+ pre {
284
+ display: block;
285
+ margin-top: 0; // 1
286
+ margin-bottom: 1rem; // 2
287
+ overflow: auto; // 3
288
+ font-size: tokens.$gtr-size-font-size-sm;
289
+ color: unset;
290
+
291
+ // Account for some code outputs that place code tags in pre tags
292
+ code {
293
+ font-size: inherit;
294
+ color: inherit;
295
+ word-break: normal;
296
+ }
297
+ }
298
+
299
+ code {
300
+ font-size: tokens.$gtr-size-font-size-sm;
301
+ color: var(--gtr-code-color);
302
+ word-wrap: break-word;
303
+
304
+ // Streamline the style when inside anchors to avoid broken underline and more
305
+ a > & {
306
+ color: inherit;
307
+ }
308
+ }
309
+
310
+ kbd {
311
+ padding: .1875rem .375rem;
312
+ font-size: tokens.$gtr-size-font-size-sm;
313
+ color: var(--gtr-body-bg);
314
+ background-color: var(--gtr-body-color);
315
+ @include border-radius-mixins.border-radius(tokens.$gtr-size-border-radius-xxs);
316
+
317
+ kbd {
318
+ padding: 0;
319
+ font-size: 1em;
320
+ }
321
+ }
322
+
323
+
324
+ // Figures
325
+ //
326
+ // Apply a consistent margin strategy (matches our type styles).
327
+
328
+ figure {
329
+ margin: 0 0 1rem;
330
+ }
331
+
332
+
333
+ // Images and content
334
+
335
+ img,
336
+ svg {
337
+ vertical-align: middle;
338
+ }
339
+
340
+
341
+ // Tables
342
+ //
343
+ // Prevent double borders
344
+
345
+ table {
346
+ caption-side: bottom;
347
+ border-collapse: collapse;
348
+ }
349
+
350
+ caption {
351
+ padding-top: var(--table-cell-padding-y);
352
+ padding-bottom: var(--table-cell-padding-y);
353
+ color: var(--gtr-secondary-color);
354
+ text-align: left;
355
+ }
356
+
357
+ // 1. Removes font-weight bold by inheriting
358
+ // 2. Matches default `<td>` alignment by inheriting `text-align`.
359
+ // 3. Fix alignment for Safari
360
+
361
+ th {
362
+ font-weight: unset; // 1
363
+ text-align: inherit; // 2
364
+ text-align: -webkit-match-parent; // 3
365
+ }
366
+
367
+ thead,
368
+ tbody,
369
+ tfoot,
370
+ tr,
371
+ td,
372
+ th {
373
+ border-color: inherit;
374
+ border-style: solid;
375
+ border-width: 0;
376
+ }
377
+
378
+
379
+ // Forms
380
+ //
381
+ // 1. Allow labels to use `margin` for spacing.
382
+
383
+ label {
384
+ display: inline-block; // 1
385
+ }
386
+
387
+ // Remove the default `border-radius` that macOS Chrome adds.
388
+ // See https://github.com/twbs/bootstrap/issues/24093
389
+
390
+ button {
391
+ // stylelint-disable-next-line property-disallowed-list
392
+ border-radius: 0;
393
+ }
394
+
395
+ // Explicitly remove focus outline in Chromium when it shouldn't be
396
+ // visible (e.g. as result of mouse click or touch tap). It already
397
+ // should be doing this automatically, but seems to currently be
398
+ // confused and applies its very visible two-tone outline anyway.
399
+
400
+ button:focus:not(:focus-visible) {
401
+ outline: 0;
402
+ }
403
+
404
+ // 1. Remove the margin in Firefox and Safari
405
+
406
+ input,
407
+ button,
408
+ select,
409
+ optgroup,
410
+ textarea {
411
+ margin: 0; // 1
412
+ font-family: inherit;
413
+ font-size: inherit;
414
+ line-height: inherit;
415
+ }
416
+
417
+ // Remove the inheritance of text transform in Firefox
418
+ button,
419
+ select {
420
+ text-transform: none;
421
+ }
422
+
423
+ // Set the cursor for non-`<button>` buttons
424
+ //
425
+ // Details at https://github.com/twbs/bootstrap/pull/30562
426
+ [role="button"] {
427
+ cursor: pointer;
428
+ }
429
+
430
+ select {
431
+ // Remove the inheritance of word-wrap in Safari.
432
+ // See https://github.com/twbs/bootstrap/issues/24990
433
+ word-wrap: normal;
434
+
435
+ // Undo the opacity change from Chrome
436
+ &:disabled {
437
+ opacity: 1;
438
+ }
439
+ }
440
+
441
+ // Remove the dropdown arrow only from text type inputs built with datalists in Chrome.
442
+ // See https://stackoverflow.com/a/54997118
443
+
444
+ [list]:not([type="date"]):not([type="datetime-local"]):not([type="month"]):not([type="week"]):not([type="time"])::-webkit-calendar-picker-indicator {
445
+ display: none !important;
446
+ }
447
+
448
+ // 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
449
+ // controls in Android 4.
450
+ // 2. Correct the inability to style clickable types in iOS and Safari.
451
+ // 3. Add "hand" cursor to non-disabled button elements.
452
+
453
+ button,
454
+ [type="button"], // 1
455
+ [type="reset"],
456
+ [type="submit"] {
457
+ -webkit-appearance: button; // 2
458
+
459
+ &:not(:disabled) {
460
+ cursor: pointer; // 3
461
+ }
462
+ }
463
+
464
+ // Remove inner border and padding from Firefox, but don't restore the outline like Normalize.
465
+
466
+ ::-moz-focus-inner {
467
+ padding: 0;
468
+ border-style: none;
469
+ }
470
+
471
+ // 1. Textareas should really only resize vertically so they don't break their (horizontal) containers.
472
+
473
+ textarea {
474
+ resize: vertical; // 1
475
+ }
476
+
477
+ // 1. Browsers set a default `min-width: min-content;` on fieldsets,
478
+ // unlike e.g. `<div>`s, which have `min-width: 0;` by default.
479
+ // So we reset that to ensure fieldsets behave more like a standard block element.
480
+ // See https://github.com/twbs/bootstrap/issues/12359
481
+ // and https://html.spec.whatwg.org/multipage/#the-fieldset-and-legend-elements
482
+ // 2. Reset the default outline behavior of fieldsets so they don't affect page layout.
483
+
484
+ fieldset {
485
+ min-width: 0; // 1
486
+ padding: 0; // 2
487
+ margin: 0; // 2
488
+ border: 0; // 2
489
+ }
490
+
491
+ // 1. By using `float: left`, the legend will behave like a block element.
492
+ // This way the border of a fieldset wraps around the legend if present.
493
+ // 2. Fix wrapping bug.
494
+ // See https://github.com/twbs/bootstrap/issues/29712
495
+
496
+ legend {
497
+ float: left; // 1
498
+ width: 100%;
499
+ padding: 0;
500
+ margin-bottom: .5rem;
501
+ font-size: 1.5rem;
502
+ font-weight: unset;
503
+ line-height: inherit;
504
+
505
+ + * {
506
+ clear: left; // 2
507
+ }
508
+ }
509
+
510
+ // Fix height of inputs with a type of datetime-local, date, month, week, or time
511
+ // See https://github.com/twbs/bootstrap/issues/18842
512
+
513
+ ::-webkit-datetime-edit-fields-wrapper,
514
+ ::-webkit-datetime-edit-text,
515
+ ::-webkit-datetime-edit-minute,
516
+ ::-webkit-datetime-edit-hour-field,
517
+ ::-webkit-datetime-edit-day-field,
518
+ ::-webkit-datetime-edit-month-field,
519
+ ::-webkit-datetime-edit-year-field {
520
+ padding: 0;
521
+ }
522
+
523
+ ::-webkit-inner-spin-button {
524
+ height: auto;
525
+ }
526
+
527
+ // 1. Correct the outline style in Safari.
528
+ // 2. This overrides the extra rounded corners on search inputs in iOS so that our
529
+ // `.form-control` class can properly style them. Note that this cannot simply
530
+ // be added to `.form-control` as it's not specific enough. For details, see
531
+ // https://github.com/twbs/bootstrap/issues/11586.
532
+
533
+ [type="search"] {
534
+ outline-offset: -2px; // 1
535
+ -webkit-appearance: textfield; // 2
536
+ }
537
+
538
+ // 1. A few input types should stay LTR
539
+ // See https://rtlstyling.com/posts/rtl-styling#form-inputs
540
+ // 2. RTL only output
541
+ // See https://rtlcss.com/learn/usage-guide/control-directives/#raw
542
+
543
+ /* rtl:raw:
544
+ [type="tel"],
545
+ [type="url"],
546
+ [type="email"],
547
+ [type="number"] {
548
+ direction: ltr;
549
+ }
550
+ */
551
+
552
+ // Remove the inner padding in Chrome and Safari on macOS.
553
+
554
+ ::-webkit-search-decoration {
555
+ -webkit-appearance: none;
556
+ }
557
+
558
+ // Remove padding around color pickers in webkit browsers
559
+
560
+ ::-webkit-color-swatch-wrapper {
561
+ padding: 0;
562
+ }
563
+
564
+
565
+ // 1. Inherit font family and line height for file input buttons
566
+ // 2. Correct the inability to style clickable types in iOS and Safari.
567
+
568
+ ::file-selector-button {
569
+ font: inherit; // 1
570
+ -webkit-appearance: button; // 2
571
+ }
572
+
573
+ // Correct element displays
574
+
575
+ output {
576
+ display: inline-block;
577
+ }
578
+
579
+ // Remove border from iframe
580
+
581
+ iframe {
582
+ border: 0;
583
+ }
584
+
585
+ // Summary
586
+ //
587
+ // 1. Add the correct display in all browsers
588
+
589
+ summary {
590
+ display: list-item; // 1
591
+ cursor: pointer;
592
+ }
593
+
594
+
595
+ // Progress
596
+ //
597
+ // Add the correct vertical alignment in Chrome, Firefox, and Opera.
598
+
599
+ progress {
600
+ vertical-align: baseline;
601
+ }
602
+
603
+
604
+ // Hidden attribute
605
+ //
606
+ // Always hide an element with the `hidden` HTML attribute.
607
+
608
+ [hidden] {
609
+ display: none !important;
610
+ }