@acorex/styles 5.0.4 → 5.0.8
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.scss +3 -2
- package/package.json +10 -10
- package/src/base/_colors.scss +16 -16
- package/src/base/index.scss +11 -7
- package/src/components/_alert.scss +156 -147
- package/src/components/_badge.scss +11 -39
- package/src/components/_button.scss +641 -651
- package/src/components/_calendar.scss +158 -96
- package/src/components/_carousel.scss +36 -61
- package/src/components/_checkbox.scss +24 -24
- package/src/components/_datapager.scss +39 -39
- package/src/components/_datepicker.scss +4 -4
- package/src/components/_dialog.scss +61 -61
- package/src/components/_drawer.scss +79 -79
- package/src/components/_dropdown.scss +140 -177
- package/src/components/_editor-container.scss +76 -69
- package/src/components/_form.scss +7 -7
- package/src/components/_input.scss +17 -16
- package/src/components/_label.scss +4 -4
- package/src/components/_list.scss +48 -48
- package/src/components/_loading.scss +53 -53
- package/src/components/_popup.scss +86 -86
- package/src/components/_radio.scss +19 -30
- package/src/components/_range-slider.scss +13 -13
- package/src/components/_selectbox.scss +15 -15
- package/src/components/_selection-list.scss +28 -28
- package/src/components/_side-menu.scss +46 -46
- package/src/components/_skeleton.scss +24 -24
- package/src/components/_switch.scss +199 -199
- package/src/components/_table.scss +20 -22
- package/src/components/_tabs.scss +209 -117
- package/src/components/_toast.scss +83 -93
- package/src/components/_tooltip.scss +44 -44
- package/src/components/index.scss +28 -28
- package/src/icons/Read Me.txt +7 -0
- package/src/icons/demo-files/demo.css +152 -0
- package/src/icons/demo-files/demo.js +30 -0
- package/src/icons/demo.html +416 -0
- package/src/icons/fonts/acorex-icon.svg +37 -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 -0
- package/src/icons/style.css +107 -0
- package/src/icons/style.scss +164 -0
- package/src/icons/variables.scss +31 -0
- package/src/variables/_colors.scss +135 -135
- package/src/variables/_mixins.scss +18 -18
@@ -1,97 +1,159 @@
|
|
1
|
-
@import "../variables/mixins";
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
.ax-calendar-
|
16
|
-
@apply ax-
|
17
|
-
|
18
|
-
.ax-
|
19
|
-
@apply ax-
|
20
|
-
}
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
}
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
}
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
}
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
@apply ax-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
}
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
1
|
+
@import "../variables/mixins";
|
2
|
+
|
3
|
+
@layer components {
|
4
|
+
ax-calendar {
|
5
|
+
@apply ax-block ax-border ax-border-solid ax-border-default ax-rounded ax-bg-white ax-select-none;
|
6
|
+
|
7
|
+
&.ax-state-disabled
|
8
|
+
{
|
9
|
+
.ax-calendar-slots
|
10
|
+
{
|
11
|
+
@apply ax-opacity-50 ax-cursor-default;
|
12
|
+
}
|
13
|
+
}
|
14
|
+
|
15
|
+
.ax-calendar-header {
|
16
|
+
@apply ax-grid ax-grid-cols-12 ax-py-1 ax-px-2 ax-border-b ax-border-default ax-border-solid;
|
17
|
+
|
18
|
+
.ax-nav-button {
|
19
|
+
@apply ax-col-span-8 ax-justify-start;
|
20
|
+
}
|
21
|
+
|
22
|
+
.ax-prev-button,
|
23
|
+
.ax-next-button {
|
24
|
+
@apply ax-col-span-2 ax-justify-center ax-ms-1;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
28
|
+
.ax-calendar-body {
|
29
|
+
@apply ax-m-2;
|
30
|
+
|
31
|
+
.ax-calendar-slots {
|
32
|
+
@apply ax-grid;
|
33
|
+
|
34
|
+
&>div {
|
35
|
+
@apply ax-text-sm ax-text-black ax-text-center ax-relative ax-flex ax-items-center ax-justify-center ax-cursor-pointer ax-m-0.5 ax-rounded;
|
36
|
+
|
37
|
+
&::before {
|
38
|
+
content: '';
|
39
|
+
padding-top: 100%;
|
40
|
+
float: left;
|
41
|
+
}
|
42
|
+
|
43
|
+
&::after {
|
44
|
+
content: '';
|
45
|
+
display: block;
|
46
|
+
clear: both;
|
47
|
+
}
|
48
|
+
|
49
|
+
&:hover {
|
50
|
+
@apply ax-bg-light-100;
|
51
|
+
}
|
52
|
+
|
53
|
+
&.ax-state-disabled {
|
54
|
+
@apply ax-text-gray-300 ax-cursor-default;
|
55
|
+
&:hover {
|
56
|
+
@apply ax-bg-transparent ax-text-gray-300;
|
57
|
+
}
|
58
|
+
// &::after {
|
59
|
+
// @apply ax-text-sm ax-cursor-not-allowed ax-text-danger-600;
|
60
|
+
// position: absolute;
|
61
|
+
// content: "\03a7";
|
62
|
+
// margin: auto;
|
63
|
+
// }
|
64
|
+
}
|
65
|
+
|
66
|
+
&.ax-state-holiday {
|
67
|
+
@apply ax-text-danger;
|
68
|
+
&:hover {
|
69
|
+
@apply ax-text-black;
|
70
|
+
}
|
71
|
+
}
|
72
|
+
|
73
|
+
&.ax-state-today {
|
74
|
+
@apply ax-bg-opacity-50 ax-bg-primary-50 ax-text-primary;
|
75
|
+
&:hover {
|
76
|
+
@apply ax-text-primary;
|
77
|
+
}
|
78
|
+
}
|
79
|
+
|
80
|
+
&.ax-state-other {
|
81
|
+
@apply ax-opacity-50;
|
82
|
+
}
|
83
|
+
|
84
|
+
&.ax-state-selected {
|
85
|
+
@apply ax-bg-primary ax-text-primary-fore ax-opacity-100;
|
86
|
+
|
87
|
+
&:hover {
|
88
|
+
@apply ax-text-primary-fore;
|
89
|
+
}
|
90
|
+
}
|
91
|
+
|
92
|
+
&.ax-state-event {
|
93
|
+
&::after {
|
94
|
+
@apply ax-absolute ax-bottom-0.5 ax-rounded-full ax-h-0.5 ax-w-4 ax-bg-dark;
|
95
|
+
content: ''
|
96
|
+
}
|
97
|
+
|
98
|
+
&.ax-state-event-primary {
|
99
|
+
&::after {
|
100
|
+
@apply ax-bg-primary;
|
101
|
+
}
|
102
|
+
}
|
103
|
+
|
104
|
+
&.ax-state-event-secondary {
|
105
|
+
&::after {
|
106
|
+
@apply ax-bg-secondary;
|
107
|
+
}
|
108
|
+
}
|
109
|
+
|
110
|
+
&.ax-state-event-success {
|
111
|
+
&::after {
|
112
|
+
@apply ax-bg-success;
|
113
|
+
}
|
114
|
+
}
|
115
|
+
|
116
|
+
&.ax-state-event-warning {
|
117
|
+
&::after {
|
118
|
+
@apply ax-bg-warning;
|
119
|
+
}
|
120
|
+
}
|
121
|
+
|
122
|
+
&.ax-state-event-danger {
|
123
|
+
&::after {
|
124
|
+
@apply ax-bg-danger;
|
125
|
+
}
|
126
|
+
}
|
127
|
+
|
128
|
+
&.ax-state-event-info {
|
129
|
+
&::after {
|
130
|
+
@apply ax-bg-info;
|
131
|
+
}
|
132
|
+
}
|
133
|
+
}
|
134
|
+
}
|
135
|
+
|
136
|
+
&.ax-calendar-slots-day {
|
137
|
+
@apply ax-grid-cols-7;
|
138
|
+
}
|
139
|
+
|
140
|
+
&.ax-calendar-slots-year,
|
141
|
+
&.ax-calendar-slots-month {
|
142
|
+
@apply ax-grid-cols-4;
|
143
|
+
}
|
144
|
+
}
|
145
|
+
|
146
|
+
.ax-calendar-week {
|
147
|
+
@apply ax-grid ax-grid-cols-7 ax-my-2;
|
148
|
+
|
149
|
+
&>div {
|
150
|
+
@apply ax-text-sm ax-text-black ax-text-center ax-relative ax-flex ax-items-center ax-justify-center ax-cursor-text ax-m-0.5;
|
151
|
+
}
|
152
|
+
}
|
153
|
+
}
|
154
|
+
|
155
|
+
.ax-calendar-footer {
|
156
|
+
@apply ax-flex ax-justify-center ax-p-2 ax-bg-light-100;
|
157
|
+
}
|
158
|
+
}
|
97
159
|
}
|
@@ -1,61 +1,36 @@
|
|
1
|
-
@layer components {
|
2
|
-
.ax-carousel {
|
3
|
-
text-align: center;
|
4
|
-
overflow: hidden;
|
5
|
-
width: 100%;
|
6
|
-
display: block;
|
7
|
-
position: relative;
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
button {
|
24
|
-
@apply ax-border-none
|
25
|
-
ax-
|
26
|
-
ax-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
}
|
33
|
-
}
|
34
|
-
}
|
35
|
-
|
36
|
-
|
37
|
-
@apply ax-flex
|
38
|
-
ax-py-2
|
39
|
-
ax-justify-center;
|
40
|
-
|
41
|
-
button {
|
42
|
-
@apply ax-p-1
|
43
|
-
ax-mx-1
|
44
|
-
ax-cursor-pointer
|
45
|
-
ax-border-none
|
46
|
-
ax-rounded-full
|
47
|
-
ax-bg-gray-300;
|
48
|
-
width: calc(var(--ax-base-size) * 1.5);
|
49
|
-
height: calc(var(--ax-base-size) * 1.5);
|
50
|
-
|
51
|
-
&:hover {
|
52
|
-
@apply ax-bg-primary-600;
|
53
|
-
}
|
54
|
-
|
55
|
-
&.ax-state-active {
|
56
|
-
@apply ax-bg-primary-400;
|
57
|
-
}
|
58
|
-
}
|
59
|
-
}
|
60
|
-
}
|
61
|
-
}
|
1
|
+
@layer components {
|
2
|
+
.ax-carousel {
|
3
|
+
text-align: center;
|
4
|
+
overflow: hidden;
|
5
|
+
width: 100%;
|
6
|
+
display: block;
|
7
|
+
position: relative;
|
8
|
+
.ax-carousel-arrows {
|
9
|
+
@apply ax-flex ax-absolute ax-justify-between ax-justify-items-center ax-cursor-pointer ax-bg-transparent ax-text-white ax-invisible;
|
10
|
+
top: 0;
|
11
|
+
left: 0;
|
12
|
+
right: 0;
|
13
|
+
bottom: 0;
|
14
|
+
button {
|
15
|
+
@apply ax-border-none ax-cursor-pointer ax-bg-transparent ax-text-white ax-visible;
|
16
|
+
.ax-ic {
|
17
|
+
font-size: 2.5rem;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
21
|
+
.ax-carousel-pager {
|
22
|
+
@apply ax-flex ax-py-2 ax-justify-center;
|
23
|
+
button {
|
24
|
+
@apply ax-p-1 ax-mx-1 ax-cursor-pointer ax-border-none ax-rounded-full ax-bg-light-300;
|
25
|
+
width: calc(var(--ax-base-size) * 1.5);
|
26
|
+
height: calc(var(--ax-base-size) * 1.5);
|
27
|
+
&:hover {
|
28
|
+
@apply ax-bg-primary-600;
|
29
|
+
}
|
30
|
+
&.ax-state-active {
|
31
|
+
@apply ax-bg-primary-400;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
}
|
35
|
+
}
|
36
|
+
}
|
@@ -1,25 +1,25 @@
|
|
1
|
-
@import "../variables/mixins";
|
2
|
-
@layer components {
|
3
|
-
.ax-checkbox-container {
|
4
|
-
@apply ax-text-sm ax-font-medium ax-text-
|
5
|
-
@include respond(mobile) {
|
6
|
-
@apply ax-text-base;
|
7
|
-
}
|
8
|
-
.ax-checkbox {
|
9
|
-
@apply ax-w-4 ax-h-4 ax-border-solid ax-border ax-border-default ax-rounded ax-bg-white ax-text-primary ax-m-0 ax-outline-none ax-align-middle ax-appearance-none;
|
10
|
-
&:checked,
|
11
|
-
&:indeterminate {
|
12
|
-
@apply ax-border-primary ax-bg-no-repeat ax-bg-current ax-bg-contain;
|
13
|
-
}
|
14
|
-
&:checked {
|
15
|
-
background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
|
16
|
-
}
|
17
|
-
&:indeterminate {
|
18
|
-
background-image: url("data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2ZmZjt9PC9zdHlsZT48L2RlZnM+PHJlY3QgY2xhc3M9ImNscy0xIiB4PSIzIiB5PSI3IiB3aWR0aD0iMTAiIGhlaWdodD0iMiIvPjwvc3ZnPg==");
|
19
|
-
}
|
20
|
-
&:focus {
|
21
|
-
@apply ax-ring-2 ax-ring-primary ax-ring-offset-2;
|
22
|
-
}
|
23
|
-
}
|
24
|
-
}
|
1
|
+
@import "../variables/mixins";
|
2
|
+
@layer components {
|
3
|
+
.ax-checkbox-container {
|
4
|
+
@apply ax-text-sm ax-font-medium ax-text-light-700;
|
5
|
+
@include respond(mobile) {
|
6
|
+
@apply ax-text-base;
|
7
|
+
}
|
8
|
+
.ax-checkbox {
|
9
|
+
@apply ax-w-4 ax-h-4 ax-border-solid ax-border ax-border-default ax-rounded ax-bg-white ax-text-primary ax-m-0 ax-outline-none ax-align-middle ax-appearance-none;
|
10
|
+
&:checked,
|
11
|
+
&:indeterminate {
|
12
|
+
@apply ax-border-primary ax-bg-no-repeat ax-bg-current ax-bg-contain;
|
13
|
+
}
|
14
|
+
&:checked {
|
15
|
+
background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
|
16
|
+
}
|
17
|
+
&:indeterminate {
|
18
|
+
background-image: url("data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2ZmZjt9PC9zdHlsZT48L2RlZnM+PHJlY3QgY2xhc3M9ImNscy0xIiB4PSIzIiB5PSI3IiB3aWR0aD0iMTAiIGhlaWdodD0iMiIvPjwvc3ZnPg==");
|
19
|
+
}
|
20
|
+
&:focus {
|
21
|
+
@apply ax-ring-2 ax-ring-primary ax-ring-offset-2;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
}
|
25
25
|
}
|
@@ -1,40 +1,40 @@
|
|
1
|
-
@layer components {
|
2
|
-
.ax-datapager {
|
3
|
-
@apply ax-flex ax-flex-row ax-items-center ax-px-1 ax-py-1 ax-text-black ax-border ax-border-solid ax-border-default ax-border-opacity-50 ax-bg-light-50 ax-rounded ax-shadow-md ax-max-w-full;
|
4
|
-
.ax-button-group {
|
5
|
-
@apply ax-border-none;
|
6
|
-
ax-button {
|
7
|
-
@apply ax-border-none ax-rounded ax-mr-1;
|
8
|
-
}
|
9
|
-
}
|
10
|
-
.ax-wrapper {
|
11
|
-
@apply ax-flex ax-flex-1 ax-flex-row ax-items-center ax-max-w-full;
|
12
|
-
.ax-datapager-nav-buttons,
|
13
|
-
.ax-datapager-numeric-selector,
|
14
|
-
.ax-datapager-page-sizes {
|
15
|
-
@apply ax-flex-initial;
|
16
|
-
}
|
17
|
-
.ax-datapager-info {
|
18
|
-
@apply ax-flex ax-justify-end ax-flex-1 ax-order-last ax-px-2.5;
|
19
|
-
}
|
20
|
-
ax-button {
|
21
|
-
&.ax-state-disabled {
|
22
|
-
@apply ax-border-none;
|
23
|
-
}
|
24
|
-
}
|
25
|
-
.ax-datapager-nav-buttons {
|
26
|
-
ax-button {
|
27
|
-
@apply ax-p-1;
|
28
|
-
}
|
29
|
-
}
|
30
|
-
}
|
31
|
-
.ax-datapager-input-selector {
|
32
|
-
@apply ax-px-1;
|
33
|
-
--ax-base-ratio: 4;
|
34
|
-
.ax-input {
|
35
|
-
width: calc(var(--ax-base-size) * var(--ax-base-ratio) * 1.5);
|
36
|
-
text-align: center;
|
37
|
-
}
|
38
|
-
}
|
39
|
-
}
|
1
|
+
@layer components {
|
2
|
+
.ax-datapager {
|
3
|
+
@apply ax-flex ax-flex-row ax-items-center ax-px-1 ax-py-1 ax-text-black ax-border ax-border-solid ax-border-default ax-border-opacity-50 ax-bg-light-50 ax-rounded ax-shadow-md ax-max-w-full;
|
4
|
+
.ax-button-group {
|
5
|
+
@apply ax-border-none;
|
6
|
+
ax-button {
|
7
|
+
@apply ax-border-none ax-rounded ax-mr-1;
|
8
|
+
}
|
9
|
+
}
|
10
|
+
.ax-wrapper {
|
11
|
+
@apply ax-flex ax-flex-1 ax-flex-row ax-items-center ax-max-w-full;
|
12
|
+
.ax-datapager-nav-buttons,
|
13
|
+
.ax-datapager-numeric-selector,
|
14
|
+
.ax-datapager-page-sizes {
|
15
|
+
@apply ax-flex-initial;
|
16
|
+
}
|
17
|
+
.ax-datapager-info {
|
18
|
+
@apply ax-flex ax-justify-end ax-flex-1 ax-order-last ax-px-2.5;
|
19
|
+
}
|
20
|
+
ax-button {
|
21
|
+
&.ax-state-disabled {
|
22
|
+
@apply ax-border-none;
|
23
|
+
}
|
24
|
+
}
|
25
|
+
.ax-datapager-nav-buttons {
|
26
|
+
ax-button {
|
27
|
+
@apply ax-p-1;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
}
|
31
|
+
.ax-datapager-input-selector {
|
32
|
+
@apply ax-px-1;
|
33
|
+
--ax-base-ratio: 4;
|
34
|
+
.ax-input {
|
35
|
+
width: calc(var(--ax-base-size) * var(--ax-base-ratio) * 1.5);
|
36
|
+
text-align: center;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
}
|
40
40
|
}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
@layer components {
|
2
|
-
.ax-datepicker-body {
|
3
|
-
@apply ax-m-auto ax-shadow-sm ax-w-full ax-rounded ax-border ax-border-default ax-border-none;
|
4
|
-
}
|
1
|
+
@layer components {
|
2
|
+
.ax-datepicker-body {
|
3
|
+
@apply ax-m-auto ax-shadow-sm ax-w-full ax-rounded ax-border ax-border-default ax-border-none;
|
4
|
+
}
|
5
5
|
}
|
@@ -1,62 +1,62 @@
|
|
1
|
-
@import "../variables/mixins";
|
2
|
-
@layer components {
|
3
|
-
.ax-dialog {
|
4
|
-
max-width: 512px;
|
5
|
-
width: 25vw;
|
6
|
-
@apply ax-grid ax-grid-cols-12 ax-gap-4 ax-px-6 ax-py-5 ax-relative ax-bg-white ax-shadow-md ax-border ax-border-solid ax-border-default ax-rounded-lg ax-outline-none ax-overflow-hidden;
|
7
|
-
@include respond(mobile) {
|
8
|
-
width: 98vw;
|
9
|
-
}
|
10
|
-
@include respond(tablet) {
|
11
|
-
width: 35vw;
|
12
|
-
}
|
13
|
-
.ax-dialog-icon-side {
|
14
|
-
@apply ax-flex ax-justify-center ax-col-span-2;
|
15
|
-
.ax-dialog-icon {
|
16
|
-
min-width: 3rem;
|
17
|
-
@apply ax-w-12 ax-h-12 ax-flex ax-justify-center ax-items-center ax-rounded-full ax-cursor-move;
|
18
|
-
}
|
19
|
-
}
|
20
|
-
.ax-dialog-content-side {
|
21
|
-
@apply ax-col-span-9;
|
22
|
-
.ax-dialog-title {
|
23
|
-
@apply ax-text-lg ax-font-bold ax-text-
|
24
|
-
}
|
25
|
-
.ax-dialog-content {
|
26
|
-
@apply ax-text-sm ax-my-1.5 ax-text-
|
27
|
-
}
|
28
|
-
}
|
29
|
-
.ax-dialog-dismiss-icon {
|
30
|
-
@apply ax-col-span-1;
|
31
|
-
@apply ax-cursor-pointer ax-text-
|
32
|
-
}
|
33
|
-
.ax-dialog-footer {
|
34
|
-
@apply ax-col-span-12 ax-flex ax-justify-end;
|
35
|
-
}
|
36
|
-
&.ax-success {
|
37
|
-
.ax-dialog-icon {
|
38
|
-
@apply ax-text-success ax-bg-success-100;
|
39
|
-
}
|
40
|
-
}
|
41
|
-
&.ax-danger {
|
42
|
-
.ax-dialog-icon {
|
43
|
-
@apply ax-text-danger ax-bg-danger-100;
|
44
|
-
}
|
45
|
-
}
|
46
|
-
&.ax-warning {
|
47
|
-
.ax-dialog-icon {
|
48
|
-
@apply ax-text-warning ax-bg-warning-100;
|
49
|
-
}
|
50
|
-
}
|
51
|
-
&.ax-info {
|
52
|
-
.ax-dialog-icon {
|
53
|
-
@apply ax-text-info ax-bg-info-100;
|
54
|
-
}
|
55
|
-
}
|
56
|
-
&.ax-primary {
|
57
|
-
.ax-dialog-icon {
|
58
|
-
@apply ax-text-primary ax-bg-primary-100;
|
59
|
-
}
|
60
|
-
}
|
61
|
-
}
|
1
|
+
@import "../variables/mixins";
|
2
|
+
@layer components {
|
3
|
+
.ax-dialog {
|
4
|
+
max-width: 512px;
|
5
|
+
width: 25vw;
|
6
|
+
@apply ax-grid ax-grid-cols-12 ax-gap-4 ax-px-6 ax-py-5 ax-relative ax-bg-white ax-shadow-md ax-border ax-border-solid ax-border-default ax-rounded-lg ax-outline-none ax-overflow-hidden;
|
7
|
+
@include respond(mobile) {
|
8
|
+
width: 98vw;
|
9
|
+
}
|
10
|
+
@include respond(tablet) {
|
11
|
+
width: 35vw;
|
12
|
+
}
|
13
|
+
.ax-dialog-icon-side {
|
14
|
+
@apply ax-flex ax-justify-center ax-col-span-2;
|
15
|
+
.ax-dialog-icon {
|
16
|
+
min-width: 3rem;
|
17
|
+
@apply ax-w-12 ax-h-12 ax-flex ax-justify-center ax-items-center ax-rounded-full ax-cursor-move;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
.ax-dialog-content-side {
|
21
|
+
@apply ax-col-span-9;
|
22
|
+
.ax-dialog-title {
|
23
|
+
@apply ax-text-lg ax-font-bold ax-text-light-700;
|
24
|
+
}
|
25
|
+
.ax-dialog-content {
|
26
|
+
@apply ax-text-sm ax-my-1.5 ax-text-light-500;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
.ax-dialog-dismiss-icon {
|
30
|
+
@apply ax-col-span-1;
|
31
|
+
@apply ax-cursor-pointer ax-text-light-400 ax--mt-2.5;
|
32
|
+
}
|
33
|
+
.ax-dialog-footer {
|
34
|
+
@apply ax-col-span-12 ax-flex ax-justify-end;
|
35
|
+
}
|
36
|
+
&.ax-success {
|
37
|
+
.ax-dialog-icon {
|
38
|
+
@apply ax-text-success ax-bg-success-100;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
&.ax-danger {
|
42
|
+
.ax-dialog-icon {
|
43
|
+
@apply ax-text-danger ax-bg-danger-100;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
&.ax-warning {
|
47
|
+
.ax-dialog-icon {
|
48
|
+
@apply ax-text-warning ax-bg-warning-100;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
&.ax-info {
|
52
|
+
.ax-dialog-icon {
|
53
|
+
@apply ax-text-info ax-bg-info-100;
|
54
|
+
}
|
55
|
+
}
|
56
|
+
&.ax-primary {
|
57
|
+
.ax-dialog-icon {
|
58
|
+
@apply ax-text-primary ax-bg-primary-100;
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
62
62
|
}
|