@byline/ui 1.7.1 → 1.7.2
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.
- package/dist/components/accordion/accordion_module.css +3 -1
- package/dist/components/avatar/avatar_module.css +3 -1
- package/dist/components/badge/badge_module.css +3 -1
- package/dist/components/button/button-group_module.css +3 -1
- package/dist/components/button/button_module.css +3 -1
- package/dist/components/button/combo-button_module.css +3 -1
- package/dist/components/button/control-buttons_module.css +3 -1
- package/dist/components/button/copy-button_module.css +3 -1
- package/dist/components/card/card_module.css +3 -1
- package/dist/components/chips/chip_module.css +3 -1
- package/dist/components/container/container_module.css +3 -1
- package/dist/components/dropdown/dropdown_module.css +3 -1
- package/dist/components/hamburger/hamburger_module.css +3 -1
- package/dist/components/inputs/autocomplete_module.css +3 -1
- package/dist/components/inputs/calendar_module.css +3 -1
- package/dist/components/inputs/checkbox-group_module.css +3 -1
- package/dist/components/inputs/checkbox_module.css +3 -1
- package/dist/components/inputs/error-text_module.css +3 -1
- package/dist/components/inputs/help-text_module.css +3 -1
- package/dist/components/inputs/input-adornment_module.css +3 -1
- package/dist/components/inputs/input_module.css +3 -1
- package/dist/components/inputs/label_module.css +3 -1
- package/dist/components/inputs/radio-group_module.css +3 -1
- package/dist/components/inputs/select_module.css +3 -1
- package/dist/components/inputs/text-area_module.css +3 -1
- package/dist/components/notifications/alert_module.css +3 -1
- package/dist/components/notifications/toast_module.css +3 -1
- package/dist/components/pager/pagination_module.css +3 -1
- package/dist/components/scroll-area/scroll-area_module.css +3 -1
- package/dist/components/scroll-to-top/scroll-to-top_module.css +3 -1
- package/dist/components/section/section_module.css +3 -1
- package/dist/components/shimmer/shimmer_module.css +3 -1
- package/dist/components/table/table_module.css +3 -1
- package/dist/components/tabs/tabs_module.css +3 -1
- package/dist/components/tooltip/tooltip_module.css +3 -1
- package/dist/icons/icons_module.css +3 -1
- package/dist/loaders/ellipses_module.css +3 -1
- package/dist/loaders/ring_module.css +3 -1
- package/dist/loaders/spinner_module.css +3 -1
- package/dist/styles/reset.css +172 -166
- package/dist/styles/styles.css +181 -1506
- package/dist/styles/typography.css +243 -237
- package/dist/widgets/datepicker/datepicker_module.css +3 -1
- package/dist/widgets/drawer/drawer_module.css +3 -1
- package/dist/widgets/image-lightbox/image-lightbox_module.css +3 -1
- package/dist/widgets/modal/modal_module.css +3 -1
- package/dist/widgets/timeline/timeline_module.css +3 -1
- package/package.json +4 -4
- package/src/components/accordion/accordion.module.css +3 -2
- package/src/components/avatar/avatar.module.css +3 -6
- package/src/components/badge/badge.module.css +3 -6
- package/src/components/button/button-group.module.css +3 -2
- package/src/components/button/button.module.css +3 -6
- package/src/components/button/combo-button.module.css +3 -2
- package/src/components/button/control-buttons.module.css +3 -2
- package/src/components/button/copy-button.module.css +3 -6
- package/src/components/card/card.module.css +3 -6
- package/src/components/chips/chip.module.css +3 -6
- package/src/components/container/container.module.css +3 -6
- package/src/components/dropdown/dropdown.module.css +3 -6
- package/src/components/hamburger/hamburger.module.css +3 -6
- package/src/components/inputs/autocomplete.module.css +3 -6
- package/src/components/inputs/calendar.module.css +3 -6
- package/src/components/inputs/checkbox-group.module.css +3 -6
- package/src/components/inputs/checkbox.module.css +3 -6
- package/src/components/inputs/error-text.module.css +3 -6
- package/src/components/inputs/help-text.module.css +3 -6
- package/src/components/inputs/input-adornment.module.css +3 -6
- package/src/components/inputs/input.module.css +3 -6
- package/src/components/inputs/label.module.css +3 -6
- package/src/components/inputs/radio-group.module.css +3 -6
- package/src/components/inputs/select.module.css +3 -6
- package/src/components/inputs/text-area.module.css +3 -6
- package/src/components/notifications/alert.module.css +3 -6
- package/src/components/notifications/toast.module.css +3 -6
- package/src/components/pager/pagination.module.css +3 -6
- package/src/components/scroll-area/scroll-area.module.css +3 -6
- package/src/components/scroll-to-top/scroll-to-top.module.css +3 -2
- package/src/components/section/section.module.css +3 -6
- package/src/components/shimmer/shimmer.module.css +3 -6
- package/src/components/table/table.module.css +3 -6
- package/src/components/tabs/tabs.module.css +3 -6
- package/src/components/tooltip/tooltip.module.css +3 -6
- package/src/icons/icons.module.css +3 -2
- package/src/loaders/ellipses.module.css +3 -6
- package/src/loaders/ring.module.css +3 -6
- package/src/loaders/spinner.module.css +3 -6
- package/src/styles/components/hamburger.css +3 -6
- package/src/styles/reset.css +337 -312
- package/src/styles/styles.css +3 -7
- package/src/styles/theme/autofill.css +53 -62
- package/src/styles/theme/defaults.css +67 -55
- package/src/styles/theme/scrollers.css +48 -39
- package/src/styles/typography/prose.css +270 -265
- package/src/styles/typography.css +20 -14
- package/src/widgets/datepicker/datepicker.module.css +3 -2
- package/src/widgets/drawer/drawer.module.css +3 -2
- package/src/widgets/image-lightbox/image-lightbox.module.css +3 -2
- package/src/widgets/modal/modal.module.css +3 -2
- package/src/widgets/timeline/timeline.module.css +3 -6
- package/src/styles/utils/scroll-layout-shift.css +0 -9
- package/src/styles/utils/utility-classes.css +0 -1395
- package/src/styles/utils/utils.css +0 -2
package/src/styles/reset.css
CHANGED
|
@@ -1,33 +1,54 @@
|
|
|
1
|
-
/*
|
|
1
|
+
/*
|
|
2
2
|
* Based on Tailwind reset / preflight
|
|
3
|
-
* If used in a tailwind project, turn preflight off.
|
|
4
3
|
* Copyright (c) Tailwind Labs, Inc.
|
|
4
|
+
*
|
|
5
|
+
* Scoped to .byline-ui so the reset only applies inside that boundary.
|
|
6
|
+
* Place .byline-ui on the admin layout wrapper to apply it to the admin
|
|
7
|
+
* area only, or on <html> to apply it everywhere (in which case the host
|
|
8
|
+
* should NOT also import tailwindcss/preflight.css).
|
|
9
|
+
*
|
|
10
|
+
* The preamble below pins the cascade-layer order, interleaving byline
|
|
11
|
+
* layers with their Tailwind equivalents by type so each byline layer sits
|
|
12
|
+
* just above its matching Tailwind layer:
|
|
13
|
+
* base < byline-base < components < byline-components < byline-functional
|
|
14
|
+
* < utilities < byline-utilities < theme < byline-theme < byline-typography
|
|
15
|
+
*
|
|
16
|
+
* This ensures byline-base beats Tailwind preflight, byline-components beats
|
|
17
|
+
* Tailwind components, byline-utilities beats Tailwind utilities — each in
|
|
18
|
+
* their own "tier" — rather than every byline layer winning over every
|
|
19
|
+
* Tailwind layer (which would let byline-base win over Tailwind utilities).
|
|
20
|
+
*
|
|
21
|
+
* Hosts using Tailwind don't need to declare layer order themselves.
|
|
5
22
|
*/
|
|
23
|
+
@layer base, byline-base, components, byline-components,
|
|
24
|
+
byline-functional, utilities, byline-utilities,
|
|
25
|
+
theme, byline-theme, byline-typography;
|
|
26
|
+
|
|
6
27
|
@layer byline-base {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
28
|
+
@scope (.byline-ui) {
|
|
29
|
+
/*
|
|
30
|
+
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
|
|
31
|
+
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
|
|
32
|
+
*/
|
|
33
|
+
*,
|
|
34
|
+
::before,
|
|
35
|
+
::after {
|
|
36
|
+
box-sizing: border-box;
|
|
37
|
+
/* 1 */
|
|
38
|
+
border-width: 0;
|
|
39
|
+
/* 2 */
|
|
40
|
+
border-style: solid;
|
|
41
|
+
/* 2 */
|
|
42
|
+
border-color: #e5e7eb;
|
|
43
|
+
/* 2 */
|
|
44
|
+
}
|
|
24
45
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
46
|
+
::before,
|
|
47
|
+
::after {
|
|
48
|
+
--tw-content: "";
|
|
49
|
+
}
|
|
29
50
|
|
|
30
|
-
|
|
51
|
+
/*
|
|
31
52
|
1. Use a consistent sensible line-height in all browsers.
|
|
32
53
|
2. Prevent adjustments of font size after orientation changes in iOS.
|
|
33
54
|
3. Use a more readable tab size.
|
|
@@ -35,432 +56,436 @@
|
|
|
35
56
|
5. Use the user's configured `sans` font-feature-settings by default.
|
|
36
57
|
6. Use the user's configured `sans` font-variation-settings by default.
|
|
37
58
|
7. Disable tap highlights on iOS
|
|
38
|
-
*/
|
|
39
59
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
60
|
+
`:scope` matches the scope root (a wrapper div in admin-only mode, or
|
|
61
|
+
<html> in whole-app mode). Descendants inherit these.
|
|
62
|
+
*/
|
|
63
|
+
:scope,
|
|
64
|
+
:host {
|
|
65
|
+
scroll-behavior: smooth;
|
|
66
|
+
|
|
67
|
+
line-height: 1.5;
|
|
68
|
+
/* 1 */
|
|
69
|
+
-webkit-text-size-adjust: 100%;
|
|
70
|
+
/* 2 */
|
|
71
|
+
-moz-tab-size: 4;
|
|
72
|
+
/* 3 */
|
|
73
|
+
-o-tab-size: 4;
|
|
74
|
+
tab-size: 4;
|
|
75
|
+
/* 3 */
|
|
76
|
+
font-family:
|
|
77
|
+
Inter, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
|
|
78
|
+
"Segoe UI Symbol", "Noto Color Emoji";
|
|
79
|
+
/* 4 */
|
|
80
|
+
font-feature-settings: normal;
|
|
81
|
+
/* 5 */
|
|
82
|
+
font-variation-settings: normal;
|
|
83
|
+
/* 6 */
|
|
84
|
+
-webkit-tap-highlight-color: transparent;
|
|
85
|
+
/* 7 */
|
|
86
|
+
}
|
|
64
87
|
|
|
65
|
-
|
|
88
|
+
/*
|
|
66
89
|
1. Remove the margin in all browsers.
|
|
67
|
-
2. Inherit line-height from
|
|
90
|
+
2. Inherit line-height from the scope root so users can set them as a class directly on the root element.
|
|
91
|
+
(No-op in admin-only mode where <body> is outside the scope; effective in whole-app mode.)
|
|
68
92
|
*/
|
|
69
93
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
94
|
+
body {
|
|
95
|
+
margin: 0;
|
|
96
|
+
/* 1 */
|
|
97
|
+
line-height: inherit;
|
|
98
|
+
/* 2 */
|
|
99
|
+
}
|
|
76
100
|
|
|
77
|
-
|
|
101
|
+
/*
|
|
78
102
|
1. Add the correct height in Firefox.
|
|
79
103
|
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
|
|
80
104
|
3. Ensure horizontal rules are visible by default.
|
|
81
105
|
*/
|
|
82
106
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
107
|
+
hr {
|
|
108
|
+
height: 0;
|
|
109
|
+
/* 1 */
|
|
110
|
+
color: inherit;
|
|
111
|
+
/* 2 */
|
|
112
|
+
border-top-width: 1px;
|
|
113
|
+
/* 3 */
|
|
114
|
+
}
|
|
91
115
|
|
|
92
|
-
|
|
116
|
+
/*
|
|
93
117
|
Add the correct text decoration in Chrome, Edge, and Safari.
|
|
94
118
|
*/
|
|
95
119
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
120
|
+
abbr:where([title]) {
|
|
121
|
+
-webkit-text-decoration: underline dotted;
|
|
122
|
+
text-decoration: underline dotted;
|
|
123
|
+
}
|
|
100
124
|
|
|
101
|
-
|
|
125
|
+
/*
|
|
102
126
|
Remove the default font size and weight for headings.
|
|
103
127
|
*/
|
|
104
128
|
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
129
|
+
h1,
|
|
130
|
+
h2,
|
|
131
|
+
h3,
|
|
132
|
+
h4,
|
|
133
|
+
h5,
|
|
134
|
+
h6 {
|
|
135
|
+
font-size: inherit;
|
|
136
|
+
font-weight: inherit;
|
|
137
|
+
}
|
|
114
138
|
|
|
115
|
-
|
|
139
|
+
/*
|
|
116
140
|
Reset links to optimize for opt-in styling instead of opt-out.
|
|
117
141
|
*/
|
|
118
142
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
143
|
+
a {
|
|
144
|
+
color: inherit;
|
|
145
|
+
text-decoration: inherit;
|
|
146
|
+
}
|
|
123
147
|
|
|
124
|
-
|
|
148
|
+
/*
|
|
125
149
|
Add the correct font weight in Edge and Safari.
|
|
126
150
|
*/
|
|
127
151
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
152
|
+
b,
|
|
153
|
+
strong {
|
|
154
|
+
font-weight: bolder;
|
|
155
|
+
}
|
|
132
156
|
|
|
133
|
-
|
|
157
|
+
/*
|
|
134
158
|
1. Use the user's configured `mono` font-family by default.
|
|
135
159
|
2. Use the user's configured `mono` font-feature-settings by default.
|
|
136
160
|
3. Use the user's configured `mono` font-variation-settings by default.
|
|
137
161
|
4. Correct the odd `em` font sizing in all browsers.
|
|
138
162
|
*/
|
|
139
163
|
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
164
|
+
code,
|
|
165
|
+
kbd,
|
|
166
|
+
samp,
|
|
167
|
+
pre {
|
|
168
|
+
font-family:
|
|
169
|
+
"Source Code Pro", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
|
|
170
|
+
"Courier New", monospace;
|
|
171
|
+
/* 1 */
|
|
172
|
+
font-feature-settings: normal;
|
|
173
|
+
/* 2 */
|
|
174
|
+
font-variation-settings: normal;
|
|
175
|
+
/* 3 */
|
|
176
|
+
font-size: 1em;
|
|
177
|
+
/* 4 */
|
|
178
|
+
}
|
|
155
179
|
|
|
156
|
-
|
|
180
|
+
/*
|
|
157
181
|
Add the correct font size in all browsers.
|
|
158
182
|
*/
|
|
159
183
|
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
184
|
+
small {
|
|
185
|
+
font-size: 80%;
|
|
186
|
+
}
|
|
163
187
|
|
|
164
|
-
|
|
188
|
+
/*
|
|
165
189
|
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
|
|
166
190
|
*/
|
|
167
191
|
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
192
|
+
sub,
|
|
193
|
+
sup {
|
|
194
|
+
font-size: 75%;
|
|
195
|
+
line-height: 0;
|
|
196
|
+
position: relative;
|
|
197
|
+
vertical-align: baseline;
|
|
198
|
+
}
|
|
175
199
|
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
200
|
+
sub {
|
|
201
|
+
bottom: -0.25em;
|
|
202
|
+
}
|
|
179
203
|
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
204
|
+
sup {
|
|
205
|
+
top: -0.5em;
|
|
206
|
+
}
|
|
183
207
|
|
|
184
|
-
|
|
208
|
+
/*
|
|
185
209
|
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
|
|
186
210
|
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
|
|
187
211
|
3. Remove gaps between table borders by default.
|
|
188
212
|
*/
|
|
189
213
|
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
214
|
+
table {
|
|
215
|
+
text-indent: 0;
|
|
216
|
+
/* 1 */
|
|
217
|
+
border-color: inherit;
|
|
218
|
+
/* 2 */
|
|
219
|
+
border-collapse: collapse;
|
|
220
|
+
/* 3 */
|
|
221
|
+
}
|
|
198
222
|
|
|
199
|
-
|
|
223
|
+
/*
|
|
200
224
|
1. Change the font styles in all browsers.
|
|
201
225
|
2. Remove the margin in Firefox and Safari.
|
|
202
226
|
3. Remove default padding in all browsers.
|
|
203
227
|
*/
|
|
204
228
|
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
229
|
+
button,
|
|
230
|
+
input,
|
|
231
|
+
optgroup,
|
|
232
|
+
select,
|
|
233
|
+
textarea {
|
|
234
|
+
font-family: inherit;
|
|
235
|
+
/* 1 */
|
|
236
|
+
font-feature-settings: inherit;
|
|
237
|
+
/* 1 */
|
|
238
|
+
font-variation-settings: inherit;
|
|
239
|
+
/* 1 */
|
|
240
|
+
font-size: 100%;
|
|
241
|
+
/* 1 */
|
|
242
|
+
font-weight: inherit;
|
|
243
|
+
/* 1 */
|
|
244
|
+
line-height: inherit;
|
|
245
|
+
/* 1 */
|
|
246
|
+
letter-spacing: inherit;
|
|
247
|
+
/* 1 */
|
|
248
|
+
color: inherit;
|
|
249
|
+
/* 1 */
|
|
250
|
+
margin: 0;
|
|
251
|
+
/* 2 */
|
|
252
|
+
padding: 0;
|
|
253
|
+
/* 3 */
|
|
254
|
+
}
|
|
231
255
|
|
|
232
|
-
|
|
256
|
+
/*
|
|
233
257
|
* Remove the inheritance of text transform in Edge and Firefox.
|
|
234
258
|
*/
|
|
235
259
|
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
260
|
+
button,
|
|
261
|
+
select {
|
|
262
|
+
text-transform: none;
|
|
263
|
+
}
|
|
240
264
|
|
|
241
|
-
|
|
265
|
+
/*
|
|
242
266
|
1. Correct the inability to style clickable types in iOS and Safari.
|
|
243
267
|
2. Remove default button styles.
|
|
244
268
|
*/
|
|
245
269
|
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
270
|
+
button,
|
|
271
|
+
input:where([type="button"]),
|
|
272
|
+
input:where([type="reset"]),
|
|
273
|
+
input:where([type="submit"]) {
|
|
274
|
+
-webkit-appearance: button;
|
|
275
|
+
/* 1 */
|
|
276
|
+
background-color: transparent;
|
|
277
|
+
/* 2 */
|
|
278
|
+
background-image: none;
|
|
279
|
+
/* 2 */
|
|
280
|
+
}
|
|
257
281
|
|
|
258
|
-
|
|
282
|
+
/*
|
|
259
283
|
Use the modern Firefox focus style for all focusable elements.
|
|
260
284
|
*/
|
|
261
285
|
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
286
|
+
:-moz-focusring {
|
|
287
|
+
outline: auto;
|
|
288
|
+
}
|
|
265
289
|
|
|
266
|
-
|
|
290
|
+
/*
|
|
267
291
|
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
|
|
268
292
|
*/
|
|
269
293
|
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
294
|
+
:-moz-ui-invalid {
|
|
295
|
+
box-shadow: none;
|
|
296
|
+
}
|
|
273
297
|
|
|
274
|
-
|
|
298
|
+
/*
|
|
275
299
|
Add the correct vertical alignment in Chrome and Firefox.
|
|
276
300
|
*/
|
|
277
301
|
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
302
|
+
progress {
|
|
303
|
+
vertical-align: baseline;
|
|
304
|
+
}
|
|
281
305
|
|
|
282
|
-
|
|
306
|
+
/*
|
|
283
307
|
Correct the cursor style of increment and decrement buttons in Safari.
|
|
284
308
|
*/
|
|
285
309
|
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
310
|
+
::-webkit-inner-spin-button,
|
|
311
|
+
::-webkit-outer-spin-button {
|
|
312
|
+
height: auto;
|
|
313
|
+
}
|
|
290
314
|
|
|
291
|
-
|
|
315
|
+
/*
|
|
292
316
|
1. Correct the odd appearance in Chrome and Safari.
|
|
293
317
|
2. Correct the outline style in Safari.
|
|
294
318
|
*/
|
|
295
319
|
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
320
|
+
[type="search"] {
|
|
321
|
+
-webkit-appearance: textfield;
|
|
322
|
+
/* 1 */
|
|
323
|
+
outline-offset: -2px;
|
|
324
|
+
/* 2 */
|
|
325
|
+
}
|
|
302
326
|
|
|
303
|
-
|
|
327
|
+
/*
|
|
304
328
|
Remove the inner padding in Chrome and Safari on macOS.
|
|
305
329
|
*/
|
|
306
330
|
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
331
|
+
::-webkit-search-decoration {
|
|
332
|
+
-webkit-appearance: none;
|
|
333
|
+
}
|
|
310
334
|
|
|
311
|
-
|
|
335
|
+
/*
|
|
312
336
|
1. Correct the inability to style clickable types in iOS and Safari.
|
|
313
337
|
2. Change font properties to `inherit` in Safari.
|
|
314
338
|
*/
|
|
315
339
|
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
340
|
+
::-webkit-file-upload-button {
|
|
341
|
+
-webkit-appearance: button;
|
|
342
|
+
/* 1 */
|
|
343
|
+
font: inherit;
|
|
344
|
+
/* 2 */
|
|
345
|
+
}
|
|
322
346
|
|
|
323
|
-
|
|
347
|
+
/*
|
|
324
348
|
Add the correct display in Chrome and Safari.
|
|
325
349
|
*/
|
|
326
350
|
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
351
|
+
summary {
|
|
352
|
+
display: list-item;
|
|
353
|
+
}
|
|
330
354
|
|
|
331
|
-
|
|
355
|
+
/*
|
|
332
356
|
Removes the default spacing and border for appropriate elements.
|
|
333
357
|
*/
|
|
334
358
|
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
359
|
+
blockquote,
|
|
360
|
+
dl,
|
|
361
|
+
dd,
|
|
362
|
+
h1,
|
|
363
|
+
h2,
|
|
364
|
+
h3,
|
|
365
|
+
h4,
|
|
366
|
+
h5,
|
|
367
|
+
h6,
|
|
368
|
+
hr,
|
|
369
|
+
figure,
|
|
370
|
+
p,
|
|
371
|
+
pre {
|
|
372
|
+
margin: 0;
|
|
373
|
+
}
|
|
350
374
|
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
375
|
+
fieldset {
|
|
376
|
+
margin: 0;
|
|
377
|
+
padding: 0;
|
|
378
|
+
}
|
|
355
379
|
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
380
|
+
legend {
|
|
381
|
+
padding: 0;
|
|
382
|
+
}
|
|
359
383
|
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
384
|
+
ol,
|
|
385
|
+
ul,
|
|
386
|
+
menu {
|
|
387
|
+
list-style: none;
|
|
388
|
+
margin: 0;
|
|
389
|
+
padding: 0;
|
|
390
|
+
}
|
|
367
391
|
|
|
368
|
-
|
|
392
|
+
/*
|
|
369
393
|
Reset default styling for dialogs.
|
|
370
394
|
*/
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
395
|
+
dialog {
|
|
396
|
+
padding: 0;
|
|
397
|
+
}
|
|
374
398
|
|
|
375
|
-
|
|
399
|
+
/*
|
|
376
400
|
Prevent resizing textareas horizontally by default.
|
|
377
401
|
*/
|
|
378
402
|
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
403
|
+
textarea {
|
|
404
|
+
resize: vertical;
|
|
405
|
+
}
|
|
382
406
|
|
|
383
|
-
|
|
407
|
+
/*
|
|
384
408
|
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
|
|
385
409
|
2. Set the default placeholder color to the user's configured gray 400 color.
|
|
386
410
|
*/
|
|
387
411
|
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
412
|
+
input::-moz-placeholder,
|
|
413
|
+
textarea::-moz-placeholder {
|
|
414
|
+
opacity: 1;
|
|
415
|
+
/* 1 */
|
|
416
|
+
color: #9ca3af;
|
|
417
|
+
/* 2 */
|
|
418
|
+
}
|
|
395
419
|
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
420
|
+
input::placeholder,
|
|
421
|
+
textarea::placeholder {
|
|
422
|
+
opacity: 1;
|
|
423
|
+
/* 1 */
|
|
424
|
+
color: #9ca3af;
|
|
425
|
+
/* 2 */
|
|
426
|
+
}
|
|
403
427
|
|
|
404
|
-
|
|
428
|
+
/*
|
|
405
429
|
Set the default cursor for buttons.
|
|
406
430
|
*/
|
|
407
431
|
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
432
|
+
button,
|
|
433
|
+
[role="button"] {
|
|
434
|
+
cursor: pointer;
|
|
435
|
+
}
|
|
412
436
|
|
|
413
|
-
|
|
437
|
+
/*
|
|
414
438
|
Make sure disabled buttons don't get the pointer cursor.
|
|
415
439
|
*/
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
440
|
+
:disabled {
|
|
441
|
+
cursor: default;
|
|
442
|
+
}
|
|
419
443
|
|
|
420
|
-
|
|
444
|
+
/*
|
|
421
445
|
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
|
|
422
446
|
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
|
|
423
447
|
This can trigger a poorly considered lint error in some tools but is included by design.
|
|
424
448
|
*/
|
|
425
449
|
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
450
|
+
img,
|
|
451
|
+
svg,
|
|
452
|
+
video,
|
|
453
|
+
canvas,
|
|
454
|
+
audio,
|
|
455
|
+
iframe,
|
|
456
|
+
embed,
|
|
457
|
+
object {
|
|
458
|
+
display: block;
|
|
459
|
+
/* 1 */
|
|
460
|
+
vertical-align: middle;
|
|
461
|
+
/* 2 */
|
|
462
|
+
}
|
|
439
463
|
|
|
440
|
-
|
|
464
|
+
/*
|
|
441
465
|
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
|
|
442
466
|
*/
|
|
443
467
|
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
468
|
+
img,
|
|
469
|
+
video {
|
|
470
|
+
max-width: 100%;
|
|
471
|
+
height: auto;
|
|
472
|
+
}
|
|
449
473
|
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
474
|
+
/* Make elements with the HTML hidden attribute stay hidden by default */
|
|
475
|
+
[hidden]:where(:not([hidden="until-found"])) {
|
|
476
|
+
display: none;
|
|
477
|
+
}
|
|
454
478
|
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
479
|
+
/* Remove all animations and transitions for people that prefer not to see them */
|
|
480
|
+
@media (prefers-reduced-motion: reduce) {
|
|
481
|
+
*,
|
|
482
|
+
*::before,
|
|
483
|
+
*::after {
|
|
484
|
+
animation-duration: 0.01ms;
|
|
485
|
+
animation-iteration-count: 1;
|
|
486
|
+
transition-duration: 0.01ms;
|
|
487
|
+
scroll-behavior: auto;
|
|
488
|
+
}
|
|
464
489
|
}
|
|
465
490
|
}
|
|
466
491
|
}
|