@acorex/styles 6.1.10 → 6.5.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.
Files changed (118) 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 +3 -10
  28. package/scss/buttons.scss +69 -0
  29. package/scss/calendar.scss +144 -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.js +0 -185
  52. package/index.scss +0 -10
  53. package/src/base/index.scss +0 -45
  54. package/src/components/_action-sheet.scss +0 -24
  55. package/src/components/_alert.scss +0 -276
  56. package/src/components/_avatar.scss +0 -124
  57. package/src/components/_badge.scss +0 -184
  58. package/src/components/_breadcrumbs.scss +0 -29
  59. package/src/components/_button.scss +0 -924
  60. package/src/components/_calendar.scss +0 -182
  61. package/src/components/_carousel.scss +0 -44
  62. package/src/components/_checkbox.scss +0 -58
  63. package/src/components/_collapse.scss +0 -51
  64. package/src/components/_color-palette.scss +0 -126
  65. package/src/components/_color-picker.scss +0 -28
  66. package/src/components/_context-menu.scss +0 -19
  67. package/src/components/_data-table.scss +0 -41
  68. package/src/components/_datapager.scss +0 -49
  69. package/src/components/_datepicker.scss +0 -5
  70. package/src/components/_decoration.scss +0 -39
  71. package/src/components/_dialog.scss +0 -82
  72. package/src/components/_drawer.scss +0 -113
  73. package/src/components/_dropdown.scss +0 -216
  74. package/src/components/_editor-container.scss +0 -155
  75. package/src/components/_fieldset.scss +0 -8
  76. package/src/components/_form.scss +0 -8
  77. package/src/components/_image.scss +0 -24
  78. package/src/components/_input.scss +0 -14
  79. package/src/components/_label.scss +0 -7
  80. package/src/components/_list.scss +0 -83
  81. package/src/components/_loading.scss +0 -52
  82. package/src/components/_menu copy.scss +0 -96
  83. package/src/components/_menu.scss +0 -117
  84. package/src/components/_numberbox.scss +0 -15
  85. package/src/components/_popup.scss +0 -105
  86. package/src/components/_progress.scss +0 -60
  87. package/src/components/_radio.scss +0 -32
  88. package/src/components/_range-slider.scss +0 -210
  89. package/src/components/_rating.scss +0 -14
  90. package/src/components/_result.scss +0 -24
  91. package/src/components/_selectbox.scss +0 -18
  92. package/src/components/_selection-list.scss +0 -54
  93. package/src/components/_skeleton.scss +0 -22
  94. package/src/components/_switch.scss +0 -186
  95. package/src/components/_table.scss +0 -81
  96. package/src/components/_tabs copy.scss +0 -235
  97. package/src/components/_tabs.scss +0 -235
  98. package/src/components/_textarea.scss +0 -35
  99. package/src/components/_toast.scss +0 -8
  100. package/src/components/_tooltip.scss +0 -44
  101. package/src/components/_treeview.scss +0 -54
  102. package/src/components/_uploader.scss +0 -18
  103. package/src/components/index.scss +0 -47
  104. package/src/icons/Read Me.txt +0 -7
  105. package/src/icons/demo-files/demo.css +0 -152
  106. package/src/icons/demo-files/demo.js +0 -30
  107. package/src/icons/demo.html +0 -738
  108. package/src/icons/fonts/acorex-icon.eot +0 -0
  109. package/src/icons/fonts/acorex-icon.svg +0 -60
  110. package/src/icons/fonts/acorex-icon.ttf +0 -0
  111. package/src/icons/fonts/acorex-icon.woff +0 -0
  112. package/src/icons/selection.json +0 -1
  113. package/src/icons/style.css +0 -177
  114. package/src/icons/style.scss +0 -280
  115. package/src/icons/variables.scss +0 -54
  116. package/src/utility/_mixins.scss +0 -152
  117. package/src/utility/index.scss +0 -26
  118. package/src/variables/_colors.scss +0 -122
@@ -1,210 +0,0 @@
1
- @layer components {
2
- .ax-dark {
3
- .ax-range-slider {
4
- &.ax-primary-default {
5
- input {
6
- background: linear-gradient(
7
- to right,
8
- rgb(var(--ax-color-primary-800)) 0%,
9
- rgb(var(--ax-color-primary-800)) var(--ax-current-value),
10
- rgba(255, 255, 255, 0.1) var(--ax-current-value),
11
- rgba(255, 255, 255, 0.1) 100%
12
- );
13
- }
14
- }
15
- &.ax-secondary-default {
16
- input {
17
- background: linear-gradient(
18
- to right,
19
- rgb(var(--ax-color-secondary-800)) 0%,
20
- rgb(var(--ax-color-secondary-800)) var(--ax-current-value),
21
- rgba(255, 255, 255, 0.1) var(--ax-current-value),
22
- rgba(255, 255, 255, 0.1) 100%
23
- );
24
- }
25
- }
26
- &.ax-success-default {
27
- input {
28
- background: linear-gradient(
29
- to right,
30
- rgb(var(--ax-color-success-800)) 0%,
31
- rgb(var(--ax-color-success-800)) var(--ax-current-value),
32
- rgba(255, 255, 255, 0.1) var(--ax-current-value),
33
- rgba(255, 255, 255, 0.1) 100%
34
- );
35
- }
36
- }
37
- &.ax-warning-default {
38
- input {
39
- background: linear-gradient(
40
- to right,
41
- rgb(var(--ax-color-warning-800)) 0%,
42
- rgb(var(--ax-color-warning-800)) var(--ax-current-value),
43
- rgba(255, 255, 255, 0.1) var(--ax-current-value),
44
- rgba(255, 255, 255, 0.1) 100%
45
- );
46
- }
47
- }
48
- &.ax-danger-default {
49
- input {
50
- background: linear-gradient(
51
- to right,
52
- rgb(var(--ax-color-danger-800)) 0%,
53
- rgb(var(--ax-color-danger-800)) var(--ax-current-value),
54
- rgba(255, 255, 255, 0.1) var(--ax-current-value),
55
- rgba(255, 255, 255, 0.1) 100%
56
- );
57
- }
58
- }
59
- &.ax-info-default {
60
- input {
61
- background: linear-gradient(
62
- to right,
63
- rgb(var(--ax-color-info-800)) 0%,
64
- rgb(var(--ax-color-info-800)) var(--ax-current-value),
65
- rgba(255, 255, 255, 0.1) var(--ax-current-value),
66
- rgba(255, 255, 255, 0.1) 100%
67
- );
68
- }
69
- }
70
- &.ax-light-default {
71
- input {
72
- background: linear-gradient(
73
- to right,
74
- rgb(var(--ax-color-light-600)) 0%,
75
- rgb(var(--ax-color-light-600)) var(--ax-current-value),
76
- rgba(255, 255, 255, 0.1) var(--ax-current-value),
77
- rgba(255, 255, 255, 0.1) 100%
78
- );
79
- }
80
- }
81
- &.ax-dark-default {
82
- input {
83
- background: linear-gradient(
84
- to right,
85
- rgb(var(--ax-color-dark-200)) 0%,
86
- rgb(var(--ax-color-dark-200)) var(--ax-current-value),
87
- rgba(255, 255, 255, 0.1) var(--ax-current-value),
88
- rgba(255, 255, 255, 0.1) 100%
89
- );
90
- }
91
- }
92
- }
93
- }
94
- .ax-range-slider {
95
- @apply ax-w-full;
96
- --ax-current-value: 0%;
97
- input {
98
- @apply ax-appearance-none ax-w-full ax-h-2 ax-bg-light-200 ax-rounded-full ax-outline-none ax-transition-all dark:ax-bg-white/10;
99
- &::-webkit-slider-thumb {
100
- @apply ax-appearance-none ax-w-5 ax-h-5 ax-bg-white ax-shadow-sm ax-border ax-border-solid ax-border-light-300 dark:ax-border-white/[0.1] ax-rounded-full ax-cursor-pointer dark:ax-bg-light-400;
101
- }
102
- &::-moz-range-thumb {
103
- @apply ax-appearance-none ax-w-5 ax-h-5 ax-bg-white ax-shadow-sm ax-border ax-border-solid ax-border-light-300 dark:ax-border-white/[0.1] ax-rounded-full ax-cursor-pointer dark:ax-bg-light-400;
104
- }
105
- }
106
-
107
- &.ax-vertical{
108
- @apply ax-rotate-90 ax-block;
109
- input[type="range"] {
110
- -webkit-appearance: slider-vertical;
111
- }
112
- }
113
-
114
- &.ax-primary-default {
115
- input {
116
- background: linear-gradient(
117
- to right,
118
- rgb(var(--ax-color-primary-500)) 0%,
119
- rgb(var(--ax-color-primary-500)) var(--ax-current-value),
120
- rgb(var(--ax-color-light-200)) var(--ax-current-value),
121
- rgb(var(--ax-color-light-200)) 100%
122
- );
123
- }
124
- }
125
-
126
- &.ax-secondary-default {
127
- input {
128
- background: linear-gradient(
129
- to right,
130
- rgb(var(--ax-color-secondary-500)) 0%,
131
- rgb(var(--ax-color-secondary-500)) var(--ax-current-value),
132
- rgb(var(--ax-color-light-200)) var(--ax-current-value),
133
- rgb(var(--ax-color-light-200)) 100%
134
- );
135
- }
136
- }
137
-
138
- &.ax-danger-default {
139
- input {
140
- background: linear-gradient(
141
- to right,
142
- rgb(var(--ax-color-danger-500)) 0%,
143
- rgb(var(--ax-color-danger-500)) var(--ax-current-value),
144
- rgb(var(--ax-color-light-200)) var(--ax-current-value),
145
- rgb(var(--ax-color-light-200)) 100%
146
- );
147
- }
148
- }
149
-
150
- &.ax-success-default {
151
- input {
152
- background: linear-gradient(
153
- to right,
154
- rgb(var(--ax-color-success-500)) 0%,
155
- rgb(var(--ax-color-success-500)) var(--ax-current-value),
156
- rgb(var(--ax-color-light-200)) var(--ax-current-value),
157
- rgb(var(--ax-color-light-200)) 100%
158
- );
159
- }
160
- }
161
-
162
- &.ax-warning-default {
163
- input {
164
- background: linear-gradient(
165
- to right,
166
- rgb(var(--ax-color-warning-500)) 0%,
167
- rgb(var(--ax-color-warning-500)) var(--ax-current-value),
168
- rgb(var(--ax-color-light-200)) var(--ax-current-value),
169
- rgb(var(--ax-color-light-200)) 100%
170
- );
171
- }
172
- }
173
-
174
- &.ax-info-default {
175
- input {
176
- background: linear-gradient(
177
- to right,
178
- rgb(var(--ax-color-info-500)) 0%,
179
- rgb(var(--ax-color-info-500)) var(--ax-current-value),
180
- rgb(var(--ax-color-light-200)) var(--ax-current-value),
181
- rgb(var(--ax-color-light-200)) 100%
182
- );
183
- }
184
- }
185
-
186
- &.ax-light-default {
187
- input {
188
- background: linear-gradient(
189
- to right,
190
- rgb(var(--ax-color-light-500)) 0%,
191
- rgb(var(--ax-color-light-500)) var(--ax-current-value),
192
- rgb(var(--ax-color-light-200)) var(--ax-current-value),
193
- rgb(var(--ax-color-light-200)) 100%
194
- );
195
- }
196
- }
197
-
198
- &.ax-dark-default {
199
- input {
200
- background: linear-gradient(
201
- to right,
202
- rgb(var(--ax-color-dark-500)) 0%,
203
- rgb(var(--ax-color-dark-500)) var(--ax-current-value),
204
- rgb(var(--ax-color-light-200)) var(--ax-current-value),
205
- rgb(var(--ax-color-light-200)) 100%
206
- );
207
- }
208
- }
209
- }
210
- }
@@ -1,14 +0,0 @@
1
- @layer components {
2
- .ax-rating-start {
3
- &:hover {
4
- &::before {
5
- content: "\e91f" !important; // half filled
6
- }
7
- }
8
- &.ax-state-selected{
9
- &::before {
10
- content: "\e91e" !important;
11
- }
12
- }
13
- }
14
- }
@@ -1,24 +0,0 @@
1
- @layer components {
2
- ax-result,.ax-result {
3
- @apply ax-flex ax-flex-col;
4
- .ax-result-icon {
5
- @apply ax-text-5xl ax-text-center;
6
- }
7
- .ax-result-title,
8
- .ax-result-description {
9
- @apply ax-mt-2 ax-text-center;
10
- }
11
- .ax-result-title {
12
- @apply ax-text-base ax-font-semibold ax-text-light-700 dark:ax-text-light-50;
13
- }
14
- .ax-result-description {
15
- @apply ax-text-sm ax-text-light-500 dark:ax-text-light-100;
16
- }
17
- .ax-custom-icon,.ax-custom-image{
18
- @apply ax-flex ax-items-center ax-justify-center;
19
- }
20
- .ax-result-content {
21
- @apply ax-mt-4;
22
- }
23
- }
24
- }
@@ -1,18 +0,0 @@
1
- @layer components {
2
- .ax-select-box {
3
- .ax-select-box-selection {
4
- @apply ax-flex ax-justify-center ax-items-center ax-outline-none;
5
-
6
- .ax-badge {
7
- @apply dark:ax-bg-white/[0.16] dark:ax-text-light-100;
8
- }
9
- .ax-dropdown-chips {
10
- @apply ax-flex ax-overflow-x-auto;
11
- }
12
-
13
- .ax-selectbox-input {
14
- @apply ax-opacity-0 ax-w-0;
15
- }
16
- }
17
- }
18
- }
@@ -1,54 +0,0 @@
1
- @layer components {
2
- .ax-selection-list {
3
- @apply ax-flex ax-flex-wrap;
4
-
5
- &.ax-vertical {
6
- @apply ax-flex-col;
7
-
8
- .ax-checkbox-container,
9
- .ax-radio-container {
10
- @apply ax-mb-4;
11
- }
12
- }
13
-
14
- &.ax-horizontal {
15
- @apply ax-flex-row;
16
- .ax-checkbox-container,
17
- .ax-radio-container {
18
- @apply ax-pe-3;
19
- }
20
- }
21
-
22
- &.ax-state-error {
23
- @apply ax-text-danger-500;
24
- .ax-checkbox-checkmark {
25
- @apply ax-border-danger-500;
26
- }
27
-
28
- .ax-radio-checkmark {
29
- @apply ax-border-danger-500;
30
- }
31
- }
32
- }
33
- .ax-separate-style {
34
- .ax-selection-list {
35
- &.ax-vertical {
36
- & > div {
37
- @apply ax-pb-3.5 ax-border-b ax-border-light-300 dark:ax-border-white/[0.09] last:ax-border-0;
38
- }
39
- }
40
- }
41
- }
42
- .ax-card-style {
43
- .ax-selection-list {
44
- &.ax-vertical,&.ax-horizontal {
45
- & > div {
46
- @apply ax-p-4 ax-border ax-border-light-300 dark:ax-border-white/[0.09] ax-rounded-default ax-shadow-sm;
47
- &.ax-state-selected {
48
- @apply ax-border-primary-500 ax-ring-1 ax-ring-primary-500 ax-shadow-primary-500;
49
- }
50
- }
51
- }
52
- }
53
- }
54
- }
@@ -1,22 +0,0 @@
1
- @layer utilities {
2
- .ax-skeleton {
3
- @apply ax-relative ax-overflow-hidden ax-bg-light-200 dark:ax-bg-light-700;
4
- &.ax-skeleton-animate {
5
- &::before {
6
- content: "";
7
- @apply ax-block ax-absolute ax-top-0 ax-h-full ax-w-52;
8
- left: -200px;
9
- background: linear-gradient(to right, transparent 0%, rgb(var(--ax-color-light-300)) 50%, transparent 100%);
10
- animation: load 1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
11
- }
12
- }
13
- }
14
- @keyframes load {
15
- from {
16
- left: -200px;
17
- }
18
- to {
19
- left: 100%;
20
- }
21
- }
22
- }
@@ -1,186 +0,0 @@
1
- @layer components {
2
- .ax-switch {
3
- button {
4
- @apply ax-relative ax-inline-block ax-align-middle ax-border-none ax-cursor-pointer ax-rounded-full ax-bg-light-300 dark:ax-bg-white/20 ax-text-light-fore ax-transition-all;
5
- min-width: calc(var(--ax-base-size) * var(--ax-base-ratio));
6
- height: calc((var(--ax-base-size) * var(--ax-base-ratio)) / 2);
7
- line-height: calc((var(--ax-base-size) * var(--ax-base-ratio)) / 2);
8
- &.ax-switch-checked {
9
- @apply ax-bg-primary-500;
10
- .ax-switch-handle {
11
- @apply ax-right-0.5;
12
- left: initial;
13
- }
14
- .ax-switch-inner {
15
- @apply ax-text-primary-fore;
16
- margin-inline-end: calc((var(--ax-base-size) * var(--ax-base-ratio)) / 2 + 4px);
17
- margin-inline-start: var(--ax-base-size);
18
- }
19
- }
20
- .ax-switch-handle {
21
- width: calc(((var(--ax-base-size) * var(--ax-base-ratio)) / 2) - 4px);
22
- height: calc(((var(--ax-base-size) * var(--ax-base-ratio)) / 2) - 4px);
23
- @apply ax-bg-white ax-absolute ax-rounded-full ax-transition-all ax-left-0.5 ax-top-0.5;
24
- ax-loading {
25
- transform: translateY(-50%);
26
- @apply ax-w-full ax-absolute ax-left-0 ax-right-0 ax-top-2/4 ax--translate-y-1/2;
27
- svg {
28
- @apply ax-fill-primary-500 ax-stroke-primary-500;
29
- }
30
- }
31
- &:before {
32
- @apply ax-absolute ax-bg-white ax-transition-all ax-rounded-full;
33
- content: "";
34
- }
35
- }
36
- .ax-switch-inner {
37
- @apply ax-block;
38
- margin-inline-start: calc((var(--ax-base-size) * var(--ax-base-ratio)) / 2 + 4px);
39
- margin-inline-end: var(--ax-base-size);
40
- transition: margin 0.2s;
41
- }
42
- }
43
- &.ax-primary {
44
- button {
45
- &.ax-switch-checked {
46
- @apply ax-bg-primary-500;
47
- .ax-switch-inner {
48
- @apply ax-text-primary-fore;
49
- }
50
- }
51
- .ax-switch-handle {
52
- ax-loading {
53
- svg {
54
- @apply ax-fill-primary-500 ax-stroke-primary-500;
55
- }
56
- }
57
- }
58
- }
59
- }
60
- &.ax-secondary {
61
- button {
62
- &.ax-switch-checked {
63
- @apply ax-bg-secondary-500;
64
- .ax-switch-inner {
65
- @apply ax-text-secondary-fore;
66
- }
67
- }
68
- .ax-switch-handle {
69
- ax-loading {
70
- svg {
71
- @apply ax-fill-secondary-500 ax-stroke-secondary-500;
72
- }
73
- }
74
- }
75
- }
76
- }
77
- &.ax-success {
78
- button {
79
- &.ax-switch-checked {
80
- @apply ax-bg-success-500;
81
- .ax-switch-inner {
82
- @apply ax-text-success-fore;
83
- }
84
- }
85
- .ax-switch-handle {
86
- ax-loading {
87
- svg {
88
- @apply ax-fill-success-500 ax-stroke-success-500;
89
- }
90
- }
91
- }
92
- }
93
- }
94
- &.ax-warning {
95
- button {
96
- &.ax-switch-checked {
97
- @apply ax-bg-warning-500;
98
- .ax-switch-inner {
99
- @apply ax-text-warning-fore;
100
- }
101
- }
102
- .ax-switch-handle {
103
- ax-loading {
104
- svg {
105
- @apply ax-fill-warning-500 ax-stroke-warning-500;
106
- }
107
- }
108
- }
109
- }
110
- }
111
- &.ax-danger {
112
- button {
113
- &.ax-switch-checked {
114
- @apply ax-bg-danger-500;
115
- .ax-switch-inner {
116
- @apply ax-text-danger-fore;
117
- }
118
- }
119
- .ax-switch-handle {
120
- ax-loading {
121
- svg {
122
- @apply ax-fill-danger-500 ax-stroke-danger-500;
123
- }
124
- }
125
- }
126
- }
127
- }
128
- &.ax-info {
129
- button {
130
- &.ax-switch-checked {
131
- @apply ax-bg-info-500;
132
- .ax-switch-inner {
133
- @apply ax-text-info-fore;
134
- }
135
- }
136
- .ax-switch-handle {
137
- ax-loading {
138
- svg {
139
- @apply ax-fill-info-500 ax-stroke-info-500;
140
- }
141
- }
142
- }
143
- }
144
- }
145
- &.ax-dark {
146
- button {
147
- &.ax-switch-checked {
148
- @apply ax-bg-dark-500;
149
- .ax-switch-inner {
150
- @apply ax-text-dark-fore;
151
- }
152
- }
153
- .ax-switch-handle {
154
- ax-loading {
155
- svg {
156
- @apply ax-fill-dark-500 ax-stroke-dark-500;
157
- }
158
- }
159
- }
160
- }
161
- }
162
- &.ax-light {
163
- button {
164
- &.ax-switch-checked {
165
- @apply ax-bg-light-500;
166
- .ax-switch-inner {
167
- @apply ax-text-light-fore;
168
- }
169
- }
170
- .ax-switch-handle {
171
- ax-loading {
172
- svg {
173
- @apply ax-fill-light-500 ax-stroke-light-500;
174
- }
175
- }
176
- }
177
- }
178
- }
179
- .ax-state-disabled {
180
- @apply ax-opacity-60 ax-cursor-not-allowed #{!important};
181
- }
182
- .ax-state-readonly {
183
- @apply ax-opacity-75 #{!important};
184
- }
185
- }
186
- }
@@ -1,81 +0,0 @@
1
- @layer components {
2
- .ax-table {
3
- @apply ax-w-full ax-rounded-default ax-border-collapse ax-border ax-border-light-200 dark:ax-border-white/10 ax-overflow-hidden;
4
- td {
5
- @apply ax-border-b ax-border-light-200 dark:ax-border-white/10 ax-px-6 ax-py-4 ax-text-sm;
6
- }
7
- thead {
8
- @apply ax-bg-light-100 dark:ax-bg-white/10 ax-shadow-sm ax-border-b ax-border-light-200 dark:ax-border-white/10;
9
- th {
10
- @apply ax-text-sm ax-font-bold ax-text-start ax-py-4 ax-px-6;
11
- }
12
-
13
- }
14
- &.ax-table-alternate {
15
- tbody {
16
- tr {
17
- &:nth-child(even) {
18
- @apply ax-bg-light-100 dark:ax-bg-dark-400/20;
19
- }
20
- }
21
- }
22
- }
23
- &.ax-table-bordered {
24
- thead {
25
- th {
26
- @apply ax-border-t-0 #{!important};
27
- }
28
- }
29
- tbody {
30
-
31
- tr {
32
- &:last-child {
33
- td {
34
- @apply ax-border-b-0;
35
- }
36
- }
37
- td {
38
- &:last-child {
39
- @apply ax-border-b-0;
40
- }
41
- }
42
- }
43
- }
44
-
45
- td,
46
- th {
47
- @apply ax-border ax-border-light-200 dark:ax-border-white/10;
48
- &:first-child {
49
- @apply ax-border-s-0;
50
- }
51
- &:last-child {
52
- @apply ax-border-e-0;
53
- }
54
- }
55
-
56
- }
57
- @media screen and (max-width: 601px) {
58
- &.ax-table-responsive {
59
- @apply ax-break-words ax-block ax-border-0;
60
- thead {
61
- @apply ax-absolute -ax-left-full -ax-top-full;
62
- }
63
-
64
- td {
65
- @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;
66
- &:before {
67
- content: attr(data-label);
68
- @apply ax-block ax-font-bold;
69
- }
70
- }
71
- tr {
72
- @apply ax-border ax-border-light-200 dark:ax-border-white/10;
73
- }
74
- tr,
75
- tbody {
76
- @apply ax-block ax-float-left ax-w-full ax-mb-2.5;
77
- }
78
- }
79
- }
80
- }
81
- }