@acorex/styles 5.7.0 → 6.0.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.
- package/index.js +191 -0
- package/index.scss +0 -1
- package/package.json +1 -1
- package/src/base/index.scss +3 -1
- package/src/components/_action-sheet.scss +2 -3
- package/src/components/_alert.scss +319 -39
- 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 +162 -131
- 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 +7 -7
- 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
@@ -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
|
}
|
@@ -1,8 +1,6 @@
|
|
1
1
|
@layer components {
|
2
|
-
ax-drop-down,
|
3
2
|
.ax-drop-down {
|
4
|
-
|
5
|
-
|
3
|
+
@apply ax-contents;
|
6
4
|
.ax-dropdown-content {
|
7
5
|
@apply ax-flex ax-flex-auto ax-text-sm ax-overflow-y-hidden ax-overscroll-x-auto;
|
8
6
|
&.ax-state-disabled {
|
@@ -14,16 +12,16 @@
|
|
14
12
|
.ax-overlay-pane {
|
15
13
|
@apply ax-bg-white ax-border ax-rounded ax-border-light-200 ax-shadow-lg;
|
16
14
|
@include control-states("surface");
|
17
|
-
ax-header,
|
18
|
-
ax-footer {
|
15
|
+
.ax-header,
|
16
|
+
.ax-footer {
|
19
17
|
@apply ax-bg-white ax-p-3 ax-border-light-300 dark:ax-border-light-700 ;
|
20
18
|
@include control-states("editor");
|
21
19
|
}
|
22
|
-
ax-footer
|
20
|
+
.ax-footer
|
23
21
|
{
|
24
22
|
@apply ax-border-t;
|
25
23
|
}
|
26
|
-
ax-header
|
24
|
+
.ax-header
|
27
25
|
{
|
28
26
|
@apply ax-border-b;
|
29
27
|
}
|
@@ -55,7 +53,7 @@
|
|
55
53
|
&.ax-dropdown-list {
|
56
54
|
@apply ax-border ax-border-solid ax-flex ax-flex-col ax-py-1 ax-rounded ax-shadow-sm;
|
57
55
|
|
58
|
-
ax-button-item {
|
56
|
+
.ax-button-item {
|
59
57
|
height: calc(var(--ax-base-size) * var(--ax-base-ratio)) !important;
|
60
58
|
line-height: calc((var(--ax-base-size) * var(--ax-base-ratio)) / 2) !important;
|
61
59
|
@apply ax-relative ax-inline-flex ax-items-center ax-justify-start ax-px-2 ax-text-sm ax-text-light-600 ax-cursor-pointer ax-select-none;
|
@@ -68,11 +66,11 @@
|
|
68
66
|
@apply ax-cursor-not-allowed ax-opacity-60;
|
69
67
|
}
|
70
68
|
|
71
|
-
ax-prefix {
|
69
|
+
.ax-prefix {
|
72
70
|
@apply ax-flex ax-flex-row ax-pe-2;
|
73
71
|
}
|
74
72
|
|
75
|
-
ax-suffix {
|
73
|
+
.ax-suffix {
|
76
74
|
@apply ax-flex ax-flex-row ax-ps-2;
|
77
75
|
}
|
78
76
|
|
@@ -2,7 +2,7 @@
|
|
2
2
|
.ax-editor-container {
|
3
3
|
height: calc(var(--ax-base-size) * var(--ax-base-ratio));
|
4
4
|
line-height: calc(var(--ax-base-size) * var(--ax-base-ratio));
|
5
|
-
@apply ax-flex ax-rounded ax-bg-white ax-shadow-sm ax-border ax-border-solid ax-border-light-300;
|
5
|
+
@apply ax-flex ax-rounded-default ax-bg-white ax-shadow-sm ax-border ax-border-solid ax-border-light-300;
|
6
6
|
@include control-states("editor");
|
7
7
|
|
8
8
|
@screen md {
|
@@ -53,38 +53,38 @@
|
|
53
53
|
box-shadow: none;
|
54
54
|
}
|
55
55
|
}
|
56
|
-
|
56
|
+
&>.ax-prefix {
|
57
57
|
*,
|
58
|
-
ax-button,
|
59
|
-
ax-addon {
|
58
|
+
.ax-button,
|
59
|
+
.ax-addon {
|
60
60
|
@apply ax-rounded-s;
|
61
61
|
}
|
62
62
|
}
|
63
63
|
|
64
|
-
|
64
|
+
&>.ax-suffix {
|
65
65
|
*,
|
66
|
-
ax-button,
|
67
|
-
ax-addon {
|
66
|
+
.ax-button,
|
67
|
+
.ax-addon {
|
68
68
|
@apply ax-rounded-e;
|
69
69
|
}
|
70
70
|
}
|
71
71
|
|
72
|
-
|
73
|
-
|
72
|
+
&>.ax-prefix,
|
73
|
+
&>.ax-suffix {
|
74
74
|
* {
|
75
75
|
@apply ax-h-full ax-flex ax-justify-center ax-items-center ax-rounded-none;
|
76
76
|
}
|
77
77
|
|
78
|
-
ax-icon {
|
78
|
+
.ax-icon {
|
79
79
|
@apply ax-px-2;
|
80
80
|
}
|
81
81
|
|
82
|
-
ax-addon {
|
82
|
+
.ax-addon {
|
83
83
|
@apply ax-bg-light-100 ax-text-light-fore ax-px-4;
|
84
84
|
}
|
85
85
|
}
|
86
86
|
|
87
|
-
ax-button {
|
87
|
+
.ax-button {
|
88
88
|
height: 100% !important;
|
89
89
|
@apply ax-rounded-none;
|
90
90
|
|
@@ -134,7 +134,7 @@
|
|
134
134
|
}
|
135
135
|
}
|
136
136
|
|
137
|
-
ax-button {
|
137
|
+
.ax-button {
|
138
138
|
&.ax-state-disabled {
|
139
139
|
@apply ax-bg-light-100 ax-text-light-fore ax-opacity-100 #{!important};
|
140
140
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
@layer components{
|
2
|
-
fieldset{
|
3
|
-
@apply ax-grid ax-col-span-6 ax-grid-cols-6 ax-gap-4 ax-border ax-border-solid ax-border-light-300 ax-p-3 ax-rounded;
|
2
|
+
.ax-fieldset{
|
3
|
+
@apply ax-grid ax-col-span-6 ax-grid-cols-6 ax-gap-4 ax-border ax-border-solid ax-border-light-300 ax-p-3 ax-rounded dark:ax-border-white/10;
|
4
4
|
legend{
|
5
5
|
@apply ax-text-sm ax-px-1;
|
6
6
|
}
|
@@ -4,7 +4,7 @@
|
|
4
4
|
@apply ax-outline-none ax-p-0;
|
5
5
|
font-size: inherit;
|
6
6
|
&:focus {
|
7
|
-
@apply ax-ring-2 ax-ring-primary-500 ax-ring-opacity-100 ax-border-transparent ax-rounded-
|
7
|
+
@apply ax-ring-2 ax-ring-primary-500 ax-ring-opacity-100 ax-border-transparent ax-rounded-default;
|
8
8
|
}
|
9
9
|
&.ax-state-disabled {
|
10
10
|
@include control-states("editor-disabled");
|
@@ -1,14 +1,12 @@
|
|
1
1
|
@layer components {
|
2
2
|
.ax-list {
|
3
|
-
display: block;
|
4
3
|
@apply ax-h-full ax-flex ax-flex-col ax-overflow-hidden md:ax-max-h-80;
|
5
|
-
ax-header,
|
6
|
-
ax-footer {
|
4
|
+
.ax-header,
|
5
|
+
.ax-footer {
|
7
6
|
@apply ax-bg-white ax-p-3 ax-border-light-300 dark:ax-border-light-700 ax-flex ax-justify-between ax-items-center;
|
8
7
|
@include control-states("editor");
|
9
8
|
}
|
10
|
-
ax-footer
|
11
|
-
{
|
9
|
+
.ax-footer {
|
12
10
|
@apply ax-border-t;
|
13
11
|
}
|
14
12
|
.ax-content {
|
@@ -29,12 +27,12 @@
|
|
29
27
|
@apply ax-cursor-pointer;
|
30
28
|
|
31
29
|
.ax-list-item-group {
|
32
|
-
|
30
|
+
& > span {
|
33
31
|
@apply ax-font-bold ax-flex ax-items-center ax-px-3 ax-text-sm ax-text-light-900;
|
34
32
|
height: calc(var(--ax-base-size) * var(--ax-base-ratio)) !important;
|
35
33
|
}
|
36
34
|
|
37
|
-
|
35
|
+
& > ul {
|
38
36
|
@apply ax-px-3;
|
39
37
|
}
|
40
38
|
}
|
@@ -49,7 +47,7 @@
|
|
49
47
|
}
|
50
48
|
|
51
49
|
&.ax-state-selected {
|
52
|
-
@apply ax-bg-light-200 ax-text-light-900 ax-font-medium
|
50
|
+
@apply ax-bg-light-200 ax-text-light-900 ax-font-medium;
|
53
51
|
}
|
54
52
|
|
55
53
|
&:not(.ax-check-box) {
|
@@ -72,27 +70,14 @@
|
|
72
70
|
}
|
73
71
|
}
|
74
72
|
|
75
|
-
|
76
73
|
.ax-list-loading-container {
|
77
74
|
@apply ax-flex ax-justify-center ax-p-2;
|
78
75
|
}
|
79
76
|
}
|
80
77
|
}
|
81
78
|
|
82
|
-
.ax-footer {
|
79
|
+
.ax-footer {
|
80
|
+
}
|
83
81
|
}
|
84
|
-
|
85
|
-
|
86
82
|
}
|
87
83
|
|
88
|
-
// .ax-list {
|
89
|
-
// @apply ax-h-full ax-flex ax-flex-col;
|
90
|
-
|
91
|
-
// .ax-list-header {}
|
92
|
-
|
93
|
-
// .ax-list-body {
|
94
|
-
// @apply ax-flex-1 ax-overflow-y-auto ax-overflow-x-hidden;
|
95
|
-
// }
|
96
|
-
|
97
|
-
// .ax-list-footer {}
|
98
|
-
// }
|
@@ -1,11 +1,6 @@
|
|
1
1
|
@layer components {
|
2
|
-
|
3
|
-
.ax-loading {
|
4
|
-
}
|
5
|
-
|
6
2
|
.ax-loading-host {
|
7
3
|
.ax-loading {
|
8
|
-
|
9
4
|
position: relative;
|
10
5
|
background: rgba(var(--ax-color-white) 2);
|
11
6
|
width: 4rem;
|
@@ -32,6 +27,18 @@
|
|
32
27
|
@apply ax-bg-primary-500;
|
33
28
|
animation: pulse2 2s 1s ease-in-out infinite;
|
34
29
|
}
|
30
|
+
@keyframes pulse2 {
|
31
|
+
0%,
|
32
|
+
100% {
|
33
|
+
transform: translate(-50%, -50%) scale(0);
|
34
|
+
opacity: 1;
|
35
|
+
}
|
36
|
+
|
37
|
+
50% {
|
38
|
+
transform: translate(-50%, -50%) scale(1);
|
39
|
+
opacity: 0;
|
40
|
+
}
|
41
|
+
}
|
35
42
|
}
|
36
43
|
}
|
37
44
|
|
@@ -39,21 +46,7 @@
|
|
39
46
|
background: rgba(var(--ax-color-white) 2);
|
40
47
|
}
|
41
48
|
|
42
|
-
ax-loading-spinner{
|
49
|
+
.ax-loading-spinner {
|
43
50
|
@apply ax-flex;
|
44
51
|
}
|
45
|
-
|
46
|
-
@keyframes pulse2 {
|
47
|
-
|
48
|
-
0%,
|
49
|
-
100% {
|
50
|
-
transform: translate(-50%, -50%) scale(0);
|
51
|
-
opacity: 1;
|
52
|
-
}
|
53
|
-
|
54
|
-
50% {
|
55
|
-
transform: translate(-50%, -50%) scale(1);
|
56
|
-
opacity: 0;
|
57
|
-
}
|
58
|
-
}
|
59
|
-
}
|
52
|
+
}
|