@muibook/components 1.2.1 → 1.3.1

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.
@@ -0,0 +1,287 @@
1
+ /* ==================== */
2
+ /* __ __ _ _ ___ */
3
+ /* | \/ | | | |_ _| */
4
+ /* | |\/| | | | || | */
5
+ /* | | | | |_| || | */
6
+ /* |_| |_|\___/|___| */
7
+ /* */
8
+ /* michael.ui.system */
9
+ /* ==================== */
10
+
11
+ :where(html) {
12
+ --root-font-size: 62.5%;
13
+ font-size: var(--root-font-size);
14
+ font-family: var(--font-family);
15
+ background: var(--white);
16
+ color: var(--text-color);
17
+ line-height: var(--text-line-height);
18
+
19
+ -webkit-font-smoothing: antialiased;
20
+ -moz-osx-font-smoothing: grayscale;
21
+
22
+ -webkit-text-size-adjust: 100%;
23
+ -ms-text-size-adjust: 100%;
24
+ }
25
+
26
+ html {
27
+ scroll-behavior: smooth;
28
+ }
29
+
30
+ body {
31
+ margin: var(--space-000);
32
+ font-size: var(--text-font-size);
33
+ min-height: 100vh;
34
+ }
35
+
36
+ button,
37
+ input,
38
+ optgroup,
39
+ select,
40
+ textarea {
41
+ font-family: var(--font-family);
42
+ font-size: var(--text-font-size);
43
+ line-height: var(--text-line-height);
44
+ margin: var(--space-000);
45
+ }
46
+
47
+ :focus-visible,
48
+ button:focus-visible,
49
+ input:focus-visible,
50
+ textarea:focus-visible,
51
+ select:focus-visible,
52
+ summary:focus-visible {
53
+ outline: var(--outline-thick);
54
+ }
55
+
56
+ progress {
57
+ vertical-align: baseline;
58
+ }
59
+
60
+ summary {
61
+ display: list-item;
62
+ }
63
+
64
+ template,
65
+ [hidden] {
66
+ display: none;
67
+ }
68
+
69
+ article,
70
+ aside,
71
+ details,
72
+ figcaption,
73
+ figure,
74
+ footer,
75
+ header,
76
+ hgroup,
77
+ main,
78
+ nav,
79
+ section,
80
+ summary {
81
+ display: block;
82
+ }
83
+
84
+ article,
85
+ aside,
86
+ main,
87
+ section,
88
+ nav,
89
+ header,
90
+ footer {
91
+ width: 100%;
92
+ }
93
+
94
+ audio,
95
+ canvas,
96
+ mark,
97
+ video {
98
+ display: inline-block;
99
+ }
100
+
101
+ img,
102
+ legend {
103
+ border: 0;
104
+ }
105
+
106
+ body,
107
+ figure,
108
+ form {
109
+ margin: var(--space-000);
110
+ }
111
+
112
+ audio,
113
+ canvas,
114
+ img,
115
+ video {
116
+ vertical-align: middle;
117
+ }
118
+
119
+ dfn {
120
+ font-style: italic;
121
+ }
122
+
123
+ q {
124
+ quotes: none;
125
+ }
126
+
127
+ q:after,
128
+ q:before {
129
+ content: '';
130
+ content: none;
131
+ }
132
+
133
+ abbr[title] {
134
+ border-bottom: none;
135
+ text-decoration: underline dotted;
136
+ }
137
+
138
+ dd {
139
+ margin: 0;
140
+ }
141
+
142
+ *,
143
+ :before,
144
+ :after {
145
+ box-sizing: border-box;
146
+ }
147
+
148
+ ::-moz-selection,
149
+ ::selection {
150
+ background: var(--grey-900);
151
+ color: var(--white);
152
+ text-shadow: none;
153
+ }
154
+
155
+ button,
156
+ [type='button'],
157
+ [type='reset'],
158
+ [type='submit'] {
159
+ appearance: button;
160
+ cursor: pointer;
161
+ }
162
+
163
+ button::-moz-focus-inner,
164
+ [type='button']::-moz-focus-inner,
165
+ [type='reset']::-moz-focus-inner,
166
+ [type='submit']::-moz-focus-inner {
167
+ border-style: none;
168
+ padding: 0;
169
+ }
170
+
171
+ :focus:not(:focus-visible) {
172
+ outline: none;
173
+ }
174
+
175
+ [type='number']::-webkit-inner-spin-button,
176
+ [type='number']::-webkit-outer-spin-button {
177
+ height: auto;
178
+ }
179
+
180
+ [type='search'] {
181
+ appearance: textfield;
182
+ outline-offset: -2px;
183
+ }
184
+
185
+ [type='search']::-webkit-search-decoration {
186
+ appearance: none;
187
+ }
188
+
189
+ ::-webkit-file-upload-button {
190
+ appearance: button;
191
+ font: inherit;
192
+ }
193
+
194
+ input[type='search']::-webkit-search-cancel-button,
195
+ input[type='search']::-webkit-search-decoration {
196
+ appearance: none;
197
+ }
198
+
199
+ input::-moz-focus-inner {
200
+ border: 0;
201
+ padding: 0;
202
+ }
203
+
204
+ button,
205
+ input,
206
+ optgroup,
207
+ select,
208
+ textarea {
209
+ vertical-align: baseline;
210
+ }
211
+
212
+ [type='checkbox'],
213
+ [type='radio'],
214
+ legend {
215
+ padding: 0;
216
+ }
217
+
218
+ button,
219
+ input {
220
+ overflow: visible;
221
+ }
222
+
223
+ button,
224
+ select {
225
+ text-transform: none;
226
+ }
227
+
228
+ button[disabled],
229
+ html input[disabled] {
230
+ cursor: default;
231
+ }
232
+
233
+ em {
234
+ font-style: italic;
235
+ }
236
+
237
+ b,
238
+ strong {
239
+ font-weight: 700;
240
+ }
241
+
242
+ input,
243
+ textarea {
244
+ appearance: none;
245
+ }
246
+
247
+ input[type='radio'] {
248
+ appearance: radio;
249
+ }
250
+
251
+ input[type='checkbox'] {
252
+ appearance: checkbox;
253
+ }
254
+
255
+ input[type='button'],
256
+ input[type='submit'],
257
+ input[type='reset'],
258
+ button {
259
+ display: inline-block;
260
+ cursor: pointer;
261
+ width: auto;
262
+ }
263
+
264
+ table {
265
+ width: 100%;
266
+ border-collapse: collapse;
267
+ border-spacing: 0;
268
+ }
269
+
270
+ label {
271
+ display: block;
272
+ }
273
+
274
+ textarea {
275
+ resize: vertical;
276
+ overflow: auto;
277
+ vertical-align: top;
278
+ }
279
+
280
+ legend {
281
+ font-weight: 700;
282
+ }
283
+
284
+ input[type='checkbox'],
285
+ input[type='radio'] {
286
+ width: auto;
287
+ }