@acorex/styles 5.0.6 → 5.0.10
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/dark.scss +0 -0
- package/index.scss +9 -1
- package/package.json +1 -1
- package/src/base/_colors.scss +12 -8
- package/src/base/index.scss +18 -1
- package/src/components/_alert.scss +1 -1
- package/src/components/_badge.scss +6 -34
- package/src/components/_button.scss +11 -8
- package/src/components/_calendar.scss +78 -16
- package/src/components/_checkbox.scss +17 -3
- package/src/components/_editor-container.scss +15 -14
- package/src/components/_label.scss +4 -2
- package/src/components/_popup.scss +36 -2
- package/src/components/_radio.scss +6 -1
- package/src/components/_tabs.scss +128 -86
- 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/utility/index.scss +180 -0
- package/src/variables/_colors.scss +2 -135
package/dark.scss
ADDED
File without changes
|
package/index.scss
CHANGED
@@ -1,2 +1,10 @@
|
|
1
|
+
|
1
2
|
@import "./src/base/index.scss";
|
2
|
-
@import "./src/
|
3
|
+
@import "./src/icons/style.scss";
|
4
|
+
|
5
|
+
@import "tailwindcss/base";
|
6
|
+
@import "tailwindcss/components";
|
7
|
+
@import "./src/components/index.scss";
|
8
|
+
|
9
|
+
@import "tailwindcss/utilities";
|
10
|
+
@import "./src/utility/index.scss";
|
package/package.json
CHANGED
package/src/base/_colors.scss
CHANGED
@@ -1,16 +1,20 @@
|
|
1
1
|
@import "../variables/colors";
|
2
|
-
@mixin colors() {
|
3
|
-
@each $name,
|
4
|
-
|
5
|
-
|
6
|
-
|
2
|
+
@mixin colors($array) {
|
3
|
+
@each $name,
|
4
|
+
$color in $array {
|
5
|
+
@if (type-of($color)=="map") {
|
6
|
+
@each $subname,
|
7
|
+
$variant in $color {
|
8
|
+
@if ($subname !="") {
|
7
9
|
--ax-color-#{$name}-#{$subname}: #{$variant};
|
8
|
-
}
|
10
|
+
}
|
11
|
+
@else {
|
9
12
|
--ax-color-#{$name}: #{$variant};
|
10
13
|
}
|
11
14
|
}
|
12
|
-
}
|
15
|
+
}
|
16
|
+
@else {
|
13
17
|
--ax-color-#{$name}: #{$color};
|
14
18
|
}
|
15
19
|
}
|
16
|
-
}
|
20
|
+
}
|
package/src/base/index.scss
CHANGED
@@ -1,7 +1,24 @@
|
|
1
1
|
@import "./colors";
|
2
|
+
[class*=" ax-ic-"],
|
3
|
+
[class^=ax-ic-] {
|
4
|
+
vertical-align: middle;
|
5
|
+
}
|
2
6
|
|
3
7
|
:root {
|
4
8
|
--ax-base-size: 8px;
|
5
9
|
--ax-base-ratio: 5;
|
6
|
-
|
10
|
+
// --ax-default-background: 240, 240, 240;
|
11
|
+
// --ax-default-color: 107, 114, 128;
|
12
|
+
@include colors($theme-colors);
|
13
|
+
}
|
14
|
+
|
15
|
+
html,
|
16
|
+
body {
|
17
|
+
background-color: rgb(var(--ax-color-default-background));
|
18
|
+
color: rgba(var(--ax-color-default-color));
|
7
19
|
}
|
20
|
+
|
21
|
+
// .ax-dark-mode,
|
22
|
+
// .ax-dark-mode * {
|
23
|
+
// @include colors($theme-dark-colors);
|
24
|
+
// }
|
@@ -1,39 +1,11 @@
|
|
1
1
|
@layer components {
|
2
2
|
.ax-badge {
|
3
|
-
@apply ax-
|
4
|
-
|
5
|
-
@apply ax-
|
3
|
+
@apply ax-rounded ax-py-1 ax-px-2 ax-align-middle ax-flex ax-justify-center ax-items-center ax-max-w-max ax-text-sm;
|
4
|
+
ax-prefix {
|
5
|
+
@apply ax-me-1.5
|
6
6
|
}
|
7
|
-
|
8
|
-
@apply ax-
|
9
|
-
}
|
10
|
-
&.ax-primary {
|
11
|
-
@apply ax-bg-primary-100 ax-text-primary;
|
12
|
-
}
|
13
|
-
&.ax-secondary {
|
14
|
-
@apply ax-bg-secondary-100 ax-text-secondary;
|
15
|
-
}
|
16
|
-
&.ax-warning {
|
17
|
-
@apply ax-bg-warning-100 ax-text-warning;
|
18
|
-
}
|
19
|
-
&.ax-danger {
|
20
|
-
@apply ax-bg-danger-100 ax-text-danger;
|
21
|
-
}
|
22
|
-
&.ax-success {
|
23
|
-
@apply ax-bg-success-100 ax-text-success;
|
24
|
-
}
|
25
|
-
&.ax-info {
|
26
|
-
@apply ax-bg-info-100 ax-text-info;
|
27
|
-
}
|
28
|
-
&.ax-light {
|
29
|
-
@apply ax-bg-light-100 ax-text-light-fore;
|
30
|
-
}
|
31
|
-
&.ax-dark {
|
32
|
-
@apply ax-bg-dark-100 ax-text-dark;
|
33
|
-
}
|
34
|
-
&.ax-sm {
|
35
|
-
}
|
36
|
-
&.ax-lg {
|
7
|
+
ax-suffix {
|
8
|
+
@apply ax-ms-1.5
|
37
9
|
}
|
38
10
|
}
|
39
|
-
}
|
11
|
+
}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
ax-button {
|
4
4
|
height: calc(var(--ax-base-size) * var(--ax-base-ratio)) !important;
|
5
5
|
line-height: calc((var(--ax-base-size) * var(--ax-base-ratio)) / 2) !important;
|
6
|
-
@apply ax-relative ax-inline-flex ax-items-center ax-justify-center ax-rounded-md ax-border ax-px-4 ax-text-sm ax-font-medium ax-border-light-300 ax-text-light-600;
|
6
|
+
@apply ax-relative ax-inline-flex ax-items-center ax-justify-center ax-rounded-md ax-border ax-px-4 ax-text-sm ax-font-medium ax-border-light-300 ax-text-light-600 ax-select-none ax-whitespace-nowrap;
|
7
7
|
@include respond(mobile) {
|
8
8
|
@apply ax-text-base;
|
9
9
|
}
|
@@ -13,6 +13,9 @@
|
|
13
13
|
ax-suffix {
|
14
14
|
@apply ax-flex ax-flex-row ax-ps-2;
|
15
15
|
}
|
16
|
+
.ax-badge {
|
17
|
+
@apply ax-text-xs;
|
18
|
+
}
|
16
19
|
&:focus {
|
17
20
|
@apply ax-outline-none ax-z-10;
|
18
21
|
}
|
@@ -31,16 +34,16 @@
|
|
31
34
|
}
|
32
35
|
}
|
33
36
|
&.ax-sm {
|
34
|
-
height: calc((var(--ax-base-size) * var(--ax-base-ratio)) -
|
35
|
-
line-height: calc((var(--ax-base-size) * var(--ax-base-ratio)) / 2 -
|
37
|
+
height: calc((var(--ax-base-size) * var(--ax-base-ratio)) - var(--ax-base-size)) !important;
|
38
|
+
line-height: calc((var(--ax-base-size) * var(--ax-base-ratio)) / 2 - var(--ax-base-size)) !important;
|
36
39
|
@apply ax-text-sm;
|
37
40
|
.ax-ic {
|
38
41
|
@apply ax-text-sm;
|
39
42
|
}
|
40
43
|
}
|
41
44
|
&.ax-lg {
|
42
|
-
height: calc((var(--ax-base-size) * var(--ax-base-ratio)) +
|
43
|
-
line-height: calc((var(--ax-base-size) * var(--ax-base-ratio)) / 2 +
|
45
|
+
height: calc((var(--ax-base-size) * var(--ax-base-ratio)) + var(--ax-base-size)) !important;
|
46
|
+
line-height: calc((var(--ax-base-size) * var(--ax-base-ratio)) / 2 + var(--ax-base-size)) !important;
|
44
47
|
@apply ax-text-lg;
|
45
48
|
&.ax-button-icon {
|
46
49
|
@apply ax-px-3;
|
@@ -268,13 +271,13 @@
|
|
268
271
|
}
|
269
272
|
}
|
270
273
|
&.ax-dark-twotone {
|
271
|
-
@apply ax-bg-dark-
|
274
|
+
@apply ax-bg-dark-300 ax-text-dark-fore ax-border-transparent;
|
272
275
|
&:hover {}
|
273
276
|
&:focus {
|
274
|
-
@apply ax-bg-dark-100
|
277
|
+
@apply ax-bg-dark-100;
|
275
278
|
}
|
276
279
|
&:active {
|
277
|
-
@apply ax-bg-dark-200
|
280
|
+
@apply ax-bg-dark-200;
|
278
281
|
}
|
279
282
|
&.ax-state-selected {
|
280
283
|
@apply ax-bg-dark-300 ax-text-dark-fore;
|
@@ -1,86 +1,130 @@
|
|
1
1
|
@import "../variables/mixins";
|
2
|
+
|
2
3
|
@layer components {
|
3
|
-
|
4
|
-
@apply ax-border ax-border-solid ax-border-default ax-rounded ax-bg-white;
|
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
|
+
|
5
15
|
.ax-calendar-header {
|
6
16
|
@apply ax-grid ax-grid-cols-12 ax-py-1 ax-px-2 ax-border-b ax-border-default ax-border-solid;
|
17
|
+
|
7
18
|
.ax-nav-button {
|
8
19
|
@apply ax-col-span-8 ax-justify-start;
|
9
20
|
}
|
21
|
+
|
10
22
|
.ax-prev-button,
|
11
23
|
.ax-next-button {
|
12
24
|
@apply ax-col-span-2 ax-justify-center ax-ms-1;
|
13
25
|
}
|
14
26
|
}
|
27
|
+
|
15
28
|
.ax-calendar-body {
|
16
29
|
@apply ax-m-2;
|
17
|
-
|
18
|
-
.ax-
|
19
|
-
@apply ax-grid
|
20
|
-
|
21
|
-
|
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 {
|
30
|
+
|
31
|
+
.ax-calendar-slots {
|
32
|
+
@apply ax-grid;
|
33
|
+
|
34
|
+
&>div {
|
28
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
|
+
|
29
37
|
&::before {
|
30
38
|
content: '';
|
31
39
|
padding-top: 100%;
|
32
40
|
float: left;
|
33
41
|
}
|
42
|
+
|
34
43
|
&::after {
|
35
44
|
content: '';
|
36
45
|
display: block;
|
37
46
|
clear: both;
|
38
47
|
}
|
48
|
+
|
39
49
|
&:hover {
|
40
50
|
@apply ax-bg-light-100;
|
41
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
|
+
|
42
66
|
&.ax-state-holiday {
|
43
67
|
@apply ax-text-danger;
|
44
68
|
&:hover {
|
45
69
|
@apply ax-text-black;
|
46
70
|
}
|
47
71
|
}
|
72
|
+
|
48
73
|
&.ax-state-today {
|
49
|
-
@apply ax-bg-
|
74
|
+
@apply ax-bg-opacity-70 ax-bg-primary-100 ax-text-primary;
|
75
|
+
&:hover {
|
76
|
+
@apply ax-text-primary;
|
77
|
+
}
|
78
|
+
}
|
79
|
+
|
80
|
+
&.ax-state-other {
|
81
|
+
@apply ax-opacity-50;
|
50
82
|
}
|
83
|
+
|
51
84
|
&.ax-state-selected {
|
52
|
-
@apply ax-bg-primary ax-text-primary-fore;
|
85
|
+
@apply ax-bg-primary ax-text-primary-fore ax-opacity-100;
|
86
|
+
|
87
|
+
&:hover {
|
88
|
+
@apply ax-text-primary-fore;
|
89
|
+
}
|
53
90
|
}
|
91
|
+
|
54
92
|
&.ax-state-event {
|
55
93
|
&::after {
|
56
94
|
@apply ax-absolute ax-bottom-0.5 ax-rounded-full ax-h-0.5 ax-w-4 ax-bg-dark;
|
57
95
|
content: ''
|
58
96
|
}
|
97
|
+
|
59
98
|
&.ax-state-event-primary {
|
60
99
|
&::after {
|
61
100
|
@apply ax-bg-primary;
|
62
101
|
}
|
63
102
|
}
|
103
|
+
|
64
104
|
&.ax-state-event-secondary {
|
65
105
|
&::after {
|
66
106
|
@apply ax-bg-secondary;
|
67
107
|
}
|
68
108
|
}
|
109
|
+
|
69
110
|
&.ax-state-event-success {
|
70
111
|
&::after {
|
71
112
|
@apply ax-bg-success;
|
72
113
|
}
|
73
114
|
}
|
115
|
+
|
74
116
|
&.ax-state-event-warning {
|
75
117
|
&::after {
|
76
118
|
@apply ax-bg-warning;
|
77
119
|
}
|
78
120
|
}
|
121
|
+
|
79
122
|
&.ax-state-event-danger {
|
80
123
|
&::after {
|
81
124
|
@apply ax-bg-danger;
|
82
125
|
}
|
83
126
|
}
|
127
|
+
|
84
128
|
&.ax-state-event-info {
|
85
129
|
&::after {
|
86
130
|
@apply ax-bg-info;
|
@@ -88,10 +132,28 @@
|
|
88
132
|
}
|
89
133
|
}
|
90
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
|
+
}
|
91
152
|
}
|
92
153
|
}
|
154
|
+
|
93
155
|
.ax-calendar-footer {
|
94
|
-
@apply ax-p-2 ax-bg-light-100;
|
156
|
+
@apply ax-flex ax-justify-center ax-p-2 ax-bg-light-100;
|
95
157
|
}
|
96
158
|
}
|
97
159
|
}
|
@@ -1,11 +1,19 @@
|
|
1
1
|
@import "../variables/mixins";
|
2
2
|
@layer components {
|
3
|
-
|
4
|
-
@apply ax-
|
3
|
+
ax-check-box {
|
4
|
+
@apply ax-justify-start ax-w-max ax-flex;
|
5
5
|
@include respond(mobile) {
|
6
6
|
@apply ax-text-base;
|
7
7
|
}
|
8
|
-
.ax-
|
8
|
+
.ax-wrapper {
|
9
|
+
&.ax-state-disabled {
|
10
|
+
@apply ax-cursor-not-allowed ax-opacity-60;
|
11
|
+
input[type=checkbox] {
|
12
|
+
@apply ax-cursor-not-allowed;
|
13
|
+
}
|
14
|
+
}
|
15
|
+
}
|
16
|
+
input[type=checkbox] {
|
9
17
|
@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
18
|
&:checked,
|
11
19
|
&:indeterminate {
|
@@ -21,5 +29,11 @@
|
|
21
29
|
@apply ax-ring-2 ax-ring-primary ax-ring-offset-2;
|
22
30
|
}
|
23
31
|
}
|
32
|
+
ax-label {
|
33
|
+
@apply ax-items-center ax-mb-0 ax-font-semibold ax-text-sm ax-text-light-700;
|
34
|
+
label {
|
35
|
+
@apply ax-mb-0;
|
36
|
+
}
|
37
|
+
}
|
24
38
|
}
|
25
39
|
}
|
@@ -2,7 +2,7 @@
|
|
2
2
|
@layer components {
|
3
3
|
.ax-editor-container {
|
4
4
|
height: calc(var(--ax-base-size) * var(--ax-base-ratio));
|
5
|
-
@apply ax-flex ax-rounded ax-bg-white ax-overflow-hidden ax-shadow-sm ax-border ax-border-solid ax-border-default;
|
5
|
+
@apply ax-flex ax-rounded ax-bg-white ax-bg-opacity-50 ax-overflow-hidden ax-shadow-sm ax-border ax-border-solid ax-border-default;
|
6
6
|
&:focus-within {
|
7
7
|
@apply ax-ring-2 ax-ring-primary ax-ring-opacity-100 ax-border-transparent;
|
8
8
|
}
|
@@ -26,19 +26,20 @@
|
|
26
26
|
}
|
27
27
|
}
|
28
28
|
ax-button {
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
29
|
+
height: 100% !important;
|
30
|
+
@apply ax-rounded-none;
|
31
|
+
&:focus {
|
32
|
+
@apply ax-ring-0;
|
33
|
+
}
|
34
|
+
&.ax-button-icon {
|
35
|
+
min-width: calc(var(--ax-base-size) * var(--ax-base-ratio));
|
36
|
+
.ax-ic {
|
37
|
+
@apply ax-text-base;
|
38
38
|
}
|
39
|
+
}
|
39
40
|
}
|
40
|
-
|
41
|
-
|
41
|
+
ax-suffix,
|
42
|
+
ax-prefix {
|
42
43
|
* {
|
43
44
|
@apply ax-h-full ax-flex ax-justify-center ax-items-center ax-rounded-none;
|
44
45
|
}
|
@@ -61,13 +62,13 @@
|
|
61
62
|
}
|
62
63
|
}
|
63
64
|
&.ax-sm {
|
64
|
-
height: calc((var(--ax-base-size) * var(--ax-base-ratio)) -
|
65
|
+
height: calc((var(--ax-base-size) * var(--ax-base-ratio)) - var(--ax-base-size)) !important;
|
65
66
|
.ax-input {
|
66
67
|
@apply ax-text-xs;
|
67
68
|
}
|
68
69
|
}
|
69
70
|
&.ax-lg {
|
70
|
-
height: calc((var(--ax-base-size) * var(--ax-base-ratio)) +
|
71
|
+
height: calc((var(--ax-base-size) * var(--ax-base-ratio)) + var(--ax-base-size)) !important;
|
71
72
|
.ax-input {
|
72
73
|
@apply ax-text-lg;
|
73
74
|
}
|
@@ -1,81 +1,115 @@
|
|
1
1
|
@layer components {
|
2
|
+
|
3
|
+
ax-page-footer {
|
4
|
+
@apply ax-grid ax-grid-cols-12 ax-gap-2 ax-px-3 ax-py-2 ax-border-t ax-border-solid ax-border-default;
|
5
|
+
|
6
|
+
ax-prefix {
|
7
|
+
@apply ax-flex ax-col-span-6 ax-col-start-1 ax-col-end-7 ax-justify-start;
|
8
|
+
}
|
9
|
+
|
10
|
+
ax-suffix {
|
11
|
+
@apply ax-flex ax-col-span-6 ax-col-start-7 ax-col-end-13 ax-justify-end;
|
12
|
+
}
|
13
|
+
}
|
14
|
+
|
2
15
|
.ax-popup {
|
3
16
|
max-height: 98vh;
|
4
17
|
min-height: fit-content;
|
5
18
|
@apply ax-flex ax-flex-col ax-bg-white ax-w-6/12 ax-shadow-lg ax-border ax-border-solid ax-border-default ax-rounded ax-outline-none ax-p-0;
|
19
|
+
|
6
20
|
header {
|
7
21
|
@apply ax-flex ax-justify-between ax-px-3 ax-py-2;
|
8
22
|
}
|
23
|
+
|
9
24
|
main {
|
10
25
|
@apply ax-flex-1 ax-overflow-auto;
|
11
26
|
}
|
27
|
+
|
12
28
|
footer {
|
13
29
|
@apply ax-grid ax-grid-cols-12 ax-gap-2 ax-px-3 ax-py-2 ax-border-t ax-border-solid ax-border-default;
|
14
|
-
|
30
|
+
|
31
|
+
ax-prefix {
|
15
32
|
@apply ax-flex ax-col-span-6 ax-col-start-1 ax-col-end-7 ax-justify-start;
|
16
33
|
}
|
17
|
-
|
34
|
+
|
35
|
+
ax-suffix {
|
18
36
|
@apply ax-flex ax-col-span-6 ax-col-start-7 ax-col-end-13 ax-justify-end;
|
19
37
|
}
|
20
38
|
}
|
39
|
+
|
21
40
|
header,
|
22
41
|
footer {
|
23
42
|
>div {
|
24
43
|
@apply ax-flex ax-items-center;
|
25
44
|
}
|
26
45
|
}
|
46
|
+
|
27
47
|
&.ax-full {
|
28
48
|
@apply ax-w-screen ax-h-screen;
|
29
49
|
}
|
50
|
+
|
30
51
|
&.ax-fit {
|
31
52
|
width: fit-content;
|
32
53
|
}
|
54
|
+
|
33
55
|
@media all and (min-width: 1280px) {
|
34
56
|
&.ax-sm {
|
35
57
|
width: 420px !important;
|
36
58
|
}
|
59
|
+
|
37
60
|
&.ax-md {
|
38
61
|
width: 680px !important;
|
39
62
|
}
|
63
|
+
|
40
64
|
&.ax-lg {
|
41
65
|
width: 1024px !important;
|
42
66
|
}
|
43
67
|
}
|
68
|
+
|
44
69
|
@media all and (min-width: 1024px) and (max-width: 1279px) {
|
45
70
|
&.ax-sm {
|
46
71
|
width: 100vw;
|
47
72
|
max-height: 100vh;
|
48
73
|
}
|
74
|
+
|
49
75
|
&.ax-md {
|
50
76
|
width: 500px !important;
|
51
77
|
}
|
78
|
+
|
52
79
|
&.ax-lg {
|
53
80
|
width: 900px !important;
|
54
81
|
}
|
55
82
|
}
|
83
|
+
|
56
84
|
@media all and (min-width: 768px) and (max-width: 1023px) {
|
57
85
|
&.ax-sm {
|
58
86
|
width: 100vw;
|
59
87
|
max-height: 100vh;
|
60
88
|
}
|
89
|
+
|
61
90
|
&.ax-md {
|
62
91
|
width: 500px !important;
|
63
92
|
}
|
93
|
+
|
64
94
|
&.ax-lg {
|
65
95
|
width: 700px !important;
|
66
96
|
}
|
67
97
|
}
|
98
|
+
|
68
99
|
@media all and (min-width: 425px) and (max-width: 767px) {
|
69
100
|
&.ax-sm {
|
70
101
|
width: 100vw;
|
71
102
|
max-height: 100vh;
|
72
103
|
}
|
104
|
+
|
73
105
|
&.ax-md,
|
74
106
|
&.ax-lg {
|
75
107
|
width: 460px !important;
|
76
108
|
}
|
77
109
|
}
|
110
|
+
|
78
111
|
@media all and (min-width: 0px) and (max-width: 424px) {
|
112
|
+
|
79
113
|
&.ax-sm,
|
80
114
|
&.ax-md,
|
81
115
|
&.ax-lg {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
@import "../variables/mixins";
|
2
2
|
@layer components {
|
3
|
-
|
3
|
+
ax-radio {
|
4
4
|
@apply ax-text-sm ax-font-medium ax-text-light-700;
|
5
5
|
@include respond(mobile) {
|
6
6
|
@apply ax-text-base;
|
@@ -15,5 +15,10 @@
|
|
15
15
|
@apply ax-ring-2 ax-ring-primary ax-ring-offset-2;
|
16
16
|
}
|
17
17
|
}
|
18
|
+
ax-label {
|
19
|
+
label {
|
20
|
+
@apply ax-mb-0;
|
21
|
+
}
|
22
|
+
}
|
18
23
|
}
|
19
24
|
}
|