@acorex/styles 19.9.0 → 19.10.0-next.0
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/icons/fontawesome/index.scss +10 -11
- package/icons/huge/huge-bulk/index.scss +4 -4
- package/icons/huge/huge-duotone/index.scss +4 -4
- package/icons/huge/huge-solid-sharp/index.scss +4 -4
- package/icons/huge/huge-solid-standard/index.scss +4 -4
- package/icons/huge/huge-stroke-rounded/index.scss +4 -4
- package/icons/huge/huge-stroke-sharp/index.scss +4 -4
- package/icons/huge/huge-stroke-standard/index.scss +4 -4
- package/icons/huge/huge-twotone/index.scss +4 -4
- package/icons/material/index.scss +4 -5
- package/index.css +80 -1935
- package/index.min.css +1 -1
- package/package.json +1 -1
- package/src/base/index.scss +2 -4
- package/src/mixins/_look.scss +20 -35
- package/src/shared/_action-item.scss +3 -3
- package/src/shared/_actionsheet.scss +7 -6
- package/src/shared/_check-box.scss +8 -14
- package/src/shared/_drop-down.scss +7 -16
- package/src/shared/_editor-container.scss +35 -75
- package/src/shared/_general-button.scss +11 -12
- package/src/shared/_inputs.scss +0 -16
- package/src/shared/_list.scss +15 -41
- package/src/shared/_radio.scss +8 -14
- package/src/shared/_ripple.scss +13 -0
- package/src/shared/_table.scss +9 -30
- package/src/shared/_utils.scss +10 -16
- package/src/shared/index.scss +4 -2
- package/src/utility/index.scss +2 -22
- package/src/variables/_colors.scss +1 -1
- package/tailwind-base.js +123 -73
- package/themes/default.css +1 -1
- package/themes/default.scss +239 -139
- package/themes/test.scss +237 -0
- package/src/shared/_color-look.scss +0 -822
@@ -10,32 +10,32 @@
|
|
10
10
|
.ax-editor-container {
|
11
11
|
&.ax-look-fill {
|
12
12
|
&:focus-within {
|
13
|
-
box-shadow: 0px 0px 0 2px rgba(var(--ax-color-primary-200));
|
13
|
+
box-shadow: 0px 0px 0 2px rgba(var(--ax-sys-color-primary-200));
|
14
14
|
}
|
15
15
|
&.ax-state-error {
|
16
|
-
background-color: rgba(var(--ax-color-danger-200));
|
17
|
-
color: rgba(var(--ax-color-danger-fore));
|
16
|
+
background-color: rgba(var(--ax-sys-color-danger-200));
|
17
|
+
color: rgba(var(--ax-sys-color-danger-fore));
|
18
18
|
|
19
19
|
&:focus-within {
|
20
|
-
box-shadow: 0px 0px 0 2px rgba(var(--ax-color-danger-200));
|
20
|
+
box-shadow: 0px 0px 0 2px rgba(var(--ax-sys-color-danger-200));
|
21
21
|
}
|
22
22
|
.ax-input {
|
23
23
|
&::placeholder {
|
24
|
-
color: rgba(var(--ax-color-danger-200));
|
24
|
+
color: rgba(var(--ax-sys-color-danger-200));
|
25
25
|
}
|
26
26
|
}
|
27
27
|
}
|
28
28
|
}
|
29
29
|
&.ax-look-flat {
|
30
30
|
&:focus-within {
|
31
|
-
border-color: rgba(var(--ax-color-primary-200));
|
31
|
+
border-color: rgba(var(--ax-sys-color-primary-200));
|
32
32
|
}
|
33
33
|
&.ax-state-error {
|
34
|
-
border-color: rgba(var(--ax-color-danger-200));
|
34
|
+
border-color: rgba(var(--ax-sys-color-danger-200));
|
35
35
|
|
36
36
|
.ax-input {
|
37
37
|
&::placeholder {
|
38
|
-
color: rgba(var(--ax-color-danger-200));
|
38
|
+
color: rgba(var(--ax-sys-color-danger-200));
|
39
39
|
}
|
40
40
|
}
|
41
41
|
}
|
@@ -43,19 +43,19 @@
|
|
43
43
|
&.ax-look-solid,
|
44
44
|
&.ax-look-outline {
|
45
45
|
&:focus-within {
|
46
|
-
box-shadow: 0px 0px 0 1px rgba(var(--ax-color-primary-200));
|
47
|
-
border-color: rgba(var(--ax-color-primary-200));
|
46
|
+
box-shadow: 0px 0px 0 1px rgba(var(--ax-sys-color-primary-200));
|
47
|
+
border-color: rgba(var(--ax-sys-color-primary-200));
|
48
48
|
}
|
49
49
|
|
50
50
|
&.ax-state-error {
|
51
|
-
border-color: rgba(var(--ax-color-danger-200));
|
51
|
+
border-color: rgba(var(--ax-sys-color-danger-200));
|
52
52
|
&:focus-within {
|
53
|
-
box-shadow: 0px 0px 0 1px rgba(var(--ax-color-danger-200));
|
54
|
-
border-color: rgba(var(--ax-color-danger-200));
|
53
|
+
box-shadow: 0px 0px 0 1px rgba(var(--ax-sys-color-danger-200));
|
54
|
+
border-color: rgba(var(--ax-sys-color-danger-200));
|
55
55
|
}
|
56
56
|
.ax-input {
|
57
57
|
&::placeholder {
|
58
|
-
color: rgba(var(--ax-color-danger-200));
|
58
|
+
color: rgba(var(--ax-sys-color-danger-200));
|
59
59
|
}
|
60
60
|
}
|
61
61
|
}
|
@@ -65,13 +65,12 @@
|
|
65
65
|
|
66
66
|
.ax-editor-container {
|
67
67
|
display: flex;
|
68
|
-
height: var(--ax-size-
|
68
|
+
height: var(--ax-sys-size-base);
|
69
69
|
width: 100%;
|
70
70
|
align-items: center;
|
71
71
|
overflow: hidden;
|
72
72
|
font-size: 0.875rem;
|
73
|
-
|
74
|
-
color: rgba(var(--ax-color-input-surface-fore));
|
73
|
+
color: rgba(var(--ax-sys-color-input-surface-text));
|
75
74
|
|
76
75
|
.ax-editor-container {
|
77
76
|
border-radius: 0 !important;
|
@@ -82,7 +81,7 @@
|
|
82
81
|
box-shadow: none !important;
|
83
82
|
}
|
84
83
|
&:focus {
|
85
|
-
box-shadow: 0px 0px 0 1px rgba(var(--ax-color-primary-500));
|
84
|
+
box-shadow: 0px 0px 0 1px rgba(var(--ax-sys-color-primary-500));
|
86
85
|
}
|
87
86
|
}
|
88
87
|
|
@@ -125,7 +124,7 @@
|
|
125
124
|
&::placeholder {
|
126
125
|
font-size: inherit;
|
127
126
|
font-weight: 400;
|
128
|
-
color: rgb(var(--ax-color-input-surface-
|
127
|
+
color: rgb(var(--ax-sys-color-input-surface-text), 0.5);
|
129
128
|
}
|
130
129
|
&:focus,
|
131
130
|
&:focus-visible,
|
@@ -134,46 +133,6 @@
|
|
134
133
|
}
|
135
134
|
}
|
136
135
|
|
137
|
-
&.ax-xs {
|
138
|
-
.ax-input {
|
139
|
-
padding: 0 calc(var(--ax-editor-space-size) - 8px);
|
140
|
-
font-size: calc(var(--ax-editor-font-size) - 4px);
|
141
|
-
line-height: 1rem;
|
142
|
-
}
|
143
|
-
}
|
144
|
-
|
145
|
-
&.ax-sm {
|
146
|
-
.ax-input {
|
147
|
-
padding: 0 calc(var(--ax-editor-space-size) - 4px);
|
148
|
-
font-size: calc(var(--ax-editor-font-size) - 2px);
|
149
|
-
line-height: calc(var(--ax-editor-font-size) - 2px);
|
150
|
-
}
|
151
|
-
}
|
152
|
-
|
153
|
-
&.ax-md {
|
154
|
-
.ax-input {
|
155
|
-
padding: 0 calc(var(--ax-editor-space-size) - 4px);
|
156
|
-
font-size: var(--ax-editor-font-size);
|
157
|
-
line-height: var(--ax-editor-font-size);
|
158
|
-
}
|
159
|
-
}
|
160
|
-
|
161
|
-
&.ax-lg {
|
162
|
-
.ax-input {
|
163
|
-
padding: 0 var(--ax-editor-space-size);
|
164
|
-
font-size: calc(var(--ax-editor-font-size) + 2px);
|
165
|
-
line-height: calc(var(--ax-editor-font-size) + 2px);
|
166
|
-
}
|
167
|
-
}
|
168
|
-
|
169
|
-
&.ax-xl {
|
170
|
-
.ax-input {
|
171
|
-
padding: 0 var(--ax-editor-space-size);
|
172
|
-
font-size: calc(var(--ax-editor-font-size) + 4px);
|
173
|
-
line-height: calc(var(--ax-editor-font-size) + 4px);
|
174
|
-
}
|
175
|
-
}
|
176
|
-
|
177
136
|
.ax-editor-control {
|
178
137
|
display: flex;
|
179
138
|
height: 100%;
|
@@ -182,7 +141,7 @@
|
|
182
141
|
padding-inline-start: 0.5rem;
|
183
142
|
font-size: 1.125rem;
|
184
143
|
line-height: 1.75rem;
|
185
|
-
color: rgba(var(--ax-color-input-surface-
|
144
|
+
color: rgba(var(--ax-sys-color-input-surface-text));
|
186
145
|
}
|
187
146
|
|
188
147
|
&.ax-button-icon {
|
@@ -248,7 +207,6 @@
|
|
248
207
|
}
|
249
208
|
|
250
209
|
ax-title {
|
251
|
-
// @apply ax-px-4;
|
252
210
|
padding-left: 1rem;
|
253
211
|
padding-right: 1rem;
|
254
212
|
}
|
@@ -271,21 +229,23 @@
|
|
271
229
|
|
272
230
|
&.ax-button-icon {
|
273
231
|
height: 100%;
|
274
|
-
width: var(--ax-size-
|
232
|
+
width: var(--ax-sys-size-base);
|
275
233
|
}
|
276
234
|
}
|
277
235
|
}
|
278
236
|
|
279
|
-
.
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
}
|
237
|
+
// Created new ripple.scss files intead
|
238
|
+
|
239
|
+
// .ax-ripple {
|
240
|
+
// transform: scale(0);
|
241
|
+
// animation: ripple 500ms linear;
|
242
|
+
// position: absolute;
|
243
|
+
// border-radius: 9999rem !important;
|
244
|
+
|
245
|
+
// @keyframes ripple {
|
246
|
+
// to {
|
247
|
+
// transform: scale(4);
|
248
|
+
// opacity: 0;
|
249
|
+
// }
|
250
|
+
// }
|
251
|
+
// }
|
@@ -1,32 +1,32 @@
|
|
1
1
|
.ax-general-button {
|
2
2
|
display: inline-flex;
|
3
|
-
height: var(--ax-size-
|
3
|
+
height: var(--ax-sys-size-base);
|
4
4
|
cursor: pointer;
|
5
5
|
align-items: center;
|
6
6
|
justify-content: center;
|
7
|
-
border-radius: var(--ax-
|
7
|
+
border-radius: var(--ax-sys-border-radius);
|
8
8
|
padding-left: 1rem;
|
9
9
|
padding-right: 1rem;
|
10
10
|
font-size: 0.875rem;
|
11
11
|
line-height: 1.25rem;
|
12
|
-
color: rgb(var(--ax-color-input-surface-
|
12
|
+
color: rgb(var(--ax-sys-color-input-surface-text), 0.75);
|
13
13
|
|
14
14
|
&:hover {
|
15
15
|
&:not(&:disabled, .ax-state-disabled) {
|
16
|
-
color: rgba(var(--ax-color-primary-500), var(--tw-text-opacity));
|
16
|
+
color: rgba(var(--ax-sys-color-primary-500), var(--tw-text-opacity));
|
17
17
|
}
|
18
18
|
}
|
19
19
|
|
20
20
|
&:focus,
|
21
21
|
&:focus-visible {
|
22
22
|
&:not(&:disabled, .ax-state-disabled) {
|
23
|
-
color: rgba(var(--ax-color-primary-700), var(--tw-text-opacity));
|
23
|
+
color: rgba(var(--ax-sys-color-primary-700), var(--tw-text-opacity));
|
24
24
|
}
|
25
25
|
}
|
26
26
|
|
27
27
|
&:active {
|
28
28
|
&:not(&:disabled, .ax-state-disabled) {
|
29
|
-
color: rgba(var(--ax-color-primary-300), var(--tw-text-opacity));
|
29
|
+
color: rgba(var(--ax-sys-color-primary-300), var(--tw-text-opacity));
|
30
30
|
}
|
31
31
|
}
|
32
32
|
|
@@ -39,7 +39,7 @@
|
|
39
39
|
}
|
40
40
|
}
|
41
41
|
&.ax-button-rounded {
|
42
|
-
border-radius: var(--ax-
|
42
|
+
border-radius: var(--ax-sys-border-radius);
|
43
43
|
}
|
44
44
|
&:disabled,
|
45
45
|
&.ax-state-disabled {
|
@@ -49,28 +49,27 @@
|
|
49
49
|
}
|
50
50
|
.ax-clear-button {
|
51
51
|
display: inline-flex;
|
52
|
-
height: var(--ax-size-
|
52
|
+
height: var(--ax-sys-size-base);
|
53
53
|
align-items: center;
|
54
54
|
justify-content: center;
|
55
55
|
margin-left: 0.25rem;
|
56
56
|
margin-right: 0.25rem;
|
57
57
|
font-size: 1rem /* 16px */;
|
58
58
|
line-height: 1.5rem /* 24px */;
|
59
|
-
|
60
|
-
color: rgb(var(--ax-color-text-default), 0.75);
|
59
|
+
color: rgb(var(--ax-sys-body-text-color), 0.75);
|
61
60
|
|
62
61
|
> button {
|
63
62
|
display: flex;
|
64
63
|
}
|
65
64
|
&:hover {
|
66
65
|
&:not(&:disabled, .ax-state-disabled) {
|
67
|
-
color: rgb(var(--ax-
|
66
|
+
color: rgb(var(--ax-sys-body-text-color), 0.5);
|
68
67
|
}
|
69
68
|
}
|
70
69
|
&:focus,
|
71
70
|
&:focus-visible {
|
72
71
|
&:not(&:disabled, .ax-state-disabled) {
|
73
|
-
color: rgb(var(--ax-
|
72
|
+
color: rgb(var(--ax-sys-body-text-color));
|
74
73
|
}
|
75
74
|
}
|
76
75
|
}
|
package/src/shared/_inputs.scss
CHANGED
@@ -1,16 +0,0 @@
|
|
1
|
-
.ax-input {
|
2
|
-
// @apply ax-p-0 ax-outline-0;
|
3
|
-
font-size: inherit;
|
4
|
-
padding: 0px;
|
5
|
-
outline-width: 0px;
|
6
|
-
|
7
|
-
&:focus {
|
8
|
-
// @apply ax-outline-transparent;
|
9
|
-
outline-color: transparent;
|
10
|
-
}
|
11
|
-
// &.ax-state-disabled {
|
12
|
-
// // @apply ax-cursor-not-allowed ax-opacity-50;
|
13
|
-
// cursor: not-allowed;
|
14
|
-
// opacity: 0.5;
|
15
|
-
// }
|
16
|
-
}
|
package/src/shared/_list.scss
CHANGED
@@ -2,24 +2,22 @@
|
|
2
2
|
@include mixins.darkMode() {
|
3
3
|
.ax-list-item {
|
4
4
|
&.ax-state-selected {
|
5
|
-
|
6
|
-
|
7
|
-
color: rgba(var(--ax-color-primary-fore)) !important;
|
5
|
+
background-color: rgba(var(--ax-sys-color-primary-800)) !important;
|
6
|
+
color: rgba(var(--ax-sys-color-on-primary)) !important;
|
8
7
|
|
9
8
|
// .ax-selected-icon {
|
10
|
-
//
|
11
|
-
// color: rgba(var(--ax-color-primary
|
9
|
+
//
|
10
|
+
// color: rgba(var(--ax-sys-color-on-primary));
|
12
11
|
// }
|
13
12
|
}
|
14
13
|
}
|
15
14
|
}
|
16
15
|
.ax-list {
|
17
|
-
// @apply ax-flex ax-h-full ax-flex-col ax-overflow-hidden ax-bg-surface ax-text-sm md:ax-max-h-80;
|
18
16
|
display: flex;
|
19
17
|
height: 100%;
|
20
18
|
flex-direction: column;
|
21
19
|
overflow: hidden;
|
22
|
-
background-color: rgba(var(--ax-color-surface));
|
20
|
+
background-color: rgba(var(--ax-sys-color-surface));
|
23
21
|
font-size: 0.875rem /* 14px */;
|
24
22
|
line-height: 1.25rem /* 20px */;
|
25
23
|
@include mixins.media('md') {
|
@@ -27,17 +25,15 @@
|
|
27
25
|
}
|
28
26
|
ax-header,
|
29
27
|
ax-footer {
|
30
|
-
// @apply ax-flex ax-items-center ax-justify-between ax-border-default ax-bg-surface;
|
31
28
|
display: flex;
|
32
29
|
align-items: center;
|
33
30
|
justify-content: space-between;
|
34
|
-
border-color: rgba(var(--ax-
|
31
|
+
border-color: rgba(var(--ax-sys-border-color), var(--tw-border-opacity));
|
35
32
|
background-color: rgba(var(--ax-color-surface), var(--tw-bg-opacity));
|
36
33
|
}
|
37
34
|
ax-header {
|
38
|
-
// @apply ax-border-b ax-border-default ax-p-4 ax-text-base ax-font-medium md:ax-text-lg;
|
39
35
|
border-bottom-width: 1px;
|
40
|
-
border-color: rgba(var(--ax-
|
36
|
+
border-color: rgba(var(--ax-sys-border-color), var(--tw-border-opacity));
|
41
37
|
padding: 1rem /* 16px */;
|
42
38
|
font-size: 1rem /* 16px */;
|
43
39
|
line-height: 1.5rem /* 24px */;
|
@@ -48,58 +44,48 @@
|
|
48
44
|
}
|
49
45
|
ax-prefix,
|
50
46
|
ax-suffix {
|
51
|
-
// @apply ax-flex ax-flex-col ax-justify-items-start;
|
52
47
|
display: flex;
|
53
48
|
flex-direction: column;
|
54
49
|
justify-items: start;
|
55
50
|
}
|
56
51
|
ax-prefix {
|
57
|
-
// @apply ax-items-start;
|
58
52
|
align-items: flex-start;
|
59
53
|
}
|
60
54
|
ax-suffix {
|
61
|
-
// @apply ax-items-end;
|
62
55
|
align-items: flex-end;
|
63
56
|
}
|
64
57
|
}
|
65
58
|
|
66
59
|
ax-footer {
|
67
|
-
// @apply ax-border-t;
|
68
60
|
border-top-width: 1px;
|
69
61
|
}
|
70
62
|
|
71
63
|
.ax-content {
|
72
|
-
// @apply ax-flex-1 ax-overflow-y-auto ax-overflow-x-hidden;
|
73
64
|
flex: 1 1 0%;
|
74
65
|
overflow-y: auto;
|
75
66
|
overflow-x: hidden;
|
76
67
|
|
77
68
|
&.ax-list-items-container {
|
78
|
-
// @apply ax-h-full ax-overflow-y-auto ax-py-2;
|
79
69
|
height: 100%;
|
80
70
|
overflow-y: auto;
|
81
71
|
padding-top: 0.5rem /* 8px */;
|
82
72
|
padding-bottom: 0.5rem /* 8px */;
|
83
73
|
|
84
74
|
&.ax-vertical {
|
85
|
-
// @apply ax-grid ax-grid-cols-1;
|
86
75
|
display: grid;
|
87
76
|
grid-template-columns: repeat(1, minmax(0, 1fr));
|
88
77
|
|
89
78
|
&.ax-divide {
|
90
|
-
// @apply ax-border-y;
|
91
79
|
border-top-width: 1px;
|
92
80
|
border-bottom-width: 1px;
|
93
81
|
}
|
94
82
|
}
|
95
83
|
|
96
84
|
&.ax-default {
|
97
|
-
// @apply ax-cursor-pointer;
|
98
85
|
cursor: pointer;
|
99
86
|
|
100
87
|
.ax-list-item-group {
|
101
88
|
& > span {
|
102
|
-
// @apply ax-flex ax-items-center ax-p-3 ax-font-medium;
|
103
89
|
display: flex;
|
104
90
|
align-items: center;
|
105
91
|
padding: 0.75rem /* 12px */;
|
@@ -107,22 +93,19 @@
|
|
107
93
|
}
|
108
94
|
|
109
95
|
& > ul {
|
110
|
-
// @apply ax-px-3;
|
111
96
|
padding-left: 0.75rem /* 12px */;
|
112
97
|
padding-right: 0.75rem /* 12px */;
|
113
98
|
}
|
114
99
|
.ax-list-item {
|
115
|
-
// @apply ax-mb-1 ax-rounded-default;
|
116
100
|
margin-bottom: 0.25rem /* 4px */;
|
117
|
-
border-radius: var(--ax-
|
101
|
+
border-radius: var(--ax-sys-border-radius);
|
118
102
|
}
|
119
103
|
}
|
120
104
|
|
121
105
|
.ax-list-item {
|
122
|
-
// @apply ax-relative ax-flex ax-h-default ax-select-none ax-items-center ax-justify-between ax-pe-4 ax-ps-3 ax-text-base;
|
123
106
|
position: relative;
|
124
107
|
display: flex;
|
125
|
-
height: var(--ax-size-
|
108
|
+
height: var(--ax-sys-size-base);
|
126
109
|
user-select: none;
|
127
110
|
align-items: center;
|
128
111
|
justify-content: space-between;
|
@@ -132,26 +115,23 @@
|
|
132
115
|
line-height: 1.5rem /* 24px */;
|
133
116
|
&:focus,
|
134
117
|
&:focus-visible {
|
135
|
-
// @apply ax-outline-2 ax-outline-offset-2;
|
136
118
|
outline-width: 2px;
|
137
119
|
outline-offset: 2px;
|
138
120
|
}
|
139
121
|
&.ax-state-checkbox {
|
140
122
|
.ax-checkbox-label {
|
141
|
-
// @apply ax-ms-2;
|
142
123
|
margin-inline-start: 0.5rem /* 8px */;
|
143
124
|
}
|
144
125
|
}
|
145
126
|
&.ax-state-selected {
|
146
|
-
|
147
|
-
|
148
|
-
color: rgba(var(--ax-color-primary-fore), var(--tw-text-opacity)) !important;
|
127
|
+
background-color: rgba(var(--ax-sys-color-primary-500), var(--tw-bg-opacity)) !important;
|
128
|
+
color: rgba(var(--ax-sys-color-on-primary), var(--tw-text-opacity)) !important;
|
149
129
|
|
150
130
|
// .ax-selected-icon {
|
151
|
-
//
|
131
|
+
//
|
152
132
|
// font-size: 1.5rem /* 24px */;
|
153
133
|
// line-height: 2rem /* 32px */;
|
154
|
-
// color: rgba(var(--ax-color-primary-500));
|
134
|
+
// color: rgba(var(--ax-sys-color-primary-500));
|
155
135
|
// }
|
156
136
|
}
|
157
137
|
|
@@ -161,25 +141,21 @@
|
|
161
141
|
// }
|
162
142
|
|
163
143
|
&.ax-state-disabled {
|
164
|
-
// @apply ax-cursor-not-allowed ax-opacity-50;
|
165
144
|
cursor: not-allowed;
|
166
145
|
opacity: 0.5;
|
167
146
|
}
|
168
147
|
|
169
148
|
&:focus-visible,
|
170
149
|
&:hover {
|
171
|
-
|
172
|
-
background-color: rgba(var(--ax-color-on-surface));
|
150
|
+
background-color: rgba(var(--ax-sys-color-surface-high));
|
173
151
|
}
|
174
152
|
&.ax-state-focus {
|
175
|
-
|
176
|
-
background-color: rgba(var(--ax-color-on-surface));
|
153
|
+
background-color: rgba(var(--ax-sys-color-surface-high));
|
177
154
|
}
|
178
155
|
}
|
179
156
|
}
|
180
157
|
|
181
158
|
.ax-list-loading-container {
|
182
|
-
// @apply ax-flex ax-justify-center ax-p-2;
|
183
159
|
display: flex;
|
184
160
|
justify-content: center;
|
185
161
|
padding: 0.5rem /* 8px */;
|
@@ -188,11 +164,9 @@
|
|
188
164
|
}
|
189
165
|
|
190
166
|
.ax-search-box-container {
|
191
|
-
// @apply ax-p-2;
|
192
167
|
padding: 0.5rem /* 8px */;
|
193
168
|
|
194
169
|
&.ax-state-hidden {
|
195
|
-
// @apply ax-hidden;
|
196
170
|
display: none;
|
197
171
|
}
|
198
172
|
}
|
package/src/shared/_radio.scss
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
@use '../mixins/index.scss';
|
2
2
|
|
3
3
|
.ax-radio {
|
4
|
-
// @apply ax-m-0 ax-h-4 ax-w-4 ax-cursor-pointer ax-appearance-none ax-rounded ax-border ax-border-default ax-bg-input-surface ax-align-middle ax-outline-none;
|
5
4
|
margin: 0px;
|
6
5
|
height: 1rem /* 16px */;
|
7
6
|
min-height: 1rem /* 16px */;
|
@@ -11,20 +10,17 @@
|
|
11
10
|
appearance: none;
|
12
11
|
border-radius: 9999px /* 4px */;
|
13
12
|
border-width: 1px;
|
14
|
-
border-color: rgba(var(--ax-color-input-border));
|
15
|
-
background-color: rgba(var(--ax-color-input-surface));
|
13
|
+
border-color: rgba(var(--ax-sys-color-input-surface-border));
|
14
|
+
background-color: rgba(var(--ax-sys-color-input-surface));
|
16
15
|
vertical-align: middle;
|
17
16
|
outline: 2px solid transparent;
|
18
17
|
outline-offset: 2px;
|
19
18
|
|
20
19
|
&:checked {
|
21
|
-
|
22
|
-
|
23
|
-
background-color: rgba(var(--ax-color-primary-500)) !important;
|
20
|
+
border-color: rgba(var(--ax-sys-color-primary-500)) !important;
|
21
|
+
background-color: rgba(var(--ax-sys-color-primary-500)) !important;
|
24
22
|
background-size: contain;
|
25
23
|
background-repeat: no-repeat;
|
26
|
-
|
27
|
-
// @apply ax-bg-contain ax-bg-no-repeat;
|
28
24
|
}
|
29
25
|
|
30
26
|
&:checked {
|
@@ -33,14 +29,12 @@
|
|
33
29
|
|
34
30
|
&:focus-visible,
|
35
31
|
&:focus {
|
36
|
-
// @apply ax-ring-2 ax-ring-primary-500 ax-ring-offset-2 ax-ring-offset-surface;
|
37
32
|
box-shadow:
|
38
|
-
0px 0px 0px 2px rgba(var(--ax-color-surface)),
|
39
|
-
0px 0px 0px 4px rgba(var(--ax-color-primary-500));
|
33
|
+
0px 0px 0px 2px rgba(var(--ax-sys-color-surface)),
|
34
|
+
0px 0px 0px 4px rgba(var(--ax-sys-color-primary-500));
|
40
35
|
}
|
41
36
|
|
42
37
|
&:disabled {
|
43
|
-
// @apply ax-cursor-not-allowed ax-opacity-50;
|
44
38
|
cursor: not-allowed;
|
45
39
|
opacity: 0.5;
|
46
40
|
}
|
@@ -49,8 +43,8 @@
|
|
49
43
|
// @include darkMode() {
|
50
44
|
// .ax-checkbox {
|
51
45
|
// &:checked {
|
52
|
-
// border-color: rgba(var(--ax-color-primary-200)) !important;
|
53
|
-
// background-color: rgba(var(--ax-color-primary-200)) !important;
|
46
|
+
// border-color: rgba(var(--ax-sys-color-primary-200)) !important;
|
47
|
+
// background-color: rgba(var(--ax-sys-color-primary-200)) !important;
|
54
48
|
// background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='black' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
|
55
49
|
// }
|
56
50
|
// }
|