@gitbutler/design-core 1.3.7 → 1.3.8

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/styles/reset.css CHANGED
@@ -1,268 +1,268 @@
1
1
  /* BOILERPLATE CSS */
2
2
  /* reset all styles */
3
3
  @layer reset {
4
- /* base */
5
- *,
6
- :after,
7
- :before {
8
- box-sizing: border-box;
9
- border: 0 solid;
10
- }
11
-
12
- html {
13
- overscroll-behavior: none;
14
- font-size: 16px;
15
- line-height: 1.5;
16
- -webkit-font-smoothing: antialiased;
17
- -moz-osx-font-smoothing: grayscale;
18
- text-rendering: optimizeLegibility;
19
- }
20
-
21
- body {
22
- padding: 0;
23
- margin: 0;
24
- overflow-x: hidden;
25
- color: var(--clr-text-1);
26
- font-family: var(--font-default);
27
- }
28
-
29
- /* elements */
30
- hr {
31
- height: 0;
32
- border-top-width: 1px;
33
- color: inherit;
34
- }
35
-
36
- abbr:where([title]) {
37
- -webkit-text-decoration: underline dotted;
38
- text-decoration: underline dotted;
39
- }
40
-
41
- h1,
42
- h2,
43
- h3,
44
- h4,
45
- h5,
46
- h6 {
47
- font-weight: inherit;
48
- font-size: inherit;
49
- }
50
-
51
- a {
52
- color: inherit;
53
- text-decoration: inherit;
54
- }
55
-
56
- b,
57
- strong {
58
- font-weight: bolder;
59
- }
60
-
61
- code,
62
- kbd,
63
- pre,
64
- samp {
65
- font-size: 1em;
66
- font-family: var(--font-mono);
67
- font-variation-settings: normal;
68
- font-feature-settings: normal;
69
- }
70
-
71
- small {
72
- font-size: 80%;
73
- }
74
-
75
- sub,
76
- sup {
77
- position: relative;
78
- font-size: 75%;
79
- line-height: 0;
80
- vertical-align: baseline;
81
- }
82
-
83
- sub {
84
- bottom: -0.25em;
85
- }
86
-
87
- sup {
88
- top: -0.5em;
89
- }
90
-
91
- table {
92
- border-color: inherit;
93
- border-collapse: collapse;
94
- text-indent: 0;
95
- }
96
-
97
- button,
98
- input,
99
- optgroup,
100
- select,
101
- textarea {
102
- margin: 0;
103
- padding: 0;
104
- border: 0;
105
- color: inherit;
106
- font-weight: inherit;
107
- font-size: 100%;
108
- line-height: inherit;
109
- font-family: inherit;
110
- font-variation-settings: inherit;
111
- font-feature-settings: inherit;
112
- letter-spacing: inherit;
113
- background: transparent;
114
- }
115
-
116
- button,
117
- select {
118
- text-transform: none;
119
- }
120
-
121
- button,
122
- input:where([type="button"]),
123
- input:where([type="reset"]),
124
- input:where([type="submit"]) {
125
- -webkit-appearance: button;
126
- background-image: none;
127
- background-color: transparent;
128
- outline: none;
129
- touch-action: manipulation;
130
- }
131
-
132
- :-moz-focusring {
133
- outline: auto;
134
- }
135
-
136
- :-moz-ui-invalid {
137
- box-shadow: none;
138
- }
139
-
140
- progress {
141
- vertical-align: baseline;
142
- }
143
-
144
- ::-webkit-inner-spin-button,
145
- ::-webkit-outer-spin-button {
146
- height: auto;
147
- }
148
-
149
- [type="search"] {
150
- -webkit-appearance: textfield;
151
- outline-offset: -2px;
152
- }
153
-
154
- ::-webkit-search-decoration {
155
- -webkit-appearance: none;
156
- }
157
-
158
- ::-webkit-file-upload-button {
159
- -webkit-appearance: button;
160
- font: inherit;
161
- }
162
-
163
- summary {
164
- display: list-item;
165
- }
166
-
167
- blockquote,
168
- dd,
169
- dl,
170
- figure,
171
- h1,
172
- h2,
173
- h3,
174
- h4,
175
- h5,
176
- h6,
177
- hr,
178
- p,
179
- pre {
180
- margin: 0;
181
- }
182
-
183
- fieldset {
184
- margin: 0;
185
- }
186
-
187
- fieldset,
188
- legend {
189
- padding: 0;
190
- }
191
-
192
- menu,
193
- ol,
194
- ul {
195
- margin: 0;
196
- padding: 0;
197
- list-style: none;
198
- }
199
-
200
- dialog {
201
- padding: 0;
202
- }
203
-
204
- textarea {
205
- resize: vertical;
206
- }
207
-
208
- input::-moz-placeholder,
209
- textarea::-moz-placeholder {
210
- color: #9ca3af;
211
- opacity: 1;
212
- }
213
-
214
- input::placeholder,
215
- textarea::placeholder {
216
- color: #9ca3af;
217
- opacity: 1;
218
- }
219
-
220
- [role="button"],
221
- button {
222
- text-align: left;
223
- cursor: pointer;
224
- }
225
-
226
- [role="button"]:disabled,
227
- button:disabled,
228
- :disabled {
229
- cursor: not-allowed;
230
- }
231
-
232
- audio,
233
- canvas,
234
- embed,
235
- iframe,
236
- img,
237
- object,
238
- video {
239
- display: block;
240
- vertical-align: middle;
241
- }
242
-
243
- img,
244
- video {
245
- max-width: 100%;
246
- height: auto;
247
- }
248
-
249
- [hidden] {
250
- display: none;
251
- }
252
-
253
- /* Focus outline for keyboard navigation */
254
- a:focus-visible,
255
- button:focus-visible,
256
- input:focus-visible,
257
- select:focus-visible,
258
- textarea:focus-visible,
259
- [tabindex]:focus-visible,
260
- [role="button"]:focus-visible,
261
- [role="link"]:focus-visible,
262
- details:focus-visible,
263
- summary:focus-visible,
264
- .focus-visible:focus-visible {
265
- outline: 2px solid var(--clr-theme-pop-element);
266
- outline-offset: -2px;
267
- }
268
-
4
+ /* base */
5
+ *,
6
+ :after,
7
+ :before {
8
+ box-sizing: border-box;
9
+ border: 0 solid;
10
+ }
11
+
12
+ html {
13
+ overscroll-behavior: none;
14
+ font-size: 16px;
15
+ line-height: 1.5;
16
+ -webkit-font-smoothing: antialiased;
17
+ -moz-osx-font-smoothing: grayscale;
18
+ text-rendering: optimizeLegibility;
19
+ }
20
+
21
+ body {
22
+ padding: 0;
23
+ margin: 0;
24
+ overflow-x: hidden;
25
+ color: var(--clr-text-1);
26
+ font-family: var(--font-default);
27
+ }
28
+
29
+ /* elements */
30
+ hr {
31
+ height: 0;
32
+ border-top-width: 1px;
33
+ color: inherit;
34
+ }
35
+
36
+ abbr:where([title]) {
37
+ -webkit-text-decoration: underline dotted;
38
+ text-decoration: underline dotted;
39
+ }
40
+
41
+ h1,
42
+ h2,
43
+ h3,
44
+ h4,
45
+ h5,
46
+ h6 {
47
+ font-weight: inherit;
48
+ font-size: inherit;
49
+ }
50
+
51
+ a {
52
+ color: inherit;
53
+ text-decoration: inherit;
54
+ }
55
+
56
+ b,
57
+ strong {
58
+ font-weight: bolder;
59
+ }
60
+
61
+ code,
62
+ kbd,
63
+ pre,
64
+ samp {
65
+ font-size: 1em;
66
+ font-family: var(--font-mono);
67
+ font-variation-settings: normal;
68
+ font-feature-settings: normal;
69
+ }
70
+
71
+ small {
72
+ font-size: 80%;
73
+ }
74
+
75
+ sub,
76
+ sup {
77
+ position: relative;
78
+ font-size: 75%;
79
+ line-height: 0;
80
+ vertical-align: baseline;
81
+ }
82
+
83
+ sub {
84
+ bottom: -0.25em;
85
+ }
86
+
87
+ sup {
88
+ top: -0.5em;
89
+ }
90
+
91
+ table {
92
+ border-color: inherit;
93
+ border-collapse: collapse;
94
+ text-indent: 0;
95
+ }
96
+
97
+ button,
98
+ input,
99
+ optgroup,
100
+ select,
101
+ textarea {
102
+ margin: 0;
103
+ padding: 0;
104
+ border: 0;
105
+ color: inherit;
106
+ font-weight: inherit;
107
+ font-size: 100%;
108
+ line-height: inherit;
109
+ font-family: inherit;
110
+ font-variation-settings: inherit;
111
+ font-feature-settings: inherit;
112
+ letter-spacing: inherit;
113
+ background: transparent;
114
+ }
115
+
116
+ button,
117
+ select {
118
+ text-transform: none;
119
+ }
120
+
121
+ button,
122
+ input:where([type="button"]),
123
+ input:where([type="reset"]),
124
+ input:where([type="submit"]) {
125
+ -webkit-appearance: button;
126
+ background-image: none;
127
+ background-color: transparent;
128
+ outline: none;
129
+ touch-action: manipulation;
130
+ }
131
+
132
+ :-moz-focusring {
133
+ outline: auto;
134
+ }
135
+
136
+ :-moz-ui-invalid {
137
+ box-shadow: none;
138
+ }
139
+
140
+ progress {
141
+ vertical-align: baseline;
142
+ }
143
+
144
+ ::-webkit-inner-spin-button,
145
+ ::-webkit-outer-spin-button {
146
+ height: auto;
147
+ }
148
+
149
+ [type="search"] {
150
+ -webkit-appearance: textfield;
151
+ outline-offset: -2px;
152
+ }
153
+
154
+ ::-webkit-search-decoration {
155
+ -webkit-appearance: none;
156
+ }
157
+
158
+ ::-webkit-file-upload-button {
159
+ -webkit-appearance: button;
160
+ font: inherit;
161
+ }
162
+
163
+ summary {
164
+ display: list-item;
165
+ }
166
+
167
+ blockquote,
168
+ dd,
169
+ dl,
170
+ figure,
171
+ h1,
172
+ h2,
173
+ h3,
174
+ h4,
175
+ h5,
176
+ h6,
177
+ hr,
178
+ p,
179
+ pre {
180
+ margin: 0;
181
+ }
182
+
183
+ fieldset {
184
+ margin: 0;
185
+ }
186
+
187
+ fieldset,
188
+ legend {
189
+ padding: 0;
190
+ }
191
+
192
+ menu,
193
+ ol,
194
+ ul {
195
+ margin: 0;
196
+ padding: 0;
197
+ list-style: none;
198
+ }
199
+
200
+ dialog {
201
+ padding: 0;
202
+ }
203
+
204
+ textarea {
205
+ resize: vertical;
206
+ }
207
+
208
+ input::-moz-placeholder,
209
+ textarea::-moz-placeholder {
210
+ color: #9ca3af;
211
+ opacity: 1;
212
+ }
213
+
214
+ input::placeholder,
215
+ textarea::placeholder {
216
+ color: #9ca3af;
217
+ opacity: 1;
218
+ }
219
+
220
+ [role="button"],
221
+ button {
222
+ text-align: left;
223
+ cursor: pointer;
224
+ }
225
+
226
+ [role="button"]:disabled,
227
+ button:disabled,
228
+ :disabled {
229
+ cursor: not-allowed;
230
+ }
231
+
232
+ audio,
233
+ canvas,
234
+ embed,
235
+ iframe,
236
+ img,
237
+ object,
238
+ video {
239
+ display: block;
240
+ vertical-align: middle;
241
+ }
242
+
243
+ img,
244
+ video {
245
+ max-width: 100%;
246
+ height: auto;
247
+ }
248
+
249
+ [hidden] {
250
+ display: none;
251
+ }
252
+
253
+ /* Focus outline for keyboard navigation */
254
+ a:focus-visible,
255
+ button:focus-visible,
256
+ input:focus-visible,
257
+ select:focus-visible,
258
+ textarea:focus-visible,
259
+ [tabindex]:focus-visible,
260
+ [role="button"]:focus-visible,
261
+ [role="link"]:focus-visible,
262
+ details:focus-visible,
263
+ summary:focus-visible,
264
+ .focus-visible:focus-visible {
265
+ outline: 2px solid var(--clr-theme-pop-element);
266
+ outline-offset: -2px;
267
+ }
268
+ }