@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.
Files changed (47) hide show
  1. package/index.scss +3 -2
  2. package/package.json +10 -10
  3. package/src/base/_colors.scss +16 -16
  4. package/src/base/index.scss +11 -7
  5. package/src/components/_alert.scss +156 -147
  6. package/src/components/_badge.scss +11 -39
  7. package/src/components/_button.scss +641 -651
  8. package/src/components/_calendar.scss +158 -96
  9. package/src/components/_carousel.scss +36 -61
  10. package/src/components/_checkbox.scss +24 -24
  11. package/src/components/_datapager.scss +39 -39
  12. package/src/components/_datepicker.scss +4 -4
  13. package/src/components/_dialog.scss +61 -61
  14. package/src/components/_drawer.scss +79 -79
  15. package/src/components/_dropdown.scss +140 -177
  16. package/src/components/_editor-container.scss +76 -69
  17. package/src/components/_form.scss +7 -7
  18. package/src/components/_input.scss +17 -16
  19. package/src/components/_label.scss +4 -4
  20. package/src/components/_list.scss +48 -48
  21. package/src/components/_loading.scss +53 -53
  22. package/src/components/_popup.scss +86 -86
  23. package/src/components/_radio.scss +19 -30
  24. package/src/components/_range-slider.scss +13 -13
  25. package/src/components/_selectbox.scss +15 -15
  26. package/src/components/_selection-list.scss +28 -28
  27. package/src/components/_side-menu.scss +46 -46
  28. package/src/components/_skeleton.scss +24 -24
  29. package/src/components/_switch.scss +199 -199
  30. package/src/components/_table.scss +20 -22
  31. package/src/components/_tabs.scss +209 -117
  32. package/src/components/_toast.scss +83 -93
  33. package/src/components/_tooltip.scss +44 -44
  34. package/src/components/index.scss +28 -28
  35. package/src/icons/Read Me.txt +7 -0
  36. package/src/icons/demo-files/demo.css +152 -0
  37. package/src/icons/demo-files/demo.js +30 -0
  38. package/src/icons/demo.html +416 -0
  39. package/src/icons/fonts/acorex-icon.svg +37 -0
  40. package/src/icons/fonts/acorex-icon.ttf +0 -0
  41. package/src/icons/fonts/acorex-icon.woff +0 -0
  42. package/src/icons/selection.json +1 -0
  43. package/src/icons/style.css +107 -0
  44. package/src/icons/style.scss +164 -0
  45. package/src/icons/variables.scss +31 -0
  46. package/src/variables/_colors.scss +135 -135
  47. package/src/variables/_mixins.scss +18 -18
@@ -1,97 +1,159 @@
1
- @import "../variables/mixins";
2
- @layer components {
3
- .ax-calendar {
4
- @apply ax-border ax-border-solid ax-border-default ax-rounded;
5
- .ax-calendar-header {
6
- @apply ax-grid ax-grid-cols-12 ax-py-1 ax-px-2 ax-border-b ax-border-default ax-border-solid;
7
- .ax-nav-button {
8
- @apply ax-col-span-8 ax-justify-start;
9
- }
10
- .ax-prev-button,
11
- .ax-next-button {
12
- @apply ax-col-span-2 ax-justify-center ax-ms-1;
13
- }
14
- }
15
- .ax-calendar-body {
16
- @apply ax-m-2;
17
- .ax-month-items,
18
- .ax-day-items {
19
- @apply ax-grid ax-grid-cols-7;
20
- }
21
- .ax-month-items {
22
- .ax-month-item {
23
- @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;
24
- }
25
- }
26
- .ax-day-items {
27
- .ax-day-item {
28
- @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;
29
- &::before {
30
- content: '';
31
- padding-top: 100%;
32
- float: left;
33
- }
34
- &::after {
35
- content: '';
36
- display: block;
37
- clear: both;
38
- }
39
- &:hover {
40
- @apply ax-bg-gray-100;
41
- }
42
- &.ax-state-holiday {
43
- @apply ax-text-danger;
44
- &:hover {
45
- @apply ax-text-black;
46
- }
47
- }
48
- &.ax-state-today {
49
- @apply ax-bg-success ax-text-success-fore;
50
- }
51
- &.ax-state-selected {
52
- @apply ax-bg-primary ax-text-primary-fore;
53
- }
54
- &.ax-state-event {
55
- &::after {
56
- @apply ax-absolute ax-bottom-0.5 ax-rounded-full ax-h-0.5 ax-w-4 ax-bg-dark;
57
- content: ''
58
- }
59
- &.ax-state-event-primary {
60
- &::after {
61
- @apply ax-bg-primary;
62
- }
63
- }
64
- &.ax-state-event-secondary {
65
- &::after {
66
- @apply ax-bg-secondary;
67
- }
68
- }
69
- &.ax-state-event-success {
70
- &::after {
71
- @apply ax-bg-success;
72
- }
73
- }
74
- &.ax-state-event-warning {
75
- &::after {
76
- @apply ax-bg-warning;
77
- }
78
- }
79
- &.ax-state-event-danger {
80
- &::after {
81
- @apply ax-bg-danger;
82
- }
83
- }
84
- &.ax-state-event-info {
85
- &::after {
86
- @apply ax-bg-info;
87
- }
88
- }
89
- }
90
- }
91
- }
92
- }
93
- .ax-calendar-footer {
94
- @apply ax-p-2 ax-bg-light-100;
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
- .ax-carousel-arrows {
10
- @apply ax-flex
11
- ax-absolute
12
- ax-justify-between
13
- ax-justify-items-center
14
- ax-cursor-pointer
15
- ax-bg-transparent
16
- ax-text-white
17
- ax-invisible;
18
- top: 0;
19
- left: 0;
20
- right: 0;
21
- bottom: 0;
22
-
23
- button {
24
- @apply ax-border-none
25
- ax-cursor-pointer
26
- ax-bg-transparent
27
- ax-text-white
28
- ax-visible;
29
-
30
- .ax-ic {
31
- font-size: 2.5rem;
32
- }
33
- }
34
- }
35
-
36
- .ax-carousel-pager {
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-gray-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
- }
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-gray-700;
24
- }
25
- .ax-dialog-content {
26
- @apply ax-text-sm ax-my-1.5 ax-text-gray-500;
27
- }
28
- }
29
- .ax-dialog-dismiss-icon {
30
- @apply ax-col-span-1;
31
- @apply ax-cursor-pointer ax-text-gray-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
- }
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
  }