@atomscraft/css 0.0.0-stage → 0.1.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.
- package/LICENSE +21 -0
- package/README.md +64 -2
- package/dist/components/app-layout.css +396 -0
- package/dist/components/button.css +134 -0
- package/dist/components/calendar.css +162 -0
- package/dist/components/card.css +177 -0
- package/dist/components/choice-controls.css +175 -0
- package/dist/components/code.css +78 -0
- package/dist/components/command.css +49 -0
- package/dist/components/dialog.css +162 -0
- package/dist/components/disclosure.css +192 -0
- package/dist/components/display.css +430 -0
- package/dist/components/feedback.css +213 -0
- package/dist/components/field.css +230 -0
- package/dist/components/form-controls.css +150 -0
- package/dist/components/form.css +111 -0
- package/dist/components/listbox.css +296 -0
- package/dist/components/navigation.css +140 -0
- package/dist/components/overlays.css +120 -0
- package/dist/components/slider.css +134 -0
- package/dist/components/table.css +249 -0
- package/dist/components/typography.css +155 -0
- package/dist/index.css +23 -0
- package/dist/reset.css +55 -0
- package/dist/tokens.css +811 -0
- package/dist/utilities.css +67 -0
- package/package.json +38 -3
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
.ac-table-container {
|
|
2
|
+
position: relative;
|
|
3
|
+
inline-size: 100%;
|
|
4
|
+
overflow-x: auto;
|
|
5
|
+
border: var(--ac-border-width-1) solid var(--ac-color-border-default);
|
|
6
|
+
border-radius: var(--ac-radius-card);
|
|
7
|
+
background: var(--ac-color-bg-surface);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.ac-table-container[data-sticky-header] {
|
|
11
|
+
max-block-size: 32rem;
|
|
12
|
+
overflow-y: auto;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.ac-table {
|
|
16
|
+
--_cell-y: var(--ac-space-3);
|
|
17
|
+
|
|
18
|
+
inline-size: 100%;
|
|
19
|
+
border-collapse: collapse;
|
|
20
|
+
font-size: var(--ac-type-body-sm-size);
|
|
21
|
+
font-variant-numeric: tabular-nums;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.ac-table[data-density="compact"] {
|
|
25
|
+
--_cell-y: var(--ac-space-1-5);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.ac-table__caption {
|
|
29
|
+
padding: var(--ac-space-3) var(--ac-space-4);
|
|
30
|
+
color: var(--ac-color-text-secondary);
|
|
31
|
+
font-size: var(--ac-type-body-sm-size);
|
|
32
|
+
text-align: start;
|
|
33
|
+
caption-side: top;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.ac-table__head,
|
|
37
|
+
.ac-table__cell {
|
|
38
|
+
padding: var(--_cell-y) var(--ac-space-4);
|
|
39
|
+
border-block-end: var(--ac-border-width-1) solid var(--ac-color-border-default);
|
|
40
|
+
text-align: start;
|
|
41
|
+
white-space: nowrap;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.ac-table__head {
|
|
45
|
+
background: var(--ac-color-bg-subtle);
|
|
46
|
+
color: var(--ac-color-text-secondary);
|
|
47
|
+
font-size: var(--ac-type-label-md-size);
|
|
48
|
+
font-weight: var(--ac-font-weight-medium);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.ac-table-container[data-sticky-header] .ac-table__head {
|
|
52
|
+
position: sticky;
|
|
53
|
+
inset-block-start: 0;
|
|
54
|
+
z-index: var(--ac-z-raised);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.ac-table__body .ac-table__row:last-child .ac-table__cell {
|
|
58
|
+
border-block-end: 0;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.ac-table__body .ac-table__row {
|
|
62
|
+
transition: background-color var(--ac-duration-fast);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.ac-table__body .ac-table__row:hover {
|
|
66
|
+
background: var(--ac-color-bg-subtle);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.ac-table[data-striped] .ac-table__body .ac-table__row:nth-child(even) {
|
|
70
|
+
background: var(--ac-color-bg-subtle);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.ac-table__row[data-state="selected"],
|
|
74
|
+
.ac-table__body .ac-table__row[data-state="selected"]:hover {
|
|
75
|
+
background: var(--ac-color-primary-soft);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.ac-table :is(.ac-table__head, .ac-table__cell)[data-align="center"] {
|
|
79
|
+
text-align: center;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.ac-table :is(.ac-table__head, .ac-table__cell)[data-align="end"] {
|
|
83
|
+
text-align: end;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.ac-table__select {
|
|
87
|
+
inline-size: 1%;
|
|
88
|
+
padding-inline-end: 0;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.ac-table__sort {
|
|
92
|
+
display: inline-flex;
|
|
93
|
+
align-items: center;
|
|
94
|
+
gap: var(--ac-space-1);
|
|
95
|
+
margin-inline: calc(var(--ac-space-1-5) * -1);
|
|
96
|
+
padding: var(--ac-space-1) var(--ac-space-1-5);
|
|
97
|
+
border: 0;
|
|
98
|
+
border-radius: var(--ac-radius-sm);
|
|
99
|
+
background: transparent;
|
|
100
|
+
color: inherit;
|
|
101
|
+
font: inherit;
|
|
102
|
+
cursor: pointer;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.ac-table__sort:hover {
|
|
106
|
+
background: var(--ac-color-bg-muted);
|
|
107
|
+
color: var(--ac-color-text-primary);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.ac-table__sort .ac-icon {
|
|
111
|
+
inline-size: 0.875rem;
|
|
112
|
+
block-size: 0.875rem;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.ac-table__sort-idle {
|
|
116
|
+
opacity: 0.45;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.ac-table__empty {
|
|
120
|
+
padding-block: var(--ac-space-10);
|
|
121
|
+
color: var(--ac-color-text-secondary);
|
|
122
|
+
text-align: center;
|
|
123
|
+
white-space: normal;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.ac-table__footer .ac-table__cell {
|
|
127
|
+
border-block-start: var(--ac-border-width-1) solid var(--ac-color-border-default);
|
|
128
|
+
border-block-end: 0;
|
|
129
|
+
font-weight: var(--ac-font-weight-medium);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.ac-table__error {
|
|
133
|
+
padding-block: var(--ac-space-10);
|
|
134
|
+
text-align: center;
|
|
135
|
+
white-space: normal;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.ac-table__error-text {
|
|
139
|
+
display: inline-flex;
|
|
140
|
+
align-items: center;
|
|
141
|
+
gap: var(--ac-space-2);
|
|
142
|
+
color: var(--ac-color-danger-text);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/* DataTable: the toolbar above the table and the page controls below it. */
|
|
146
|
+
.ac-data-table {
|
|
147
|
+
display: grid;
|
|
148
|
+
gap: var(--ac-space-3);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.ac-data-table__toolbar,
|
|
152
|
+
.ac-data-table__footer {
|
|
153
|
+
display: flex;
|
|
154
|
+
flex-wrap: wrap;
|
|
155
|
+
align-items: center;
|
|
156
|
+
gap: var(--ac-space-2);
|
|
157
|
+
justify-content: space-between;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.ac-data-table__filters,
|
|
161
|
+
.ac-data-table__actions,
|
|
162
|
+
.ac-data-table__pages {
|
|
163
|
+
display: flex;
|
|
164
|
+
flex-wrap: wrap;
|
|
165
|
+
align-items: center;
|
|
166
|
+
gap: var(--ac-space-2);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
/* The filters take the free space, so the search box and the facets share a row. */
|
|
170
|
+
.ac-data-table__filters {
|
|
171
|
+
flex: 1 1 auto;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.ac-data-table__search {
|
|
175
|
+
flex: 0 1 18rem;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.ac-data-table__status {
|
|
179
|
+
color: var(--ac-color-text-secondary);
|
|
180
|
+
font-size: var(--ac-type-body-sm-size);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.ac-data-table__page-size {
|
|
184
|
+
display: inline-flex;
|
|
185
|
+
align-items: center;
|
|
186
|
+
gap: var(--ac-space-2);
|
|
187
|
+
color: var(--ac-color-text-secondary);
|
|
188
|
+
font-size: var(--ac-type-body-sm-size);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.ac-data-table__page-size .ac-select {
|
|
192
|
+
inline-size: auto;
|
|
193
|
+
min-inline-size: 4.5rem;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
/* Filters sit next to the search box instead of stretching across the toolbar. */
|
|
197
|
+
.ac-data-table__filters > :is(.ac-select-menu, .ac-combobox, .ac-select) {
|
|
198
|
+
inline-size: auto;
|
|
199
|
+
min-inline-size: 10rem;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
/* Below the medium breakpoint each row becomes a card of labelled values. */
|
|
203
|
+
@media (max-width: 47.99rem) {
|
|
204
|
+
.ac-data-table[data-responsive] .ac-table__header {
|
|
205
|
+
position: absolute;
|
|
206
|
+
overflow: hidden;
|
|
207
|
+
inline-size: 1px;
|
|
208
|
+
block-size: 1px;
|
|
209
|
+
clip-path: inset(50%);
|
|
210
|
+
white-space: nowrap;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.ac-data-table[data-responsive] .ac-table,
|
|
214
|
+
.ac-data-table[data-responsive] .ac-table__body,
|
|
215
|
+
.ac-data-table[data-responsive] .ac-table__row,
|
|
216
|
+
.ac-data-table[data-responsive] .ac-table__cell {
|
|
217
|
+
display: block;
|
|
218
|
+
inline-size: 100%;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.ac-data-table[data-responsive] .ac-table__row {
|
|
222
|
+
margin-block-end: var(--ac-space-3);
|
|
223
|
+
border: var(--ac-border-width-1) solid var(--ac-color-border-default);
|
|
224
|
+
border-radius: var(--ac-radius-card);
|
|
225
|
+
padding: var(--ac-space-2);
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.ac-data-table[data-responsive] .ac-table__cell {
|
|
229
|
+
display: flex;
|
|
230
|
+
align-items: center;
|
|
231
|
+
gap: var(--ac-space-3);
|
|
232
|
+
justify-content: space-between;
|
|
233
|
+
border: 0;
|
|
234
|
+
padding-inline: var(--ac-space-1);
|
|
235
|
+
white-space: normal;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.ac-data-table[data-responsive] .ac-table__cell[data-label]::before {
|
|
239
|
+
content: attr(data-label);
|
|
240
|
+
flex: none;
|
|
241
|
+
color: var(--ac-color-text-secondary);
|
|
242
|
+
font-size: var(--ac-type-caption-size);
|
|
243
|
+
font-weight: var(--ac-font-weight-medium);
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.ac-data-table[data-responsive] .ac-table__cell[data-align="end"] {
|
|
247
|
+
justify-content: space-between;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
.ac-text {
|
|
2
|
+
margin: 0;
|
|
3
|
+
color: var(--_color, var(--ac-color-text-primary));
|
|
4
|
+
font-size: var(--ac-type-body-md-size);
|
|
5
|
+
font-weight: var(--ac-font-weight-regular);
|
|
6
|
+
line-height: var(--ac-type-body-md-line-height);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.ac-text[data-size="lg"] {
|
|
10
|
+
font-size: var(--ac-type-body-lg-size);
|
|
11
|
+
line-height: var(--ac-type-body-lg-line-height);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.ac-text[data-size="sm"] {
|
|
15
|
+
font-size: var(--ac-type-body-sm-size);
|
|
16
|
+
line-height: var(--ac-type-body-sm-line-height);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.ac-text[data-size="xs"] {
|
|
20
|
+
font-size: var(--ac-type-caption-size);
|
|
21
|
+
line-height: var(--ac-type-caption-line-height);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.ac-text[data-tone="secondary"],
|
|
25
|
+
.ac-heading[data-tone="secondary"] {
|
|
26
|
+
--_color: var(--ac-color-text-secondary);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.ac-text[data-tone="tertiary"] {
|
|
30
|
+
--_color: var(--ac-color-text-tertiary);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.ac-text:is(
|
|
34
|
+
[data-tone="info"],
|
|
35
|
+
[data-tone="success"],
|
|
36
|
+
[data-tone="warning"],
|
|
37
|
+
[data-tone="danger"]
|
|
38
|
+
) {
|
|
39
|
+
--_color: var(--ac-tone-text);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.ac-text[data-weight="medium"] {
|
|
43
|
+
font-weight: var(--ac-font-weight-medium);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.ac-text[data-weight="semibold"] {
|
|
47
|
+
font-weight: var(--ac-font-weight-semibold);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.ac-text[data-weight="bold"] {
|
|
51
|
+
font-weight: var(--ac-font-weight-bold);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.ac-text[data-truncate] {
|
|
55
|
+
overflow: hidden;
|
|
56
|
+
text-overflow: ellipsis;
|
|
57
|
+
white-space: nowrap;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.ac-heading {
|
|
61
|
+
margin: 0;
|
|
62
|
+
color: var(--_color, var(--ac-color-text-primary));
|
|
63
|
+
text-wrap: balance;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.ac-heading[data-size="display-lg"] {
|
|
67
|
+
font-size: var(--ac-type-display-lg-size);
|
|
68
|
+
font-weight: var(--ac-type-display-lg-weight);
|
|
69
|
+
line-height: var(--ac-type-display-lg-line-height);
|
|
70
|
+
letter-spacing: var(--ac-type-display-lg-tracking);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.ac-heading[data-size="display-md"] {
|
|
74
|
+
font-size: var(--ac-type-display-md-size);
|
|
75
|
+
font-weight: var(--ac-type-display-md-weight);
|
|
76
|
+
line-height: var(--ac-type-display-md-line-height);
|
|
77
|
+
letter-spacing: var(--ac-type-display-md-tracking);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.ac-heading[data-size="display-sm"] {
|
|
81
|
+
font-size: var(--ac-type-display-sm-size);
|
|
82
|
+
font-weight: var(--ac-type-display-sm-weight);
|
|
83
|
+
line-height: var(--ac-type-display-sm-line-height);
|
|
84
|
+
letter-spacing: var(--ac-type-display-sm-tracking);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.ac-heading[data-size="1"] {
|
|
88
|
+
font-size: var(--ac-type-heading-1-size);
|
|
89
|
+
font-weight: var(--ac-type-heading-1-weight);
|
|
90
|
+
line-height: var(--ac-type-heading-1-line-height);
|
|
91
|
+
letter-spacing: var(--ac-type-heading-1-tracking);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.ac-heading[data-size="2"] {
|
|
95
|
+
font-size: var(--ac-type-heading-2-size);
|
|
96
|
+
font-weight: var(--ac-type-heading-2-weight);
|
|
97
|
+
line-height: var(--ac-type-heading-2-line-height);
|
|
98
|
+
letter-spacing: var(--ac-type-heading-2-tracking);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.ac-heading[data-size="3"] {
|
|
102
|
+
font-size: var(--ac-type-heading-3-size);
|
|
103
|
+
font-weight: var(--ac-type-heading-3-weight);
|
|
104
|
+
line-height: var(--ac-type-heading-3-line-height);
|
|
105
|
+
letter-spacing: var(--ac-type-heading-3-tracking);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.ac-heading[data-size="4"] {
|
|
109
|
+
font-size: var(--ac-type-heading-4-size);
|
|
110
|
+
font-weight: var(--ac-type-heading-4-weight);
|
|
111
|
+
line-height: var(--ac-type-heading-4-line-height);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.ac-heading[data-size="5"] {
|
|
115
|
+
font-size: var(--ac-type-heading-5-size);
|
|
116
|
+
font-weight: var(--ac-type-heading-5-weight);
|
|
117
|
+
line-height: var(--ac-type-heading-5-line-height);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.ac-heading[data-size="6"] {
|
|
121
|
+
font-size: var(--ac-type-heading-6-size);
|
|
122
|
+
font-weight: var(--ac-type-heading-6-weight);
|
|
123
|
+
line-height: var(--ac-type-heading-6-line-height);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
[lang|="ar"] :is(.ac-heading, .ac-text) {
|
|
127
|
+
letter-spacing: 0;
|
|
128
|
+
line-height: var(--ac-line-height-relaxed);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.ac-link {
|
|
132
|
+
display: inline-flex;
|
|
133
|
+
align-items: center;
|
|
134
|
+
gap: var(--ac-space-1);
|
|
135
|
+
border-radius: var(--ac-radius-xs);
|
|
136
|
+
color: var(--ac-color-primary-text);
|
|
137
|
+
font-weight: var(--ac-font-weight-medium);
|
|
138
|
+
text-decoration: none;
|
|
139
|
+
text-underline-offset: 0.22em;
|
|
140
|
+
text-decoration-thickness: from-font;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.ac-link[data-tone="neutral"] {
|
|
144
|
+
color: var(--ac-color-text-primary);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.ac-link[data-underline="always"],
|
|
148
|
+
.ac-link[data-underline="hover"]:hover {
|
|
149
|
+
text-decoration-line: underline;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.ac-link__external {
|
|
153
|
+
inline-size: 0.875em;
|
|
154
|
+
block-size: 0.875em;
|
|
155
|
+
}
|
package/dist/index.css
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
@import "./tokens.css";
|
|
2
|
+
@import "./reset.css";
|
|
3
|
+
@import "./utilities.css";
|
|
4
|
+
@import "./components/typography.css";
|
|
5
|
+
@import "./components/button.css";
|
|
6
|
+
@import "./components/form-controls.css";
|
|
7
|
+
@import "./components/slider.css";
|
|
8
|
+
@import "./components/choice-controls.css";
|
|
9
|
+
@import "./components/display.css";
|
|
10
|
+
@import "./components/field.css";
|
|
11
|
+
@import "./components/overlays.css";
|
|
12
|
+
@import "./components/listbox.css";
|
|
13
|
+
@import "./components/calendar.css";
|
|
14
|
+
@import "./components/command.css";
|
|
15
|
+
@import "./components/disclosure.css";
|
|
16
|
+
@import "./components/navigation.css";
|
|
17
|
+
@import "./components/feedback.css";
|
|
18
|
+
@import "./components/card.css";
|
|
19
|
+
@import "./components/code.css";
|
|
20
|
+
@import "./components/form.css";
|
|
21
|
+
@import "./components/dialog.css";
|
|
22
|
+
@import "./components/table.css";
|
|
23
|
+
@import "./components/app-layout.css";
|
package/dist/reset.css
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/* Base layer: only what every AtomCraft surface relies on. */
|
|
2
|
+
*,
|
|
3
|
+
*::before,
|
|
4
|
+
*::after {
|
|
5
|
+
box-sizing: border-box;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
html {
|
|
9
|
+
-webkit-text-size-adjust: 100%;
|
|
10
|
+
text-size-adjust: 100%;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
body {
|
|
14
|
+
margin: 0;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
body,
|
|
18
|
+
.ac-root {
|
|
19
|
+
background: var(--ac-color-bg-canvas);
|
|
20
|
+
color: var(--ac-color-text-primary);
|
|
21
|
+
font-family: var(--ac-font-family-sans);
|
|
22
|
+
font-size: var(--ac-type-body-md-size);
|
|
23
|
+
line-height: var(--ac-type-body-md-line-height);
|
|
24
|
+
-webkit-font-smoothing: antialiased;
|
|
25
|
+
-moz-osx-font-smoothing: grayscale;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
:where(.ac-root) :focus-visible {
|
|
29
|
+
outline: var(--ac-focus-ring-width) solid var(--ac-color-focus-ring);
|
|
30
|
+
outline-offset: var(--ac-focus-ring-offset);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
::selection {
|
|
34
|
+
background: var(--ac-color-primary-soft-hover);
|
|
35
|
+
color: var(--ac-color-primary-text);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
:where([dir="rtl"]) :is(.ac-icon[data-mirror]) {
|
|
39
|
+
transform: scaleX(-1);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@media (prefers-reduced-motion: reduce) {
|
|
43
|
+
*,
|
|
44
|
+
*::before,
|
|
45
|
+
*::after {
|
|
46
|
+
animation-duration: 0.01ms !important;
|
|
47
|
+
animation-iteration-count: 1 !important;
|
|
48
|
+
transition-duration: 0.01ms !important;
|
|
49
|
+
scroll-behavior: auto !important;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.ac-root {
|
|
54
|
+
min-block-size: 100%;
|
|
55
|
+
}
|