@acorex/styles 6.1.12 → 7.0.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.
Files changed (81) hide show
  1. package/index.scss +3 -1
  2. package/package.json +1 -1
  3. package/src/base/index.scss +44 -30
  4. package/src/components/_avatar.scss +122 -122
  5. package/src/components/_badge.scss +178 -178
  6. package/src/components/_breadcrumbs.scss +30 -29
  7. package/src/components/_button copy.scss +924 -0
  8. package/src/components/_button.scss +0 -924
  9. package/src/components/_calendar.scss +180 -180
  10. package/src/components/_carousel.scss +44 -44
  11. package/src/components/_checkbox.scss +58 -58
  12. package/src/components/_collapse.scss +48 -48
  13. package/src/components/_color-palette.scss +5 -5
  14. package/src/components/_color-picker.scss +23 -23
  15. package/src/components/_context-menu.scss +0 -16
  16. package/src/components/_data-table.scss +1 -1
  17. package/src/components/_datepicker.scss +5 -5
  18. package/src/components/_decoration.scss +0 -39
  19. package/src/components/_dialog.scss +80 -79
  20. package/src/components/_drawer.scss +112 -112
  21. package/src/components/_dropdown.scss +162 -216
  22. package/src/components/_editor-container.scss +0 -155
  23. package/src/components/_fieldset.scss +1 -6
  24. package/src/components/_image.scss +1 -1
  25. package/src/components/_label.scss +1 -1
  26. package/src/components/_list.scss +0 -83
  27. package/src/components/_loading.scss +1 -50
  28. package/src/components/_menu copy.scss +5 -5
  29. package/src/components/_menu.scss +114 -114
  30. package/src/components/_popup.scss +92 -91
  31. package/src/components/_progress.scss +59 -59
  32. package/src/components/_radio.scss +30 -30
  33. package/src/components/_range-slider.scss +147 -125
  34. package/src/components/_result.scss +2 -2
  35. package/src/components/_selectbox.scss +15 -17
  36. package/src/components/_selection-list.scss +2 -2
  37. package/src/components/_skeleton.scss +2 -2
  38. package/src/components/_switch.scss +0 -186
  39. package/src/components/_table.scss +0 -81
  40. package/src/components/_tabs copy.scss +18 -18
  41. package/src/components/_tabs.scss +235 -235
  42. package/src/components/_textarea.scss +27 -31
  43. package/src/components/_toast.scss +1 -1
  44. package/src/components/_treeview.scss +0 -54
  45. package/src/components/_uploader.scss +0 -18
  46. package/src/components/index.scss +1 -47
  47. package/src/icons/demo.html +892 -738
  48. package/src/icons/fonts/acorex-icons.eot +0 -0
  49. package/src/icons/fonts/acorex-icons.svg +71 -0
  50. package/src/icons/fonts/acorex-icons.ttf +0 -0
  51. package/src/icons/fonts/acorex-icons.woff +0 -0
  52. package/src/icons/selection.json +1 -1
  53. package/src/icons/style.css +210 -177
  54. package/src/icons/style.scss +335 -280
  55. package/src/icons/variables.scss +65 -54
  56. package/src/mixins/_media.scss +27 -0
  57. package/src/mixins/index.scss +1 -0
  58. package/src/shared/_check-box.scss +45 -0
  59. package/src/shared/_decoration.scss +56 -0
  60. package/src/shared/_drop-down.scss +163 -0
  61. package/src/shared/_editor-container.scss +130 -0
  62. package/src/shared/_general-button.scss +42 -0
  63. package/src/shared/_icon-control.scss +0 -0
  64. package/src/shared/_inputs.scss +12 -0
  65. package/src/shared/_list.scss +134 -0
  66. package/src/shared/_radio.scss +37 -0
  67. package/src/shared/_skeleton.scss +26 -0
  68. package/src/shared/_table.scss +116 -0
  69. package/src/shared/_utils.scss +46 -0
  70. package/src/shared/index.scss +12 -0
  71. package/src/utility/_mixins.scss +3 -3
  72. package/src/utility/index.scss +16 -22
  73. package/src/variables/_colors.scss +76 -107
  74. package/src/variables/_degrees.scss +1 -0
  75. package/src/variables/index.scss +2 -0
  76. package/{index.js → tailwind.config.js} +14 -63
  77. package/src/components/_alert.scss +0 -276
  78. package/src/icons/fonts/acorex-icon.eot +0 -0
  79. package/src/icons/fonts/acorex-icon.svg +0 -60
  80. package/src/icons/fonts/acorex-icon.ttf +0 -0
  81. package/src/icons/fonts/acorex-icon.woff +0 -0
@@ -1,235 +1,235 @@
1
- @layer components {
2
- .ax-tabs {
3
- @apply ax-p-0 ax-overflow-y-hidden ax-overflow-x-auto ax-w-max ax-block;
4
-
5
- .ax-items-wrapper {
6
- @apply ax-flex;
7
- }
8
-
9
- &:not(.ax-look-custom) {
10
- ax-tab-item {
11
- @apply ax-text-center ax-px-5 ax-cursor-pointer ax-whitespace-nowrap ax-flex ax-items-center ax-justify-center ax-relative ax-text-sm ax-font-medium ax-select-none;
12
- min-height: calc(var(--ax-base-size) * var(--ax-base-ratio));
13
- line-height: calc((var(--ax-base-size) * var(--ax-base-ratio)) / 2);
14
-
15
- &.ax-state-disabled {
16
- // background-color: rgb(var(--ax-color-disabled)) !important;
17
- // color: rgb(var(--ax-color-disabled-fore)) !important;
18
- @apply ax-opacity-50 ax-cursor-not-allowed #{!important};
19
- }
20
-
21
- &.ax-state-active {
22
- @apply ax-text-black;
23
- }
24
-
25
- .ax-prefix {
26
- @apply ax-flex ax-flex-row ax-pe-2;
27
- }
28
-
29
- .ax-suffix {
30
- @apply ax-flex ax-flex-row ax-ps-2;
31
- }
32
- }
33
- }
34
-
35
- &.ax-tabs-fit {
36
- .ax-items-wrapper ax-tab-item {
37
- @apply ax-flex-1;
38
- }
39
- }
40
-
41
- & > .ax-tab-controll {
42
- @apply ax-flex ax-items-center ax-justify-center ax-px-1 ax-cursor-pointer;
43
- box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14),
44
- 0 1px 10px 0 rgba(0, 0, 0, 0.12);
45
- }
46
-
47
- &.ax-horizontal {
48
- &.ax-look-default {
49
- @apply ax-border ax-border-solid ax-border-light-300 ax-shadow-sm ax-overflow-hidden ax-rounded-default;
50
- @include control-states("editor");
51
-
52
- ax-tab-item {
53
- @apply ax-bg-white ax-border-e ax-border-b-2 ax-border-solid ax-border-light-300 dark:ax-text-light-200;
54
- @include control-states("editor");
55
-
56
- border-bottom-color: transparent !important;
57
-
58
- &:first-child {
59
- }
60
-
61
- &:last-child {
62
- @apply ax-border-e-0;
63
- }
64
-
65
- &:hover,
66
- &.ax-state-active {
67
- &:not(.ax-state-disabled) {
68
- border-bottom-color: rgb(var(--ax-color-primary-500)) !important;
69
- }
70
- }
71
- }
72
- }
73
-
74
- &.ax-look-start-line {
75
- @apply ax-border-t ax-border-solid ax-border-light-300 dark:ax-border-light-200/10 ax-w-full;
76
- ax-tab-item {
77
- &.ax-state-active {
78
- @apply ax-text-primary-500;
79
- &::after {
80
- @apply ax-absolute ax-top-0 ax-w-full ax-h-0.5 ax-bg-primary-500 ax-block;
81
- content: "";
82
- }
83
- }
84
- &:hover {
85
- &::after {
86
- @apply ax-absolute ax-top-0 ax-w-full ax-h-0.5 ax-bg-primary-500 ax-block;
87
- content: "";
88
- }
89
- }
90
- }
91
- }
92
-
93
- &.ax-look-end-line {
94
- @apply ax-border-b ax-border-solid ax-border-light-300 dark:ax-border-light-200/10 ax-w-full;
95
- ax-tab-item {
96
- &.ax-state-active {
97
- @apply ax-text-primary-500;
98
- &::after {
99
- @apply ax-absolute ax-bottom-0 ax-w-full ax-h-0.5 ax-bg-primary-500 ax-block;
100
- content: "";
101
- }
102
- }
103
- &:hover {
104
- &::after {
105
- @apply ax-absolute ax-bottom-0 ax-w-full ax-h-0.5 ax-bg-primary-500 ax-block;
106
- content: "";
107
- }
108
- }
109
- }
110
- }
111
-
112
- &.ax-look-pills {
113
- ax-tab-item {
114
- @apply ax-text-light-fore ax-mr-1 ax-rounded dark:ax-text-light-200;
115
-
116
- &:hover {
117
- @apply ax-bg-light-300 ax-text-light-fore dark:ax-text-light-50 dark:ax-bg-light-600;
118
- }
119
-
120
- &.ax-state-active {
121
- @apply ax-bg-light-200 ax-text-light-fore dark:ax-text-light-50 dark:ax-bg-light-600;
122
- }
123
- }
124
- }
125
-
126
- &.ax-look-pills-color {
127
- ax-tab-item {
128
- @apply ax-text-light-fore ax-mr-1 ax-rounded dark:ax-text-primary-200;
129
-
130
- &:hover {
131
- @apply ax-bg-primary-100 ax-text-primary-500 dark:ax-text-primary-50 dark:ax-bg-primary-500;
132
- }
133
-
134
- &.ax-state-active {
135
- @apply ax-bg-primary-100 ax-text-primary-500 dark:ax-text-primary-50 dark:ax-bg-primary-500;
136
- }
137
- }
138
- }
139
- }
140
-
141
- &.ax-vertical {
142
- .ax-items-wrapper {
143
- @apply ax-flex-col ax-h-full;
144
-
145
- ax-tab-item {
146
- @apply ax-text-center ax-justify-start ax-py-2;
147
- }
148
- }
149
-
150
- &.ax-look-default {
151
- @apply ax-border ax-border-solid ax-border-light-300 ax-shadow-sm ax-rounded ax-overflow-hidden;
152
- @include control-states("editor");
153
-
154
- ax-tab-item {
155
- @apply ax-bg-white ax-border-s ax-border-solid ax-border-light-300 ax-border-b-0 dark:ax-text-light-200 ax-mb-1;
156
- &:last-child {
157
- @apply ax-mb-0;
158
- }
159
- &:hover,
160
- &.ax-state-active {
161
- border-inline-start-color: rgb(var(--ax-color-primary-500)) !important;
162
- }
163
- }
164
- }
165
-
166
- &.ax-look-start-line {
167
- ax-tab-item {
168
- @apply ax-border-s-2 ax-border-solid ax-border-light-300 dark:ax-border-light-200/10;
169
-
170
- &.ax-state-active {
171
- @apply ax-border-primary-500 ax-text-primary-500;
172
-
173
- &:hover {
174
- @apply ax-border-primary-500;
175
- }
176
- }
177
-
178
- &:hover {
179
- @apply ax-border-primary-500 ax-text-primary-500;
180
- }
181
- }
182
- }
183
-
184
- &.ax-look-end-line {
185
- ax-tab-item {
186
- @apply ax-border-e-2 ax-border-solid ax-border-light-300 dark:ax-border-light-200/10;
187
-
188
- &.ax-state-active {
189
- @apply ax-border-primary-500 ax-text-primary-500;
190
-
191
- &:hover {
192
- @apply ax-border-primary-500;
193
- }
194
- }
195
-
196
- &:hover {
197
- @apply ax-border-primary-500 ax-text-primary-500;
198
- }
199
- }
200
- }
201
-
202
- &.ax-look-pills {
203
- ax-tab-item {
204
- @apply ax-text-light-fore ax-mr-1 ax-rounded dark:ax-text-light-200 ax-mb-1;
205
- &:last-child {
206
- @apply ax-mb-0;
207
- }
208
- &:hover {
209
- @apply ax-bg-light-300 ax-text-light-fore dark:ax-text-light-100;
210
- }
211
-
212
- &.ax-state-active {
213
- @apply ax-bg-light-300 ax-text-light-fore dark:ax-text-light-50;
214
- }
215
- }
216
- }
217
-
218
- &.ax-look-pills-color {
219
- ax-tab-item {
220
- @apply ax-text-light-fore ax-mr-1 ax-rounded dark:ax-text-light-200 ax-mb-1;
221
- &:last-child {
222
- @apply ax-mb-0;
223
- }
224
- &:hover {
225
- @apply ax-bg-primary-100 ax-text-primary-500 dark:ax-text-light-100;
226
- }
227
-
228
- &.ax-state-active {
229
- @apply ax-bg-primary-200 ax-text-primary-900 dark:ax-text-light-50;
230
- }
231
- }
232
- }
233
- }
234
- }
235
- }
1
+ // @layer components {
2
+ // .ax-tabs {
3
+ // @apply ax-p-0 ax-overflow-y-hidden ax-overflow-x-auto ax-w-max ax-block;
4
+
5
+ // .ax-items-wrapper {
6
+ // @apply ax-flex;
7
+ // }
8
+
9
+ // &:not(.ax-look-custom) {
10
+ // ax-tab-item {
11
+ // @apply ax-text-center ax-px-5 ax-cursor-pointer ax-whitespace-nowrap ax-flex ax-items-center ax-justify-center ax-relative ax-text-sm ax-font-medium ax-select-none;
12
+ // min-height: calc(var(--ax-base-size) * var(--ax-base-ratio));
13
+ // line-height: calc((var(--ax-base-size) * var(--ax-base-ratio)) / 2);
14
+
15
+ // &.ax-state-disabled {
16
+ // // background-color: rgb(var(--ax-color-disabled)) !important;
17
+ // // color: rgb(var(--ax-color-disabled-fore)) !important;
18
+ // @apply ax-opacity-50 ax-cursor-not-allowed #{!important};
19
+ // }
20
+
21
+ // &.ax-state-active {
22
+ // @apply ax-text-black;
23
+ // }
24
+
25
+ // .ax-prefix {
26
+ // @apply ax-flex ax-flex-row ax-pe-2;
27
+ // }
28
+
29
+ // .ax-suffix {
30
+ // @apply ax-flex ax-flex-row ax-ps-2;
31
+ // }
32
+ // }
33
+ // }
34
+
35
+ // &.ax-tabs-fit {
36
+ // .ax-items-wrapper ax-tab-item {
37
+ // @apply ax-flex-1;
38
+ // }
39
+ // }
40
+
41
+ // & > .ax-tab-controll {
42
+ // @apply ax-flex ax-items-center ax-justify-center ax-px-1 ax-cursor-pointer;
43
+ // box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14),
44
+ // 0 1px 10px 0 rgba(0, 0, 0, 0.12);
45
+ // }
46
+
47
+ // &.ax-horizontal {
48
+ // &.ax-look-default {
49
+ // @apply ax-border ax-border-solid ax-border-neutral-300 ax-shadow-sm ax-overflow-hidden ax-rounded-default;
50
+ // @include control-states("editor");
51
+
52
+ // ax-tab-item {
53
+ // @apply ax-bg-white ax-border-e ax-border-b-2 ax-border-solid ax-border-neutral-300 dark:ax-text-neutral-200;
54
+ // @include control-states("editor");
55
+
56
+ // border-bottom-color: transparent !important;
57
+
58
+ // &:first-child {
59
+ // }
60
+
61
+ // &:last-child {
62
+ // @apply ax-border-e-0;
63
+ // }
64
+
65
+ // &:hover,
66
+ // &.ax-state-active {
67
+ // &:not(.ax-state-disabled) {
68
+ // border-bottom-color: rgb(var(--ax-color-primary-500)) !important;
69
+ // }
70
+ // }
71
+ // }
72
+ // }
73
+
74
+ // &.ax-look-start-line {
75
+ // @apply ax-border-t ax-border-solid ax-border-neutral-300 dark:ax-border-neutral-200/10 ax-w-full;
76
+ // ax-tab-item {
77
+ // &.ax-state-active {
78
+ // @apply ax-text-primary-500;
79
+ // &::after {
80
+ // @apply ax-absolute ax-top-0 ax-w-full ax-h-0.5 ax-bg-primary-500 ax-block;
81
+ // content: "";
82
+ // }
83
+ // }
84
+ // &:hover {
85
+ // &::after {
86
+ // @apply ax-absolute ax-top-0 ax-w-full ax-h-0.5 ax-bg-primary-500 ax-block;
87
+ // content: "";
88
+ // }
89
+ // }
90
+ // }
91
+ // }
92
+
93
+ // &.ax-look-end-line {
94
+ // @apply ax-border-b ax-border-solid ax-border-neutral-300 dark:ax-border-neutral-200/10 ax-w-full;
95
+ // ax-tab-item {
96
+ // &.ax-state-active {
97
+ // @apply ax-text-primary-500;
98
+ // &::after {
99
+ // @apply ax-absolute ax-bottom-0 ax-w-full ax-h-0.5 ax-bg-primary-500 ax-block;
100
+ // content: "";
101
+ // }
102
+ // }
103
+ // &:hover {
104
+ // &::after {
105
+ // @apply ax-absolute ax-bottom-0 ax-w-full ax-h-0.5 ax-bg-primary-500 ax-block;
106
+ // content: "";
107
+ // }
108
+ // }
109
+ // }
110
+ // }
111
+
112
+ // &.ax-look-pills {
113
+ // ax-tab-item {
114
+ // @apply ax-text-neutral-fore ax-mr-1 ax-rounded dark:ax-text-neutral-200;
115
+
116
+ // &:hover {
117
+ // @apply ax-bg-neutral-300 ax-text-neutral-fore dark:ax-text-neutral-50 dark:ax-bg-neutral-600;
118
+ // }
119
+
120
+ // &.ax-state-active {
121
+ // @apply ax-bg-neutral-200 ax-text-neutral-fore dark:ax-text-neutral-50 dark:ax-bg-neutral-600;
122
+ // }
123
+ // }
124
+ // }
125
+
126
+ // &.ax-look-pills-color {
127
+ // ax-tab-item {
128
+ // @apply ax-text-neutral-fore ax-mr-1 ax-rounded dark:ax-text-primary-200;
129
+
130
+ // &:hover {
131
+ // @apply ax-bg-primary-100 ax-text-primary-500 dark:ax-text-primary-50 dark:ax-bg-primary-500;
132
+ // }
133
+
134
+ // &.ax-state-active {
135
+ // @apply ax-bg-primary-100 ax-text-primary-500 dark:ax-text-primary-50 dark:ax-bg-primary-500;
136
+ // }
137
+ // }
138
+ // }
139
+ // }
140
+
141
+ // &.ax-vertical {
142
+ // .ax-items-wrapper {
143
+ // @apply ax-flex-col ax-h-full;
144
+
145
+ // ax-tab-item {
146
+ // @apply ax-text-center ax-justify-start ax-py-2;
147
+ // }
148
+ // }
149
+
150
+ // &.ax-look-default {
151
+ // @apply ax-border ax-border-solid ax-border-neutral-300 ax-shadow-sm ax-rounded ax-overflow-hidden;
152
+ // @include control-states("editor");
153
+
154
+ // ax-tab-item {
155
+ // @apply ax-bg-white ax-border-s ax-border-solid ax-border-neutral-300 ax-border-b-0 dark:ax-text-neutral-200 ax-mb-1;
156
+ // &:last-child {
157
+ // @apply ax-mb-0;
158
+ // }
159
+ // &:hover,
160
+ // &.ax-state-active {
161
+ // border-inline-start-color: rgb(var(--ax-color-primary-500)) !important;
162
+ // }
163
+ // }
164
+ // }
165
+
166
+ // &.ax-look-start-line {
167
+ // ax-tab-item {
168
+ // @apply ax-border-s-2 ax-border-solid ax-border-neutral-300 dark:ax-border-neutral-200/10;
169
+
170
+ // &.ax-state-active {
171
+ // @apply ax-border-primary-500 ax-text-primary-500;
172
+
173
+ // &:hover {
174
+ // @apply ax-border-primary-500;
175
+ // }
176
+ // }
177
+
178
+ // &:hover {
179
+ // @apply ax-border-primary-500 ax-text-primary-500;
180
+ // }
181
+ // }
182
+ // }
183
+
184
+ // &.ax-look-end-line {
185
+ // ax-tab-item {
186
+ // @apply ax-border-e-2 ax-border-solid ax-border-neutral-300 dark:ax-border-neutral-200/10;
187
+
188
+ // &.ax-state-active {
189
+ // @apply ax-border-primary-500 ax-text-primary-500;
190
+
191
+ // &:hover {
192
+ // @apply ax-border-primary-500;
193
+ // }
194
+ // }
195
+
196
+ // &:hover {
197
+ // @apply ax-border-primary-500 ax-text-primary-500;
198
+ // }
199
+ // }
200
+ // }
201
+
202
+ // &.ax-look-pills {
203
+ // ax-tab-item {
204
+ // @apply ax-text-neutral-fore ax-mr-1 ax-rounded dark:ax-text-neutral-200 ax-mb-1;
205
+ // &:last-child {
206
+ // @apply ax-mb-0;
207
+ // }
208
+ // &:hover {
209
+ // @apply ax-bg-neutral-300 ax-text-neutral-fore dark:ax-text-neutral-100;
210
+ // }
211
+
212
+ // &.ax-state-active {
213
+ // @apply ax-bg-neutral-300 ax-text-neutral-fore dark:ax-text-neutral-50;
214
+ // }
215
+ // }
216
+ // }
217
+
218
+ // &.ax-look-pills-color {
219
+ // ax-tab-item {
220
+ // @apply ax-text-neutral-fore ax-mr-1 ax-rounded dark:ax-text-neutral-200 ax-mb-1;
221
+ // &:last-child {
222
+ // @apply ax-mb-0;
223
+ // }
224
+ // &:hover {
225
+ // @apply ax-bg-primary-100 ax-text-primary-500 dark:ax-text-neutral-100;
226
+ // }
227
+
228
+ // &.ax-state-active {
229
+ // @apply ax-bg-primary-200 ax-text-primary-900 dark:ax-text-neutral-50;
230
+ // }
231
+ // }
232
+ // }
233
+ // }
234
+ // }
235
+ // }
@@ -1,35 +1,31 @@
1
- @layer components {
2
- .ax-textarea {
3
- min-height: calc(var(--ax-base-size) * var(--ax-base-ratio));
4
- @apply ax-relative ax-h-auto ax-flex ax-flex-col ax-rounded ax-bg-white ax-shadow-sm ax-border ax-border-solid ax-border-light-300 ax-overflow-hidden ax-w-full;
5
- @include control-states("editor");
6
-
7
- &:focus-within {
8
- @apply ax-ring-2 ax-ring-primary-500 ax-ring-opacity-100 ;
9
- }
10
- textarea {
11
- min-height: calc(var(--ax-base-size) * var(--ax-base-ratio)) !important;
12
- height: fit-content;
13
- line-height:1.7;
14
- @apply ax-w-full ax-text-sm ax-p-2.5;
15
- @include control-states("editor");
16
-
17
- &:focus {
18
- @apply ax-outline-transparent;
19
- }
20
- }
21
- > .ax-prefix,
22
- > .ax-suffix {
23
- @apply ax-mb-2 ax-p-1.5;
24
- @include control-states("editor");
25
- .ax-button {
26
- @apply ax-text-sm;
27
- --ax-base-size: 5px;
28
- }
1
+ ax-textarea {
2
+ position: relative;
3
+ width: 100%;
4
+ height: auto !important;
5
+ flex-direction: column;
6
+ background-color: var(--ax-color-surface);
7
+ border-radius: var(--ax-rounded-border-default);
8
+ border: 1px solid;
9
+ border: rgb(var(--ax-color-border-default));
10
+ overflow: hidden;
11
+ textarea {
12
+ height: fit-content;
13
+ line-height: 1.7;
14
+ width: 100%;
15
+ font-size: 0.875rem;
16
+ padding: 0.625rem;
17
+ &:focus {
18
+ outline-color: transparent;
29
19
  }
20
+ }
21
+ > ax-prefix,
22
+ > ax-suffix {
23
+ margin-bottom: 0.5rem;
24
+ padding: 0.375rem;
25
+ }
30
26
 
31
- &.ax-state-disabled {
32
- @include control-states("editor-disabled");
33
- }
27
+ &.ax-state-disabled {
28
+ cursor: not-allowed;
29
+ opacity: 0.5;
34
30
  }
35
31
  }
@@ -1,7 +1,7 @@
1
1
  @layer components {
2
2
  .ax-toast {
3
3
  width: max(20vw, 350px);
4
- @include screen("mobile") {
4
+ @include media("mobile") {
5
5
  width: 98vw;
6
6
  }
7
7
  }
@@ -1,54 +0,0 @@
1
- @layer components {
2
- .ax-tree-view {
3
- > ul {
4
- li {
5
- @apply ax-text-sm ax-relative;
6
- span {
7
- @apply ax-flex ax-items-center ax-my-1;
8
- }
9
- ul {
10
- @apply ax-ps-8;
11
- li {
12
- }
13
- }
14
- }
15
- }
16
- & > ul {
17
- &.ax-list-all {
18
- li {
19
- ul {
20
- @apply ax-relative;
21
-
22
- &::before {
23
- content: "";
24
- width: 1px;
25
- @apply ax-absolute ax-bottom-0 ax-bg-light-200 ax-h-full ax-start-2 dark:ax-bg-white/30;
26
- }
27
- li {
28
- &::before {
29
- position: absolute;
30
- top: 0;
31
- right: 12px;
32
- bottom: -4px;
33
- margin-left: -1px;
34
- // border-right: 1px solid #d9d9d9;
35
- content: " ";
36
- }
37
- &::after {
38
- position: absolute;
39
- width: 10px;
40
- height: 14px;
41
- // border-bottom: 1px solid #d9d9d9;
42
- content: " ";
43
- }
44
- }
45
- }
46
- }
47
- }
48
- &.ax-list-node {
49
- }
50
- &.ax-list-none {
51
- }
52
- }
53
- }
54
- }
@@ -1,18 +0,0 @@
1
- @layer components {
2
- ax-uploader {
3
- &.ax-look-default {
4
- @apply ax-relative ax-w-full ax-rounded-default ax-border-2 ax-border-dashed ax-border-light-200 dark:ax-border-white/30 ax-flex ax-items-center ax-justify-center ax-cursor-pointer ax-text-light-400 ax-transition-all ax-bg-center ax-bg-cover;
5
- &:hover,
6
- &.ax-state-hover {
7
- @apply ax-border-primary-500 ax-text-primary-500;
8
- }
9
- &::before {
10
- content: "";
11
- @apply ax-pb-[100%];
12
- }
13
- .upload-icon {
14
- @apply ax-text-5xl;
15
- }
16
- }
17
- }
18
- }