@acorex/styles 4.0.24 → 5.0.4
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 +2 -48
- package/package.json +11 -11
- package/src/base/_colors.scss +16 -0
- package/src/base/index.scss +7 -0
- package/src/components/_alert.scss +148 -0
- package/src/components/_badge.scss +39 -0
- package/src/components/_button.scss +652 -0
- package/src/components/_calendar.scss +97 -0
- package/src/components/_carousel.scss +61 -0
- package/src/components/_checkbox.scss +25 -0
- package/src/components/_datapager.scss +40 -0
- package/src/components/_datepicker.scss +5 -0
- package/src/components/_dialog.scss +62 -0
- package/src/components/_drawer.scss +79 -0
- package/src/components/_dropdown.scss +178 -0
- package/src/components/_editor-container.scss +70 -0
- package/src/components/_form.scss +8 -0
- package/src/components/_input.scss +16 -0
- package/src/components/_label.scss +5 -0
- package/src/components/_list.scss +49 -0
- package/src/components/_loading.scss +54 -0
- package/src/components/_popup.scss +87 -0
- package/src/components/_radio.scss +30 -0
- package/src/components/_range-slider.scss +14 -0
- package/src/components/_selectbox.scss +15 -0
- package/src/components/_selection-list.scss +28 -0
- package/src/components/_side-menu.scss +46 -0
- package/src/components/_skeleton.scss +25 -0
- package/src/components/_switch.scss +200 -0
- package/src/components/_table.scss +22 -0
- package/src/components/_tabs.scss +117 -0
- package/src/components/_toast.scss +94 -0
- package/src/components/_tooltip.scss +44 -0
- package/src/components/index.scss +29 -0
- package/{variables/bases/_color.scss → src/variables/_colors.scss} +135 -135
- package/src/variables/_mixins.scss +18 -0
- package/scss/ax-icon/fonts/acorex.eot +0 -0
- package/scss/ax-icon/fonts/acorex.svg +0 -1434
- package/scss/ax-icon/fonts/acorex.ttf +0 -0
- package/scss/ax-icon/fonts/acorex.woff +0 -0
- package/scss/ax-icon/selection.json +0 -1
- package/scss/ax-icon/style.scss +0 -7218
- package/scss/ax-icon/variables.scss +0 -1428
- package/scss/bases/accessiblity.scss +0 -38
- package/scss/bases/background.scss +0 -76
- package/scss/bases/border.scss +0 -453
- package/scss/bases/effects.scss +0 -56
- package/scss/bases/filter.scss +0 -184
- package/scss/bases/flexbox-and-grid.scss +0 -254
- package/scss/bases/interactivity.scss +0 -42
- package/scss/bases/layout.scss +0 -207
- package/scss/bases/root.scss +0 -53
- package/scss/bases/sizing.scss +0 -43
- package/scss/bases/skeleton.scss +0 -30
- package/scss/bases/spacing.scss +0 -245
- package/scss/bases/svg.scss +0 -18
- package/scss/bases/table.scss +0 -15
- package/scss/bases/transform.scss +0 -114
- package/scss/bases/transition-and-animation.scss +0 -116
- package/scss/bases/typography.scss +0 -210
- package/scss/components/alert.scss +0 -131
- package/scss/components/badge.scss +0 -6
- package/scss/components/button.scss +0 -264
- package/scss/components/calendar.scss +0 -120
- package/scss/components/carousel.scss +0 -67
- package/scss/components/checkbox.scss +0 -36
- package/scss/components/datapager.scss +0 -80
- package/scss/components/datepicker.scss +0 -8
- package/scss/components/dialog.scss +0 -61
- package/scss/components/drawer.scss +0 -78
- package/scss/components/dropdown.scss +0 -35
- package/scss/components/editor-container.scss +0 -105
- package/scss/components/input.scss +0 -47
- package/scss/components/label.scss +0 -6
- package/scss/components/list.scss +0 -55
- package/scss/components/loading.scss +0 -47
- package/scss/components/popup.scss +0 -103
- package/scss/components/radio.scss +0 -36
- package/scss/components/selectbox.scss +0 -39
- package/scss/components/selection-list.scss +0 -22
- package/scss/components/side-menu.scss +0 -44
- package/scss/components/switch.scss +0 -178
- package/scss/components/table.scss +0 -22
- package/scss/components/tabs.scss +0 -115
- package/scss/components/text-box.scss +0 -4
- package/scss/components/toast.scss +0 -82
- package/scss/components/tooltip.scss +0 -42
- package/variables/bases/_accessiblity.scss +0 -22
- package/variables/bases/_background.scss +0 -57
- package/variables/bases/_border.scss +0 -106
- package/variables/bases/_common.scss +0 -6
- package/variables/bases/_effects.scss +0 -36
- package/variables/bases/_filter.scss +0 -62
- package/variables/bases/_flexbox-and-grid.scss +0 -138
- package/variables/bases/_interactivity.scss +0 -31
- package/variables/bases/_layout.scss +0 -102
- package/variables/bases/_root.scss +0 -70
- package/variables/bases/_sizing.scss +0 -322
- package/variables/bases/_spacing.scss +0 -38
- package/variables/bases/_svg.scss +0 -1
- package/variables/bases/_table.scss +0 -2
- package/variables/bases/_transform.scss +0 -88
- package/variables/bases/_transition-and-animation.scss +0 -26
- package/variables/bases/_typography.scss +0 -191
- package/variables/components/_button.scss +0 -0
- package/variables/components/_editor-container.scss +0 -5
- package/variables/components/_input.scss +0 -0
@@ -1,47 +0,0 @@
|
|
1
|
-
.ax-loading {
|
2
|
-
position: relative;
|
3
|
-
background: rgba(var(--ax-color-white), .2);
|
4
|
-
width: 4rem;
|
5
|
-
height: 4rem;
|
6
|
-
|
7
|
-
&::before,
|
8
|
-
&::after {
|
9
|
-
content: '';
|
10
|
-
position: absolute;
|
11
|
-
top: 50%;
|
12
|
-
left: 50%;
|
13
|
-
width: 100%;
|
14
|
-
height: 100%;
|
15
|
-
border-radius: 50%;
|
16
|
-
transform: translate(-50%, -50%) scale(0);
|
17
|
-
}
|
18
|
-
|
19
|
-
&::before {
|
20
|
-
@extend .ax-bg-primary;
|
21
|
-
animation: pulse2 2s ease-in-out infinite;
|
22
|
-
}
|
23
|
-
|
24
|
-
&::after {
|
25
|
-
@extend .ax-bg-primary;
|
26
|
-
animation: pulse2 2s 1s ease-in-out infinite;
|
27
|
-
}
|
28
|
-
}
|
29
|
-
|
30
|
-
.ax-loading-overlay
|
31
|
-
{
|
32
|
-
background: rgba(var(--ax-color-white), .2);
|
33
|
-
}
|
34
|
-
|
35
|
-
@keyframes pulse2 {
|
36
|
-
|
37
|
-
0%,
|
38
|
-
100% {
|
39
|
-
transform: translate(-50%, -50%) scale(0);
|
40
|
-
opacity: 1;
|
41
|
-
}
|
42
|
-
|
43
|
-
50% {
|
44
|
-
transform: translate(-50%, -50%) scale(1.0);
|
45
|
-
opacity: 0;
|
46
|
-
}
|
47
|
-
}
|
@@ -1,103 +0,0 @@
|
|
1
|
-
.ax-popup {
|
2
|
-
max-height: 98vh;
|
3
|
-
min-height: fit-content;
|
4
|
-
@extend .ax-flex,
|
5
|
-
.ax-flex-col,
|
6
|
-
.ax-bg-white,
|
7
|
-
.ax-w-6\\12,
|
8
|
-
.ax-shadow-lg,
|
9
|
-
.ax-border,
|
10
|
-
.ax-border-color,
|
11
|
-
.ax-border-solid,
|
12
|
-
.ax-rounded,
|
13
|
-
.ax-outline-none,
|
14
|
-
.ax-p-0;
|
15
|
-
|
16
|
-
&:focus {
|
17
|
-
@extend .ax-ring-2, .ax-ring-color-primary, .ax-ring-opacity-100, .ax-border-color-transparent;
|
18
|
-
}
|
19
|
-
|
20
|
-
header {
|
21
|
-
@extend .ax-flex, .ax-justify-between, .ax-px-3, .ax-py-2, .ax-border-b, .ax-border-color, .ax-border-solid;
|
22
|
-
}
|
23
|
-
|
24
|
-
main {
|
25
|
-
@extend .ax-flex-1, .ax-overflow-auto;
|
26
|
-
}
|
27
|
-
|
28
|
-
footer {
|
29
|
-
@extend .ax-flex, .ax-justify-between, .ax-px-3, .ax-py-2, .ax-border-t, .ax-border-color, .ax-border-solid;
|
30
|
-
}
|
31
|
-
|
32
|
-
header,
|
33
|
-
footer {
|
34
|
-
> div {
|
35
|
-
@extend .ax-flex, .ax-items-center;
|
36
|
-
}
|
37
|
-
}
|
38
|
-
|
39
|
-
@media all and (min-width: 1280px) {
|
40
|
-
&.ax-sm {
|
41
|
-
width: 420px !important;
|
42
|
-
}
|
43
|
-
|
44
|
-
&.ax-md {
|
45
|
-
width: 680px !important;
|
46
|
-
}
|
47
|
-
|
48
|
-
&.ax-lg {
|
49
|
-
width: 1024px !important;
|
50
|
-
}
|
51
|
-
}
|
52
|
-
|
53
|
-
@media all and (min-width: 1024px) and (max-width: 1279px) {
|
54
|
-
&.ax-sm {
|
55
|
-
width: 100vw;
|
56
|
-
max-height: 100vh;
|
57
|
-
}
|
58
|
-
|
59
|
-
&.ax-md {
|
60
|
-
width: 500px !important;
|
61
|
-
}
|
62
|
-
|
63
|
-
&.ax-lg {
|
64
|
-
width: 900px !important;
|
65
|
-
}
|
66
|
-
}
|
67
|
-
|
68
|
-
@media all and (min-width: 768px) and (max-width: 1023px) {
|
69
|
-
&.ax-sm {
|
70
|
-
width: 100vw;
|
71
|
-
max-height: 100vh;
|
72
|
-
}
|
73
|
-
|
74
|
-
&.ax-md {
|
75
|
-
width: 500px !important;
|
76
|
-
}
|
77
|
-
|
78
|
-
&.ax-lg {
|
79
|
-
width: 700px !important;
|
80
|
-
}
|
81
|
-
}
|
82
|
-
|
83
|
-
@media all and (min-width: 425px) and (max-width: 767px) {
|
84
|
-
&.ax-sm {
|
85
|
-
width: 100vw;
|
86
|
-
max-height: 100vh;
|
87
|
-
}
|
88
|
-
|
89
|
-
&.ax-md,
|
90
|
-
&.ax-lg {
|
91
|
-
width: 460px !important;
|
92
|
-
}
|
93
|
-
}
|
94
|
-
|
95
|
-
@media all and (min-width: 0px) and (max-width: 424px) {
|
96
|
-
&.ax-sm,
|
97
|
-
&.ax-md,
|
98
|
-
&.ax-lg {
|
99
|
-
width: 100vw;
|
100
|
-
max-height: 100vh;
|
101
|
-
}
|
102
|
-
}
|
103
|
-
}
|
@@ -1,36 +0,0 @@
|
|
1
|
-
.ax-radio-label {
|
2
|
-
@extend .ax-text-base, .ax-font-medium;
|
3
|
-
span {
|
4
|
-
vertical-align: middle;
|
5
|
-
@extend .ax-px-1\.5;
|
6
|
-
}
|
7
|
-
.ax-radio {
|
8
|
-
vertical-align: middle;
|
9
|
-
@extend .ax-w-4,
|
10
|
-
.ax-h-4,
|
11
|
-
.ax-border,
|
12
|
-
.ax-border-solid,
|
13
|
-
.ax-border-color,
|
14
|
-
.ax-rounded-full,
|
15
|
-
.ax-bg-white,
|
16
|
-
.ax-text-primary,
|
17
|
-
.ax-shadow-sm,
|
18
|
-
.ax-m-0,
|
19
|
-
.ax-outline-none;
|
20
|
-
&:checked {
|
21
|
-
@extend .ax-border-color-primary;
|
22
|
-
background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");
|
23
|
-
border-color: transparent;
|
24
|
-
background-color: currentColor;
|
25
|
-
background-size: 100% 100%;
|
26
|
-
background-position: center;
|
27
|
-
background-repeat: no-repeat;
|
28
|
-
}
|
29
|
-
&:focus {
|
30
|
-
@extend .ax-ring-1, .ax-ring-color-primary, .ax-ring-offset-2;
|
31
|
-
}
|
32
|
-
-moz-appearance: none;
|
33
|
-
-webkit-appearance: none;
|
34
|
-
-o-appearance: none;
|
35
|
-
}
|
36
|
-
}
|
@@ -1,39 +0,0 @@
|
|
1
|
-
.ax-select-box {
|
2
|
-
.ax-select-box-selection {
|
3
|
-
@extend .ax-flex, .ax-justify-center, .ax-items-center, .ax-overflow-x-auto, .ax-outline-none;
|
4
|
-
|
5
|
-
.ax-dropdown-chips {
|
6
|
-
@extend .ax-flex, .ax-overflow-x-auto;
|
7
|
-
}
|
8
|
-
|
9
|
-
.ax-chips {
|
10
|
-
@include components-sizing(
|
11
|
-
var(--ax-space-1) var(--ax-space-2),
|
12
|
-
var(--ax-font-size-text-base),
|
13
|
-
var(--ax-line-height-text-base),
|
14
|
-
var(--ax-border-rounded)
|
15
|
-
);
|
16
|
-
@extend .ax-bg-primary-100, .ax-text-primary, .ax-mr-1;
|
17
|
-
// @extend .ax-flex,
|
18
|
-
// .ax-bg-light-100,
|
19
|
-
// .ax-border,
|
20
|
-
// .ax-border-solid,
|
21
|
-
// .ax-border-color,
|
22
|
-
// .ax-py-1,
|
23
|
-
// .ax-px-2,
|
24
|
-
// .ax-mr-1,
|
25
|
-
// .ax-rounded-full,
|
26
|
-
// .ax-whitespace-nowrap;
|
27
|
-
// .ax-close-icon {
|
28
|
-
// @extend .ax-ml-2, .ax-cursor-pointer;
|
29
|
-
// }
|
30
|
-
.ax-ic-clear {
|
31
|
-
@extend .ax-cursor-pointer;
|
32
|
-
}
|
33
|
-
}
|
34
|
-
|
35
|
-
.ax-selectbox-input {
|
36
|
-
@extend .ax-opacity-0, .ax-w-0;
|
37
|
-
}
|
38
|
-
}
|
39
|
-
}
|
@@ -1,22 +0,0 @@
|
|
1
|
-
.ax-selection-list {
|
2
|
-
@extend .ax-flex, .ax-flex-wrap;
|
3
|
-
|
4
|
-
&.ax-vertical {
|
5
|
-
@extend .ax-flex-col;
|
6
|
-
}
|
7
|
-
|
8
|
-
&.ax-horizontal {
|
9
|
-
@extend .ax-flex-row;
|
10
|
-
}
|
11
|
-
|
12
|
-
&.ax-state-error {
|
13
|
-
@extend .ax-text-danger;
|
14
|
-
.ax-checkbox-checkmark {
|
15
|
-
@extend .ax-border-color-danger;
|
16
|
-
}
|
17
|
-
|
18
|
-
.ax-radio-checkmark {
|
19
|
-
@extend .ax-border-color-danger;
|
20
|
-
}
|
21
|
-
}
|
22
|
-
}
|
@@ -1,44 +0,0 @@
|
|
1
|
-
.ax-side-menu {
|
2
|
-
@extend .ax-list-none, .ax-p-0, .ax-m-0;
|
3
|
-
.ax-side-menu-item {
|
4
|
-
@extend .ax-flex, .ax-items-center, .ax-p-2, .ax-cursor-pointer;
|
5
|
-
&:hover {
|
6
|
-
@extend .ax-bg-light-100;
|
7
|
-
}
|
8
|
-
&:focus {
|
9
|
-
@extend .ax-outline-none,
|
10
|
-
.ax-ring-2,
|
11
|
-
.ax-ring-color-primary,
|
12
|
-
.ax-ring-opacity-100,
|
13
|
-
.ax-border-color-transparent;
|
14
|
-
}
|
15
|
-
.ax-side-menu-icon {
|
16
|
-
@extend .ax-pr-2, .ax-h-full, .ax-flex, .ax-items-center;
|
17
|
-
}
|
18
|
-
.ax-side-menu-text {
|
19
|
-
@extend .ax-flex-1;
|
20
|
-
}
|
21
|
-
.ax-side-menu-badge {
|
22
|
-
}
|
23
|
-
}
|
24
|
-
&.ax-alternate {
|
25
|
-
.ax-side-menu-item {
|
26
|
-
&:nth-child(odd) {
|
27
|
-
@extend .ax-bg-light-100;
|
28
|
-
}
|
29
|
-
&:hover {
|
30
|
-
@extend .ax-bg-light-300;
|
31
|
-
}
|
32
|
-
}
|
33
|
-
}
|
34
|
-
&.ax-divided {
|
35
|
-
.ax-side-menu-item {
|
36
|
-
&:not(:last-child) {
|
37
|
-
@extend .ax-border-b, .ax-border-color, .ax-border-solid;
|
38
|
-
}
|
39
|
-
&:hover {
|
40
|
-
@extend .ax-bg-light-100;
|
41
|
-
}
|
42
|
-
}
|
43
|
-
}
|
44
|
-
}
|
@@ -1,178 +0,0 @@
|
|
1
|
-
.ax-switch {
|
2
|
-
position: relative;
|
3
|
-
display: block;
|
4
|
-
width: 46px;
|
5
|
-
height: 25px;
|
6
|
-
margin: 5px;
|
7
|
-
|
8
|
-
>input {
|
9
|
-
opacity: 0;
|
10
|
-
width: 0;
|
11
|
-
height: 0;
|
12
|
-
&:checked {
|
13
|
-
&+.ax-switch-slider {
|
14
|
-
background-color: rgb(var(--ax-color-primary));
|
15
|
-
|
16
|
-
&::before {
|
17
|
-
-webkit-transform: translateX(21px);
|
18
|
-
-ms-transform: translateX(21px);
|
19
|
-
transform: translateX(21px);
|
20
|
-
}
|
21
|
-
}
|
22
|
-
}
|
23
|
-
}
|
24
|
-
|
25
|
-
input:focus~.ax-switch-slider {
|
26
|
-
@extend .ax-ring-2,
|
27
|
-
.ax-ring-color-primary,
|
28
|
-
.ax-ring-opacity-100,
|
29
|
-
.ax-border-color-transparent;
|
30
|
-
}
|
31
|
-
|
32
|
-
&.ax-state-error {
|
33
|
-
.ax-switch-slider {
|
34
|
-
@extend .ax-ring-2,
|
35
|
-
.ax-ring-color-danger,
|
36
|
-
.ax-ring-opacity-100,
|
37
|
-
.ax-border-color-transparent;
|
38
|
-
}
|
39
|
-
}
|
40
|
-
|
41
|
-
&.ax-state-disabled {
|
42
|
-
.ax-switch-slider {
|
43
|
-
background-color: rgb(var(--ax-color-disabled)) !important;
|
44
|
-
@extend .ax-cursor-not-allowed,
|
45
|
-
.ax-border-color-disabled;
|
46
|
-
|
47
|
-
&:after {
|
48
|
-
@extend .ax-border-color-disabled;
|
49
|
-
}
|
50
|
-
|
51
|
-
&:hover {
|
52
|
-
@extend .ax-border-color-disabled;
|
53
|
-
}
|
54
|
-
}
|
55
|
-
}
|
56
|
-
|
57
|
-
&.ax-state-readonly {
|
58
|
-
.ax-switch-slider {
|
59
|
-
opacity: 0.6;
|
60
|
-
@extend .ax-cursor-not-allowed;
|
61
|
-
}
|
62
|
-
}
|
63
|
-
|
64
|
-
.ax-switch-slider {
|
65
|
-
position: absolute;
|
66
|
-
cursor: pointer;
|
67
|
-
top: 0;
|
68
|
-
left: 0;
|
69
|
-
right: 0;
|
70
|
-
bottom: 0;
|
71
|
-
background-color: rgb(var(--ax-color-gray-400));
|
72
|
-
-webkit-transition: 0.2s;
|
73
|
-
transition: 0.2s;
|
74
|
-
border-radius: 25px;
|
75
|
-
|
76
|
-
&::before {
|
77
|
-
content: "";
|
78
|
-
position: absolute;
|
79
|
-
height: 21px;
|
80
|
-
width: 21px;
|
81
|
-
left: 2px;
|
82
|
-
bottom: 2px;
|
83
|
-
background-color: white;
|
84
|
-
-webkit-transition: 0.2s;
|
85
|
-
transition: 0.2s;
|
86
|
-
border-radius: 50%;
|
87
|
-
}
|
88
|
-
}
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
&.ax-success {
|
93
|
-
>input {
|
94
|
-
&:checked {
|
95
|
-
&+.ax-switch-slider {
|
96
|
-
background-color: rgb(var(--ax-color-success));
|
97
|
-
}
|
98
|
-
}
|
99
|
-
}
|
100
|
-
input:focus~.ax-switch-slider {
|
101
|
-
@extend .ax-ring-color-success,
|
102
|
-
}
|
103
|
-
}
|
104
|
-
|
105
|
-
&.ax-secondary {
|
106
|
-
>input {
|
107
|
-
&:checked {
|
108
|
-
&+.ax-switch-slider {
|
109
|
-
background-color: rgb(var(--ax-color-secondary));
|
110
|
-
}
|
111
|
-
}
|
112
|
-
}
|
113
|
-
input:focus~.ax-switch-slider {
|
114
|
-
@extend .ax-ring-color-secondary,
|
115
|
-
}
|
116
|
-
}
|
117
|
-
|
118
|
-
&.ax-danger {
|
119
|
-
>input {
|
120
|
-
&:checked {
|
121
|
-
&+.ax-switch-slider {
|
122
|
-
background-color: rgb(var(--ax-color-danger));
|
123
|
-
}
|
124
|
-
}
|
125
|
-
}
|
126
|
-
input:focus~.ax-switch-slider {
|
127
|
-
@extend .ax-ring-color-danger,
|
128
|
-
}
|
129
|
-
}
|
130
|
-
&.ax-warning {
|
131
|
-
>input {
|
132
|
-
&:checked {
|
133
|
-
&+.ax-switch-slider {
|
134
|
-
background-color: rgb(var(--ax-color-warning));
|
135
|
-
}
|
136
|
-
}
|
137
|
-
}
|
138
|
-
input:focus~.ax-switch-slider {
|
139
|
-
@extend .ax-ring-color-warning,
|
140
|
-
}
|
141
|
-
}
|
142
|
-
&.ax-info {
|
143
|
-
>input {
|
144
|
-
&:checked {
|
145
|
-
&+.ax-switch-slider {
|
146
|
-
background-color: rgb(var(--ax-color-info));
|
147
|
-
}
|
148
|
-
}
|
149
|
-
}
|
150
|
-
input:focus~.ax-switch-slider {
|
151
|
-
@extend .ax-ring-color-info,
|
152
|
-
}
|
153
|
-
}
|
154
|
-
&.ax-light {
|
155
|
-
>input {
|
156
|
-
&:checked {
|
157
|
-
&+.ax-switch-slider {
|
158
|
-
background-color: rgb(var(--ax-color-light));
|
159
|
-
}
|
160
|
-
}
|
161
|
-
}
|
162
|
-
input:focus~.ax-switch-slider {
|
163
|
-
@extend .ax-ring-color-light,
|
164
|
-
}
|
165
|
-
}
|
166
|
-
&.ax-dark {
|
167
|
-
>input {
|
168
|
-
&:checked {
|
169
|
-
&+.ax-switch-slider {
|
170
|
-
background-color: rgb(var(--ax-color-dark));
|
171
|
-
}
|
172
|
-
}
|
173
|
-
}
|
174
|
-
input:focus~.ax-switch-slider {
|
175
|
-
@extend .ax-ring-color-dark,
|
176
|
-
}
|
177
|
-
}
|
178
|
-
}
|
@@ -1,22 +0,0 @@
|
|
1
|
-
.ax-table {
|
2
|
-
@extend .ax-w-full;
|
3
|
-
table {
|
4
|
-
border-collapse: collapse;
|
5
|
-
@extend .ax-w-full;
|
6
|
-
}
|
7
|
-
|
8
|
-
td,
|
9
|
-
th {
|
10
|
-
@extend .ax-p-4, .ax-border, .ax-border-solid, .ax-border-color;
|
11
|
-
text-align: inherit;
|
12
|
-
}
|
13
|
-
|
14
|
-
&.ax-alternative {
|
15
|
-
tr {
|
16
|
-
@extend .ax-bg-white;
|
17
|
-
&:nth-child(even) {
|
18
|
-
@extend .ax-bg-gray-50;
|
19
|
-
}
|
20
|
-
}
|
21
|
-
}
|
22
|
-
}
|
@@ -1,115 +0,0 @@
|
|
1
|
-
.ax-tabs {
|
2
|
-
@extend .ax-flex, .ax-p-0, .ax-overflow-hidden;
|
3
|
-
&.ax-tabs-full {
|
4
|
-
.ax-tab-item-container,
|
5
|
-
.ax-tab-item {
|
6
|
-
@extend .ax-flex-1;
|
7
|
-
}
|
8
|
-
}
|
9
|
-
|
10
|
-
&.ax-tabs-min-width {
|
11
|
-
.ax-tab-item {
|
12
|
-
min-width: 250px;
|
13
|
-
}
|
14
|
-
}
|
15
|
-
|
16
|
-
& > .ax-tab-controll {
|
17
|
-
@extend .ax-flex, .ax-items-center, .ax-justify-center, .ax-px-1, .ax-cursor-pointer, .ax-none;
|
18
|
-
|
19
|
-
box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);
|
20
|
-
}
|
21
|
-
|
22
|
-
.ax-tab-item-container {
|
23
|
-
@extend .ax-flex, .ax-overflow-x-auto;
|
24
|
-
.ax-tab-item {
|
25
|
-
@extend .ax-text-center,
|
26
|
-
.ax-px-5,
|
27
|
-
.ax-cursor-pointer,
|
28
|
-
.ax-whitespace-nowrap,
|
29
|
-
.ax-font-medium,
|
30
|
-
.ax-flex,
|
31
|
-
.ax-items-center,
|
32
|
-
.ax-justify-center;
|
33
|
-
height: calc(var(--ax-base-size) * var(--ax-base-ratio) * 1.2);
|
34
|
-
line-height: calc((var(--ax-base-size) * var(--ax-base-ratio)) / 2);
|
35
|
-
&.ax-state-disabled {
|
36
|
-
background-color: rgb(var(--ax-color-disabled)) !important;
|
37
|
-
color: rgb(var(--ax-color-disabled-fore)) !important;
|
38
|
-
cursor: not-allowed !important;
|
39
|
-
}
|
40
|
-
&.ax-state-active {
|
41
|
-
@extend .ax-text-black;
|
42
|
-
}
|
43
|
-
.ax-ic {
|
44
|
-
@extend .ax-text-2xl;
|
45
|
-
}
|
46
|
-
}
|
47
|
-
}
|
48
|
-
|
49
|
-
&.ax-tabs-default {
|
50
|
-
.ax-tab-item-container {
|
51
|
-
@extend .ax-border, .ax-border-solid, .ax-border-color, .ax-shadow-sm, .ax-rounded;
|
52
|
-
.ax-tab-item {
|
53
|
-
@extend .ax-bg-white, .ax-border-r, .ax-border-b-2, .ax-border-solid, .ax-border-color;
|
54
|
-
border-bottom-color: transparent !important;
|
55
|
-
&:first-child {
|
56
|
-
@extend .ax-rounded-l;
|
57
|
-
}
|
58
|
-
&:last-child {
|
59
|
-
@extend .ax-rounded-r, .ax-border-r-0;
|
60
|
-
}
|
61
|
-
&:hover,
|
62
|
-
&.ax-state-active {
|
63
|
-
@extend .ax-font-medium;
|
64
|
-
border-bottom-color: rgb(var(--ax-color-primary)) !important;
|
65
|
-
}
|
66
|
-
}
|
67
|
-
}
|
68
|
-
}
|
69
|
-
|
70
|
-
&.ax-tabs-underline {
|
71
|
-
.ax-tab-item {
|
72
|
-
@extend .ax-border-color, .ax-border-b-2, .ax-border-solid;
|
73
|
-
|
74
|
-
&.ax-state-active {
|
75
|
-
@extend .ax-border-color-primary, .ax-text-primary;
|
76
|
-
|
77
|
-
&:hover {
|
78
|
-
@extend .ax-border-color-primary;
|
79
|
-
}
|
80
|
-
}
|
81
|
-
|
82
|
-
&:hover {
|
83
|
-
@extend .ax-border-color-primary-300, .ax-text-primary;
|
84
|
-
}
|
85
|
-
}
|
86
|
-
}
|
87
|
-
|
88
|
-
&.ax-tabs-pills {
|
89
|
-
.ax-tab-item {
|
90
|
-
@extend .ax-text-light-fore, .ax-mr-1, .ax-rounded;
|
91
|
-
|
92
|
-
&:hover {
|
93
|
-
@extend .ax-bg-light-300, .ax-text-light-fore;
|
94
|
-
}
|
95
|
-
|
96
|
-
&.ax-state-active {
|
97
|
-
@extend .ax-bg-light-300, .ax-text-light-fore;
|
98
|
-
}
|
99
|
-
}
|
100
|
-
}
|
101
|
-
|
102
|
-
&.ax-tabs-pills-color {
|
103
|
-
.ax-tab-item {
|
104
|
-
@extend .ax-text-light-fore, .ax-mr-1, .ax-rounded;
|
105
|
-
|
106
|
-
&:hover {
|
107
|
-
@extend .ax-bg-primary-100, .ax-text-primary;
|
108
|
-
}
|
109
|
-
|
110
|
-
&.ax-state-active {
|
111
|
-
@extend .ax-bg-primary-100, .ax-text-primary;
|
112
|
-
}
|
113
|
-
}
|
114
|
-
}
|
115
|
-
}
|
@@ -1,82 +0,0 @@
|
|
1
|
-
@import "../../variables/bases/accessiblity";
|
2
|
-
|
3
|
-
.ax-toast {
|
4
|
-
width: max(20vw, 350px);
|
5
|
-
@extend .ax-relative,
|
6
|
-
.ax-bg-white,
|
7
|
-
.ax-shadow-md,
|
8
|
-
.ax-border,
|
9
|
-
.ax-border-color,
|
10
|
-
.ax-border-solid,
|
11
|
-
.ax-rounded,
|
12
|
-
.ax-p-3;
|
13
|
-
|
14
|
-
@include media-sm {
|
15
|
-
width: 98vw;
|
16
|
-
}
|
17
|
-
|
18
|
-
@include media-md {
|
19
|
-
width: 35vw;
|
20
|
-
}
|
21
|
-
|
22
|
-
@include media-lg {
|
23
|
-
width: 25vw;
|
24
|
-
}
|
25
|
-
|
26
|
-
.ax-toast-header {
|
27
|
-
@extend .ax-flex, .ax-items-center, .ax-justify-between;
|
28
|
-
}
|
29
|
-
|
30
|
-
&.ax-success {
|
31
|
-
.ax-icon {
|
32
|
-
@extend .ax-text-success;
|
33
|
-
}
|
34
|
-
|
35
|
-
.ax-toast-progress {
|
36
|
-
@extend .ax-bg-success-400;
|
37
|
-
}
|
38
|
-
}
|
39
|
-
|
40
|
-
&.ax-danger {
|
41
|
-
.ax-icon {
|
42
|
-
@extend .ax-text-danger;
|
43
|
-
}
|
44
|
-
|
45
|
-
.ax-toast-progress {
|
46
|
-
@extend .ax-bg-danger-400;
|
47
|
-
}
|
48
|
-
}
|
49
|
-
|
50
|
-
&.ax-warning {
|
51
|
-
.ax-icon {
|
52
|
-
@extend .ax-text-warning;
|
53
|
-
}
|
54
|
-
|
55
|
-
.ax-toast-progress {
|
56
|
-
@extend .ax-bg-warning-400;
|
57
|
-
}
|
58
|
-
}
|
59
|
-
|
60
|
-
&.ax-info {
|
61
|
-
.ax-icon {
|
62
|
-
@extend .ax-text-info;
|
63
|
-
}
|
64
|
-
|
65
|
-
.ax-toast-progress {
|
66
|
-
@extend .ax-bg-info-400;
|
67
|
-
}
|
68
|
-
}
|
69
|
-
|
70
|
-
.ax-toast-progress {
|
71
|
-
@extend .ax-absolute, .ax-w-full, .ax-p-0\.5, .ax-px-0;
|
72
|
-
bottom: 0;
|
73
|
-
left: 0;
|
74
|
-
-webkit-transition: linear width;
|
75
|
-
/* Safari */
|
76
|
-
transition: linear width;
|
77
|
-
}
|
78
|
-
|
79
|
-
.ax-button {
|
80
|
-
min-width: 60px;
|
81
|
-
}
|
82
|
-
}
|