@acorex/styles 7.17.11 → 7.17.13

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,38 +1,74 @@
1
1
  @import '../variables/index.scss';
2
2
 
3
3
  .ax-drop-down {
4
- @apply ax-contents;
4
+ // @apply ax-contents;
5
+ display: contents;
5
6
 
6
7
  .ax-dropdown-content {
7
- @apply ax-flex ax-flex-1 ax-items-center ax-overflow-x-auto ax-overflow-y-hidden ax-text-sm ax-capitalize;
8
+ // @apply ax-flex ax-flex-1 ax-items-center ax-overflow-x-auto ax-overflow-y-hidden ax-text-sm ax-capitalize;
9
+ display: flex;
10
+ flex: 1 1 0%;
11
+ align-items: center;
12
+ overflow-x: auto;
13
+ overflow-y: hidden;
14
+ font-size: 0.875rem /* 14px */;
15
+ line-height: 1.25rem /* 20px */;
16
+ text-transform: capitalize;
8
17
 
9
18
  &.ax-state-disabled {
10
- @apply ax-cursor-not-allowed ax-opacity-50;
19
+ // @apply ax-cursor-not-allowed ax-opacity-50;
20
+ cursor: not-allowed;
21
+ opacity: 0.5;
11
22
  }
12
23
  }
13
24
  }
14
25
 
15
26
  .ax-overlay-pane {
16
- @apply ax-mt-1 ax-h-fit ax-overflow-hidden ax-rounded-none ax-border ax-border-default ax-bg-surface ax-shadow-md md:ax-rounded-default;
27
+ // @apply ax-mt-1 ax-h-fit ax-overflow-hidden ax-rounded-none ax-border ax-border-default ax-bg-surface ax-shadow-md md:ax-rounded-default;
28
+ margin-top: 0.25rem /* 4px */;
29
+ height: fit-content;
30
+ overflow: hidden;
31
+ border-radius: 0px;
32
+ border-width: 1px;
33
+ border-color: rgba(var(--ax-color-border-default));
34
+ background-color: rgba(var(--ax-color-surface));
35
+ --ax-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
36
+ --ax-shadow-colored: 0 4px 6px -1px var(--ax-shadow-color), 0 2px 4px -2px var(--ax-shadow-color);
37
+ box-shadow: var(--ax-ring-offset-shadow, 0 0 #0000), var(--ax-ring-shadow, 0 0 #0000), var(--ax-shadow);
38
+ @media (min-width: 768px) {
39
+ border-radius: var(--ax-rounded-border-default);
40
+ }
17
41
  ax-header,
18
42
  ax-footer {
19
- @apply ax-bg-surface ax-p-3;
43
+ // @apply ax-bg-surface ax-p-3;
44
+ background-color: rgba(var(--ax-color-surface));
45
+ padding: 0.75rem /* 12px */;
20
46
  }
21
47
 
22
48
  &.ax-overlay-center {
23
- @apply ax-h-fit ax-w-[80vw] ax-max-w-[90vh];
49
+ // @apply ax-h-fit ax-w-[80vw] ax-max-w-[90vh];
50
+ height: fit-content;
51
+ width: 80vw;
52
+ max-width: 90vh;
24
53
  }
25
54
 
26
55
  &.ax-overlay-actionsheet {
27
- @apply ax-h-auto ax-max-h-[85vh] ax-w-full ax-bg-surface;
56
+ // @apply ax-h-auto ax-max-h-[85vh] ax-w-full ax-bg-surface;
57
+ height: auto;
58
+ max-height: 85vh;
59
+ width: 100%;
60
+ background-color: rgba(var(--ax-color-surface));
61
+
28
62
  &.ax-full {
29
- @apply ax-h-[95vh] ax-max-h-[95vh];
63
+ // @apply ax-h-[95vh] ax-max-h-[95vh];
64
+ height: 95vh;
65
+ max-height: 95vh;
30
66
  }
31
67
  }
32
68
 
33
69
  &.ax-overlay-full {
34
70
  width: 100vw;
35
71
  height: 100vh;
36
- @apply ax-h-screen ax-w-screen;
72
+ // @apply ax-h-screen ax-w-screen;
37
73
  }
38
74
  }
@@ -1,10 +1,11 @@
1
- @import '../mixins/index.scss';
1
+ @import '../mixins/look';
2
2
 
3
3
  @include darkMode() {
4
4
  .ax-editor-container {
5
5
  &.ax-look-fill {
6
6
  &.ax-state-error {
7
- @apply ax-bg-danger-500/25;
7
+ // @apply ax-bg-danger-500/25;
8
+ background-color: rgba(var(--ax-color-danger-500), 0.25);
8
9
  }
9
10
 
10
11
  &.ax-state-success {
@@ -14,7 +15,15 @@
14
15
  }
15
16
  }
16
17
  .ax-editor-container {
17
- @apply ax-flex ax-h-default ax-w-full ax-items-center ax-overflow-hidden ax-text-sm ax-leading-none ax-text-input-surface-fore;
18
+ // @apply ax-flex ax-h-default ax-w-full ax-items-center ax-overflow-hidden ax-text-sm ax-leading-none ax-text-input-surface-fore;
19
+ display: flex;
20
+ height: var(--ax-size-default);
21
+ width: 100%;
22
+ align-items: center;
23
+ overflow: hidden;
24
+ font-size: 0.875rem /* 14px */;
25
+ line-height: 1;
26
+ color: rgba(var(--ax-color-input-surface-fore));
18
27
 
19
28
  &.ax-look-solid,
20
29
  &.ax-look-outline {
@@ -31,51 +40,83 @@
31
40
  }
32
41
 
33
42
  .ax-editor-input {
34
- @apply ax-h-full ax-flex-1;
43
+ // @apply ax-h-full ax-flex-1;
44
+ height: 100%;
45
+ flex: 1 1 0%;
46
+
35
47
  .ax-input {
36
- @apply ax-h-full;
48
+ // @apply ax-h-full;
49
+ height: 100%;
37
50
  }
38
51
  }
39
52
  .ax-input {
40
- @apply ax-px-3;
53
+ // @apply ax-px-3;
54
+ padding-left: 0.75rem /* 12px */;
55
+ padding-right: 0.75rem /* 12px */;
41
56
  &::placeholder {
57
+ // @apply ax-font-normal ax-text-default/50;
42
58
  font-size: inherit;
43
- @apply ax-font-normal ax-text-default/50;
59
+ font-weight: 400;
60
+ color: rgb(var(--ax-color-text-default), 0.5);
44
61
  }
45
62
  }
46
63
 
47
64
  &.ax-xs {
48
65
  .ax-input {
49
- @apply ax-p-2 ax-text-xs;
66
+ // @apply ax-p-2 ax-text-xs;
67
+ padding: 0.5rem /* 8px */;
68
+ font-size: 0.75rem /* 12px */;
69
+ line-height: 1rem /* 16px */;
50
70
  }
51
71
  }
52
72
  &.ax-sm {
53
73
  .ax-input {
54
- @apply ax-p-2 ax-text-sm;
74
+ // @apply ax-p-2 ax-text-sm;
75
+ padding: 0.5rem /* 8px */;
76
+ font-size: 0.875rem /* 14px */;
77
+ line-height: 1.25rem /* 20px */;
55
78
  }
56
79
  }
57
80
  &.ax-md {
58
81
  .ax-input {
59
- @apply ax-text-sm;
82
+ // @apply ax-text-sm;
83
+ font-size: 0.875rem /* 14px */;
84
+ line-height: 1.25rem /* 20px */;
60
85
  }
61
86
  }
62
87
  &.ax-lg {
63
88
  .ax-input {
64
- @apply ax-text-lg;
89
+ // @apply ax-text-lg;
90
+ font-size: 1rem /* 18px */;
91
+ line-height: 1.25rem /* 28px */;
65
92
  }
66
93
  }
67
94
  &.ax-xl {
68
95
  .ax-input {
69
- @apply ax-text-lg;
96
+ // @apply ax-text-lg;
97
+ font-size: 1.125rem /* 18px */;
98
+ line-height: 1.75rem /* 28px */;
70
99
  }
71
100
  }
72
101
 
73
102
  .ax-editor-control {
74
- @apply ax-flex ax-h-full ax-items-center ax-justify-center ax-ps-2 ax-text-lg ax-text-input-surface-fore;
103
+ // @apply ax-flex ax-h-full ax-items-center ax-justify-center ax-ps-2 ax-text-lg ax-text-input-surface-fore;
104
+ display: flex;
105
+ height: 100%;
106
+ align-items: center;
107
+ justify-content: center;
108
+ padding-inline-start: 0.5rem /* 8px */;
109
+ font-size: 1.125rem /* 18px */;
110
+ line-height: 1.75rem /* 28px */;
111
+ font-size: 1.125rem /* 18px */;
112
+ line-height: 1.75rem /* 28px */;
113
+ color: rgba(var(--ax-color-input-surface-fore));
75
114
  }
76
115
 
77
116
  &.ax-button-icon {
78
- @apply ax-px-2;
117
+ // @apply ax-px-2;
118
+ padding-left: 0.5rem /* 8px */;
119
+ padding-right: 0.5rem /* 8px */;
79
120
  }
80
121
  .ax-input,
81
122
  .ax-text-area {
@@ -83,25 +124,37 @@
83
124
  font-family: inherit;
84
125
  font-size: inherit;
85
126
  line-height: inherit;
86
- @apply ax-h-full ax-w-full ax-flex-1 ax-bg-transparent ax-font-normal;
127
+ height: 100%;
128
+ width: 100%;
129
+ flex: 1 1 0%;
130
+ background-color: transparent;
131
+ font-weight: 400;
132
+
133
+ // @apply ax-h-full ax-w-full ax-flex-1 ax-bg-transparent ax-font-normal;
87
134
 
88
135
  &:focus {
89
- @apply ax-shadow-none;
136
+ // @apply ax-shadow-none;
137
+ box-shadow: none;
90
138
  }
91
139
  }
92
140
 
93
141
  .ax-text-area {
94
- @apply ax-p-2.5;
142
+ // @apply ax-p-2.5;
143
+ padding: 0.625rem /* 10px */;
95
144
  }
96
145
  & > ax-prefix {
97
146
  *,
98
147
  .ax-button,
99
148
  ax-title {
100
- @apply ax-rounded-es ax-rounded-ss;
149
+ // @apply ax-rounded-es ax-rounded-ss;
150
+ border-end-start-radius: 0.25rem /* 4px */;
151
+ border-start-start-radius: 0.25rem /* 4px */;
101
152
  }
102
153
 
103
154
  ax-icon {
104
- @apply ax-px-3;
155
+ // @apply ax-px-3;
156
+ padding-left: 0.75rem /* 12px */;
157
+ padding-right: 0.75rem /* 12px */;
105
158
  }
106
159
  }
107
160
 
@@ -109,48 +162,79 @@
109
162
  *,
110
163
  .ax-button,
111
164
  ax-title {
112
- @apply ax-rounded-ee ax-rounded-se;
165
+ // @apply ax-rounded-ee ax-rounded-se;
166
+ border-end-end-radius: 0.25rem /* 4px */;
167
+ border-start-end-radius: 0.25rem /* 4px */;
113
168
  }
114
169
  ax-icon {
115
- @apply ax-pe-3;
170
+ // @apply ax-pe-3;
171
+ padding-inline-end: 0.75rem /* 12px */;
116
172
  }
117
173
  }
118
174
 
119
175
  & > ax-prefix,
120
176
  & > ax-suffix {
121
- @apply ax-h-full;
177
+ // @apply ax-h-full;
178
+ height: 100%;
179
+
122
180
  + .ax-input {
123
- @apply ax-px-0.5 #{!important};
181
+ // @apply ax-px-0.5 #{!important};
182
+ padding-left: 0.125rem !important;
183
+ padding-right: 0.125rem !important;
124
184
  }
125
185
  * {
126
- @apply ax-flex ax-h-full ax-items-center ax-justify-center ax-rounded-none;
186
+ // @apply ax-flex ax-h-full ax-items-center ax-justify-center ax-rounded-none;
187
+ display: flex;
188
+ height: 100%;
189
+ align-items: center;
190
+ justify-content: center;
191
+ border-radius: 0px;
127
192
  }
128
193
 
129
194
  ax-title {
130
- @apply ax-px-4;
195
+ // @apply ax-px-4;
196
+ padding-left: 1rem /* 16px */;
197
+ padding-right: 1rem /* 16px */;
131
198
  }
132
199
 
133
200
  & > ax-text {
134
- @apply ax-flex ax-items-center ax-justify-center ax-bg-transparent ax-px-2 ax-text-sm;
201
+ // @apply ax-flex ax-items-center ax-justify-center ax-bg-transparent ax-px-2 ax-text-sm;
202
+ display: flex;
203
+ align-items: center;
204
+ justify-content: center;
205
+ background-color: transparent;
206
+ padding-left: 0.5rem /* 8px */;
207
+ padding-right: 0.5rem /* 8px */;
208
+ font-size: 0.875rem /* 14px */;
209
+ line-height: 1.25rem /* 20px */;
135
210
  }
136
211
  }
137
212
 
138
213
  .ax-button {
139
- @apply ax-h-full ax-rounded-none #{!important};
214
+ // @apply ax-h-full ax-rounded-none #{!important};
215
+ height: 100% !important;
216
+ border-radius: 0px !important;
140
217
 
141
218
  &.ax-button-icon {
142
- @apply ax-h-full ax-w-default;
219
+ // @apply ax-h-full ax-w-default;
220
+ height: 100%;
221
+ width: var(--ax-size-default);
143
222
  }
144
223
  }
145
224
 
146
225
  &.ax-state-disabled {
147
- @apply ax-cursor-not-allowed ax-opacity-50;
226
+ // @apply ax-cursor-not-allowed ax-opacity-50;
227
+ cursor: not-allowed;
228
+ opacity: 0.5;
148
229
  }
149
230
  }
150
231
  .ax-ripple {
232
+ // @apply ax-absolute ax-rounded-full;
151
233
  transform: scale(0);
152
234
  animation: ripple 500ms linear;
153
- @apply ax-absolute ax-rounded-full;
235
+ position: absolute;
236
+ border-radius: 9999px;
237
+
154
238
  @keyframes ripple {
155
239
  to {
156
240
  transform: scale(4);
@@ -1,56 +1,94 @@
1
1
  .ax-general-button {
2
- @apply ax-inline-flex ax-h-default ax-cursor-pointer ax-items-center ax-justify-center ax-rounded-default ax-px-4 ax-text-sm ax-text-default/75;
2
+ // @apply ax-inline-flex ax-h-default ax-cursor-pointer ax-items-center ax-justify-center ax-rounded-default ax-px-4 ax-text-sm ax-text-default/75;
3
+ display: inline-flex;
4
+ height: var(--ax-size-default);
5
+ cursor: pointer;
6
+ align-items: center;
7
+ justify-content: center;
8
+ border-radius: var(--ax-rounded-border-default);
9
+ padding-left: 1rem /* 16px */;
10
+ padding-right: 1rem /* 16px */;
11
+ font-size: 0.875rem /* 14px */;
12
+ line-height: 1.25rem /* 20px */;
13
+ color: rgb(var(--ax-color-text-default), 0.75);
14
+
3
15
  &:hover {
4
16
  &:not(&:disabled, .ax-state-disabled) {
5
- @apply ax-text-primary-500;
17
+ // @apply ax-text-primary-500;
18
+ color: rgba(var(--ax-color-primary-500), var(--tw-text-opacity));
6
19
  }
7
20
  }
8
21
 
9
22
  &:focus,
10
23
  &:focus-visible {
11
24
  &:not(&:disabled, .ax-state-disabled) {
12
- @apply ax-text-primary-700;
25
+ // @apply ax-text-primary-700;
26
+ color: rgba(var(--ax-color-primary-700), var(--tw-text-opacity));
13
27
  }
14
28
  }
15
29
 
16
30
  &:active {
17
31
  &:not(&:disabled, .ax-state-disabled) {
18
- @apply ax-text-primary-300;
32
+ // @apply ax-text-primary-300;
33
+ color: rgba(var(--ax-color-primary-300), var(--tw-text-opacity));
19
34
  }
20
35
  }
21
36
 
22
37
  &.ax-button-icon {
23
- @apply ax-px-2 ax-text-lg;
38
+ // @apply ax-px-2 ax-text-lg;
39
+ padding-left: 0.5rem /* 8px */;
40
+ padding-right: 0.5rem /* 8px */;
41
+ font-size: 1.125rem /* 18px */;
42
+ line-height: 1.75rem /* 28px */;
24
43
  > button {
25
- @apply ax-flex;
44
+ // @apply ax-flex;
45
+ display: flex;
26
46
  }
27
47
  ax-icon {
28
- @apply ax-text-lg;
48
+ // @apply ax-text-lg;
49
+ font-size: 1.125rem /* 18px */;
50
+ line-height: 1.75rem /* 28px */;
29
51
  }
30
52
  }
31
53
  &.ax-button-rounded {
32
- @apply ax-rounded-default;
54
+ // @apply ax-rounded-default;
55
+ border-radius: var(--ax-rounded-border-default);
33
56
  }
34
57
  &:disabled,
35
58
  &.ax-state-disabled {
36
- @apply ax-cursor-not-allowed ax-opacity-50;
59
+ // @apply ax-cursor-not-allowed ax-opacity-50;
60
+ cursor: not-allowed;
61
+ opacity: 0.5;
37
62
  }
38
63
  }
39
64
  .ax-clear-button {
40
- @apply ax-inline-flex ax-h-default ax-items-center ax-justify-center ax-px-3 ax-text-base ax-leading-none ax-text-default/75;
65
+ // @apply ax-inline-flex ax-h-default ax-items-center ax-justify-center ax-px-3 ax-text-base ax-leading-none ax-text-default/75;
66
+ display: inline-flex;
67
+ height: var(--ax-size-default);
68
+ align-items: center;
69
+ justify-content: center;
70
+ padding-left: 0.75rem /* 12px */;
71
+ padding-right: 0.75rem /* 12px */;
72
+ font-size: 1rem /* 16px */;
73
+ line-height: 1.5rem /* 24px */;
74
+ line-height: 1;
75
+ color: rgb(var(--ax-color-text-default), 0.75);
41
76
 
42
77
  > button {
43
- @apply ax-flex;
78
+ // @apply ax-flex;
79
+ display: flex;
44
80
  }
45
81
  &:hover {
46
82
  &:not(&:disabled, .ax-state-disabled) {
47
- @apply ax-text-default/50;
83
+ // @apply ax-text-default/50;
84
+ color: rgb(var(--ax-color-text-default), 0.5);
48
85
  }
49
86
  }
50
87
  &:focus,
51
88
  &:focus-visible {
52
89
  &:not(&:disabled, .ax-state-disabled) {
53
- @apply ax-text-default;
90
+ // @apply ax-text-default;
91
+ color: rgb(var(--ax-color-text-default));
54
92
  }
55
93
  }
56
94
  }
@@ -1,10 +1,16 @@
1
1
  .ax-input {
2
+ // @apply ax-p-0 ax-outline-0;
2
3
  font-size: inherit;
3
- @apply ax-p-0 ax-outline-0;
4
+ padding: 0px;
5
+ outline-width: 0px;
6
+
4
7
  &:focus {
5
- @apply ax-outline-transparent;
8
+ // @apply ax-outline-transparent;
9
+ outline-color: transparent;
6
10
  }
7
11
  &.ax-state-disabled {
8
- @apply ax-cursor-not-allowed ax-opacity-50;
12
+ // @apply ax-cursor-not-allowed ax-opacity-50;
13
+ cursor: not-allowed;
14
+ opacity: 0.5;
9
15
  }
10
16
  }
@@ -2,83 +2,156 @@
2
2
  @include darkMode() {
3
3
  .ax-list-item {
4
4
  &.ax-state-selected {
5
- @apply ax-bg-primary-800 ax-text-primary-fore #{!important};
5
+ // @apply ax-bg-primary-800 ax-text-primary-fore #{!important};
6
+ background-color: rgba(var(--ax-color-primary-800)) !important;
7
+ color: rgba(var(--ax-color-primary-fore)) !important;
8
+
6
9
  .ax-selected-icon {
7
- @apply ax-text-primary-fore;
10
+ // @apply ax-text-primary-fore;
11
+ color: rgba(var(--ax-color-primary-fore));
8
12
  }
9
13
  }
10
14
  }
11
15
  }
12
16
  .ax-list {
13
- @apply ax-flex ax-h-full ax-flex-col ax-overflow-hidden ax-bg-surface ax-text-sm md:ax-max-h-80;
14
-
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
+ display: flex;
19
+ height: 100%;
20
+ flex-direction: column;
21
+ overflow: hidden;
22
+ background-color: rgba(var(--ax-color-surface));
23
+ font-size: 0.875rem /* 14px */;
24
+ line-height: 1.25rem /* 20px */;
25
+ @media (min-width: 768px) {
26
+ max-height: 20rem /* 320px */;
27
+ }
15
28
  ax-header,
16
29
  ax-footer {
17
- @apply ax-flex ax-items-center ax-justify-between ax-border-default ax-bg-surface;
30
+ // @apply ax-flex ax-items-center ax-justify-between ax-border-default ax-bg-surface;
31
+ display: flex;
32
+ align-items: center;
33
+ justify-content: space-between;
34
+ border-color: rgba(var(--ax-color-border-default), var(--tw-border-opacity));
35
+ background-color: rgba(var(--ax-color-surface), var(--tw-bg-opacity));
18
36
  }
19
37
  ax-header {
20
- @apply ax-border-b ax-border-default ax-p-4 ax-text-base ax-font-medium md:ax-text-lg;
21
-
38
+ // @apply ax-border-b ax-border-default ax-p-4 ax-text-base ax-font-medium md:ax-text-lg;
39
+ border-bottom-width: 1px;
40
+ border-color: rgba(var(--ax-color-border-default), var(--tw-border-opacity));
41
+ padding: 1rem /* 16px */;
42
+ font-size: 1rem /* 16px */;
43
+ line-height: 1.5rem /* 24px */;
44
+ font-weight: 500;
45
+ @media (min-width: 768px) {
46
+ font-size: 1.125rem /* 18px */;
47
+ line-height: 1.75rem /* 28px */;
48
+ }
22
49
  ax-prefix,
23
50
  ax-suffix {
24
- @apply ax-flex ax-flex-col ax-justify-items-start;
51
+ // @apply ax-flex ax-flex-col ax-justify-items-start;
52
+ display: flex;
53
+ flex-direction: column;
54
+ justify-items: start;
25
55
  }
26
56
  ax-prefix {
27
- @apply ax-items-start;
57
+ // @apply ax-items-start;
58
+ align-items: flex-start;
28
59
  }
29
60
  ax-suffix {
30
- @apply ax-items-end;
61
+ // @apply ax-items-end;
62
+ align-items: flex-end;
31
63
  }
32
64
  }
33
65
 
34
66
  ax-footer {
35
- @apply ax-border-t;
67
+ // @apply ax-border-t;
68
+ border-top-width: 1px;
36
69
  }
37
70
 
38
71
  .ax-content {
39
- @apply ax-flex-1 ax-overflow-y-auto ax-overflow-x-hidden;
72
+ // @apply ax-flex-1 ax-overflow-y-auto ax-overflow-x-hidden;
73
+ flex: 1 1 0%;
74
+ overflow-y: auto;
75
+ overflow-x: hidden;
40
76
 
41
77
  &.ax-list-items-container {
42
- @apply ax-h-full ax-overflow-y-auto ax-py-2;
78
+ // @apply ax-h-full ax-overflow-y-auto ax-py-2;
79
+ height: 100%;
80
+ overflow-y: auto;
81
+ padding-top: 0.5rem /* 8px */;
82
+ padding-bottom: 0.5rem /* 8px */;
83
+
43
84
  &.ax-vertical {
44
- @apply ax-grid ax-grid-cols-1;
85
+ // @apply ax-grid ax-grid-cols-1;
86
+ display: grid;
87
+ grid-template-columns: repeat(1, minmax(0, 1fr));
45
88
 
46
89
  &.ax-divide {
47
- @apply ax-border-y;
90
+ // @apply ax-border-y;
91
+ border-top-width: 1px;
92
+ border-bottom-width: 1px;
48
93
  }
49
94
  }
50
95
 
51
96
  &.ax-default {
52
- @apply ax-cursor-pointer;
97
+ // @apply ax-cursor-pointer;
98
+ cursor: pointer;
53
99
 
54
100
  .ax-list-item-group {
55
101
  & > span {
56
- @apply ax-flex ax-items-center ax-p-3 ax-font-medium;
102
+ // @apply ax-flex ax-items-center ax-p-3 ax-font-medium;
103
+ display: flex;
104
+ align-items: center;
105
+ padding: 0.75rem /* 12px */;
106
+ font-weight: 500;
57
107
  }
58
108
 
59
109
  & > ul {
60
- @apply ax-px-3;
110
+ // @apply ax-px-3;
111
+ padding-left: 0.75rem /* 12px */;
112
+ padding-right: 0.75rem /* 12px */;
61
113
  }
62
114
  .ax-list-item {
63
- @apply ax-mb-1 ax-rounded-default;
115
+ // @apply ax-mb-1 ax-rounded-default;
116
+ margin-bottom: 0.25rem /* 4px */;
117
+ border-radius: var(--ax-rounded-border-default);
64
118
  }
65
119
  }
66
120
 
67
121
  .ax-list-item {
68
- @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;
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
+ position: relative;
124
+ display: flex;
125
+ height: var(--ax-size-default);
126
+ user-select: none;
127
+ align-items: center;
128
+ justify-content: space-between;
129
+ padding-inline-end: 1rem /* 16px */;
130
+ padding-inline-start: 0.75rem /* 12px */;
131
+ font-size: 1rem /* 16px */;
132
+ line-height: 1.5rem /* 24px */;
69
133
  &:focus,
70
134
  &:focus-visible {
71
- @apply ax-outline-2 ax-outline-offset-2;
135
+ // @apply ax-outline-2 ax-outline-offset-2;
136
+ outline-width: 2px;
137
+ outline-offset: 2px;
72
138
  }
73
139
  &.ax-state-checkbox {
74
140
  .ax-checkbox-label {
75
- @apply ax-ms-2;
141
+ // @apply ax-ms-2;
142
+ margin-inline-start: 0.5rem /* 8px */;
76
143
  }
77
144
  }
78
145
  &.ax-state-selected {
79
- @apply ax-bg-primary-500 ax-text-primary-fore #{!important};
146
+ // @apply ax-bg-primary-500 ax-text-primary-fore #{!important};
147
+ background-color: rgba(var(--ax-color-primary-500), var(--tw-bg-opacity)) !important;
148
+ color: rgba(var(--ax-color-primary-fore), var(--tw-text-opacity)) !important;
149
+
80
150
  .ax-selected-icon {
81
- @apply ax-text-2xl ax-text-primary-500;
151
+ // @apply ax-text-2xl ax-text-primary-500;
152
+ font-size: 1.5rem /* 24px */;
153
+ line-height: 2rem /* 32px */;
154
+ color: rgba(var(--ax-color-primary-500));
82
155
  }
83
156
  }
84
157
 
@@ -88,32 +161,39 @@
88
161
  // }
89
162
 
90
163
  &.ax-state-disabled {
91
- @apply ax-cursor-not-allowed ax-opacity-50;
164
+ // @apply ax-cursor-not-allowed ax-opacity-50;
165
+ cursor: not-allowed;
166
+ opacity: 0.5;
92
167
  }
93
168
 
94
169
  &:focus-visible,
95
170
  &:hover {
96
- @apply ax-bg-on-surface;
171
+ // @apply ax-bg-on-surface;
172
+ background-color: rgba(var(--ax-color-on-surface));
97
173
  }
98
174
  &.ax-state-focus {
99
- @apply ax-bg-on-surface;
175
+ // @apply ax-bg-on-surface;
176
+ background-color: rgba(var(--ax-color-on-surface));
100
177
  }
101
178
  }
102
179
  }
103
180
 
104
181
  .ax-list-loading-container {
105
- @apply ax-flex ax-justify-center ax-p-2;
182
+ // @apply ax-flex ax-justify-center ax-p-2;
183
+ display: flex;
184
+ justify-content: center;
185
+ padding: 0.5rem /* 8px */;
106
186
  }
107
187
  }
108
188
  }
109
189
 
110
190
  .ax-search-box-container {
111
- @apply ax-p-2;
191
+ // @apply ax-p-2;
192
+ padding: 0.5rem /* 8px */;
112
193
 
113
194
  &.ax-state-hidden {
114
- @apply ax-hidden;
195
+ // @apply ax-hidden;
196
+ display: none;
115
197
  }
116
198
  }
117
- ax-footer {
118
- }
119
199
  }