@acorex/styles 5.8.0 → 6.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.
- package/index.js +191 -0
- package/index.scss +0 -1
- package/package.json +17 -10
- package/src/base/index.scss +3 -1
- package/src/components/_action-sheet.scss +2 -3
- package/src/components/_alert.scss +53 -55
- package/src/components/_avatar.scss +1 -3
- package/src/components/_badge.scss +150 -6
- package/src/components/_breadcrumbs.scss +14 -11
- package/src/components/_button.scss +11 -15
- package/src/components/_calendar.scss +5 -5
- package/src/components/_checkbox.scss +3 -8
- package/src/components/_collapse.scss +5 -12
- package/src/components/_color-palette.scss +9 -25
- package/src/components/_color-picker.scss +2 -2
- package/src/components/_data-table.scss +6 -6
- package/src/components/_datapager.scss +3 -3
- package/src/components/_decoration.scss +13 -13
- package/src/components/_dialog.scss +1 -1
- package/src/components/_drawer.scss +7 -7
- package/src/components/_dropdown.scss +8 -10
- package/src/components/_editor-container.scss +13 -13
- package/src/components/_fieldset.scss +2 -2
- package/src/components/_form.scss +1 -1
- package/src/components/_input.scss +1 -1
- package/src/components/_label.scss +1 -1
- package/src/components/_list.scss +8 -23
- package/src/components/_loading.scss +14 -21
- package/src/components/_menu.scss +4 -5
- package/src/components/_numberbox.scss +1 -3
- package/src/components/_popup.scss +1 -5
- package/src/components/_progress.scss +11 -13
- package/src/components/_radio.scss +1 -1
- package/src/components/_range-slider.scss +162 -31
- package/src/components/_result.scss +2 -3
- package/src/components/_selectbox.scss +2 -2
- package/src/components/_selection-list.scss +1 -1
- package/src/components/_switch.scss +0 -1
- package/src/components/_table.scss +5 -5
- package/src/components/_tabs.scss +3 -3
- package/src/components/_textarea.scss +5 -6
- package/src/components/_toast.scss +1 -1
- package/src/components/_treeview.scss +0 -1
- package/src/components/index.scss +0 -2
- package/src/icons/demo-files/demo.css +152 -152
- package/src/icons/demo-files/demo.js +30 -30
- package/src/utility/_mixins.scss +6 -6
- package/src/utility/index.scss +3 -3
- package/src/components/_picker.scss +0 -179
- package/src/components/_side-menu.scss +0 -42
- package/src/components/_switch copy.scss +0 -185
@@ -3,20 +3,164 @@
|
|
3
3
|
@apply ax-rounded ax-align-middle ax-flex ax-justify-center ax-items-center ax-max-w-max ax-text-sm ax-px-2;
|
4
4
|
min-width: calc((var(--ax-base-size) * var(--ax-base-ratio)) - 15px);
|
5
5
|
height: calc((var(--ax-base-size) * var(--ax-base-ratio)) - 15px);
|
6
|
-
ax-prefix {
|
6
|
+
.ax-prefix {
|
7
7
|
@apply ax-me-1.5;
|
8
8
|
}
|
9
|
-
ax-suffix {
|
9
|
+
.ax-suffix {
|
10
10
|
@apply ax-ms-1.5;
|
11
11
|
}
|
12
12
|
&.ax-badge-icon {
|
13
|
-
ax-prefix,
|
14
|
-
ax-suffix {
|
13
|
+
.ax-prefix,
|
14
|
+
.ax-suffix {
|
15
15
|
@apply ax-m-0;
|
16
16
|
}
|
17
17
|
}
|
18
|
+
&.ax-badge-icon{
|
19
|
+
width: calc((var(--ax-base-size) * var(--ax-base-ratio)) - 15px);
|
20
|
+
height: calc((var(--ax-base-size) * var(--ax-base-ratio)) - 15px);
|
21
|
+
}
|
22
|
+
&.ax-primary-default {
|
23
|
+
@apply ax-bg-primary-500 ax-text-primary-fore ax-border-transparent dark:ax-bg-primary-800;
|
24
|
+
}
|
25
|
+
&.ax-primary-twotone {
|
26
|
+
@apply ax-bg-primary-100 ax-text-primary-500 ax-border-transparent dark:ax-bg-primary-800 dark:ax-text-primary-100;
|
27
|
+
}
|
28
|
+
&.ax-primary-outline {
|
29
|
+
@apply ax-text-primary-500 ax-border ax-border-primary-500 dark:ax-border-primary-400 dark:ax-text-primary-300;
|
30
|
+
}
|
31
|
+
&.ax-primary-blank {
|
32
|
+
@apply ax-text-primary-500 ax-border-transparent dark:ax-text-primary-300;
|
33
|
+
}
|
34
|
+
&.ax-primary-link {
|
35
|
+
@apply ax-rounded-none ax-border-b ax-border-e-0 ax-border-s-0 ax-border-t-0 ax-text-primary-500 ax-border-primary-500 dark:ax-border-primary-400 dark:ax-text-primary-300;
|
36
|
+
}
|
37
|
+
|
38
|
+
// secondary
|
39
|
+
&.ax-secondary-default {
|
40
|
+
@apply ax-bg-secondary-500 ax-text-secondary-fore ax-border-transparent dark:ax-bg-secondary-800;
|
41
|
+
}
|
42
|
+
&.ax-secondary-twotone {
|
43
|
+
@apply ax-bg-secondary-100 ax-text-secondary-500 ax-border-transparent dark:ax-bg-secondary-800 dark:ax-text-secondary-100;
|
44
|
+
}
|
45
|
+
&.ax-secondary-outline {
|
46
|
+
@apply ax-text-secondary-500 ax-border ax-border-secondary-500 dark:ax-border-secondary-400 dark:ax-text-secondary-300;
|
47
|
+
}
|
48
|
+
&.ax-secondary-blank {
|
49
|
+
@apply ax-text-secondary-500 ax-border-transparent dark:ax-text-secondary-300;
|
50
|
+
}
|
51
|
+
&.ax-secondary-link {
|
52
|
+
@apply ax-rounded-none ax-border-b ax-border-e-0 ax-border-s-0 ax-border-t-0 ax-text-secondary-500 ax-border-secondary-500 dark:ax-border-secondary-400 dark:ax-text-secondary-300;
|
53
|
+
}
|
54
|
+
// success
|
55
|
+
&.ax-success-default {
|
56
|
+
@apply ax-bg-success-500 ax-text-success-fore ax-border-transparent dark:ax-bg-success-800;
|
57
|
+
}
|
58
|
+
&.ax-success-twotone {
|
59
|
+
@apply ax-bg-success-100 ax-text-success-500 ax-border-transparent dark:ax-bg-success-800 dark:ax-text-success-100;
|
60
|
+
}
|
61
|
+
&.ax-success-outline {
|
62
|
+
@apply ax-text-success-500 ax-border ax-border-success-500 dark:ax-border-success-400 dark:ax-text-success-300;
|
63
|
+
}
|
64
|
+
&.ax-success-blank {
|
65
|
+
@apply ax-text-success-500 ax-border-transparent dark:ax-text-success-300;
|
66
|
+
}
|
67
|
+
&.ax-success-link {
|
68
|
+
@apply ax-rounded-none ax-border-b ax-border-e-0 ax-border-s-0 ax-border-t-0 ax-text-success-500 ax-border-success-500 dark:ax-border-success-400 dark:ax-text-success-300;
|
69
|
+
}
|
70
|
+
// warning
|
71
|
+
&.ax-warning-default {
|
72
|
+
@apply ax-bg-warning-500 ax-text-warning-fore ax-border-transparent dark:ax-bg-warning-800;
|
73
|
+
}
|
74
|
+
&.ax-warning-twotone {
|
75
|
+
@apply ax-bg-warning-100 ax-text-warning-900 ax-border-transparent dark:ax-bg-warning-800 dark:ax-text-warning-fore;
|
76
|
+
}
|
77
|
+
&.ax-warning-outline {
|
78
|
+
@apply ax-text-warning-500 ax-border ax-border-warning-500 dark:ax-border-warning-400 dark:ax-text-warning-300;
|
79
|
+
}
|
80
|
+
&.ax-warning-blank {
|
81
|
+
@apply ax-text-warning-500 ax-border-transparent dark:ax-text-warning-300;
|
82
|
+
}
|
83
|
+
&.ax-warning-link {
|
84
|
+
@apply ax-rounded-none ax-border-b ax-border-e-0 ax-border-s-0 ax-border-t-0 ax-text-warning-500 ax-border-warning-500 dark:ax-border-warning-400 dark:ax-text-warning-300;
|
85
|
+
}
|
86
|
+
// danger
|
87
|
+
&.ax-danger-default {
|
88
|
+
@apply ax-bg-danger-500 ax-text-danger-fore ax-border-transparent dark:ax-bg-danger-800;
|
89
|
+
}
|
90
|
+
&.ax-danger-twotone {
|
91
|
+
@apply ax-bg-danger-100 ax-text-danger-500 ax-border-transparent dark:ax-bg-danger-800 dark:ax-text-danger-100;
|
92
|
+
}
|
93
|
+
&.ax-danger-outline {
|
94
|
+
@apply ax-text-danger-500 ax-border ax-border-danger-500 dark:ax-border-danger-400 dark:ax-text-danger-300;
|
95
|
+
}
|
96
|
+
&.ax-danger-blank {
|
97
|
+
@apply ax-text-danger-500 ax-border-transparent dark:ax-text-danger-300;
|
98
|
+
}
|
99
|
+
&.ax-danger-link {
|
100
|
+
@apply ax-rounded-none ax-border-b ax-border-e-0 ax-border-s-0 ax-border-t-0 ax-text-danger-500 ax-border-danger-500 dark:ax-border-danger-400 dark:ax-text-danger-300;
|
101
|
+
}
|
102
|
+
|
103
|
+
// info
|
104
|
+
&.ax-info-default {
|
105
|
+
@apply ax-bg-info-500 ax-text-info-fore ax-border-transparent dark:ax-bg-info-800;
|
106
|
+
}
|
107
|
+
&.ax-info-twotone {
|
108
|
+
@apply ax-bg-info-100 ax-text-info-500 ax-border-transparent dark:ax-bg-info-800 dark:ax-text-info-100;
|
109
|
+
}
|
110
|
+
&.ax-info-outline {
|
111
|
+
@apply ax-text-info-500 ax-border ax-border-info-500 dark:ax-border-info-400 dark:ax-text-info-300;
|
112
|
+
}
|
113
|
+
&.ax-info-blank {
|
114
|
+
@apply ax-text-info-500 ax-border-transparent dark:ax-text-info-300;
|
115
|
+
}
|
116
|
+
&.ax-info-link {
|
117
|
+
@apply ax-rounded-none ax-border-b ax-border-e-0 ax-border-s-0 ax-border-t-0 ax-text-info-500 ax-border-info-500 dark:ax-border-info-400 dark:ax-text-info-300;
|
118
|
+
}
|
119
|
+
|
120
|
+
// dark
|
121
|
+
&.ax-dark-default {
|
122
|
+
@apply ax-bg-dark-500 ax-text-dark-fore ax-border-transparent dark:ax-bg-dark-600;
|
123
|
+
|
124
|
+
}
|
125
|
+
&.ax-dark-twotone {
|
126
|
+
@apply ax-bg-dark-50 ax-text-dark-500 ax-border-transparent dark:ax-bg-dark-300 dark:ax-text-dark-700;
|
127
|
+
|
128
|
+
}
|
129
|
+
&.ax-dark-outline {
|
130
|
+
@apply ax-text-dark-500 ax-border-dark-500 dark:ax-text-dark-100 dark:ax-border-dark-100;
|
131
|
+
|
132
|
+
}
|
133
|
+
&.ax-dark-blank {
|
134
|
+
@apply ax-text-dark-500 ax-border-transparent dark:ax-text-dark-50;
|
135
|
+
|
136
|
+
}
|
137
|
+
&.ax-dark-link {
|
138
|
+
@apply ax-rounded-none ax-border-b ax-border-e-0 ax-border-s-0 ax-border-t-0 ax-text-dark-500 ax-border-dark-500 dark:ax-border-dark-50 dark:ax-text-dark-50;
|
139
|
+
|
140
|
+
}
|
141
|
+
|
142
|
+
// light
|
143
|
+
&.ax-light-default {
|
144
|
+
@apply ax-bg-light-100 ax-text-light-fore dark:ax-bg-light-800 dark:ax-border-light-800 dark:ax-text-light-100;
|
145
|
+
|
146
|
+
}
|
147
|
+
&.ax-light-twotone {
|
148
|
+
@apply ax-bg-light-200 ax-text-light-fore dark:ax-bg-light-600 dark:ax-border-light-600 dark:ax-text-light-100;
|
149
|
+
|
150
|
+
}
|
151
|
+
&.ax-light-outline {
|
152
|
+
@apply ax-text-light-fore ax-border ax-border-light-300 dark:ax-border-light-500 dark:ax-text-light-100;
|
153
|
+
|
154
|
+
}
|
155
|
+
&.ax-light-link {
|
156
|
+
@apply ax-text-light-fore ax-border-b ax-rounded-none ax-border-light-300 dark:ax-text-light-100 dark:ax-border-light-500;
|
157
|
+
|
158
|
+
}
|
159
|
+
&.ax-light-blank {
|
160
|
+
@apply ax-text-light-fore dark:ax-border-light-600 dark:ax-text-light-100;
|
161
|
+
}
|
18
162
|
|
19
|
-
@include color-look-generator();
|
163
|
+
// @include color-look-generator();
|
20
164
|
// &.ax-primary-default {
|
21
165
|
// @apply ax-bg-primary-50 ax-text-primary-500 dark:ax-bg-primary-500 dark:ax-text-primary-fore;
|
22
166
|
// }
|
@@ -42,4 +186,4 @@
|
|
42
186
|
// @apply ax-bg-dark-500 ax-text-dark-fore dark:ax-bg-dark-500 dark:ax-text-dark-50;
|
43
187
|
// }
|
44
188
|
}
|
45
|
-
}
|
189
|
+
}
|
@@ -1,24 +1,27 @@
|
|
1
1
|
@layer components {
|
2
|
-
ax-breadcrumbs,
|
3
2
|
.ax-breadcrumbs {
|
4
|
-
@apply ax-flex ax-items-center;
|
3
|
+
@apply ax-inline-flex ax-items-center ax-space-x-1 md:ax-space-x-3;
|
5
4
|
ax-breadcrumbs-item,
|
6
5
|
.ax-breadcrumbs-item {
|
7
|
-
ax-
|
6
|
+
@apply ax-inline-flex ax-items-center ax-text-sm ax-font-medium ax-text-light-500 dark:ax-text-light-400 ax-cursor-pointer ax-select-none;
|
7
|
+
.ax-breadcrumbs-item-text {
|
8
|
+
@apply ax-pe-2 hover:ax-text-light-900 dark:hover:ax-text-white;
|
9
|
+
}
|
10
|
+
.ax-prefix {
|
8
11
|
@apply ax-pe-2;
|
9
12
|
}
|
10
|
-
ax-suffix {
|
13
|
+
.ax-suffix {
|
11
14
|
@apply ax-ps-2;
|
12
15
|
}
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
content: "/";
|
16
|
+
.ax-breadcrumb-divider {
|
17
|
+
@apply dark:ax-text-white/30;
|
18
|
+
}
|
19
|
+
&:last-child{
|
20
|
+
.ax-breadcrumb-divider{
|
21
|
+
@apply ax-hidden
|
20
22
|
}
|
21
23
|
}
|
22
24
|
}
|
25
|
+
|
23
26
|
}
|
24
27
|
}
|
@@ -1,11 +1,11 @@
|
|
1
1
|
@layer components {
|
2
|
-
ax-button {
|
3
|
-
@apply ax-text-sm ax-relative ax-inline-flex ax-items-center ax-justify-center ax-rounded-
|
2
|
+
.ax-button {
|
3
|
+
@apply ax-text-sm ax-relative ax-inline-flex ax-items-center ax-justify-center ax-rounded-default ax-select-none ax-font-medium ax-whitespace-nowrap ax-overflow-hidden ax-text-ellipsis ax-transition-all;
|
4
4
|
height: calc(var(--ax-base-size) * var(--ax-base-ratio)) !important;
|
5
5
|
line-height: calc((var(--ax-base-size) * var(--ax-base-ratio)) / 2) !important;
|
6
6
|
|
7
7
|
& > button {
|
8
|
-
@apply ax-inline-flex ax-items-center ax-justify-center
|
8
|
+
@apply ax-inline-flex ax-items-center ax-justify-center ax-font-medium ax-whitespace-nowrap ax-overflow-hidden ax-text-ellipsis ax-px-4 ax-w-full ax-h-full;
|
9
9
|
&:focus,
|
10
10
|
&:focus-visible {
|
11
11
|
@apply ax-outline-none;
|
@@ -15,11 +15,11 @@
|
|
15
15
|
&:focus {
|
16
16
|
@apply ax-outline-none;
|
17
17
|
}
|
18
|
-
ax-prefix {
|
18
|
+
.ax-prefix {
|
19
19
|
@apply ax-flex ax-flex-row ax-pe-2;
|
20
20
|
}
|
21
21
|
|
22
|
-
ax-suffix {
|
22
|
+
.ax-suffix {
|
23
23
|
@apply ax-flex ax-flex-row ax-ps-2;
|
24
24
|
}
|
25
25
|
&[class*="-outline"] {
|
@@ -29,28 +29,24 @@
|
|
29
29
|
@apply ax-text-xs;
|
30
30
|
}
|
31
31
|
|
32
|
-
&.ax-rounded {
|
33
|
-
@apply ax-rounded-full;
|
34
|
-
}
|
35
|
-
|
36
32
|
&.ax-button-icon {
|
37
33
|
width: calc(var(--ax-base-size) * var(--ax-base-ratio)) !important;
|
38
34
|
& > button {
|
39
35
|
@apply ax-px-3;
|
40
36
|
}
|
41
37
|
|
42
|
-
ax-prefix,
|
43
|
-
ax-suffix {
|
38
|
+
.ax-prefix,
|
39
|
+
.ax-suffix {
|
44
40
|
@apply ax-p-0;
|
45
41
|
}
|
46
42
|
|
47
|
-
ax-icon,
|
43
|
+
.ax-icon,
|
48
44
|
i {
|
49
45
|
@apply ax-text-base;
|
50
46
|
}
|
51
47
|
}
|
52
48
|
|
53
|
-
ax-loading-spinner {
|
49
|
+
.ax-loading-spinner {
|
54
50
|
@apply ax-flex ax-pe-1;
|
55
51
|
|
56
52
|
svg {
|
@@ -884,10 +880,10 @@
|
|
884
880
|
}
|
885
881
|
}
|
886
882
|
|
887
|
-
ax-button-group {
|
883
|
+
.ax-button-group {
|
888
884
|
@apply ax-flex;
|
889
885
|
|
890
|
-
ax-button {
|
886
|
+
.ax-button {
|
891
887
|
@apply ax-rounded-none;
|
892
888
|
|
893
889
|
&[class*="-link"] {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
@layer components {
|
2
|
-
ax-calendar {
|
2
|
+
.ax-calendar {
|
3
3
|
@apply ax-w-80 ax-block ax-border ax-border-solid ax-border-light-300 ax-rounded ax-bg-white ax-select-none dark:ax-bg-white/[0.03] dark:ax-border-transparent;
|
4
4
|
@include screen(mobile) {
|
5
5
|
@apply ax-w-full;
|
@@ -8,12 +8,12 @@
|
|
8
8
|
.ax-calendar-header {
|
9
9
|
.ax-calendar-header-buttons {
|
10
10
|
.ax-prev-button {
|
11
|
-
ax-icon {
|
11
|
+
.ax-icon {
|
12
12
|
@apply ax-rotate-180;
|
13
13
|
}
|
14
14
|
}
|
15
15
|
.ax-next-button {
|
16
|
-
ax-icon {
|
16
|
+
.ax-icon {
|
17
17
|
@apply ax-rotate-0;
|
18
18
|
}
|
19
19
|
}
|
@@ -31,12 +31,12 @@
|
|
31
31
|
.ax-calendar-header-buttons {
|
32
32
|
@apply ax-flex;
|
33
33
|
.ax-prev-button {
|
34
|
-
ax-icon {
|
34
|
+
.ax-icon {
|
35
35
|
@apply ax-rotate-0;
|
36
36
|
}
|
37
37
|
}
|
38
38
|
.ax-next-button {
|
39
|
-
ax-icon {
|
39
|
+
.ax-icon {
|
40
40
|
@apply ax-rotate-180;
|
41
41
|
}
|
42
42
|
}
|
@@ -1,8 +1,5 @@
|
|
1
1
|
@layer components {
|
2
|
-
|
3
|
-
.ax-check-box,
|
4
|
-
ax-check-box {
|
5
|
-
|
2
|
+
.ax-check-box {
|
6
3
|
.ax-state-error {
|
7
4
|
@apply ax-text-danger-500;
|
8
5
|
|
@@ -11,14 +8,13 @@
|
|
11
8
|
}
|
12
9
|
}
|
13
10
|
.ax-state-success {
|
14
|
-
@apply
|
11
|
+
@apply ax-text-success-600;
|
15
12
|
|
16
13
|
input[type="checkbox"] {
|
17
14
|
@apply ax-border-success-600;
|
18
15
|
}
|
19
16
|
}
|
20
17
|
|
21
|
-
|
22
18
|
.ax-wrapper {
|
23
19
|
&.ax-state-disabled {
|
24
20
|
@apply ax-cursor-not-allowed ax-opacity-80;
|
@@ -57,7 +53,6 @@
|
|
57
53
|
&.ax-state-disabled {
|
58
54
|
@apply ax-opacity-60;
|
59
55
|
}
|
60
|
-
|
61
56
|
}
|
62
57
|
}
|
63
|
-
}
|
58
|
+
}
|
@@ -1,8 +1,6 @@
|
|
1
1
|
@layer components {
|
2
|
-
ax-collpase,
|
3
2
|
.ax-collapse {
|
4
|
-
@apply ax-border ax-border-light-200 ax-block ax-text-sm ax-rounded ax-overflow-hidden;
|
5
|
-
@include control-states("surface");
|
3
|
+
@apply ax-border ax-border-light-200 dark:ax-border-white/10 ax-block ax-text-sm ax-rounded-default ax-overflow-hidden;
|
6
4
|
|
7
5
|
.ax-collapse-header {
|
8
6
|
@apply ax-cursor-pointer ax-select-none;
|
@@ -18,15 +16,11 @@
|
|
18
16
|
@apply ax-border-b-0;
|
19
17
|
}
|
20
18
|
}
|
21
|
-
.ax-collapse-custom-header-container {
|
22
|
-
@apply ax-bg-light-100 ax-border-b ax-border-light-
|
23
|
-
@include control-states("surface");
|
24
|
-
|
19
|
+
.ax-collapse-custom-header-container,.ax-collapse-header-container {
|
20
|
+
@apply ax-bg-light-100 dark:ax-bg-white/10 ax-border-b ax-border-light-100 dark:ax-border-white/10;
|
25
21
|
}
|
26
22
|
.ax-collapse-header-container {
|
27
|
-
@apply ax-flex ax-justify-between ax-
|
28
|
-
@include control-states("surface");
|
29
|
-
|
23
|
+
@apply ax-flex ax-justify-between ax-p-3 ;
|
30
24
|
.ax-collapse-arrow {
|
31
25
|
@apply ax-inline-block ax-text-xl ax-me-2 ax-rotate-90;
|
32
26
|
}
|
@@ -37,8 +31,7 @@
|
|
37
31
|
}
|
38
32
|
}
|
39
33
|
.ax-collapse-group {
|
40
|
-
@apply ax-block ax-border ax-border-light-200 ax-rounded ax-overflow-hidden;
|
41
|
-
@include control-states('surface');
|
34
|
+
@apply ax-block ax-border ax-border-light-200 dark:ax-border-white/10 ax-rounded-default ax-overflow-hidden;
|
42
35
|
|
43
36
|
ax-collpase,
|
44
37
|
.ax-collapse {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
@layer components {
|
2
|
-
ax-color-palette {
|
2
|
+
.ax-color-palette {
|
3
3
|
@apply ax-flex ax-flex-col ax-w-72 ax-border ax-border-light-200 ax-rounded ax-gap-2;
|
4
4
|
@include control-states("surface");
|
5
5
|
--ax-base-ratio: 4;
|
@@ -17,13 +17,13 @@
|
|
17
17
|
}
|
18
18
|
}
|
19
19
|
|
20
|
-
ax-header,
|
21
|
-
ax-footer {
|
20
|
+
.ax-header,
|
21
|
+
.ax-footer {
|
22
22
|
@apply ax-border-t ax-bg-white ax-p-3 ax-border-light-300 dark:ax-border-light-700 ax-flex;
|
23
23
|
@include control-states("editor");
|
24
24
|
}
|
25
25
|
ax-color-palette-preview {
|
26
|
-
@apply ax-relative ax-h-20 ax-w-full ax-rounded-t ax-bg-primary-50 ax-flex ax-justify-center ax-items-center ax-font-semibold ax-shadow-sm ax-border-b ax-border-light-200 dark:ax-border-white/
|
26
|
+
@apply ax-relative ax-h-20 ax-w-full ax-rounded-t ax-bg-primary-50 ax-flex ax-justify-center ax-items-center ax-font-semibold ax-shadow-sm ax-border-b ax-border-light-200 dark:ax-border-white/10 ax-transition-all;
|
27
27
|
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAADFJREFUOE9jZGBgEGHAD97gk2YcNYBhmIQBgWSAP52AwoAQwJvQRg1gACckQoC2gQgAIF8IscwEtKYAAAAASUVORK5CYII=")
|
28
28
|
left center;
|
29
29
|
.palette-preview-overlay {
|
@@ -32,14 +32,14 @@
|
|
32
32
|
}
|
33
33
|
|
34
34
|
ax-color-palette-favorite {
|
35
|
-
@apply ax-border-t ax-border-light-200 dark:ax-border-white/
|
35
|
+
@apply ax-border-t ax-border-light-200 dark:ax-border-white/10 ax-block;
|
36
36
|
}
|
37
37
|
|
38
38
|
ax-color-palette-swatches,
|
39
39
|
ax-color-palette-favorite {
|
40
40
|
@apply ax-p-2 ax-grid-cols-8 ax-gap-0.5 ax-grid ax-max-h-36 ax-overflow-y-auto ax-overflow-x-hidden;
|
41
41
|
div {
|
42
|
-
@apply ax-relative ax-bg-dark-100 ax-flex ax-items-center ax-justify-center ax-cursor-pointer ax-m-0.5 ax-rounded ax-shadow-sm ax-border ax-border-light-200 dark:ax-border-white/
|
42
|
+
@apply ax-relative ax-bg-dark-100 ax-flex ax-items-center ax-justify-center ax-cursor-pointer ax-m-0.5 ax-rounded ax-shadow-sm ax-border ax-border-light-200 dark:ax-border-white/10;
|
43
43
|
|
44
44
|
&::before {
|
45
45
|
content: "";
|
@@ -78,7 +78,7 @@
|
|
78
78
|
ax-color-palette-picker {
|
79
79
|
@apply ax-flex ax-flex-col ax-gap-2 ax-p-2;
|
80
80
|
.ax-color-picker-overlay {
|
81
|
-
@apply ax-block ax-w-full ax-h-32
|
81
|
+
@apply ax-block ax-w-full ax-h-32 ax-relative;
|
82
82
|
.ax-color-picker-pointer {
|
83
83
|
@apply ax-w-3 ax-h-3 ax-rounded-full ax-bg-transparent ax-border ax-border-white ax-shadow-md;
|
84
84
|
}
|
@@ -92,24 +92,8 @@
|
|
92
92
|
}
|
93
93
|
|
94
94
|
}
|
95
|
-
// .ax-color-picker-gradient-line,
|
96
|
-
// .ax-color-picker-transparent-line {
|
97
|
-
// @apply ax-h-3 ax-w-full ax-block ax-relative;
|
98
|
-
// }
|
99
|
-
// .ax-color-picker-gradient-line {
|
100
|
-
// background: linear-gradient(
|
101
|
-
// to right,
|
102
|
-
// rgb(255, 0, 0) 0%,
|
103
|
-
// rgb(255, 255, 0) 17%,
|
104
|
-
// rgb(0, 255, 0) 33%,
|
105
|
-
// rgb(0, 255, 255) 50%,
|
106
|
-
// rgb(0, 0, 255) 67%,
|
107
|
-
// rgb(255, 0, 255) 83%,
|
108
|
-
// rgb(255, 0, 0) 100%
|
109
|
-
// );
|
110
|
-
// }
|
111
95
|
|
112
|
-
ax-range-slider
|
96
|
+
.ax-range-slider
|
113
97
|
{
|
114
98
|
&.ax-color-picker-gradient
|
115
99
|
{
|
@@ -127,7 +111,7 @@
|
|
127
111
|
}
|
128
112
|
}
|
129
113
|
}
|
130
|
-
ax-range-slider
|
114
|
+
.ax-range-slider
|
131
115
|
{
|
132
116
|
&.ax-color-picker-transparent
|
133
117
|
{
|
@@ -1,10 +1,10 @@
|
|
1
1
|
@layer components {
|
2
|
-
ax-color-picker {
|
2
|
+
.ax-color-picker {
|
3
3
|
.ax-dropdown-content {
|
4
4
|
@apply ax-mx-2 ax-flex ax-items-center;
|
5
5
|
|
6
6
|
.color-badge {
|
7
|
-
@apply ax-block ax-rounded ax-me-2 ax-shadow-sm ax-border ax-border-light-200 dark:ax-border-white/
|
7
|
+
@apply ax-block ax-rounded ax-me-2 ax-shadow-sm ax-border ax-border-light-200 dark:ax-border-white/10;
|
8
8
|
width: calc(var(--ax-base-size) * var(--ax-base-ratio) / 2);
|
9
9
|
height: calc(var(--ax-base-size) * var(--ax-base-ratio) / 2);
|
10
10
|
}
|
@@ -1,14 +1,14 @@
|
|
1
1
|
@layer components {
|
2
|
-
ax-data-table {
|
3
|
-
@apply ax-flex ax-flex-col ax-rounded-
|
2
|
+
.ax-data-table {
|
3
|
+
@apply ax-flex ax-flex-col ax-rounded-default ax-border ax-border-light-200 dark:ax-border-white/10;
|
4
4
|
|
5
5
|
.ax-wrapper
|
6
6
|
{
|
7
7
|
@apply ax-flex ax-flex-1 ax-overflow-auto;
|
8
8
|
}
|
9
9
|
|
10
|
-
|
11
|
-
|
10
|
+
&>.ax-header,
|
11
|
+
&>.ax-footer
|
12
12
|
{
|
13
13
|
@apply ax-p-2;
|
14
14
|
ax-data-pager
|
@@ -16,11 +16,11 @@
|
|
16
16
|
@apply ax-border-0 ax-p-0 ax-shadow-none ax-flex-1 ax-bg-transparent;
|
17
17
|
}
|
18
18
|
}
|
19
|
-
|
19
|
+
&>.ax-header
|
20
20
|
{
|
21
21
|
@apply ax-border-b;
|
22
22
|
}
|
23
|
-
|
23
|
+
&>.ax-footer
|
24
24
|
{
|
25
25
|
@apply ax-border-t;
|
26
26
|
|
@@ -1,11 +1,11 @@
|
|
1
1
|
@layer components {
|
2
|
-
ax-data-pager {
|
2
|
+
.ax-data-pager {
|
3
3
|
@apply ax-flex ax-flex-wrap ax-gap-1 ax-flex-row ax-items-center ax-p-2 ax-border-opacity-50 ax-rounded ax-max-w-full ax-decoration-container;
|
4
4
|
|
5
5
|
.ax-button-group {
|
6
6
|
@apply ax-border-none;
|
7
7
|
|
8
|
-
ax-button {
|
8
|
+
.ax-button {
|
9
9
|
@apply ax-border-none ax-rounded;
|
10
10
|
}
|
11
11
|
}
|
@@ -21,7 +21,7 @@
|
|
21
21
|
@apply ax-flex ax-justify-start md:ax-justify-end ax-items-center ax-text-sm;
|
22
22
|
}
|
23
23
|
|
24
|
-
ax-button {
|
24
|
+
.ax-button {
|
25
25
|
@apply ax-text-base #{!important};
|
26
26
|
|
27
27
|
&.ax-state-disabled {
|
@@ -1,37 +1,37 @@
|
|
1
1
|
@layer components {
|
2
2
|
|
3
3
|
.ax-decoration-container,
|
4
|
-
ax-header,
|
5
|
-
ax-footer
|
4
|
+
.ax-header,
|
5
|
+
.ax-footer
|
6
6
|
{
|
7
7
|
@apply ax-flex ax-justify-between ax-items-center ax-gap-2;
|
8
8
|
|
9
|
-
|
10
|
-
|
9
|
+
&>.ax-prefix,
|
10
|
+
&>.ax-suffix {
|
11
11
|
@apply ax-flex ax-flex-auto ax-flex-row ax-gap-2 ax-items-center ;
|
12
12
|
}
|
13
|
-
|
13
|
+
&>.ax-prefix{
|
14
14
|
@apply ax-order-first ax-justify-start ax-items-center ;
|
15
15
|
}
|
16
|
-
|
16
|
+
&>.ax-suffix {
|
17
17
|
@apply ax-order-last ax-justify-end ax-items-center ;
|
18
18
|
}
|
19
19
|
|
20
20
|
}
|
21
21
|
|
22
|
-
ax-title {
|
23
|
-
@apply ax-font-
|
22
|
+
.ax-title {
|
23
|
+
@apply ax-font-normal;
|
24
24
|
}
|
25
25
|
|
26
|
-
ax-icon {
|
26
|
+
.ax-icon {
|
27
27
|
@apply ax-font-medium;
|
28
28
|
}
|
29
29
|
|
30
|
-
ax-close-button {
|
31
|
-
ax-icon {
|
32
|
-
@apply ax-text-light-
|
30
|
+
.ax-close-button {
|
31
|
+
.ax-icon {
|
32
|
+
@apply ax-text-light-300 dark:ax-text-light-200 ax-cursor-pointer ax-text-xl;
|
33
33
|
&:hover {
|
34
|
-
@apply ax-text-light-
|
34
|
+
@apply ax-text-light-400 dark:ax-text-light-100;
|
35
35
|
}
|
36
36
|
}
|
37
37
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
@layer components {
|
2
|
-
ax-drawer-container {
|
2
|
+
.ax-drawer-container {
|
3
3
|
@apply ax-flex ax-relative ax-w-full ax-h-full ax-overflow-hidden;
|
4
4
|
|
5
5
|
&.ax-fixed {
|
@@ -16,16 +16,16 @@
|
|
16
16
|
|
17
17
|
ax-drawer {
|
18
18
|
@apply ax-flex ax-flex-col ax-max-w-[95%] ax-h-full ax-animate-duration-300 ax-transition-all #{!important};
|
19
|
-
ax-header,
|
20
|
-
ax-footer {
|
19
|
+
.ax-header,
|
20
|
+
.ax-footer {
|
21
21
|
@apply ax-bg-white ax-p-3 ax-border-light-300 dark:ax-border-light-700 ;
|
22
22
|
@include control-states("editor");
|
23
23
|
}
|
24
|
-
ax-footer
|
24
|
+
.ax-footer
|
25
25
|
{
|
26
26
|
@apply ax-border-t;
|
27
27
|
}
|
28
|
-
ax-header
|
28
|
+
.ax-header
|
29
29
|
{
|
30
30
|
@apply ax-border-b;
|
31
31
|
}
|
@@ -34,7 +34,7 @@
|
|
34
34
|
}
|
35
35
|
|
36
36
|
|
37
|
-
|
37
|
+
&>.ax-content
|
38
38
|
{
|
39
39
|
@apply ax-overflow-auto ax-bg-white ax-flex-1 ax-h-full;
|
40
40
|
}
|
@@ -105,7 +105,7 @@
|
|
105
105
|
|
106
106
|
}
|
107
107
|
|
108
|
-
|
108
|
+
&>.ax-content {
|
109
109
|
@apply ax-flex-1 ax-h-full ax-overflow-auto;
|
110
110
|
}
|
111
111
|
}
|