@acorex/styles 5.1.2 → 5.1.6

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 (111) hide show
  1. package/fonts/font-awesome/fa-brands-400.eot +0 -0
  2. package/fonts/font-awesome/fa-brands-400.svg +3570 -0
  3. package/fonts/font-awesome/fa-brands-400.ttf +0 -0
  4. package/fonts/font-awesome/fa-brands-400.woff +0 -0
  5. package/fonts/font-awesome/fa-brands-400.woff2 +0 -0
  6. package/fonts/font-awesome/fa-duotone-900.eot +0 -0
  7. package/fonts/font-awesome/fa-duotone-900.svg +15055 -0
  8. package/fonts/font-awesome/fa-duotone-900.ttf +0 -0
  9. package/fonts/font-awesome/fa-duotone-900.woff +0 -0
  10. package/fonts/font-awesome/fa-duotone-900.woff2 +0 -0
  11. package/fonts/font-awesome/fa-light-300.eot +0 -0
  12. package/fonts/font-awesome/fa-light-300.svg +12330 -0
  13. package/fonts/font-awesome/fa-light-300.ttf +0 -0
  14. package/fonts/font-awesome/fa-light-300.woff +0 -0
  15. package/fonts/font-awesome/fa-light-300.woff2 +0 -0
  16. package/fonts/font-awesome/fa-regular-400.eot +0 -0
  17. package/fonts/font-awesome/fa-regular-400.svg +11256 -0
  18. package/fonts/font-awesome/fa-regular-400.ttf +0 -0
  19. package/fonts/font-awesome/fa-regular-400.woff +0 -0
  20. package/fonts/font-awesome/fa-regular-400.woff2 +0 -0
  21. package/fonts/font-awesome/fa-solid-900.eot +0 -0
  22. package/fonts/font-awesome/fa-solid-900.svg +9588 -0
  23. package/fonts/font-awesome/fa-solid-900.ttf +0 -0
  24. package/fonts/font-awesome/fa-solid-900.woff +0 -0
  25. package/fonts/font-awesome/fa-solid-900.woff2 +0 -0
  26. package/fonts/font-awesome/font-awesome.css +16960 -0
  27. package/package.json +10 -10
  28. package/scss/buttons.scss +69 -0
  29. package/scss/calendar.scss +121 -0
  30. package/scss/checkbox.scss +46 -0
  31. package/scss/context-menu.scss +75 -0
  32. package/scss/data-grid.scss +117 -0
  33. package/scss/drawer.scss +138 -0
  34. package/scss/fieldset.scss +23 -0
  35. package/scss/forms.scss +515 -0
  36. package/scss/list.scss +47 -0
  37. package/scss/master.scss +259 -0
  38. package/scss/menu.scss +130 -0
  39. package/scss/mixin.scss +12 -0
  40. package/scss/page.scss +54 -0
  41. package/scss/progress.scss +11 -0
  42. package/scss/selection-list.scss +104 -0
  43. package/scss/style.scss +47 -0
  44. package/scss/tab-strip.scss +31 -0
  45. package/scss/tab.scss +36 -0
  46. package/scss/toast.scss +46 -0
  47. package/scss/tooltip.scss +55 -0
  48. package/scss/treeview.scss +122 -0
  49. package/scss/upload.scss +170 -0
  50. package/scss/variables.scss +139 -0
  51. package/index.scss +0 -11
  52. package/src/base/index.scss +0 -44
  53. package/src/components/_action-sheet.scss +0 -25
  54. package/src/components/_alert.scss +0 -64
  55. package/src/components/_avatar.scss +0 -135
  56. package/src/components/_badge.scss +0 -45
  57. package/src/components/_breadcrumbs.scss +0 -24
  58. package/src/components/_button.scss +0 -762
  59. package/src/components/_calendar.scss +0 -166
  60. package/src/components/_carousel.scss +0 -44
  61. package/src/components/_checkbox.scss +0 -63
  62. package/src/components/_collapse.scss +0 -52
  63. package/src/components/_datapager.scss +0 -40
  64. package/src/components/_datepicker.scss +0 -5
  65. package/src/components/_dialog.scss +0 -63
  66. package/src/components/_drawer.scss +0 -126
  67. package/src/components/_dropdown.scss +0 -226
  68. package/src/components/_editor-container.scss +0 -139
  69. package/src/components/_fieldset.scss +0 -8
  70. package/src/components/_form.scss +0 -8
  71. package/src/components/_input.scss +0 -14
  72. package/src/components/_label.scss +0 -7
  73. package/src/components/_list.scss +0 -80
  74. package/src/components/_loading.scss +0 -59
  75. package/src/components/_menu.scss +0 -50
  76. package/src/components/_numberbox.scss +0 -17
  77. package/src/components/_picker.scss +0 -11
  78. package/src/components/_popup.scss +0 -126
  79. package/src/components/_progress.scss +0 -62
  80. package/src/components/_radio.scss +0 -32
  81. package/src/components/_range-slider.scss +0 -15
  82. package/src/components/_rating.scss +0 -14
  83. package/src/components/_result.scss +0 -25
  84. package/src/components/_selectbox.scss +0 -18
  85. package/src/components/_selection-list.scss +0 -54
  86. package/src/components/_side-menu.scss +0 -42
  87. package/src/components/_skeleton.scss +0 -22
  88. package/src/components/_switch copy.scss +0 -185
  89. package/src/components/_switch.scss +0 -187
  90. package/src/components/_table.scss +0 -48
  91. package/src/components/_tabs.scss +0 -238
  92. package/src/components/_textarea.scss +0 -39
  93. package/src/components/_toast.scss +0 -82
  94. package/src/components/_tooltip.scss +0 -44
  95. package/src/components/_treeview.scss +0 -55
  96. package/src/components/index.scss +0 -42
  97. package/src/icons/Read Me.txt +0 -7
  98. package/src/icons/demo-files/demo.css +0 -152
  99. package/src/icons/demo-files/demo.js +0 -30
  100. package/src/icons/demo.html +0 -500
  101. package/src/icons/fonts/acorex-icon.eot +0 -0
  102. package/src/icons/fonts/acorex-icon.svg +0 -43
  103. package/src/icons/fonts/acorex-icon.ttf +0 -0
  104. package/src/icons/fonts/acorex-icon.woff +0 -0
  105. package/src/icons/selection.json +0 -1
  106. package/src/icons/style.css +0 -126
  107. package/src/icons/style.scss +0 -195
  108. package/src/icons/variables.scss +0 -37
  109. package/src/utility/_mixins.scss +0 -83
  110. package/src/utility/index.scss +0 -16
  111. package/src/variables/_colors.scss +0 -121
@@ -1,187 +0,0 @@
1
- @layer components {
2
- ax-switch,
3
- .ax-switch {
4
- button {
5
- @apply ax-relative ax-inline-block ax-align-middle ax-border-none ax-cursor-pointer ax-rounded-full ax-bg-light-300 ax-text-light-fore ax-transition-all;
6
- min-width: calc(var(--ax-base-size) * var(--ax-base-ratio));
7
- height: calc((var(--ax-base-size) * var(--ax-base-ratio)) / 2);
8
- line-height: calc((var(--ax-base-size) * var(--ax-base-ratio)) / 2);
9
- &.ax-switch-checked {
10
- @apply ax-bg-primary-500;
11
- .ax-switch-handle {
12
- @apply ax-right-0.5;
13
- left: initial;
14
- }
15
- .ax-switch-inner {
16
- @apply ax-text-primary-fore;
17
- margin-inline-end: calc((var(--ax-base-size) * var(--ax-base-ratio)) / 2 + 4px);
18
- margin-inline-start: var(--ax-base-size);
19
- }
20
- }
21
- .ax-switch-handle {
22
- width: calc(((var(--ax-base-size) * var(--ax-base-ratio)) / 2) - 4px);
23
- height: calc(((var(--ax-base-size) * var(--ax-base-ratio)) / 2) - 4px);
24
- @apply ax-bg-white ax-absolute ax-rounded-full ax-transition-all ax-left-0.5 ax-top-0.5;
25
- ax-loading {
26
- transform: translateY(-50%);
27
- @apply ax-w-full ax-absolute ax-left-0 ax-right-0 ax-top-2/4 ax--translate-y-1/2;
28
- svg {
29
- @apply ax-fill-primary-500 ax-stroke-primary-500;
30
- }
31
- }
32
- &:before {
33
- @apply ax-absolute ax-bg-white ax-transition-all ax-rounded-full;
34
- content: "";
35
- }
36
- }
37
- .ax-switch-inner {
38
- @apply ax-block;
39
- margin-inline-start: calc((var(--ax-base-size) * var(--ax-base-ratio)) / 2 + 4px);
40
- margin-inline-end: var(--ax-base-size);
41
- transition: margin 0.2s;
42
- }
43
- }
44
- &.ax-primary {
45
- button {
46
- &.ax-switch-checked {
47
- @apply ax-bg-primary-500;
48
- .ax-switch-inner {
49
- @apply ax-text-primary-fore;
50
- }
51
- }
52
- .ax-switch-handle {
53
- ax-loading {
54
- svg {
55
- @apply ax-fill-primary-500 ax-stroke-primary-500;
56
- }
57
- }
58
- }
59
- }
60
- }
61
- &.ax-secondary {
62
- button {
63
- &.ax-switch-checked {
64
- @apply ax-bg-secondary-500;
65
- .ax-switch-inner {
66
- @apply ax-text-secondary-fore;
67
- }
68
- }
69
- .ax-switch-handle {
70
- ax-loading {
71
- svg {
72
- @apply ax-fill-secondary-500 ax-stroke-secondary-500;
73
- }
74
- }
75
- }
76
- }
77
- }
78
- &.ax-success {
79
- button {
80
- &.ax-switch-checked {
81
- @apply ax-bg-success-500;
82
- .ax-switch-inner {
83
- @apply ax-text-success-fore;
84
- }
85
- }
86
- .ax-switch-handle {
87
- ax-loading {
88
- svg {
89
- @apply ax-fill-success-500 ax-stroke-success-500;
90
- }
91
- }
92
- }
93
- }
94
- }
95
- &.ax-warning {
96
- button {
97
- &.ax-switch-checked {
98
- @apply ax-bg-warning-500;
99
- .ax-switch-inner {
100
- @apply ax-text-warning-fore;
101
- }
102
- }
103
- .ax-switch-handle {
104
- ax-loading {
105
- svg {
106
- @apply ax-fill-warning-500 ax-stroke-warning-500;
107
- }
108
- }
109
- }
110
- }
111
- }
112
- &.ax-danger {
113
- button {
114
- &.ax-switch-checked {
115
- @apply ax-bg-danger-500;
116
- .ax-switch-inner {
117
- @apply ax-text-danger-fore;
118
- }
119
- }
120
- .ax-switch-handle {
121
- ax-loading {
122
- svg {
123
- @apply ax-fill-danger-500 ax-stroke-danger-500;
124
- }
125
- }
126
- }
127
- }
128
- }
129
- &.ax-info {
130
- button {
131
- &.ax-switch-checked {
132
- @apply ax-bg-info-500;
133
- .ax-switch-inner {
134
- @apply ax-text-info-fore;
135
- }
136
- }
137
- .ax-switch-handle {
138
- ax-loading {
139
- svg {
140
- @apply ax-fill-info-500 ax-stroke-info-500;
141
- }
142
- }
143
- }
144
- }
145
- }
146
- &.ax-dark {
147
- button {
148
- &.ax-switch-checked {
149
- @apply ax-bg-dark-500;
150
- .ax-switch-inner {
151
- @apply ax-text-dark-fore;
152
- }
153
- }
154
- .ax-switch-handle {
155
- ax-loading {
156
- svg {
157
- @apply ax-fill-dark-500 ax-stroke-dark-500;
158
- }
159
- }
160
- }
161
- }
162
- }
163
- &.ax-light {
164
- button {
165
- &.ax-switch-checked {
166
- @apply ax-bg-light-500;
167
- .ax-switch-inner {
168
- @apply ax-text-light-fore;
169
- }
170
- }
171
- .ax-switch-handle {
172
- ax-loading {
173
- svg {
174
- @apply ax-fill-light-500 ax-stroke-light-500;
175
- }
176
- }
177
- }
178
- }
179
- }
180
- .ax-state-disabled {
181
- @apply ax-opacity-60 ax-cursor-not-allowed #{!important};
182
- }
183
- .ax-state-readonly {
184
- @apply ax-opacity-75 #{!important};
185
- }
186
- }
187
- }
@@ -1,48 +0,0 @@
1
- @layer components {
2
- .ax-table {
3
- @apply ax-w-full ax-rounded-md ax-border-collapse ax-border ax-border-light-200 dark:ax-border-dark-400;
4
- td {
5
- @apply ax-border-b ax-border-light-200 dark:ax-border-dark-400 ax-px-6 ax-py-4 ax-text-sm;
6
- }
7
- thead {
8
- th {
9
- @apply ax-text-sm ax-font-bold ax-text-start ax-py-4 ax-px-6;
10
- }
11
- tr {
12
- @apply ax-border-b ax-border-light-200 dark:ax-border-dark-400;
13
- }
14
- }
15
- &.ax-table-alternate {
16
- tbody {
17
- tr {
18
- &:nth-child(odd) {
19
- @apply ax-bg-light-100 dark:ax-bg-dark-400/20;
20
- }
21
- }
22
- }
23
- }
24
- @media screen and (max-width: 601px) {
25
- &.ax-table-responsive {
26
- @apply ax-break-words ax-block ax-border-0;
27
- thead {
28
- @apply ax-absolute -ax-left-full -ax-top-full;
29
- }
30
-
31
- td {
32
- @apply ax-block ax-float-left ax-w-full ax-clear-both ax-bg-white ax-px-1.5 ax-py-2.5 ax-box-border last:ax-border-0;
33
- &:before {
34
- content: attr(data-label);
35
- @apply ax-block ax-font-bold;
36
- }
37
- }
38
- tr {
39
- @apply ax-border ax-border-light-200 dark:ax-border-dark-400;
40
- }
41
- tr,
42
- tbody {
43
- @apply ax-block ax-float-left ax-w-full ax-mb-2.5;
44
- }
45
- }
46
- }
47
- }
48
- }
@@ -1,238 +0,0 @@
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
- ax-tab-item {
9
- @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;
10
- min-height: calc(var(--ax-base-size) * var(--ax-base-ratio));
11
- line-height: calc((var(--ax-base-size) * var(--ax-base-ratio)) / 2);
12
-
13
- &.ax-state-disabled {
14
- background-color: rgb(var(--ax-color-disabled)) !important;
15
- color: rgb(var(--ax-color-disabled-fore)) !important;
16
- cursor: not-allowed !important;
17
- }
18
-
19
- &.ax-state-active {
20
- @apply ax-text-black;
21
- }
22
-
23
- ax-prefix {
24
- @apply ax-flex ax-flex-row ax-pe-2;
25
- }
26
-
27
- ax-suffix {
28
- @apply ax-flex ax-flex-row ax-ps-2;
29
- }
30
- }
31
- }
32
-
33
- &.ax-tabs-fit {
34
- .ax-items-wrapper ax-tab-item {
35
- @apply ax-flex-1;
36
- }
37
- }
38
-
39
- & > .ax-tab-controll {
40
- @apply ax-flex ax-items-center ax-justify-center ax-px-1 ax-cursor-pointer;
41
- box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14),
42
- 0 1px 10px 0 rgba(0, 0, 0, 0.12);
43
- }
44
-
45
-
46
- &.ax-horizontal {
47
- &.ax-look-default {
48
- @apply ax-border ax-border-solid ax-border-light-300 ax-shadow-sm ax-rounded;
49
- @include control-states("editor");
50
-
51
- ax-tab-item {
52
- @apply ax-bg-white ax-border-r ax-border-b-2 ax-border-solid ax-border-light-300 dark:ax-text-light-200;
53
- @include control-states("editor");
54
-
55
- border-bottom-color: transparent !important;
56
-
57
- &:first-child {
58
- @apply ax-rounded-l;
59
- }
60
-
61
- &:last-child {
62
- @apply ax-rounded-r ax-border-r-0;
63
- }
64
-
65
- &:hover,
66
- &.ax-state-active {
67
- border-bottom-color: rgb(var(--ax-color-primary)) !important;
68
- }
69
- }
70
- }
71
-
72
- &.ax-look-start-line {
73
- @apply ax-border-t ax-border-solid ax-border-light-300 dark:ax-border-light-200/10 ax-w-full;
74
- ax-tab-item {
75
- &.ax-state-active {
76
- @apply ax-text-primary-500;
77
- &::after {
78
- @apply ax-absolute ax-top-[-1px] ax-w-full ax-h-0.5 ax-bg-primary-500 ax-block;
79
- content: "";
80
- }
81
-
82
- }
83
- &:hover {
84
- &::after {
85
- @apply ax-absolute ax-top-[-1px] ax-w-full ax-h-0.5 ax-bg-primary-500 ax-block;
86
- content: "";
87
- }
88
- }
89
- }
90
- }
91
-
92
- &.ax-look-end-line {
93
- @apply ax-border-b ax-border-solid ax-border-light-300 dark:ax-border-light-200/10 ax-w-full;
94
- ax-tab-item {
95
-
96
- &.ax-state-active {
97
- @apply ax-text-primary-500;
98
- &::after {
99
- @apply ax-absolute ax-bottom-[-1px] ax-w-full ax-h-0.5 ax-bg-primary-500 ax-block;
100
- content: "";
101
- }
102
-
103
- }
104
- &:hover {
105
- &::after {
106
- @apply ax-absolute ax-bottom-[-1px] ax-w-full ax-h-0.5 ax-bg-primary-500 ax-block;
107
- content: "";
108
- }
109
- }
110
- }
111
- }
112
-
113
- &.ax-look-pills {
114
- ax-tab-item {
115
- @apply ax-text-light-fore ax-mr-1 ax-rounded dark:ax-text-light-200;
116
-
117
- &:hover {
118
- @apply ax-bg-light-300 ax-text-light-fore dark:ax-text-light-50 dark:ax-bg-light-600;
119
- }
120
-
121
- &.ax-state-active {
122
- @apply ax-bg-light-200 ax-text-light-fore dark:ax-text-light-50 dark:ax-bg-light-600;
123
- }
124
- }
125
- }
126
-
127
- &.ax-look-pills-color {
128
- ax-tab-item {
129
- @apply ax-text-light-fore ax-mr-1 ax-rounded dark:ax-text-primary-200;
130
-
131
- &:hover {
132
- @apply ax-bg-primary-100 ax-text-primary-500 dark:ax-text-primary-50 dark:ax-bg-primary-500;
133
- }
134
-
135
- &.ax-state-active {
136
- @apply ax-bg-primary-100 ax-text-primary-500 dark:ax-text-primary-50 dark:ax-bg-primary-500;
137
- }
138
- }
139
- }
140
- }
141
-
142
- &.ax-vertical {
143
- .ax-items-wrapper {
144
- @apply ax-flex-col;
145
-
146
- ax-tab-item {
147
- @apply ax-text-center ax-justify-start ax-py-2;
148
-
149
- }
150
- }
151
-
152
- &.ax-look-default {
153
- @apply ax-border ax-border-solid ax-border-light-300 ax-shadow-sm ax-rounded;
154
- @include control-states("editor");
155
-
156
- ax-tab-item {
157
- @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;
158
- &:last-child {
159
- @apply ax-mb-0;
160
- }
161
- &:hover,
162
- &.ax-state-active {
163
- border-inline-start-color: rgb(var(--ax-color-primary)) !important;
164
- }
165
- }
166
- }
167
-
168
- &.ax-look-start-line {
169
- ax-tab-item {
170
- @apply ax-border-s-2 ax-border-solid ax-border-light-300 dark:ax-border-light-200/10;
171
-
172
- &.ax-state-active {
173
- @apply ax-border-primary-500 ax-text-primary-500;
174
-
175
- &:hover {
176
- @apply ax-border-primary-500;
177
- }
178
- }
179
-
180
- &:hover {
181
- @apply ax-border-primary-500 ax-text-primary-500;
182
- }
183
- }
184
- }
185
-
186
- &.ax-look-end-line {
187
- ax-tab-item {
188
- @apply ax-border-e-2 ax-border-solid ax-border-light-300 dark:ax-border-light-200/10;
189
-
190
- &.ax-state-active {
191
- @apply ax-border-primary-500 ax-text-primary-500;
192
-
193
- &:hover {
194
- @apply ax-border-primary-500;
195
- }
196
- }
197
-
198
- &:hover {
199
- @apply ax-border-primary-500 ax-text-primary-500;
200
- }
201
- }
202
- }
203
-
204
- &.ax-look-pills {
205
- ax-tab-item {
206
- @apply ax-text-light-fore ax-mr-1 ax-rounded dark:ax-text-light-200 ax-mb-1;
207
- &:last-child {
208
- @apply ax-mb-0;
209
- }
210
- &:hover {
211
- @apply ax-bg-light-300 ax-text-light-fore dark:ax-text-light-100;
212
- }
213
-
214
- &.ax-state-active {
215
- @apply ax-bg-light-300 ax-text-light-fore dark:ax-text-light-50;
216
- }
217
- }
218
- }
219
-
220
- &.ax-look-pills-color {
221
- ax-tab-item {
222
- @apply ax-text-light-fore ax-mr-1 ax-rounded dark:ax-text-light-200 ax-mb-1;
223
- &:last-child {
224
- @apply ax-mb-0;
225
- }
226
- &:hover {
227
- @apply ax-bg-primary-100 ax-text-primary-500 dark:ax-text-light-100;
228
- }
229
-
230
- &.ax-state-active {
231
- @apply ax-bg-primary-100 ax-text-primary-500 dark:ax-text-light-50;
232
- }
233
- }
234
- }
235
- }
236
-
237
- }
238
- }
@@ -1,39 +0,0 @@
1
- @layer components {
2
- ax-textarea,
3
- .ax-textarea {
4
- min-height: calc(var(--ax-base-size) * var(--ax-base-ratio));
5
- @apply ax-relative 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;
6
- &:focus-within {
7
- @apply ax-ring-2 ax-ring-primary-500 ax-ring-opacity-100 ax-border-transparent;
8
- }
9
- textarea {
10
- min-height: calc(var(--ax-base-size) * var(--ax-base-ratio)) !important;
11
- height: fit-content;
12
- @apply ax-w-full ax-text-sm ax-p-1.5;
13
- @include control-states("editor");
14
-
15
- &:focus {
16
- @apply ax-outline-transparent;
17
- }
18
- }
19
- > ax-prefix,
20
- > ax-suffix {
21
- @apply ax-mb-2 ax-p-1.5 ax-absolute;
22
- @include control-states("editor");
23
- ax-button {
24
- @apply ax-text-sm;
25
- --ax-base-size: 5px;
26
- }
27
- }
28
- > ax-prefix {
29
- @apply ax-top-0 ax-end-0;
30
- }
31
- > ax-suffix {
32
- @apply ax-bottom-0 ax-end-0;
33
- }
34
-
35
- &.ax-state-disabled {
36
- @include control-states("editor-disabled");
37
- }
38
- }
39
- }
@@ -1,82 +0,0 @@
1
- @layer components {
2
- .ax-toast {
3
- @apply ax-grid ax-grid-cols-12 ax-gap-4 ax-relative ax-bg-white ax-shadow-md ax-border-light-200 ax-border ax-border-solid ax-rounded-md ax-px-4 ax-py-2 ax-overflow-hidden ax-items-center;
4
- @include control-states('surface');
5
- @screen sm {
6
- width: 98vw;
7
- }
8
- @screen md {
9
- width: max(20vw, 350px);
10
- }
11
- .ax-toast-icon-side {
12
- @apply ax-col-span-1 ax-h-full;
13
- }
14
- .ax-toast-content-side {
15
- @apply ax-col-span-10;
16
- .ax-toast-title {
17
- @apply ax-text-sm ax-font-semibold ax-text-light-700 dark:ax-text-light-100;
18
- }
19
- .ax-toast-content {
20
- @apply ax-py-2 ax-text-sm ax-text-light-400 dark:ax-text-light-200;
21
- }
22
- }
23
- .ax-toast-dismiss-icon {
24
- @apply ax-col-span-1 ax-cursor-pointer ax-h-full;
25
- .ax-ic {
26
- @apply ax-text-base;
27
- }
28
- }
29
- .ax-toast-dismiss-icon {
30
- @apply ax-text-light-400;
31
- }
32
- .ax-toast-buttons {
33
- @apply ax-col-span-12;
34
- }
35
- .ax-toast-progress {
36
- @apply ax-absolute ax-bottom-0 ax-h-1 ax-w-0;
37
- animation-duration: 4s;
38
- animation-timing-function: linear;
39
- animation-name: progressBar;
40
- }
41
- @keyframes progressBar {
42
- 0% {
43
- width: 100%;
44
- }
45
- 100% {
46
- width: 0%;
47
- }
48
- }
49
- &.ax-success {
50
- .ax-toast-icon {
51
- @apply ax-text-success-500;
52
- }
53
- .ax-toast-progress {
54
- @apply ax-bg-success-400;
55
- }
56
- }
57
- &.ax-danger {
58
- .ax-toast-icon {
59
- @apply ax-text-danger-500;
60
- }
61
- .ax-toast-progress {
62
- @apply ax-bg-danger-400;
63
- }
64
- }
65
- &.ax-warning {
66
- .ax-toast-icon {
67
- @apply ax-text-warning-500;
68
- }
69
- .ax-toast-progress {
70
- @apply ax-bg-warning-400;
71
- }
72
- }
73
- &.ax-info {
74
- .ax-toast-icon {
75
- @apply ax-text-info-500;
76
- }
77
- .ax-toast-progress {
78
- @apply ax-bg-info-400;
79
- }
80
- }
81
- }
82
- }
@@ -1,44 +0,0 @@
1
- @layer components {
2
- .ax-tooltip-container {
3
- @apply ax-relative;
4
- .ax-tooltip {
5
- @apply ax-block ax-p-1 ax-bg-black ax-text-white ax-rounded;
6
- }
7
- .ax-tooltip-tringle {
8
- width: 0;
9
- height: 0;
10
- border-left: 5px solid transparent;
11
- border-right: 5px solid transparent;
12
- border-top: 5px solid #000;
13
- position: absolute;
14
-
15
- &.ax-tooltip-tringle-bottom {
16
- transform: rotate(180deg);
17
- left: 0;
18
- right: 0;
19
- margin: auto;
20
- top: -5px;
21
- }
22
- &.ax-tooltip-tringle-right {
23
- transform: rotate(90deg);
24
- top: 0;
25
- bottom: 0;
26
- margin: auto;
27
- left: -7px;
28
- }
29
- &.ax-tooltip-tringle-top {
30
- transform: rotate(0deg);
31
- left: 0;
32
- right: 0;
33
- margin: auto;
34
- }
35
- &.ax-tooltip-tringle-left {
36
- transform: rotate(270deg);
37
- top: 0;
38
- bottom: 0;
39
- margin: auto;
40
- right: -7px;
41
- }
42
- }
43
- }
44
- }
@@ -1,55 +0,0 @@
1
- @layer components {
2
- ax-tree-view,
3
- .ax-tree-view {
4
- > ul {
5
- li {
6
- @apply ax-text-sm ax-relative;
7
- span {
8
- @apply ax-flex ax-items-center ax-my-1;
9
- }
10
- ul {
11
- @apply ax-ps-8;
12
- li {
13
- }
14
- }
15
- }
16
- }
17
- & > ul {
18
- &.ax-list-all {
19
- li {
20
- ul {
21
- @apply ax-relative;
22
-
23
- &::before {
24
- content: "";
25
- width: 1px;
26
- @apply ax-absolute ax-bottom-0 ax-bg-light-200 ax-h-full ax-start-2;
27
- }
28
- li {
29
- &::before {
30
- position: absolute;
31
- top: 0;
32
- right: 12px;
33
- bottom: -4px;
34
- margin-left: -1px;
35
- // border-right: 1px solid #d9d9d9;
36
- content: " ";
37
- }
38
- &::after {
39
- position: absolute;
40
- width: 10px;
41
- height: 14px;
42
- // border-bottom: 1px solid #d9d9d9;
43
- content: " ";
44
- }
45
- }
46
- }
47
- }
48
- }
49
- &.ax-list-node {
50
- }
51
- &.ax-list-none {
52
- }
53
- }
54
- }
55
- }