@acorex/styles 5.4.0 → 5.7.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/package.json +1 -1
- package/src/base/index.scss +0 -1
- package/src/components/_alert.scss +34 -28
- package/src/components/_button.scss +510 -394
- package/src/components/_calendar.scss +36 -18
- package/src/components/_collapse.scss +5 -4
- package/src/components/_color-palette.scss +90 -9
- package/src/components/_color-picker.scss +15 -5
- package/src/components/_data-table.scss +41 -0
- package/src/components/_datapager.scss +35 -26
- package/src/components/_decoration.scss +16 -11
- package/src/components/_dialog.scss +2 -2
- package/src/components/_drawer.scss +13 -5
- package/src/components/_dropdown.scss +10 -2
- package/src/components/_editor-container.scss +10 -5
- package/src/components/_fieldset.scss +1 -1
- package/src/components/_list.scss +4 -0
- package/src/components/_popup.scss +9 -1
- package/src/components/_range-slider.scss +59 -2
- package/src/components/_table.scss +40 -7
- package/src/components/_tabs.scss +12 -8
- package/src/components/index.scss +2 -1
- package/src/icons/demo-files/demo.css +152 -152
- package/src/icons/demo-files/demo.js +30 -30
- package/src/icons/demo.html +57 -1
- package/src/icons/fonts/acorex-icon.eot +0 -0
- package/src/icons/fonts/acorex-icon.svg +4 -0
- 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 +17 -5
- package/src/icons/style.scss +25 -5
- package/src/icons/variables.scss +4 -0
- package/src/utility/_mixins.scss +32 -25
- package/src/utility/index.scss +7 -0
- 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
|
}
|
@@ -2,7 +2,8 @@
|
|
2
2
|
ax-collpase,
|
3
3
|
.ax-collapse {
|
4
4
|
@apply ax-border ax-border-light-200 ax-block ax-text-sm ax-rounded ax-overflow-hidden;
|
5
|
-
@include control-states("
|
5
|
+
@include control-states("surface");
|
6
|
+
|
6
7
|
.ax-collapse-header {
|
7
8
|
@apply ax-cursor-pointer ax-select-none;
|
8
9
|
|
@@ -19,12 +20,12 @@
|
|
19
20
|
}
|
20
21
|
.ax-collapse-custom-header-container {
|
21
22
|
@apply ax-bg-light-100 ax-border-b ax-border-light-200;
|
22
|
-
@include control-states("
|
23
|
+
@include control-states("surface");
|
23
24
|
|
24
25
|
}
|
25
26
|
.ax-collapse-header-container {
|
26
27
|
@apply ax-flex ax-justify-between ax-px-3 ax-py-1.5 ax-bg-light-100 ax-border-b ax-border-light-100;
|
27
|
-
@include control-states("
|
28
|
+
@include control-states("surface");
|
28
29
|
|
29
30
|
.ax-collapse-arrow {
|
30
31
|
@apply ax-inline-block ax-text-xl ax-me-2 ax-rotate-90;
|
@@ -37,7 +38,7 @@
|
|
37
38
|
}
|
38
39
|
.ax-collapse-group {
|
39
40
|
@apply ax-block ax-border ax-border-light-200 ax-rounded ax-overflow-hidden;
|
40
|
-
@include control-states('
|
41
|
+
@include control-states('surface');
|
41
42
|
|
42
43
|
ax-collpase,
|
43
44
|
.ax-collapse {
|
@@ -1,25 +1,43 @@
|
|
1
1
|
@layer components {
|
2
2
|
ax-color-palette {
|
3
|
-
@apply ax-
|
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;
|
6
6
|
|
7
|
+
&.ax-state-disabled {
|
8
|
+
@apply ax-opacity-60 ax-cursor-not-allowed #{!important};
|
9
|
+
ax-color-palette-swatches,
|
10
|
+
ax-color-palette-favorite {
|
11
|
+
div {
|
12
|
+
&:hover,
|
13
|
+
&.ax-state-selected {
|
14
|
+
@apply ax-ring-0 ax-cursor-not-allowed #{!important};
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
19
|
+
|
7
20
|
ax-header,
|
8
21
|
ax-footer {
|
9
|
-
@apply 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;
|
10
23
|
@include control-states("editor");
|
11
24
|
}
|
12
25
|
ax-color-palette-preview {
|
13
|
-
@apply ax-h-20 ax-w-full
|
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/[0.06] ax-transition-all;
|
27
|
+
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAADFJREFUOE9jZGBgEGHAD97gk2YcNYBhmIQBgWSAP52AwoAQwJvQRg1gACckQoC2gQgAIF8IscwEtKYAAAAASUVORK5CYII=")
|
28
|
+
left center;
|
29
|
+
.palette-preview-overlay {
|
30
|
+
@apply ax-absolute ax-left-0 ax-w-full ax-h-full ax-flex ax-items-center ax-justify-center;
|
31
|
+
}
|
14
32
|
}
|
15
33
|
|
16
34
|
ax-color-palette-favorite {
|
17
|
-
@apply ax-
|
35
|
+
@apply ax-border-t ax-border-light-200 dark:ax-border-white/[0.06] ax-block;
|
18
36
|
}
|
19
37
|
|
20
|
-
|
38
|
+
ax-color-palette-swatches,
|
39
|
+
ax-color-palette-favorite {
|
21
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;
|
22
|
-
|
23
41
|
div {
|
24
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/[0.06];
|
25
43
|
|
@@ -42,8 +60,8 @@
|
|
42
60
|
}
|
43
61
|
}
|
44
62
|
|
45
|
-
|
46
|
-
@apply ax-flex ax-gap-2
|
63
|
+
ax-color-palette-input {
|
64
|
+
@apply ax-flex ax-gap-2 ax-p-2 ax-pt-0;
|
47
65
|
|
48
66
|
.palette-inputs {
|
49
67
|
@apply ax-flex ax-flex-1 ax-gap-2;
|
@@ -55,7 +73,70 @@
|
|
55
73
|
}
|
56
74
|
}
|
57
75
|
}
|
58
|
-
|
76
|
+
}
|
77
|
+
|
78
|
+
ax-color-palette-picker {
|
79
|
+
@apply ax-flex ax-flex-col ax-gap-2 ax-p-2;
|
80
|
+
.ax-color-picker-overlay {
|
81
|
+
@apply ax-block ax-w-full ax-h-32 ax-bg-fuchsia-700 ax-relative;
|
82
|
+
.ax-color-picker-pointer {
|
83
|
+
@apply ax-w-3 ax-h-3 ax-rounded-full ax-bg-transparent ax-border ax-border-white ax-shadow-md;
|
84
|
+
}
|
85
|
+
.ax-color-picker-overlay-color {
|
86
|
+
background: linear-gradient(to right, rgb(255, 255, 255), rgba(255, 255, 255, 0));
|
87
|
+
@apply ax-h-full ax-w-full ax-absolute ax-inset-0;
|
88
|
+
}
|
89
|
+
.ax-color-picker-overlay-gradient {
|
90
|
+
background: linear-gradient(to top, rgb(0, 0, 0), rgba(0, 0, 0, 0));
|
91
|
+
@apply ax-h-full ax-w-full ax-absolute ax-inset-0;
|
92
|
+
}
|
93
|
+
|
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
|
+
|
112
|
+
ax-range-slider
|
113
|
+
{
|
114
|
+
&.ax-color-picker-gradient
|
115
|
+
{
|
116
|
+
input {
|
117
|
+
background: linear-gradient(
|
118
|
+
to right,
|
119
|
+
rgb(255, 0, 0) 0%,
|
120
|
+
rgb(255, 255, 0) 17%,
|
121
|
+
rgb(0, 255, 0) 33%,
|
122
|
+
rgb(0, 255, 255) 50%,
|
123
|
+
rgb(0, 0, 255) 67%,
|
124
|
+
rgb(255, 0, 255) 83%,
|
125
|
+
rgb(255, 0, 0) 100%
|
126
|
+
);
|
127
|
+
}
|
128
|
+
}
|
129
|
+
}
|
130
|
+
ax-range-slider
|
131
|
+
{
|
132
|
+
&.ax-color-picker-transparent
|
133
|
+
{
|
134
|
+
input {
|
135
|
+
background-image: linear-gradient(to right, rgb(245, 246, 252, 0%), rgb(0, 0, 0, 100%)),
|
136
|
+
url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAADFJREFUOE9jZGBgEGHAD97gk2YcNYBhmIQBgWSAP52AwoAQwJvQRg1gACckQoC2gQgAIF8IscwEtKYAAAAASUVORK5CYII=");
|
137
|
+
}
|
138
|
+
}
|
139
|
+
}
|
59
140
|
}
|
60
141
|
}
|
61
142
|
}
|
@@ -1,18 +1,28 @@
|
|
1
1
|
@layer components {
|
2
|
-
ax-color-picker{
|
3
|
-
.ax-dropdown-content{
|
2
|
+
ax-color-picker {
|
3
|
+
.ax-dropdown-content {
|
4
4
|
@apply ax-mx-2 ax-flex ax-items-center;
|
5
|
-
|
5
|
+
|
6
|
+
.color-badge {
|
6
7
|
@apply ax-block ax-rounded ax-me-2 ax-shadow-sm ax-border ax-border-light-200 dark:ax-border-white/[0.06];
|
7
8
|
width: calc(var(--ax-base-size) * var(--ax-base-ratio) / 2);
|
8
9
|
height: calc(var(--ax-base-size) * var(--ax-base-ratio) / 2);
|
9
10
|
}
|
10
11
|
}
|
11
12
|
}
|
13
|
+
|
12
14
|
.ax-overlay-pane {
|
13
15
|
ax-color-palette {
|
14
16
|
@apply ax-border-none;
|
17
|
+
|
18
|
+
@include screen(mobile) {
|
19
|
+
@apply ax-w-full;
|
20
|
+
.palette-items {
|
21
|
+
@apply ax-max-h-[30vh] #{!important};
|
22
|
+
}
|
23
|
+
}
|
24
|
+
|
15
25
|
}
|
16
|
-
|
26
|
+
|
17
27
|
}
|
18
|
-
}
|
28
|
+
}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
@layer components {
|
2
|
+
ax-data-table {
|
3
|
+
@apply ax-flex ax-flex-col ax-rounded-md ax-border ax-border-light-200 dark:ax-border-white/[0.06];
|
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
|
+
}
|
28
|
+
|
29
|
+
table {
|
30
|
+
@apply ax-relative ax-border-none ax-border-0;
|
31
|
+
|
32
|
+
thead {
|
33
|
+
@apply ax-sticky ax-top-0;
|
34
|
+
}
|
35
|
+
td,
|
36
|
+
th{
|
37
|
+
@apply ax-truncate;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
@@ -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,17 +1,22 @@
|
|
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
|
|
13
|
-
ax-footer {
|
14
|
-
@apply ax-border-t;
|
15
20
|
}
|
16
21
|
|
17
22
|
ax-title {
|
@@ -24,9 +29,9 @@
|
|
24
29
|
|
25
30
|
ax-close-button {
|
26
31
|
ax-icon {
|
27
|
-
@apply ax-text-light-
|
32
|
+
@apply ax-text-light-100 dark:ax-text-light-200 ax-cursor-pointer ax-text-xl;
|
28
33
|
&:hover {
|
29
|
-
@apply ax-text-light-
|
34
|
+
@apply ax-text-light-300 dark:ax-text-light-100;
|
30
35
|
}
|
31
36
|
}
|
32
37
|
}
|
@@ -30,8 +30,8 @@
|
|
30
30
|
@apply ax-col-span-1;
|
31
31
|
@apply ax-cursor-pointer ax-text-light-400 ax--mt-2.5;
|
32
32
|
}
|
33
|
-
|
34
|
-
@apply ax-col-span-12
|
33
|
+
ax-footer {
|
34
|
+
@apply ax-flex ax-gap-2 ax-col-span-12 ax-justify-end;
|
35
35
|
}
|
36
36
|
&.ax-primary-default {
|
37
37
|
.ax-dialog-icon {
|
@@ -18,9 +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
|
+
ax-footer
|
25
|
+
{
|
26
|
+
@apply ax-border-t;
|
27
|
+
}
|
28
|
+
ax-header
|
29
|
+
{
|
30
|
+
@apply ax-border-b;
|
31
|
+
}
|
24
32
|
&.ax-preload {
|
25
33
|
@apply ax-animate-duration-[0ms] ax-transition-none #{!important};
|
26
34
|
}
|
@@ -45,11 +53,11 @@
|
|
45
53
|
&.ax-drawer-start {
|
46
54
|
|
47
55
|
&.ax-expanded {
|
48
|
-
|
56
|
+
@apply ax-start-0;
|
49
57
|
}
|
50
58
|
|
51
59
|
&.ax-collapsed {
|
52
|
-
|
60
|
+
inset-inline-start: calc(-1 * var(--ax-el-width));
|
53
61
|
}
|
54
62
|
|
55
63
|
}
|
@@ -57,11 +65,11 @@
|
|
57
65
|
&.ax-drawer-end {
|
58
66
|
|
59
67
|
&.ax-expanded {
|
60
|
-
|
68
|
+
@apply ax-end-0;
|
61
69
|
}
|
62
70
|
|
63
71
|
&.ax-collapsed {
|
64
|
-
|
72
|
+
inset-inline-end: calc(-1 * var(--ax-el-width));
|
65
73
|
}
|
66
74
|
}
|
67
75
|
}
|
@@ -16,9 +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
|
+
ax-footer
|
23
|
+
{
|
24
|
+
@apply ax-border-t;
|
25
|
+
}
|
26
|
+
ax-header
|
27
|
+
{
|
28
|
+
@apply ax-border-b;
|
29
|
+
}
|
22
30
|
@include screen(mobile){
|
23
31
|
@apply ax-rounded-b-none;
|
24
32
|
}
|
@@ -50,7 +58,7 @@
|
|
50
58
|
ax-button-item {
|
51
59
|
height: calc(var(--ax-base-size) * var(--ax-base-ratio)) !important;
|
52
60
|
line-height: calc((var(--ax-base-size) * var(--ax-base-ratio)) / 2) !important;
|
53
|
-
@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;
|
54
62
|
|
55
63
|
&.ax-divide {
|
56
64
|
@apply ax-border-t ax-border ax-border-solid;
|
@@ -53,15 +53,15 @@
|
|
53
53
|
box-shadow: none;
|
54
54
|
}
|
55
55
|
}
|
56
|
-
ax-prefix {
|
56
|
+
&>ax-prefix {
|
57
57
|
*,
|
58
58
|
ax-button,
|
59
59
|
ax-addon {
|
60
|
-
@apply
|
60
|
+
@apply ax-rounded-s;
|
61
61
|
}
|
62
62
|
}
|
63
63
|
|
64
|
-
ax-suffix {
|
64
|
+
&>ax-suffix {
|
65
65
|
*,
|
66
66
|
ax-button,
|
67
67
|
ax-addon {
|
@@ -69,8 +69,8 @@
|
|
69
69
|
}
|
70
70
|
}
|
71
71
|
|
72
|
-
ax-prefix,
|
73
|
-
ax-suffix {
|
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
|
}
|
@@ -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;
|
4
4
|
legend{
|
5
5
|
@apply ax-text-sm ax-px-1;
|
6
6
|
}
|
@@ -7,6 +7,10 @@
|
|
7
7
|
@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
8
|
@include control-states("editor");
|
9
9
|
}
|
10
|
+
ax-footer
|
11
|
+
{
|
12
|
+
@apply ax-border-t;
|
13
|
+
}
|
10
14
|
.ax-content {
|
11
15
|
@apply ax-flex-1 ax-overflow-y-auto ax-overflow-x-hidden;
|
12
16
|
|
@@ -5,9 +5,17 @@
|
|
5
5
|
@include control-states("surface");
|
6
6
|
ax-header,
|
7
7
|
ax-footer {
|
8
|
-
@apply ax-bg-white ax-p-3 ax-border-light-300 dark:ax-border-light-700
|
8
|
+
@apply ax-bg-white ax-p-3 ax-border-light-300 dark:ax-border-light-700;
|
9
9
|
@include control-states("editor");
|
10
10
|
}
|
11
|
+
ax-footer
|
12
|
+
{
|
13
|
+
@apply ax-border-t;
|
14
|
+
}
|
15
|
+
ax-header
|
16
|
+
{
|
17
|
+
@apply ax-border-b;
|
18
|
+
}
|
11
19
|
.ax-popup-main-container {
|
12
20
|
@apply ax-overflow-auto ax-flex-1;
|
13
21
|
}
|