@acorex/styles 21.0.1-next.89 → 21.0.1-next.90
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.
|
@@ -1,47 +1,13 @@
|
|
|
1
1
|
@import '../themes/default.css';
|
|
2
2
|
|
|
3
3
|
@layer base {
|
|
4
|
-
.ax-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
.ax-content {
|
|
9
|
-
@apply text-xs;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
.ax-sm {
|
|
14
|
-
.ax-editor-container {
|
|
15
|
-
@apply h-8 min-h-8 px-3 py-2 text-sm leading-5;
|
|
16
|
-
.ax-content {
|
|
17
|
-
@apply text-sm;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
.ax-md {
|
|
22
|
-
.ax-editor-container {
|
|
23
|
-
@apply h-9 min-h-9 px-3 py-3 text-sm leading-5;
|
|
24
|
-
.ax-content {
|
|
25
|
-
@apply text-sm;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
.ax-lg {
|
|
30
|
-
.ax-editor-container {
|
|
31
|
-
@apply h-10 min-h-10 px-4 py-2.5 text-base leading-6;
|
|
32
|
-
.ax-content {
|
|
33
|
-
@apply text-base;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
.ax-xl {
|
|
38
|
-
.ax-editor-container {
|
|
39
|
-
@apply h-11 min-h-11 px-4 py-2.5 text-xl leading-7;
|
|
40
|
-
.ax-content {
|
|
41
|
-
@apply text-xl;
|
|
42
|
-
}
|
|
4
|
+
.ax-editor-container {
|
|
5
|
+
@apply h-9 min-h-9 px-3 py-3 text-sm;
|
|
6
|
+
.ax-content {
|
|
7
|
+
@apply text-sm;
|
|
43
8
|
}
|
|
44
9
|
}
|
|
10
|
+
|
|
45
11
|
.ax-editor-container {
|
|
46
12
|
@apply rounded-default relative flex h-9 min-h-9 items-center justify-between overflow-hidden px-3 py-3 text-sm leading-5;
|
|
47
13
|
|
|
@@ -57,7 +23,7 @@
|
|
|
57
23
|
.ax-editor {
|
|
58
24
|
font-size: inherit;
|
|
59
25
|
|
|
60
|
-
@apply w-full py-2 outline-0 outline-transparent placeholder:opacity-50
|
|
26
|
+
@apply w-full flex-1 py-2 outline-0 outline-transparent placeholder:opacity-50;
|
|
61
27
|
}
|
|
62
28
|
.ax-placeholder {
|
|
63
29
|
@apply opacity-50;
|
package/package.json
CHANGED
package/themes/default.css
CHANGED
|
@@ -3083,7 +3083,7 @@ html.ax-dark {
|
|
|
3083
3083
|
}
|
|
3084
3084
|
}
|
|
3085
3085
|
&:not(.ax-state-disabled, .ax-state-loading, .ax-state-selected):active {
|
|
3086
|
-
@apply bg-(--ax-comp-bg-darker,var(--color-light)) text-(--ax-comp-text-darker,var(--color-on-light)) ring-1 ring-(--ax-comp-bg-dark) ring-offset-
|
|
3086
|
+
@apply bg-(--ax-comp-bg-darker,var(--color-light)) text-(--ax-comp-text-darker,var(--color-on-light)) ring-1 ring-(--ax-comp-bg-dark) ring-offset-1 dark:bg-(--ax-comp-bg-darker,var(--color-dark)) dark:text-(--ax-comp-text-darker,var(--color-on-dark));
|
|
3087
3087
|
}
|
|
3088
3088
|
}
|
|
3089
3089
|
|
|
@@ -1,267 +0,0 @@
|
|
|
1
|
-
.ax-editor-container {
|
|
2
|
-
@apply border-default rounded-default relative flex h-9 w-full items-center justify-between gap-2 overflow-hidden border px-2 text-sm;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.ax-editor-container .ax-icon {
|
|
6
|
-
font-size: var(--ax-comp-editor-icon-font-size);
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.ax-editor-container:has(> ax-prefix) {
|
|
10
|
-
padding-inline-start: 0;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.ax-editor-container:has(> ax-prefix) > ax-prefix:has(ax-button, .ax-editor-container) {
|
|
14
|
-
--ax-comp-editor-space-start-size: 0px;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.ax-editor-container:has(> ax-prefix) > ax-prefix {
|
|
18
|
-
padding-inline-start: var(--ax-comp-editor-space-start-size);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.ax-editor-container:has(> ax-suffix) {
|
|
22
|
-
padding-inline-end: 0;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.ax-editor-container:has(> ax-suffix) > ax-suffix:has(ax-button, .ax-editor-container) {
|
|
26
|
-
--ax-comp-editor-space-end-size: 0px;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.ax-editor-container:has(> ax-suffix) > ax-suffix {
|
|
30
|
-
padding-inline-end: var(--ax-comp-editor-space-end-size);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.ax-editor-container:not(.ax-state-disabled):focus-within {
|
|
34
|
-
border-color: rgba(var(--ax-comp-editor-focused-border-color));
|
|
35
|
-
outline-width: var(--ax-comp-editor-box-outline-width);
|
|
36
|
-
outline-style: solid;
|
|
37
|
-
outline-color: rgba(var(--ax-comp-editor-focused-border-color));
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.ax-editor-container.ax-state-error {
|
|
41
|
-
border-color: rgba(var(--ax-comp-editor-error-border-color));
|
|
42
|
-
outline-width: var(--ax-comp-editor-box-outline-width);
|
|
43
|
-
outline-color: rgba(var(--ax-comp-editor-error-border-color));
|
|
44
|
-
outline-style: solid;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.ax-editor-container.ax-state-error:focus-within {
|
|
48
|
-
border-color: rgba(var(--ax-comp-editor-error-border-color));
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.ax-editor-container.ax-state-error .ax-input .ax-placeholder,
|
|
52
|
-
.ax-editor-container.ax-state-error .ax-input::placeholder {
|
|
53
|
-
color: rgba(var(--ax-comp-editor-error-text-color), var(--ax-comp-editor-placeholder-opacity));
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.ax-editor-container.ax-solid {
|
|
57
|
-
--ax-comp-editor-bg-color: var(--ax-sys-color-lightest-surface);
|
|
58
|
-
--ax-comp-editor-border-width: 1px;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.ax-editor-container.ax-outline {
|
|
62
|
-
--ax-comp-editor-bg-color: 0, 0, 0, 0;
|
|
63
|
-
--ax-comp-editor-border-width: 1px;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.ax-editor-container.ax-flat {
|
|
67
|
-
--ax-comp-editor-border-width: 2px;
|
|
68
|
-
--ax-comp-editor-border-radius: 0px;
|
|
69
|
-
--ax-comp-editor-box-outline-width: 0px;
|
|
70
|
-
border-width: 0px !important;
|
|
71
|
-
border-bottom-width: var(--ax-comp-editor-border-width) !important;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.ax-editor-container.ax-fill {
|
|
75
|
-
--ax-comp-editor-box-outline-width: 2px;
|
|
76
|
-
--ax-comp-editor-border-width: 0px;
|
|
77
|
-
--ax-comp-editor-bg-color: var(--ax-sys-color-surface);
|
|
78
|
-
--ax-comp-editor-text-color: var(--ax-sys-color-on-lighter-surface);
|
|
79
|
-
--ax-comp-editor-border-color: var(--ax-sys-color-border-lighter-surface);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.ax-editor-container.ax-none {
|
|
83
|
-
--ax-comp-editor-border-radius: 0px;
|
|
84
|
-
--ax-comp-editor-box-outline-width: 0px;
|
|
85
|
-
--ax-comp-editor-border-width: 0px;
|
|
86
|
-
--ax-comp-editor-bg-color: 0, 0, 0, 0;
|
|
87
|
-
--ax-comp-editor-border-color: 0, 0, 0, 0;
|
|
88
|
-
--ax-comp-editor-text-color: var(--ax-sys-color-on-lighter-surface);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.ax-editor-container .ax-editor-input {
|
|
92
|
-
height: 100%;
|
|
93
|
-
flex: 1 1 0%;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.ax-editor-container .ax-editor-input .ax-input {
|
|
97
|
-
height: 100%;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.ax-editor-container .ax-input {
|
|
101
|
-
font-size: var(--ax-comp-editor-font-size);
|
|
102
|
-
line-height: var(--ax-comp-editor-font-size);
|
|
103
|
-
color: rgba(var(--ax-comp-editor-text-color));
|
|
104
|
-
cursor: inherit;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.ax-editor-container .ax-input .ax-placeholder,
|
|
108
|
-
.ax-editor-container .ax-input::placeholder {
|
|
109
|
-
font-size: inherit;
|
|
110
|
-
font-weight: 400;
|
|
111
|
-
color: rgb(var(--ax-comp-editor-text-color), var(--ax-comp-editor-placeholder-opacity));
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.ax-editor-container .ax-input:focus,
|
|
115
|
-
.ax-editor-container .ax-input:focus-visible,
|
|
116
|
-
.ax-editor-container .ax-input:focus-within {
|
|
117
|
-
outline: none;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.ax-editor-container.ax-state-disabled {
|
|
121
|
-
opacity: 0.5;
|
|
122
|
-
cursor: not-allowed;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.ax-editor-container .ax-editor-control {
|
|
126
|
-
display: flex;
|
|
127
|
-
height: 100%;
|
|
128
|
-
align-items: center;
|
|
129
|
-
justify-content: center;
|
|
130
|
-
padding-inline-start: 0.5rem;
|
|
131
|
-
font-size: 1.125rem;
|
|
132
|
-
line-height: 1.75rem;
|
|
133
|
-
color: rgba(var(--ax-comp-editor-text-color));
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.ax-editor-container.ax-button-icon {
|
|
137
|
-
padding: 0 0.5rem;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.ax-editor-container .ax-input,
|
|
141
|
-
.ax-editor-container .ax-text-area {
|
|
142
|
-
text-align: inherit;
|
|
143
|
-
font-family: inherit;
|
|
144
|
-
font-size: inherit;
|
|
145
|
-
line-height: inherit;
|
|
146
|
-
height: 100%;
|
|
147
|
-
width: 100%;
|
|
148
|
-
flex: 1 1 0%;
|
|
149
|
-
background-color: transparent;
|
|
150
|
-
font-weight: inherit;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
.ax-editor-container .ax-input:focus,
|
|
154
|
-
.ax-editor-container .ax-text-area:focus {
|
|
155
|
-
box-shadow: none;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
.ax-editor-container .ax-editor-button {
|
|
159
|
-
font-size: var(--ax-comp-editor-button-font-size, var(--ax-comp-editor-font-size));
|
|
160
|
-
height: var(--ax-comp-editor-button-height, 100%);
|
|
161
|
-
display: flex;
|
|
162
|
-
align-items: center;
|
|
163
|
-
justify-content: center;
|
|
164
|
-
min-width: 1.5rem;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
.ax-editor-container > ax-prefix,
|
|
168
|
-
.ax-editor-container > ax-suffix {
|
|
169
|
-
height: 100%;
|
|
170
|
-
max-width: fit-content;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
.ax-editor-container > ax-prefix ax-button,
|
|
174
|
-
.ax-editor-container > ax-prefix ax-text,
|
|
175
|
-
.ax-editor-container > ax-prefix ax-icon,
|
|
176
|
-
.ax-editor-container > ax-prefix .ax-editor-container,
|
|
177
|
-
.ax-editor-container > ax-suffix ax-button,
|
|
178
|
-
.ax-editor-container > ax-suffix ax-text,
|
|
179
|
-
.ax-editor-container > ax-suffix ax-icon,
|
|
180
|
-
.ax-editor-container > ax-suffix .ax-editor-container {
|
|
181
|
-
display: flex;
|
|
182
|
-
height: 100%;
|
|
183
|
-
align-items: center;
|
|
184
|
-
justify-content: center;
|
|
185
|
-
border-radius: 0px;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
.ax-editor-container > ax-prefix ax-title,
|
|
189
|
-
.ax-editor-container > ax-suffix ax-title {
|
|
190
|
-
padding-left: 1rem;
|
|
191
|
-
padding-right: 1rem;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
.ax-editor-container > ax-prefix > ax-text,
|
|
195
|
-
.ax-editor-container > ax-suffix > ax-text {
|
|
196
|
-
display: flex;
|
|
197
|
-
align-items: center;
|
|
198
|
-
justify-content: center;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
.ax-editor-container .ax-button {
|
|
202
|
-
height: 100% !important;
|
|
203
|
-
border-radius: 0px !important;
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
.ax-editor-container .ax-button.ax-button-icon {
|
|
207
|
-
height: 100%;
|
|
208
|
-
width: var(--ax-comp-editor-height);
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
.ax-editor-container ax-popover {
|
|
212
|
-
position: absolute;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
.ax-xs .ax-editor-container,
|
|
216
|
-
.ax-editor-container.ax-xs {
|
|
217
|
-
--ax-comp-editor-font-size: 0.75rem;
|
|
218
|
-
--ax-comp-editor-space-start-size: 0.25rem;
|
|
219
|
-
--ax-comp-editor-space-end-size: 0.25rem;
|
|
220
|
-
--ax-comp-editor-button-font-size: 0.625rem;
|
|
221
|
-
--ax-comp-editor-gap: 0.25rem;
|
|
222
|
-
--ax-comp-editor-icon-font-size: 0.75rem;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
.ax-sm .ax-editor-container,
|
|
226
|
-
.ax-editor-container.ax-sm {
|
|
227
|
-
--ax-comp-editor-font-size: 0.875rem;
|
|
228
|
-
--ax-comp-editor-space-start-size: 0.5rem;
|
|
229
|
-
--ax-comp-editor-space-end-size: 0.5rem;
|
|
230
|
-
--ax-comp-editor-button-font-size: 0.75rem;
|
|
231
|
-
--ax-comp-editor-gap: 0.375rem;
|
|
232
|
-
--ax-comp-editor-icon-font-size: 0.875rem;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
.ax-md .ax-editor-container,
|
|
236
|
-
.ax-editor-container,
|
|
237
|
-
.ax-editor-container.ax-md {
|
|
238
|
-
--ax-comp-editor-space-start-size: 0.75rem;
|
|
239
|
-
--ax-comp-editor-space-end-size: 0.75rem;
|
|
240
|
-
--ax-comp-editor-button-font-size: 0.875rem;
|
|
241
|
-
--ax-comp-editor-gap: 0.5rem;
|
|
242
|
-
--ax-comp-editor-icon-font-size: 1rem;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
.ax-lg .ax-editor-container,
|
|
246
|
-
.ax-editor-container.ax-lg {
|
|
247
|
-
--ax-comp-editor-font-size: 1.125rem;
|
|
248
|
-
--ax-comp-editor-space-start-size: 1.125rem;
|
|
249
|
-
--ax-comp-editor-space-end-size: 1.125rem;
|
|
250
|
-
--ax-comp-editor-button-font-size: 0.875rem;
|
|
251
|
-
--ax-comp-editor-gap: 0.625rem;
|
|
252
|
-
--ax-comp-editor-icon-font-size: 1.25rem;
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
.ax-xl .ax-editor-container,
|
|
256
|
-
.ax-editor-container.ax-xl {
|
|
257
|
-
--ax-comp-editor-font-size: 1.5rem;
|
|
258
|
-
--ax-comp-editor-space-start-size: 1.5rem;
|
|
259
|
-
--ax-comp-editor-space-end-size: 1.5rem;
|
|
260
|
-
--ax-comp-editor-button-font-size: 1rem;
|
|
261
|
-
--ax-comp-editor-gap: 0.75rem;
|
|
262
|
-
--ax-comp-editor-icon-font-size: 1.5rem;
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
ax-validation-rule {
|
|
266
|
-
position: absolute;
|
|
267
|
-
}
|