@acorex/styles 7.11.6 → 7.12.1
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.css +159 -933
- package/index.min.css +1 -1
- package/index.scss +0 -1
- package/package.json +2 -2
- package/src/base/index.scss +0 -2
- package/src/icons/demo-files/demo.css +27 -19
- package/src/icons/demo-files/demo.js +23 -24
- package/src/icons/selection.json +1289 -1
- package/src/icons/style.css +78 -77
- package/src/icons/style.scss +79 -79
- package/src/icons/variables.scss +77 -78
- package/src/mixins/_look.scss +15 -61
- package/src/mixins/_media.scss +20 -20
- package/src/mixins/_util.scss +0 -15
- package/src/shared/_actionsheet.scss +1 -38
- package/src/shared/_check-box.scss +7 -21
- package/src/shared/_decoration.scss +14 -31
- package/src/shared/_drop-down.scss +10 -37
- package/src/shared/_editor-container.scss +32 -76
- package/src/shared/_general-button.scss +31 -41
- package/src/shared/_inputs.scss +8 -10
- package/src/shared/_list.scss +29 -80
- package/src/shared/_radio.scss +8 -37
- package/src/shared/_table.scss +20 -47
- package/src/shared/_utils.scss +9 -49
- package/src/themes/default.css +1 -1
- package/src/themes/default.scss +107 -86
- package/src/utility/index.scss +0 -36
- package/src/variables/index.scss +2 -2
- package/tailwind-base.js +76 -154
- package/src/animations/index.scss +0 -88
- package/src/base/_normalize.scss +0 -438
- package/src/base/_theme.scss +0 -0
package/src/mixins/_look.scss
CHANGED
@@ -1,100 +1,54 @@
|
|
1
1
|
@mixin solid-look() {
|
2
|
-
|
3
|
-
border: 1px solid;
|
4
|
-
border-color: rgba(var(--ax-color-border-default));
|
5
|
-
border-radius: var(--ax-rounded-border-default);
|
6
|
-
|
2
|
+
@apply ax-rounded-default ax-border ax-border-default ax-bg-input-surface;
|
7
3
|
&:focus-within {
|
8
|
-
border-
|
9
|
-
box-shadow: 0 0 0 1px rgba(var(--ax-color-primary-500));
|
4
|
+
@apply ax-border-primary ax-ring-1 ax-ring-primary-500;
|
10
5
|
}
|
11
6
|
|
12
7
|
&.ax-state-error {
|
13
|
-
|
8
|
+
@apply ax-border-danger-500;
|
14
9
|
&:focus-within {
|
15
|
-
|
10
|
+
@apply ax-ring-1 ax-ring-danger-500;
|
16
11
|
}
|
17
12
|
.ax-input {
|
18
13
|
&::placeholder {
|
19
|
-
|
14
|
+
@apply ax-text-danger;
|
20
15
|
}
|
21
16
|
}
|
22
17
|
}
|
23
|
-
|
24
|
-
// &.ax-state-success {
|
25
|
-
// outline-color: rgba(var(--ax-color-success-500));
|
26
|
-
// border-color: rgba(var(--ax-color-success-500));
|
27
|
-
// &:focus-within {
|
28
|
-
// box-shadow: 0 0 0 1px rgba(var(--ax-color-success-500));
|
29
|
-
// }
|
30
|
-
// .ax-input {
|
31
|
-
// &::placeholder {
|
32
|
-
// color: rgba(var(--ax-color-success-500));
|
33
|
-
// }
|
34
|
-
// }
|
35
|
-
// }
|
36
18
|
}
|
37
19
|
@mixin flat-look() {
|
38
|
-
border-
|
39
|
-
border-color: rgba(var(--ax-color-border-default));
|
40
|
-
border-radius: 0;
|
41
|
-
|
20
|
+
@apply ax-rounded-none ax-border-b ax-border-default;
|
42
21
|
&:focus-within {
|
43
|
-
|
22
|
+
@apply ax-border-primary-500;
|
44
23
|
}
|
45
24
|
&.ax-state-error {
|
46
|
-
|
47
|
-
|
25
|
+
@apply ax-border-danger-500;
|
48
26
|
.ax-input {
|
49
27
|
&::placeholder {
|
50
|
-
|
28
|
+
@apply ax-text-danger-500;
|
51
29
|
}
|
52
30
|
}
|
53
31
|
}
|
54
|
-
|
55
|
-
// &.ax-state-success {
|
56
|
-
// outline-color: rgba(var(--ax-color-success-500));
|
57
|
-
// border-color: rgba(var(--ax-color-success-500));
|
58
|
-
|
59
|
-
// .ax-input {
|
60
|
-
// &::placeholder {
|
61
|
-
// color: rgba(var(--ax-color-success-500));
|
62
|
-
// }
|
63
|
-
// }
|
64
|
-
// }
|
65
32
|
}
|
66
33
|
|
67
34
|
@mixin outline-look() {
|
68
|
-
|
35
|
+
@apply ax-bg-transparent #{!important};
|
69
36
|
}
|
70
37
|
|
71
38
|
@mixin fill-look() {
|
72
|
-
|
73
|
-
border-radius: var(--ax-rounded-border-default);
|
39
|
+
@apply ax-rounded-default ax-bg-on-surface;
|
74
40
|
&:focus-within {
|
75
|
-
|
41
|
+
@apply ax-ring-2 ax-ring-primary-500;
|
76
42
|
}
|
77
43
|
&.ax-state-error {
|
78
|
-
|
44
|
+
@apply ax-bg-danger-200 ax-text-danger-fore-tint;
|
79
45
|
&:focus-within {
|
80
|
-
|
46
|
+
@apply ax-ring-2 ax-ring-primary-500;
|
81
47
|
}
|
82
48
|
.ax-input {
|
83
49
|
&::placeholder {
|
84
|
-
|
50
|
+
@apply ax-text-danger-500;
|
85
51
|
}
|
86
52
|
}
|
87
53
|
}
|
88
|
-
|
89
|
-
// &.ax-state-success {
|
90
|
-
// background-color: rgba(var(--ax-color-success-50));
|
91
|
-
// &:focus-within {
|
92
|
-
// box-shadow: 0 0 0 2px rgba(var(--ax-color-success-500));
|
93
|
-
// }
|
94
|
-
// .ax-input {
|
95
|
-
// &::placeholder {
|
96
|
-
// color: rgba(var(--ax-color-success-500));
|
97
|
-
// }
|
98
|
-
// }
|
99
|
-
// }
|
100
54
|
}
|
package/src/mixins/_media.scss
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
@mixin media($media) {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
}
|
2
|
+
@if $media == 'phone' {
|
3
|
+
@media (max-width: 599px) {
|
4
|
+
@content;
|
6
5
|
}
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
6
|
+
}
|
7
|
+
@if $media == 'tablet' {
|
8
|
+
@media (min-width: 600px) {
|
9
|
+
@content;
|
11
10
|
}
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
11
|
+
}
|
12
|
+
@if $media == 'tablet-landscape' {
|
13
|
+
@media (min-width: 900px) {
|
14
|
+
@content;
|
16
15
|
}
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
16
|
+
}
|
17
|
+
@if $media == 'desktop' {
|
18
|
+
@media (min-width: 1200px) {
|
19
|
+
@content;
|
21
20
|
}
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
21
|
+
}
|
22
|
+
@if $media == 'desktop-large' {
|
23
|
+
@media (min-width: 1800px) {
|
24
|
+
@content;
|
26
25
|
}
|
26
|
+
}
|
27
27
|
}
|
package/src/mixins/_util.scss
CHANGED
@@ -1,18 +1,3 @@
|
|
1
|
-
@mixin color-variable-genterator($array) {
|
2
|
-
@each $name, $color in $array {
|
3
|
-
@if (type-of($color) == 'map') {
|
4
|
-
@each $subname, $variant in $color {
|
5
|
-
@if ($subname != '') {
|
6
|
-
--ax-color-#{$name}-#{$subname}: #{$variant};
|
7
|
-
} @else {
|
8
|
-
--ax-color-#{$name}: #{$variant};
|
9
|
-
}
|
10
|
-
}
|
11
|
-
} @else {
|
12
|
-
--ax-color-#{$name}: #{$color};
|
13
|
-
}
|
14
|
-
}
|
15
|
-
}
|
16
1
|
@mixin darkMode() {
|
17
2
|
.ax-dark {
|
18
3
|
@content;
|
@@ -1,40 +1,3 @@
|
|
1
1
|
.ax-actionsheet-panel {
|
2
|
-
|
3
|
-
-webkit-animation-duration: 100ms;
|
4
|
-
animation-fill-mode: both;
|
5
|
-
-webkit-animation-fill-mode: both;
|
6
|
-
opacity: 0;
|
7
|
-
animation-name: fadeInUp;
|
8
|
-
-webkit-animation-name: fadeInUp;
|
9
|
-
background-color: rgba(var(--ax-color-surface));
|
10
|
-
-webkit-border-top-left-radius: var(--ax-rounded-border-default);
|
11
|
-
-webkit-border-top-right-radius: var(--ax-rounded-border-default);
|
12
|
-
-moz-border-radius-topleft: var(--ax-rounded-border-default);
|
13
|
-
-moz-border-radius-topright: var(--ax-rounded-border-default);
|
14
|
-
border-top-left-radius: var(--ax-rounded-border-default);
|
15
|
-
border-top-right-radius: var(--ax-rounded-border-default);
|
16
|
-
box-shadow: 0 8px 10px -5px rgba(0, 0, 0, 0.2), 0 16px 24px 2px rgba(0, 0, 0, 0.141), 0 6px 30px 5px rgba(0, 0, 0, 0.122);
|
17
|
-
overflow: hidden;
|
18
|
-
|
19
|
-
@keyframes fadeInUp {
|
20
|
-
from {
|
21
|
-
transform: translate3d(0, 40px, 0);
|
22
|
-
}
|
23
|
-
|
24
|
-
to {
|
25
|
-
transform: translate3d(0, 0, 0);
|
26
|
-
opacity: 1;
|
27
|
-
}
|
28
|
-
}
|
29
|
-
|
30
|
-
@-webkit-keyframes fadeInUp {
|
31
|
-
from {
|
32
|
-
transform: translate3d(0, 40px, 0);
|
33
|
-
}
|
34
|
-
|
35
|
-
to {
|
36
|
-
transform: translate3d(0, 0, 0);
|
37
|
-
opacity: 1;
|
38
|
-
}
|
39
|
-
}
|
2
|
+
@apply ax-animate-fadeInUp ax-overflow-hidden ax-rounded-t-default ax-bg-surface ax-shadow-lg ax-animate-2xfaster;
|
40
3
|
}
|
@@ -1,24 +1,13 @@
|
|
1
1
|
@import '../mixins/index.scss';
|
2
2
|
|
3
3
|
.ax-checkbox {
|
4
|
-
|
5
|
-
height: 1.125rem;
|
6
|
-
border: 1px solid;
|
7
|
-
border-color: rgba(var(--ax-color-border-default));
|
8
|
-
background-color: rgba(var(--ax-color-input-surface));
|
9
|
-
border-radius: 0.2rem;
|
10
|
-
margin: 0;
|
11
|
-
outline: none;
|
12
|
-
vertical-align: middle;
|
13
|
-
appearance: none;
|
4
|
+
@apply ax-m-0 ax-h-4 ax-w-4 ax-cursor-pointer ax-appearance-none ax-rounded ax-border ax-border-default ax-bg-input-surface ax-align-middle ax-outline-none;
|
14
5
|
.ax-state-loading {
|
15
6
|
}
|
16
7
|
&:checked,
|
17
8
|
&:indeterminate {
|
18
|
-
border-
|
19
|
-
|
20
|
-
background-repeat: no-repeat;
|
21
|
-
background-size: contain;
|
9
|
+
@apply ax-border-primary-500 ax-bg-primary-500 #{!important};
|
10
|
+
@apply ax-bg-contain ax-bg-no-repeat;
|
22
11
|
}
|
23
12
|
|
24
13
|
&:checked {
|
@@ -29,16 +18,13 @@
|
|
29
18
|
background-image: url('data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2ZmZjt9PC9zdHlsZT48L2RlZnM+PHJlY3QgY2xhc3M9ImNscy0xIiB4PSIzIiB5PSI3IiB3aWR0aD0iMTAiIGhlaWdodD0iMiIvPjwvc3ZnPg==');
|
30
19
|
}
|
31
20
|
|
32
|
-
&:focus-visible
|
33
|
-
|
34
|
-
|
35
|
-
outline-style: solid;
|
36
|
-
outline-color: rgba(var(--ax-color-primary-500));
|
21
|
+
&:focus-visible,
|
22
|
+
&:focus {
|
23
|
+
@apply ax-ring-2 ax-ring-primary-500 ax-ring-offset-2 ax-ring-offset-surface;
|
37
24
|
}
|
38
25
|
|
39
26
|
&:disabled {
|
40
|
-
cursor
|
41
|
-
opacity: 0.5;
|
27
|
+
@apply ax-cursor-not-allowed ax-opacity-50;
|
42
28
|
}
|
43
29
|
}
|
44
30
|
|
@@ -1,46 +1,34 @@
|
|
1
1
|
.ax-decoration-container,
|
2
2
|
ax-header,
|
3
3
|
ax-footer {
|
4
|
-
|
5
|
-
justify-content: space-between;
|
6
|
-
gap: 0.5rem;
|
4
|
+
@apply ax-flex ax-justify-between ax-gap-2;
|
7
5
|
& > ax-prefix,
|
8
6
|
& > ax-suffix {
|
9
|
-
|
10
|
-
flex: 1 1 auto;
|
11
|
-
flex-direction: row;
|
12
|
-
gap: 0.5rem;
|
13
|
-
align-items: center;
|
7
|
+
@apply ax-flex ax-flex-1 ax-items-center ax-gap-2;
|
14
8
|
}
|
15
9
|
& > ax-prefix {
|
16
|
-
order
|
17
|
-
justify-content: flex-start;
|
18
|
-
align-items: center;
|
10
|
+
@apply -ax-order-last ax-items-center ax-justify-start;
|
19
11
|
}
|
20
12
|
& > ax-suffix {
|
21
|
-
order
|
22
|
-
justify-content: flex-end;
|
23
|
-
align-items: center;
|
13
|
+
@apply ax-order-last ax-items-center ax-justify-end;
|
24
14
|
}
|
25
15
|
}
|
26
16
|
|
27
17
|
ax-close-button {
|
28
18
|
button {
|
29
|
-
cursor
|
30
|
-
background-color: transparent;
|
31
|
-
display: flex;
|
19
|
+
@apply ax-flex ax-cursor-pointer ax-bg-transparent;
|
32
20
|
i {
|
33
|
-
|
34
|
-
}
|
35
|
-
&:focus {
|
36
|
-
outline: none;
|
37
|
-
opacity: 0.85;
|
21
|
+
@apply ax-text-2xl;
|
38
22
|
}
|
39
23
|
&:hover {
|
40
|
-
opacity
|
24
|
+
@apply ax-opacity-70;
|
41
25
|
}
|
26
|
+
&:focus {
|
27
|
+
@apply ax-opacity-80 ax-outline-none;
|
28
|
+
}
|
29
|
+
|
42
30
|
&:active {
|
43
|
-
opacity
|
31
|
+
@apply ax-opacity-100;
|
44
32
|
}
|
45
33
|
}
|
46
34
|
}
|
@@ -50,13 +38,8 @@ ax-icon {
|
|
50
38
|
}
|
51
39
|
|
52
40
|
ax-sub-title {
|
53
|
-
font-
|
54
|
-
font-size: 0.875rem;
|
55
|
-
opacity: 0.75;
|
41
|
+
@apply ax-text-sm ax-font-normal ax-opacity-75;
|
56
42
|
}
|
57
43
|
ax-form-hint {
|
58
|
-
|
59
|
-
color: rgba(var(--ax-color-text-default), 0.75);
|
60
|
-
margin-top: 0.5rem;
|
61
|
-
display: block;
|
44
|
+
@apply ax-mt-2 ax-block ax-text-sm ax-text-default/75;
|
62
45
|
}
|
@@ -1,65 +1,38 @@
|
|
1
1
|
@import '../variables/index.scss';
|
2
2
|
|
3
3
|
.ax-drop-down {
|
4
|
-
|
4
|
+
@apply ax-contents;
|
5
5
|
|
6
6
|
.ax-dropdown-content {
|
7
|
-
|
8
|
-
|
9
|
-
flex: 1 1 auto;
|
10
|
-
font-size: 0.875rem;
|
11
|
-
overflow-y: hidden;
|
12
|
-
overflow-x: auto;
|
13
|
-
text-transform: capitalize;
|
7
|
+
@apply ax-flex ax-flex-1 ax-items-center ax-overflow-x-auto ax-overflow-y-hidden ax-text-sm ax-capitalize;
|
8
|
+
|
14
9
|
&.ax-state-disabled {
|
15
|
-
opacity
|
16
|
-
cursor: not-allowed;
|
10
|
+
@apply ax-cursor-not-allowed ax-opacity-50;
|
17
11
|
}
|
18
12
|
}
|
19
13
|
}
|
20
14
|
|
21
15
|
.ax-overlay-pane {
|
22
|
-
|
23
|
-
background-color: rgba(var(--ax-color-surface));
|
24
|
-
border: 1px solid;
|
25
|
-
border-color: rgba(var(--ax-color-border-default));
|
26
|
-
border-radius: var(--ax-rounded-border-default);
|
27
|
-
box-shadow:
|
28
|
-
0px 10px 15px -3px rgba(0, 0, 0, 0.1),
|
29
|
-
0px 4px 6px -2px rgba(0, 0, 0, 0.05);
|
30
|
-
overflow: hidden;
|
31
|
-
margin-top: 0.25rem;
|
16
|
+
@apply ax-mt-1 ax-h-fit ax-overflow-hidden ax-rounded-none ax-border ax-border-default ax-bg-surface ax-shadow-md md:ax-rounded-default;
|
32
17
|
ax-header,
|
33
18
|
ax-footer {
|
34
|
-
|
35
|
-
padding: 0.75rem;
|
36
|
-
}
|
37
|
-
|
38
|
-
@include media('phone') {
|
39
|
-
border-bottom-right-radius: 0px;
|
40
|
-
border-bottom-left-radius: 0px;
|
19
|
+
@apply ax-bg-surface ax-p-3;
|
41
20
|
}
|
42
21
|
|
43
22
|
&.ax-overlay-center {
|
44
|
-
|
45
|
-
max-height: 90vh;
|
46
|
-
width: 80vw;
|
23
|
+
@apply ax-h-fit ax-w-[80vw] ax-max-w-[90vh];
|
47
24
|
}
|
48
25
|
|
49
26
|
&.ax-overlay-actionsheet {
|
50
|
-
|
51
|
-
width: 100%;
|
52
|
-
height: auto;
|
53
|
-
max-height: 85vh;
|
54
|
-
|
27
|
+
@apply ax-h-auto ax-max-h-[85vh] ax-w-full ax-bg-surface;
|
55
28
|
&.ax-full {
|
56
|
-
max-
|
57
|
-
height: 95vh;
|
29
|
+
@apply ax-h-[95vh] ax-max-h-[95vh];
|
58
30
|
}
|
59
31
|
}
|
60
32
|
|
61
33
|
&.ax-overlay-full {
|
62
34
|
width: 100vw;
|
63
35
|
height: 100vh;
|
36
|
+
@apply ax-h-screen ax-w-screen;
|
64
37
|
}
|
65
38
|
}
|
@@ -4,7 +4,7 @@
|
|
4
4
|
.ax-editor-container {
|
5
5
|
&.ax-look-fill {
|
6
6
|
&.ax-state-error {
|
7
|
-
|
7
|
+
@apply ax-bg-danger-500/25;
|
8
8
|
}
|
9
9
|
|
10
10
|
// &.ax-state-success {
|
@@ -14,14 +14,8 @@
|
|
14
14
|
}
|
15
15
|
}
|
16
16
|
.ax-editor-container {
|
17
|
-
|
18
|
-
|
19
|
-
display: flex;
|
20
|
-
align-items: center;
|
21
|
-
color: rgba(var(--ax-color-input-surface-fore));
|
22
|
-
font-size: 0.875rem;
|
23
|
-
overflow: hidden;
|
24
|
-
line-height: 1;
|
17
|
+
@apply ax-flex ax-h-default ax-w-full ax-items-center ax-overflow-hidden ax-text-sm ax-leading-none ax-text-input-surface-fore;
|
18
|
+
|
25
19
|
&.ax-look-solid,
|
26
20
|
&.ax-look-outline {
|
27
21
|
@include solid-look();
|
@@ -37,103 +31,77 @@
|
|
37
31
|
}
|
38
32
|
|
39
33
|
.ax-editor-input {
|
40
|
-
|
41
|
-
flex: 1;
|
34
|
+
@apply ax-h-full ax-flex-1;
|
42
35
|
.ax-input {
|
43
|
-
|
36
|
+
@apply ax-h-full;
|
44
37
|
}
|
45
38
|
}
|
46
39
|
.ax-input {
|
47
|
-
|
48
|
-
|
40
|
+
@apply ax-px-3;
|
49
41
|
&::placeholder {
|
50
|
-
color: rgba(var(--ax-color-text-default), 0.5);
|
51
|
-
font-weight: 500;
|
52
42
|
font-size: inherit;
|
43
|
+
@apply ax-font-normal ax-text-default/50;
|
53
44
|
}
|
54
45
|
}
|
55
46
|
|
56
47
|
&.ax-xs {
|
57
48
|
.ax-input {
|
58
|
-
|
59
|
-
line-height: calc(var(--ax-size-base) - 0.75rem);
|
60
|
-
padding: 0.5rem;
|
49
|
+
@apply ax-p-2 ax-text-xs;
|
61
50
|
}
|
62
51
|
}
|
63
52
|
&.ax-sm {
|
64
53
|
.ax-input {
|
65
|
-
|
66
|
-
line-height: calc(var(--ax-size-base) - 0.5rem);
|
67
|
-
padding: 0.5rem;
|
54
|
+
@apply ax-p-2 ax-text-sm;
|
68
55
|
}
|
69
56
|
}
|
70
57
|
&.ax-md {
|
71
58
|
.ax-input {
|
72
|
-
|
73
|
-
line-height: var(--ax-size-base);
|
59
|
+
@apply ax-text-sm;
|
74
60
|
}
|
75
61
|
}
|
76
62
|
&.ax-lg {
|
77
63
|
.ax-input {
|
78
|
-
|
79
|
-
line-height: calc(var(--ax-size-base) + 0.5rem);
|
64
|
+
@apply ax-text-lg;
|
80
65
|
}
|
81
66
|
}
|
82
67
|
&.ax-xl {
|
83
68
|
.ax-input {
|
84
|
-
|
85
|
-
line-height: calc(var(--ax-size-base) + 1rem);
|
69
|
+
@apply ax-text-lg;
|
86
70
|
}
|
87
71
|
}
|
88
72
|
|
89
73
|
.ax-editor-control {
|
90
|
-
|
91
|
-
align-items: center;
|
92
|
-
justify-content: center;
|
93
|
-
// width: var(--ax-size-default);
|
94
|
-
// min-width: var(--ax-size-default);
|
95
|
-
padding-inline-start: 0.5rem;
|
96
|
-
height: 100%;
|
97
|
-
font-size: 1.25rem;
|
98
|
-
line-height: 1.25rem;
|
99
|
-
color: rgba(var(--ax-color-text-default));
|
74
|
+
@apply ax-flex ax-h-full ax-items-center ax-justify-center ax-ps-2 ax-text-lg ax-text-input-surface-fore;
|
100
75
|
}
|
101
76
|
|
102
77
|
&.ax-button-icon {
|
103
|
-
|
104
|
-
padding-right: 0.5rem;
|
78
|
+
@apply ax-px-2;
|
105
79
|
}
|
106
80
|
.ax-input,
|
107
81
|
.ax-text-area {
|
108
|
-
width: 100%;
|
109
|
-
height: 100%;
|
110
|
-
background-color: transparent;
|
111
|
-
flex: 1 1 0%;
|
112
|
-
border: none;
|
113
82
|
text-align: inherit;
|
114
83
|
font-family: inherit;
|
115
84
|
font-size: inherit;
|
116
85
|
line-height: inherit;
|
117
|
-
font-
|
86
|
+
@apply ax-h-full ax-w-full ax-flex-1 ax-bg-transparent ax-font-normal;
|
118
87
|
|
119
88
|
&:focus {
|
120
|
-
|
89
|
+
@apply ax-shadow-none;
|
121
90
|
}
|
122
91
|
}
|
123
92
|
|
124
93
|
.ax-text-area {
|
125
|
-
|
94
|
+
@apply ax-p-2.5;
|
126
95
|
}
|
127
96
|
& > ax-prefix {
|
128
97
|
*,
|
129
98
|
.ax-button,
|
130
99
|
ax-title {
|
131
|
-
|
132
|
-
border-end-start-radius: 0.25rem;
|
100
|
+
@apply ax-rounded-es ax-rounded-ss;
|
133
101
|
}
|
134
102
|
|
135
103
|
ax-icon {
|
136
|
-
|
104
|
+
@apply ax-ps-3;
|
137
105
|
}
|
138
106
|
}
|
139
107
|
|
@@ -141,60 +109,48 @@
|
|
141
109
|
*,
|
142
110
|
.ax-button,
|
143
111
|
ax-title {
|
144
|
-
|
145
|
-
border-end-end-radius: 0.25rem;
|
112
|
+
@apply ax-rounded-ee ax-rounded-se;
|
146
113
|
}
|
147
114
|
ax-icon {
|
148
|
-
|
115
|
+
@apply ax-pe-3;
|
149
116
|
}
|
150
117
|
}
|
151
118
|
|
152
119
|
& > ax-prefix,
|
153
120
|
& > ax-suffix {
|
154
|
-
|
121
|
+
@apply ax-h-full;
|
122
|
+
+ .ax-input {
|
123
|
+
@apply ax-px-0.5 #{!important};
|
124
|
+
}
|
155
125
|
* {
|
156
|
-
|
157
|
-
display: flex;
|
158
|
-
justify-content: center;
|
159
|
-
align-items: center;
|
160
|
-
border-radius: 0;
|
126
|
+
@apply ax-flex ax-h-full ax-items-center ax-justify-center ax-rounded-none;
|
161
127
|
}
|
162
128
|
|
163
129
|
ax-title {
|
164
|
-
|
165
|
-
padding-right: 1rem /* 16px */;
|
130
|
+
@apply ax-px-4;
|
166
131
|
}
|
167
132
|
|
168
133
|
& > ax-text {
|
169
|
-
|
170
|
-
background-color: transparent;
|
171
|
-
display: flex;
|
172
|
-
align-items: center;
|
173
|
-
justify-content: center;
|
174
|
-
padding: 0 0.5rem;
|
175
|
-
line-height: 1;
|
134
|
+
@apply ax-flex ax-items-center ax-justify-center ax-bg-transparent ax-px-2 ax-text-sm;
|
176
135
|
}
|
177
136
|
}
|
178
137
|
|
179
138
|
.ax-button {
|
180
|
-
|
181
|
-
border-radius: 0;
|
139
|
+
@apply ax-h-full ax-rounded-none #{!important};
|
182
140
|
|
183
141
|
&.ax-button-icon {
|
184
|
-
|
185
|
-
height: 100%;
|
142
|
+
@apply ax-h-full ax-w-default;
|
186
143
|
}
|
187
144
|
}
|
188
145
|
|
189
146
|
&.ax-state-disabled {
|
190
|
-
opacity
|
147
|
+
@apply ax-cursor-not-allowed ax-opacity-50;
|
191
148
|
}
|
192
149
|
}
|
193
150
|
.ax-ripple {
|
194
|
-
position: absolute;
|
195
|
-
border-radius: 50%;
|
196
151
|
transform: scale(0);
|
197
152
|
animation: ripple 500ms linear;
|
153
|
+
@apply ax-absolute ax-rounded-full;
|
198
154
|
@keyframes ripple {
|
199
155
|
to {
|
200
156
|
transform: scale(4);
|