@acorex/styles 5.6.0 → 5.9.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 +195 -0
- package/index.scss +3 -4
- package/package.json +1 -1
- package/src/base/index.scss +3 -1
- package/src/components/_action-sheet.scss +1 -1
- package/src/components/_alert.scss +310 -42
- package/src/components/_avatar.scss +1 -1
- package/src/components/_badge.scss +146 -26
- package/src/components/_breadcrumbs.scss +12 -8
- package/src/components/_button.scss +340 -397
- package/src/components/_calendar.scss +36 -18
- package/src/components/_collapse.scss +5 -11
- package/src/components/_color-palette.scss +33 -23
- package/src/components/_color-picker.scss +1 -1
- package/src/components/_data-table.scss +30 -5
- package/src/components/_datapager.scss +35 -26
- package/src/components/_decoration.scss +17 -9
- package/src/components/_drawer.scss +5 -1
- package/src/components/_dropdown.scss +6 -2
- package/src/components/_editor-container.scss +7 -2
- package/src/components/_fieldset.scss +1 -1
- package/src/components/_input.scss +1 -1
- package/src/components/_menu.scss +1 -1
- package/src/components/_popup.scss +7 -3
- package/src/components/_progress.scss +9 -10
- package/src/components/_range-slider.scss +195 -7
- package/src/components/_result.scss +2 -2
- package/src/components/_selection-list.scss +1 -1
- package/src/components/_table.scss +40 -7
- package/src/components/_tabs.scss +3 -3
- package/src/icons/demo-files/demo.css +152 -152
- package/src/icons/demo-files/demo.js +30 -30
- package/src/icons/demo.html +556 -542
- package/src/icons/fonts/acorex-icon.eot +0 -0
- package/src/icons/fonts/acorex-icon.svg +46 -45
- package/src/icons/fonts/acorex-icon.ttf +0 -0
- package/src/icons/fonts/acorex-icon.woff +0 -0
- package/src/icons/selection.json +1 -1
- package/src/icons/style.css +138 -135
- package/src/icons/style.scss +215 -210
- package/src/icons/variables.scss +41 -40
- package/src/utility/_mixins.scss +6 -69
- package/src/utility/index.scss +3 -3
- package/src/variables/_colors.scss +15 -14
@@ -1,9 +1,25 @@
|
|
1
1
|
@layer components {
|
2
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
|
-
@include screen(mobile){
|
4
|
+
@include screen(mobile) {
|
5
5
|
@apply ax-w-full;
|
6
6
|
}
|
7
|
+
&.ax-rtl {
|
8
|
+
.ax-calendar-header {
|
9
|
+
.ax-calendar-header-buttons {
|
10
|
+
.ax-prev-button {
|
11
|
+
ax-icon {
|
12
|
+
@apply ax-rotate-180;
|
13
|
+
}
|
14
|
+
}
|
15
|
+
.ax-next-button {
|
16
|
+
ax-icon {
|
17
|
+
@apply ax-rotate-0;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
21
|
+
}
|
22
|
+
}
|
7
23
|
&.ax-state-disabled {
|
8
24
|
.ax-calendar-slots {
|
9
25
|
@apply ax-opacity-50 ax-cursor-default;
|
@@ -12,19 +28,23 @@
|
|
12
28
|
|
13
29
|
.ax-calendar-header {
|
14
30
|
@apply ax-flex ax-justify-between ax-py-1 ax-px-2 ax-border-b ax-border-light-300 ax-border-solid dark:ax-border-transparent;
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
31
|
+
.ax-calendar-header-buttons {
|
32
|
+
@apply ax-flex;
|
33
|
+
.ax-prev-button {
|
34
|
+
ax-icon {
|
35
|
+
@apply ax-rotate-0;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
.ax-next-button {
|
39
|
+
ax-icon {
|
40
|
+
@apply ax-rotate-180;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
24
44
|
}
|
25
45
|
|
26
46
|
.ax-calendar-body {
|
27
|
-
@apply ax-m-2
|
47
|
+
@apply ax-m-2;
|
28
48
|
|
29
49
|
.ax-calendar-slots {
|
30
50
|
@apply ax-grid;
|
@@ -157,17 +177,15 @@
|
|
157
177
|
@apply ax-flex ax-justify-center ax-p-2 ax-bg-light-100 dark:ax-bg-transparent dark:ax-border-transparent;
|
158
178
|
}
|
159
179
|
}
|
160
|
-
.ax-calendar-picker{
|
180
|
+
.ax-calendar-picker {
|
161
181
|
@apply ax-flex ax-w-full;
|
162
|
-
ax-picker{
|
182
|
+
ax-picker {
|
163
183
|
@apply ax-flex-1;
|
164
184
|
}
|
165
185
|
}
|
166
|
-
.ax-overlay-pane
|
167
|
-
|
168
|
-
|
169
|
-
{
|
170
|
-
@apply ax-border-none
|
186
|
+
.ax-overlay-pane {
|
187
|
+
ax-calendar {
|
188
|
+
@apply ax-border-none;
|
171
189
|
}
|
172
190
|
}
|
173
191
|
}
|
@@ -1,8 +1,7 @@
|
|
1
1
|
@layer components {
|
2
2
|
ax-collpase,
|
3
3
|
.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");
|
4
|
+
@apply ax-border ax-border-light-200 dark:ax-border-white/10 ax-block ax-text-sm ax-rounded-default ax-overflow-hidden;
|
6
5
|
|
7
6
|
.ax-collapse-header {
|
8
7
|
@apply ax-cursor-pointer ax-select-none;
|
@@ -18,15 +17,11 @@
|
|
18
17
|
@apply ax-border-b-0;
|
19
18
|
}
|
20
19
|
}
|
21
|
-
.ax-collapse-custom-header-container {
|
22
|
-
@apply ax-bg-light-100 ax-border-b ax-border-light-
|
23
|
-
@include control-states("surface");
|
24
|
-
|
20
|
+
.ax-collapse-custom-header-container,.ax-collapse-header-container {
|
21
|
+
@apply ax-bg-light-100 dark:ax-bg-white/10 ax-border-b ax-border-light-100 dark:ax-border-white/10;
|
25
22
|
}
|
26
23
|
.ax-collapse-header-container {
|
27
|
-
@apply ax-flex ax-justify-between ax-
|
28
|
-
@include control-states("surface");
|
29
|
-
|
24
|
+
@apply ax-flex ax-justify-between ax-p-3 ;
|
30
25
|
.ax-collapse-arrow {
|
31
26
|
@apply ax-inline-block ax-text-xl ax-me-2 ax-rotate-90;
|
32
27
|
}
|
@@ -37,8 +32,7 @@
|
|
37
32
|
}
|
38
33
|
}
|
39
34
|
.ax-collapse-group {
|
40
|
-
@apply ax-block ax-border ax-border-light-200 ax-rounded ax-overflow-hidden;
|
41
|
-
@include control-states('surface');
|
35
|
+
@apply ax-block ax-border ax-border-light-200 dark:ax-border-white/10 ax-rounded-default ax-overflow-hidden;
|
42
36
|
|
43
37
|
ax-collpase,
|
44
38
|
.ax-collapse {
|
@@ -19,11 +19,11 @@
|
|
19
19
|
|
20
20
|
ax-header,
|
21
21
|
ax-footer {
|
22
|
-
@apply ax-border-t ax-bg-white ax-p-3 ax-border-light-300 dark:ax-border-light-700 ax-flex
|
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
|
}
|
@@ -90,26 +90,36 @@
|
|
90
90
|
background: linear-gradient(to top, rgb(0, 0, 0), rgba(0, 0, 0, 0));
|
91
91
|
@apply ax-h-full ax-w-full ax-absolute ax-inset-0;
|
92
92
|
}
|
93
|
+
|
93
94
|
}
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
95
|
+
|
96
|
+
ax-range-slider
|
97
|
+
{
|
98
|
+
&.ax-color-picker-gradient
|
99
|
+
{
|
100
|
+
input {
|
101
|
+
background: linear-gradient(
|
102
|
+
to right,
|
103
|
+
rgb(255, 0, 0) 0%,
|
104
|
+
rgb(255, 255, 0) 17%,
|
105
|
+
rgb(0, 255, 0) 33%,
|
106
|
+
rgb(0, 255, 255) 50%,
|
107
|
+
rgb(0, 0, 255) 67%,
|
108
|
+
rgb(255, 0, 255) 83%,
|
109
|
+
rgb(255, 0, 0) 100%
|
110
|
+
);
|
111
|
+
}
|
112
|
+
}
|
109
113
|
}
|
110
|
-
|
111
|
-
|
112
|
-
|
114
|
+
ax-range-slider
|
115
|
+
{
|
116
|
+
&.ax-color-picker-transparent
|
117
|
+
{
|
118
|
+
input {
|
119
|
+
background-image: linear-gradient(to right, rgb(245, 246, 252, 0%), rgb(0, 0, 0, 100%)),
|
120
|
+
url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAADFJREFUOE9jZGBgEGHAD97gk2YcNYBhmIQBgWSAP52AwoAQwJvQRg1gACckQoC2gQgAIF8IscwEtKYAAAAASUVORK5CYII=");
|
121
|
+
}
|
122
|
+
}
|
113
123
|
}
|
114
124
|
}
|
115
125
|
}
|
@@ -4,7 +4,7 @@
|
|
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,15 +1,40 @@
|
|
1
1
|
@layer components {
|
2
2
|
ax-data-table {
|
3
|
-
@apply ax-
|
3
|
+
@apply ax-flex ax-flex-col ax-rounded-default ax-border ax-border-light-200 dark:ax-border-white/10;
|
4
|
+
|
5
|
+
.ax-wrapper
|
6
|
+
{
|
7
|
+
@apply ax-flex ax-flex-1 ax-overflow-auto;
|
8
|
+
}
|
9
|
+
|
10
|
+
&>ax-header,
|
11
|
+
&>ax-footer
|
12
|
+
{
|
13
|
+
@apply ax-p-2;
|
14
|
+
ax-data-pager
|
15
|
+
{
|
16
|
+
@apply ax-border-0 ax-p-0 ax-shadow-none ax-flex-1 ax-bg-transparent;
|
17
|
+
}
|
18
|
+
}
|
19
|
+
&>ax-header
|
20
|
+
{
|
21
|
+
@apply ax-border-b;
|
22
|
+
}
|
23
|
+
&>ax-footer
|
24
|
+
{
|
25
|
+
@apply ax-border-t;
|
26
|
+
|
27
|
+
}
|
4
28
|
|
5
29
|
table {
|
6
30
|
@apply ax-relative ax-border-none ax-border-0;
|
7
31
|
|
8
32
|
thead {
|
9
|
-
@apply ax-sticky ax-top-0
|
10
|
-
|
11
|
-
|
12
|
-
|
33
|
+
@apply ax-sticky ax-top-0;
|
34
|
+
}
|
35
|
+
td,
|
36
|
+
th{
|
37
|
+
@apply ax-truncate;
|
13
38
|
}
|
14
39
|
}
|
15
40
|
}
|
@@ -1,39 +1,48 @@
|
|
1
1
|
@layer components {
|
2
|
-
|
3
|
-
@apply ax-flex ax-flex-
|
2
|
+
ax-data-pager {
|
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
|
.ax-button-group {
|
5
6
|
@apply ax-border-none;
|
7
|
+
|
6
8
|
ax-button {
|
7
|
-
@apply ax-border-none ax-rounded
|
9
|
+
@apply ax-border-none ax-rounded;
|
8
10
|
}
|
9
11
|
}
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
12
|
+
|
13
|
+
ax-data-pager-next-buttons,
|
14
|
+
ax-data-pager-prev-buttons,
|
15
|
+
ax-data-pager-numeric-selector,
|
16
|
+
ax-data-pager-page-sizes {
|
17
|
+
@apply ax-flex ax-flex-initial ax-gap-2;
|
18
|
+
}
|
19
|
+
|
20
|
+
ax-data-pager-info {
|
21
|
+
@apply ax-flex ax-justify-start md:ax-justify-end ax-items-center ax-text-sm;
|
22
|
+
}
|
23
|
+
|
24
|
+
ax-button {
|
25
|
+
@apply ax-text-base #{!important};
|
26
|
+
|
27
|
+
&.ax-state-disabled {
|
28
|
+
@apply ax-border-none;
|
24
29
|
}
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
30
|
+
}
|
31
|
+
|
32
|
+
ax-data-pager-page-sizes {
|
33
|
+
@apply ax-flex ax-justify-start ax-gap-1 ax-items-center #{!important};
|
34
|
+
|
35
|
+
span {
|
36
|
+
@apply ax-text-sm;
|
29
37
|
}
|
30
38
|
}
|
31
|
-
|
32
|
-
|
33
|
-
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
ax-data-pager-input-selector {
|
34
44
|
.ax-input {
|
35
|
-
width: calc(var(--ax-base-size) * var(--ax-base-ratio) * 1.5);
|
36
|
-
text-align: center;
|
45
|
+
width: calc(var(--ax-base-size) * var(--ax-base-ratio) * 1.5) #{!important};
|
37
46
|
}
|
38
47
|
}
|
39
48
|
}
|
@@ -1,18 +1,26 @@
|
|
1
1
|
@layer components {
|
2
2
|
|
3
|
+
.ax-decoration-container,
|
4
|
+
ax-header,
|
5
|
+
ax-footer
|
6
|
+
{
|
7
|
+
@apply ax-flex ax-justify-between ax-items-center ax-gap-2;
|
3
8
|
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
@apply ax-
|
9
|
+
&>ax-prefix,
|
10
|
+
&>ax-suffix {
|
11
|
+
@apply ax-flex ax-flex-auto ax-flex-row ax-gap-2 ax-items-center ;
|
12
|
+
}
|
13
|
+
&>ax-prefix{
|
14
|
+
@apply ax-order-first ax-justify-start ax-items-center ;
|
15
|
+
}
|
16
|
+
&>ax-suffix {
|
17
|
+
@apply ax-order-last ax-justify-end ax-items-center ;
|
10
18
|
}
|
11
|
-
}
|
12
19
|
|
20
|
+
}
|
13
21
|
|
14
22
|
ax-title {
|
15
|
-
@apply ax-font-
|
23
|
+
@apply ax-font-normal;
|
16
24
|
}
|
17
25
|
|
18
26
|
ax-icon {
|
@@ -23,7 +31,7 @@
|
|
23
31
|
ax-icon {
|
24
32
|
@apply ax-text-light-300 dark:ax-text-light-200 ax-cursor-pointer ax-text-xl;
|
25
33
|
&:hover {
|
26
|
-
@apply ax-text-light-
|
34
|
+
@apply ax-text-light-400 dark:ax-text-light-100;
|
27
35
|
}
|
28
36
|
}
|
29
37
|
}
|
@@ -18,13 +18,17 @@
|
|
18
18
|
@apply ax-flex ax-flex-col ax-max-w-[95%] ax-h-full ax-animate-duration-300 ax-transition-all #{!important};
|
19
19
|
ax-header,
|
20
20
|
ax-footer {
|
21
|
-
@apply
|
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
24
|
ax-footer
|
25
25
|
{
|
26
26
|
@apply ax-border-t;
|
27
27
|
}
|
28
|
+
ax-header
|
29
|
+
{
|
30
|
+
@apply ax-border-b;
|
31
|
+
}
|
28
32
|
&.ax-preload {
|
29
33
|
@apply ax-animate-duration-[0ms] ax-transition-none #{!important};
|
30
34
|
}
|
@@ -16,13 +16,17 @@
|
|
16
16
|
@include control-states("surface");
|
17
17
|
ax-header,
|
18
18
|
ax-footer {
|
19
|
-
@apply ax-bg-white ax-p-3 ax-border-light-300 dark:ax-border-light-700
|
19
|
+
@apply ax-bg-white ax-p-3 ax-border-light-300 dark:ax-border-light-700 ;
|
20
20
|
@include control-states("editor");
|
21
21
|
}
|
22
22
|
ax-footer
|
23
23
|
{
|
24
24
|
@apply ax-border-t;
|
25
25
|
}
|
26
|
+
ax-header
|
27
|
+
{
|
28
|
+
@apply ax-border-b;
|
29
|
+
}
|
26
30
|
@include screen(mobile){
|
27
31
|
@apply ax-rounded-b-none;
|
28
32
|
}
|
@@ -54,7 +58,7 @@
|
|
54
58
|
ax-button-item {
|
55
59
|
height: calc(var(--ax-base-size) * var(--ax-base-ratio)) !important;
|
56
60
|
line-height: calc((var(--ax-base-size) * var(--ax-base-ratio)) / 2) !important;
|
57
|
-
@apply ax-relative ax-inline-flex ax-items-center ax-justify-start ax-px-
|
61
|
+
@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;
|
58
62
|
|
59
63
|
&.ax-divide {
|
60
64
|
@apply ax-border-t ax-border ax-border-solid;
|
@@ -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 {
|
@@ -57,7 +57,7 @@
|
|
57
57
|
*,
|
58
58
|
ax-button,
|
59
59
|
ax-addon {
|
60
|
-
@apply
|
60
|
+
@apply ax-rounded-s;
|
61
61
|
}
|
62
62
|
}
|
63
63
|
|
@@ -99,6 +99,11 @@
|
|
99
99
|
@apply ax-text-base;
|
100
100
|
}
|
101
101
|
}
|
102
|
+
&.ax-light-blank{
|
103
|
+
&:hover{
|
104
|
+
@apply ax-bg-transparent #{!important};
|
105
|
+
}
|
106
|
+
}
|
102
107
|
}
|
103
108
|
|
104
109
|
&.ax-state-disabled {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
@layer components{
|
2
2
|
fieldset{
|
3
|
-
@apply ax-grid ax-col-span-6 ax-grid-cols-6 ax-gap-4 ax-border ax-border-solid ax-border-
|
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");
|
@@ -18,7 +18,7 @@
|
|
18
18
|
}
|
19
19
|
|
20
20
|
a {
|
21
|
-
@apply ax-no-underline ax-flex ax-justify-between ax-items-center ax-mb-2 ax-px-2.5 ax-py-3 ax-rounded-
|
21
|
+
@apply ax-no-underline ax-flex ax-justify-between ax-items-center ax-mb-2 ax-px-2.5 ax-py-3 ax-rounded-default;
|
22
22
|
|
23
23
|
&.active {
|
24
24
|
@apply ax-bg-primary-100 ax-text-primary-500 dark:ax-bg-primary-500 dark:ax-text-primary-fore;
|
@@ -1,17 +1,21 @@
|
|
1
1
|
@layer components {
|
2
2
|
|
3
3
|
.ax-popup {
|
4
|
-
@apply ax-flex ax-flex-col ax-bg-white ax-w-6/12 ax-shadow-lg ax-border ax-border-solid ax-border-light-300 ax-rounded ax-outline-none ax-p-0 ax-max-h-[98vh] ax-min-h-fit ax-mx-auto;
|
4
|
+
@apply ax-flex ax-flex-col ax-bg-white ax-w-6/12 ax-shadow-lg ax-border ax-border-solid ax-border-light-300 ax-rounded ax-outline-none ax-p-0 ax-max-h-[98vh] ax-min-h-fit ax-mx-auto ax-overflow-hidden;
|
5
5
|
@include control-states("surface");
|
6
6
|
ax-header,
|
7
7
|
ax-footer {
|
8
|
-
@apply ax-bg-white ax-p-
|
9
|
-
@include control-states("
|
8
|
+
@apply ax-bg-white ax-p-4 ax-border-light-200 dark:ax-border-light-700;
|
9
|
+
@include control-states("surface");
|
10
10
|
}
|
11
11
|
ax-footer
|
12
12
|
{
|
13
13
|
@apply ax-border-t;
|
14
14
|
}
|
15
|
+
ax-header
|
16
|
+
{
|
17
|
+
@apply ax-border-b;
|
18
|
+
}
|
15
19
|
.ax-popup-main-container {
|
16
20
|
@apply ax-overflow-auto ax-flex-1;
|
17
21
|
}
|
@@ -9,8 +9,7 @@
|
|
9
9
|
@apply ax-ps-2;
|
10
10
|
}
|
11
11
|
.ax-progress-bar-container {
|
12
|
-
@apply ax-w-full ax-h-2 ax-relative ax-bg-light-200 ax-flex ax-rounded-full;
|
13
|
-
@include control-states("editor");
|
12
|
+
@apply ax-w-full ax-h-2 ax-relative ax-bg-light-200 dark:ax-bg-white/10 ax-flex ax-rounded-full;
|
14
13
|
.ax-progress-bar-rise {
|
15
14
|
max-width: 100%;
|
16
15
|
transition: width 1s;
|
@@ -20,42 +19,42 @@
|
|
20
19
|
|
21
20
|
&.ax-primary-default {
|
22
21
|
.ax-progress-bar-rise {
|
23
|
-
@apply ax-bg-primary-500;
|
22
|
+
@apply ax-bg-primary-500 dark:ax-bg-primary-800;
|
24
23
|
}
|
25
24
|
}
|
26
25
|
&.ax-secondary-default {
|
27
26
|
.ax-progress-bar-rise {
|
28
|
-
@apply ax-bg-secondary-500;
|
27
|
+
@apply ax-bg-secondary-500 dark:ax-bg-secondary-800;
|
29
28
|
}
|
30
29
|
}
|
31
30
|
&.ax-success-default {
|
32
31
|
.ax-progress-bar-rise {
|
33
|
-
@apply ax-bg-success-500;
|
32
|
+
@apply ax-bg-success-500 dark:ax-bg-success-800;
|
34
33
|
}
|
35
34
|
}
|
36
35
|
&.ax-warning-default {
|
37
36
|
.ax-progress-bar-rise {
|
38
|
-
@apply ax-bg-warning-500;
|
37
|
+
@apply ax-bg-warning-500 dark:ax-bg-warning-800;
|
39
38
|
}
|
40
39
|
}
|
41
40
|
&.ax-danger-default {
|
42
41
|
.ax-progress-bar-rise {
|
43
|
-
@apply ax-bg-danger-500;
|
42
|
+
@apply ax-bg-danger-500 dark:ax-bg-danger-800;
|
44
43
|
}
|
45
44
|
}
|
46
45
|
&.ax-info-default {
|
47
46
|
.ax-progress-bar-rise {
|
48
|
-
@apply ax-bg-info-500;
|
47
|
+
@apply ax-bg-info-500 dark:ax-bg-info-800;
|
49
48
|
}
|
50
49
|
}
|
51
50
|
&.ax-light-default {
|
52
51
|
.ax-progress-bar-rise {
|
53
|
-
@apply ax-bg-light-300;
|
52
|
+
@apply ax-bg-light-300 dark:ax-border-light-500;
|
54
53
|
}
|
55
54
|
}
|
56
55
|
&.ax-dark-default {
|
57
56
|
.ax-progress-bar-rise {
|
58
|
-
@apply ax-bg-dark-500 dark:ax-bg-dark-
|
57
|
+
@apply ax-bg-dark-500 dark:ax-bg-dark-200;
|
59
58
|
}
|
60
59
|
}
|
61
60
|
}
|