@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,210 +0,0 @@
|
|
1
|
-
@import "../../variables/bases/typography";
|
2
|
-
@import "../../variables/bases/color";
|
3
|
-
// Font Family
|
4
|
-
.ax-font-inherit {
|
5
|
-
font-family: inherit;
|
6
|
-
}
|
7
|
-
@each $key, $value in $font-faces {
|
8
|
-
.ax-font-#{$key} {
|
9
|
-
font-family: $value + ", " + $font-faces-alter;
|
10
|
-
}
|
11
|
-
}
|
12
|
-
|
13
|
-
// Font Size
|
14
|
-
.ax-text-inherit {
|
15
|
-
font-size: inherit;
|
16
|
-
}
|
17
|
-
@each $key, $value in $font-sizes {
|
18
|
-
.ax-#{$key} {
|
19
|
-
font-size: map-get($value, "font-size");
|
20
|
-
line-height: map-get($value, "line-hight");
|
21
|
-
}
|
22
|
-
}
|
23
|
-
|
24
|
-
// Font Smoothing
|
25
|
-
.ax-antialiased {
|
26
|
-
-webkit-font-smoothing: antialiased;
|
27
|
-
-moz-osx-font-smoothing: grayscale;
|
28
|
-
}
|
29
|
-
.ax-subpixel-antialiased {
|
30
|
-
-webkit-font-smoothing: auto;
|
31
|
-
-moz-osx-font-smoothing: auto;
|
32
|
-
}
|
33
|
-
|
34
|
-
// Font Style
|
35
|
-
.ax-italic {
|
36
|
-
font-style: italic;
|
37
|
-
}
|
38
|
-
.ax-not-italic {
|
39
|
-
font-style: normal;
|
40
|
-
}
|
41
|
-
|
42
|
-
// Font Weight
|
43
|
-
@each $key, $value in $font-weight {
|
44
|
-
.ax-font-#{$key} {
|
45
|
-
font-weight: $value;
|
46
|
-
}
|
47
|
-
}
|
48
|
-
|
49
|
-
// Font Variant Numeric
|
50
|
-
@each $key, $value in $font-variant-numeric {
|
51
|
-
.ax-font-#{$key} {
|
52
|
-
font-variant-numeric: $value;
|
53
|
-
}
|
54
|
-
}
|
55
|
-
|
56
|
-
// Letter Spacing
|
57
|
-
@each $key, $value in $letter-spacing {
|
58
|
-
.ax-tracking-#{$key} {
|
59
|
-
letter-spacing: $value;
|
60
|
-
}
|
61
|
-
}
|
62
|
-
|
63
|
-
// Line Height
|
64
|
-
@each $key, $value in $line-heights {
|
65
|
-
.ax-leading-#{$key} {
|
66
|
-
line-height: $value;
|
67
|
-
}
|
68
|
-
}
|
69
|
-
|
70
|
-
// List Style Type
|
71
|
-
@each $key, $value in $list-styles {
|
72
|
-
.ax-list-#{$key} {
|
73
|
-
list-style: $value;
|
74
|
-
}
|
75
|
-
}
|
76
|
-
|
77
|
-
// List Style Position
|
78
|
-
@each $key, $value in $list-style-position {
|
79
|
-
.ax-list-#{$key} {
|
80
|
-
list-style-position: $value;
|
81
|
-
}
|
82
|
-
}
|
83
|
-
|
84
|
-
// Placeholder
|
85
|
-
@each $name, $color in $theme-colors {
|
86
|
-
@if (type-of($color) == "map") {
|
87
|
-
@each $subname, $variant in $color {
|
88
|
-
@if ($subname != "") {
|
89
|
-
.ax-placeholder-#{$name}-#{$subname} {
|
90
|
-
@include placeholder {
|
91
|
-
--ax-placeholder-opacity: 1;
|
92
|
-
color: rgba(var(--ax-color-#{$name}-#{$subname}), var(--ax-placeholder-opacity));
|
93
|
-
}
|
94
|
-
}
|
95
|
-
} @else {
|
96
|
-
.ax-placeholder-#{$name} {
|
97
|
-
@include placeholder {
|
98
|
-
--ax-placeholder-opacity: 1;
|
99
|
-
color: rgba(var(--ax-color-#{$name}), var(--ax-placeholder-opacity));
|
100
|
-
}
|
101
|
-
}
|
102
|
-
}
|
103
|
-
}
|
104
|
-
} @else {
|
105
|
-
.ax-placeholder-#{$name} {
|
106
|
-
@include placeholder {
|
107
|
-
--ax-placeholder-opacity: 1;
|
108
|
-
color: rgba(var(--ax-color-#{$name}), var(--ax-placeholder-opacity));
|
109
|
-
}
|
110
|
-
}
|
111
|
-
}
|
112
|
-
}
|
113
|
-
|
114
|
-
// Text Alignment
|
115
|
-
@each $key, $value in $text-aligns {
|
116
|
-
.ax-text-#{$key} {
|
117
|
-
text-align: $value;
|
118
|
-
}
|
119
|
-
}
|
120
|
-
|
121
|
-
// Text Color
|
122
|
-
.ax-text-transparent {
|
123
|
-
color: transparent;
|
124
|
-
}
|
125
|
-
.ax-text-current {
|
126
|
-
color: currentColor;
|
127
|
-
}
|
128
|
-
|
129
|
-
@each $name, $color in $theme-colors {
|
130
|
-
@if (type-of($color) == "map") {
|
131
|
-
@each $subname, $variant in $color {
|
132
|
-
@if ($subname != "") {
|
133
|
-
.ax-text-#{$name}-#{$subname} {
|
134
|
-
--ax-text-opacity: 1;
|
135
|
-
color: rgba(var(--ax-color-#{$name}-#{$subname}), var(--ax-text-opacity));
|
136
|
-
}
|
137
|
-
} @else {
|
138
|
-
.ax-text-#{$name} {
|
139
|
-
--ax-text-opacity: 1;
|
140
|
-
color: rgba(var(--ax-color-#{$name}), var(--ax-text-opacity));
|
141
|
-
}
|
142
|
-
}
|
143
|
-
}
|
144
|
-
} @else {
|
145
|
-
.ax-text-#{$name} {
|
146
|
-
--ax-text-opacity: 1;
|
147
|
-
color: rgba(var(--ax-color-#{$name}), var(--ax-text-opacity));
|
148
|
-
}
|
149
|
-
}
|
150
|
-
}
|
151
|
-
|
152
|
-
// Text Opacity
|
153
|
-
@each $key, $value in $text-opcities {
|
154
|
-
.ax-text-opacity-#{$key} {
|
155
|
-
--ax-text-opacity: #{$value};
|
156
|
-
}
|
157
|
-
}
|
158
|
-
// Text Decoration
|
159
|
-
@each $key, $value in $text-decorations {
|
160
|
-
.ax-#{$key} {
|
161
|
-
text-decoration: $value;
|
162
|
-
}
|
163
|
-
}
|
164
|
-
|
165
|
-
// Text Transform
|
166
|
-
@each $key, $value in $text-transforms {
|
167
|
-
.ax-#{$key} {
|
168
|
-
text-transform: $value;
|
169
|
-
}
|
170
|
-
}
|
171
|
-
|
172
|
-
// Text OverFlow
|
173
|
-
.ax-truncate {
|
174
|
-
overflow: hidden;
|
175
|
-
text-overflow: ellipsis;
|
176
|
-
white-space: nowrap;
|
177
|
-
}
|
178
|
-
.ax-overflow-ellipsis {
|
179
|
-
text-overflow: ellipsis;
|
180
|
-
}
|
181
|
-
.ax-overflow-clip {
|
182
|
-
text-overflow: clip;
|
183
|
-
}
|
184
|
-
|
185
|
-
// Vertical Align
|
186
|
-
@each $key, $value in $vertical-aligns {
|
187
|
-
.ax-align-#{$key} {
|
188
|
-
vertical-align: $value;
|
189
|
-
}
|
190
|
-
}
|
191
|
-
|
192
|
-
// Whitespace
|
193
|
-
@each $key, $value in $white-spaces {
|
194
|
-
.ax-whitespace-#{$key} {
|
195
|
-
white-space: $value;
|
196
|
-
}
|
197
|
-
}
|
198
|
-
|
199
|
-
// Word Break
|
200
|
-
.ax-break-normal {
|
201
|
-
overflow-wrap: normal;
|
202
|
-
word-break: normal;
|
203
|
-
}
|
204
|
-
|
205
|
-
.ax-break-words {
|
206
|
-
overflow-wrap: break-word;
|
207
|
-
}
|
208
|
-
.ax-break-all {
|
209
|
-
word-break: break-all;
|
210
|
-
}
|
@@ -1,131 +0,0 @@
|
|
1
|
-
.ax-alert {
|
2
|
-
@extend .ax-flex, .ax-bg-light-100, .ax-text-light-fore, .ax-px-3, .ax-py-2, .ax-items-baseline, .ax-rounded;
|
3
|
-
|
4
|
-
.ax-alert-icon {
|
5
|
-
// @extend .ax-mt-1;
|
6
|
-
}
|
7
|
-
|
8
|
-
.ax-alert-body {
|
9
|
-
@extend .ax-ml-2, .ax-flex-1;
|
10
|
-
|
11
|
-
.ax-alert-title {
|
12
|
-
@extend .ax-text-lg, .ax-font-medium;
|
13
|
-
a {
|
14
|
-
@extend .ax-text-current, .ax-font-bold;
|
15
|
-
}
|
16
|
-
}
|
17
|
-
|
18
|
-
.ax-alert-content {
|
19
|
-
@extend .ax-block;
|
20
|
-
|
21
|
-
ul {
|
22
|
-
@extend .ax-m-1, .ax-pl-1;
|
23
|
-
}
|
24
|
-
|
25
|
-
a {
|
26
|
-
@extend .ax-text-current, .ax-font-bold;
|
27
|
-
}
|
28
|
-
}
|
29
|
-
|
30
|
-
.ax-alert-footer {
|
31
|
-
.ax-alert-buttons {
|
32
|
-
@extend .ax-flex, .ax-mt-2;
|
33
|
-
|
34
|
-
.ax-alert-button {
|
35
|
-
@extend .ax-font-bold, .ax-mr-0\.5, .ax-cursor-pointer, .ax-py-1, .ax-px-2, .ax-rounded;
|
36
|
-
transition: all 200ms;
|
37
|
-
}
|
38
|
-
}
|
39
|
-
}
|
40
|
-
}
|
41
|
-
|
42
|
-
.ax-alert-suffix {
|
43
|
-
.ax-alert-buttons {
|
44
|
-
.ax-alert-button {
|
45
|
-
@extend .ax-font-bold, .ax-mr-0\.5, .ax-cursor-pointer, .ax-py-1, .ax-px-2, .ax-rounded;
|
46
|
-
transition: all 200ms;
|
47
|
-
i {
|
48
|
-
@extend .ax-mx-1;
|
49
|
-
}
|
50
|
-
}
|
51
|
-
}
|
52
|
-
}
|
53
|
-
|
54
|
-
&.ax-primary {
|
55
|
-
@extend .ax-bg-primary-50, .ax-text-primary;
|
56
|
-
|
57
|
-
.ax-alert-title {
|
58
|
-
@extend .ax-text-primary-700;
|
59
|
-
}
|
60
|
-
.ax-alert-button {
|
61
|
-
&:hover{
|
62
|
-
@extend .ax-bg-primary-100;
|
63
|
-
}
|
64
|
-
}
|
65
|
-
}
|
66
|
-
|
67
|
-
&.ax-secondary {
|
68
|
-
@extend .ax-bg-secondary-50, .ax-text-secondary;
|
69
|
-
|
70
|
-
.ax-alert-title {
|
71
|
-
@extend .ax-text-secondary-700;
|
72
|
-
}
|
73
|
-
.ax-alert-button {
|
74
|
-
&:hover{
|
75
|
-
@extend .ax-bg-secondary-100;
|
76
|
-
}
|
77
|
-
}
|
78
|
-
}
|
79
|
-
|
80
|
-
&.ax-success {
|
81
|
-
@extend .ax-bg-success-50, .ax-text-success;
|
82
|
-
|
83
|
-
.ax-alert-title {
|
84
|
-
@extend .ax-text-success-700;
|
85
|
-
}
|
86
|
-
.ax-alert-button {
|
87
|
-
&:hover{
|
88
|
-
@extend .ax-bg-success-100;
|
89
|
-
}
|
90
|
-
}
|
91
|
-
}
|
92
|
-
|
93
|
-
&.ax-warning {
|
94
|
-
@extend .ax-bg-warning-50, .ax-text-warning;
|
95
|
-
|
96
|
-
.ax-alert-title {
|
97
|
-
@extend .ax-text-warning-700;
|
98
|
-
}
|
99
|
-
.ax-alert-button {
|
100
|
-
&:hover{
|
101
|
-
@extend .ax-bg-warning-100;
|
102
|
-
}
|
103
|
-
}
|
104
|
-
}
|
105
|
-
|
106
|
-
&.ax-danger {
|
107
|
-
@extend .ax-bg-danger-50, .ax-text-danger;
|
108
|
-
|
109
|
-
.ax-alert-title {
|
110
|
-
@extend .ax-text-danger-700;
|
111
|
-
}
|
112
|
-
.ax-alert-button {
|
113
|
-
&:hover{
|
114
|
-
@extend .ax-bg-danger-100;
|
115
|
-
}
|
116
|
-
}
|
117
|
-
}
|
118
|
-
|
119
|
-
&.ax-info {
|
120
|
-
@extend .ax-bg-info-50, .ax-text-info;
|
121
|
-
|
122
|
-
.ax-alert-title {
|
123
|
-
@extend .ax-text-info-700;
|
124
|
-
}
|
125
|
-
.ax-alert-button {
|
126
|
-
&:hover{
|
127
|
-
@extend .ax-bg-info-100;
|
128
|
-
}
|
129
|
-
}
|
130
|
-
}
|
131
|
-
}
|
@@ -1,264 +0,0 @@
|
|
1
|
-
@import "../../variables/bases/color";
|
2
|
-
@import "../../variables/bases/accessiblity";
|
3
|
-
|
4
|
-
.ax-button {
|
5
|
-
font-family: inherit;
|
6
|
-
height: calc(var(--ax-base-size) * var(--ax-base-ratio));
|
7
|
-
line-height: calc((var(--ax-base-size) * var(--ax-base-ratio)) / 2);
|
8
|
-
vertical-align: middle;
|
9
|
-
font-size: 1rem;
|
10
|
-
@extend .ax-inline-flex,
|
11
|
-
.ax-items-center,
|
12
|
-
.ax-justify-center,
|
13
|
-
.ax-border,
|
14
|
-
.ax-border-color-transparent,
|
15
|
-
.ax-font-medium,
|
16
|
-
.ax-rounded,
|
17
|
-
.ax-relative,
|
18
|
-
.ax-overflow-hidden,
|
19
|
-
.ax-cursor-pointer,
|
20
|
-
.ax-px-2\.5;
|
21
|
-
|
22
|
-
&.ax-button-icon {
|
23
|
-
.ax-ic {
|
24
|
-
vertical-align: unset;
|
25
|
-
}
|
26
|
-
}
|
27
|
-
&.ax-state-disabled {
|
28
|
-
background-color: rgb(var(--ax-color-disabled)) !important;
|
29
|
-
color: rgb(var(--ax-color-disabled-fore)) !important;
|
30
|
-
cursor: not-allowed !important;
|
31
|
-
}
|
32
|
-
|
33
|
-
&.ax-state-loading {
|
34
|
-
> * {
|
35
|
-
opacity: 0;
|
36
|
-
}
|
37
|
-
> .ax-loading-text {
|
38
|
-
opacity: 1;
|
39
|
-
}
|
40
|
-
&::before {
|
41
|
-
content: "";
|
42
|
-
box-sizing: border-box;
|
43
|
-
position: absolute;
|
44
|
-
top: 0;
|
45
|
-
left: 0;
|
46
|
-
bottom: 0;
|
47
|
-
right: 0;
|
48
|
-
margin: auto;
|
49
|
-
width: calc((var(--ax-base-size) * 2) + (var(--ax-base-size) / 2));
|
50
|
-
height: calc((var(--ax-base-size) * 2) + (var(--ax-base-size) / 2));
|
51
|
-
border-radius: 50%;
|
52
|
-
border: 2px solid rgb(var(--ax-color-dark-100));
|
53
|
-
border-top-color: rgb(var(--ax-color-dark));
|
54
|
-
animation: spinner 0.8s linear infinite;
|
55
|
-
}
|
56
|
-
}
|
57
|
-
}
|
58
|
-
@each $name, $color in $theme-colors {
|
59
|
-
.ax-button {
|
60
|
-
@if (type-of($color) == "map" and $name != "gray") {
|
61
|
-
&.ax-#{$name} {
|
62
|
-
@extend .ax-shadow-sm;
|
63
|
-
|
64
|
-
@if ($name== "warning" or $name== "light") {
|
65
|
-
@extend .ax-bg-#{$name}, .ax-text-#{$name}-900;
|
66
|
-
} @else {
|
67
|
-
@extend .ax-bg-#{$name}, .ax-text-#{$name}-fore;
|
68
|
-
}
|
69
|
-
|
70
|
-
&:hover {
|
71
|
-
@if ($name== "warning" or $name== "light") {
|
72
|
-
@extend .ax-bg-#{$name}-600, .ax-text-white;
|
73
|
-
} @else {
|
74
|
-
@extend .ax-bg-#{$name}-600, .ax-text-#{$name}-fore;
|
75
|
-
}
|
76
|
-
}
|
77
|
-
|
78
|
-
&:focus {
|
79
|
-
@if ($name== "warning" or $name== "light") {
|
80
|
-
@extend .ax-bg-#{$name}-600, .ax-text-white;
|
81
|
-
} @else {
|
82
|
-
@extend .ax-bg-#{$name}-600, .ax-text-#{$name}-fore;
|
83
|
-
}
|
84
|
-
}
|
85
|
-
|
86
|
-
&:active {
|
87
|
-
@if ($name== "warning" or $name== "light") {
|
88
|
-
@extend .ax-bg-#{$name}-700, .ax-text-white;
|
89
|
-
} @else {
|
90
|
-
@extend .ax-bg-#{$name}-700, .ax-text-#{$name}-fore;
|
91
|
-
}
|
92
|
-
}
|
93
|
-
|
94
|
-
&.ax-state-selected {
|
95
|
-
@extend .ax-bg-#{$name}-800, .ax-text-#{$name}-fore;
|
96
|
-
}
|
97
|
-
|
98
|
-
&.ax-state-loading {
|
99
|
-
@extend .ax-bg-#{$name}-300, .ax-text-#{$name}-fore;
|
100
|
-
}
|
101
|
-
}
|
102
|
-
|
103
|
-
&.ax-#{$name}-outline {
|
104
|
-
@if ($name== "light" or $name== "warning") {
|
105
|
-
@extend .ax-bg-transparent,
|
106
|
-
.ax-text-#{$name}-600,
|
107
|
-
.ax-border,
|
108
|
-
.ax-border-solid,
|
109
|
-
.ax-border-color-#{$name}-600;
|
110
|
-
} @else {
|
111
|
-
@extend .ax-bg-transparent,
|
112
|
-
.ax-text-#{$name},
|
113
|
-
.ax-border,
|
114
|
-
.ax-border-solid,
|
115
|
-
.ax-border-color-#{$name};
|
116
|
-
}
|
117
|
-
|
118
|
-
&:hover {
|
119
|
-
@extend .ax-bg-#{$name}, .ax-text-#{$name}-fore;
|
120
|
-
}
|
121
|
-
|
122
|
-
&:focus {
|
123
|
-
@extend .ax-bg-#{$name}-400, .ax-text-#{$name}-fore;
|
124
|
-
}
|
125
|
-
|
126
|
-
&:active {
|
127
|
-
@if ($name== "light" or $name== "warning") {
|
128
|
-
@extend .ax-bg-#{$name}-600, .ax-text-white;
|
129
|
-
} @else {
|
130
|
-
@extend .ax-bg-#{$name}-600, .ax-text-#{$name}-fore;
|
131
|
-
}
|
132
|
-
}
|
133
|
-
|
134
|
-
&.ax-state-selected {
|
135
|
-
@extend .ax-bg-#{$name}-600, .ax-text-#{$name}-fore, .ax-border-color-#{$name}-600;
|
136
|
-
}
|
137
|
-
|
138
|
-
&.ax-state-loading {
|
139
|
-
@if ($name== "light") {
|
140
|
-
@extend .ax-bg-#{$name}-100, .ax-text-#{$name}-fore, .ax-border-color-#{$name}-100;
|
141
|
-
} @else {
|
142
|
-
@extend .ax-bg-#{$name}-100, .ax-border-color-#{$name}-100;
|
143
|
-
color: rgb(var(--ax-color-#{$name})) !important;
|
144
|
-
}
|
145
|
-
}
|
146
|
-
&.ax-state-disabled {
|
147
|
-
border-color: transparent !important;
|
148
|
-
}
|
149
|
-
}
|
150
|
-
|
151
|
-
&.ax-#{$name}-twotone {
|
152
|
-
@extend .ax-border-color-transparent, .ax-bg-#{$name}-100;
|
153
|
-
|
154
|
-
@if ($name== "light" or $name== "warning") {
|
155
|
-
@extend .ax-text-#{$name}-fore;
|
156
|
-
} @else {
|
157
|
-
@extend .ax-text-#{$name};
|
158
|
-
}
|
159
|
-
|
160
|
-
&:hover {
|
161
|
-
@if ($name== "dark") {
|
162
|
-
@extend .ax-bg-#{$name}-200, .ax-text-#{$name}-fore;
|
163
|
-
} @else {
|
164
|
-
@extend .ax-bg-#{$name}-200, .ax-text-#{$name}-700;
|
165
|
-
}
|
166
|
-
}
|
167
|
-
|
168
|
-
&:focus {
|
169
|
-
@if ($name== "light" or $name== "dark" or $name== "warning") {
|
170
|
-
@extend .ax-bg-#{$name}-200, .ax-text-#{$name}-fore;
|
171
|
-
} @else {
|
172
|
-
@extend .ax-bg-#{$name}-200, .ax-text-#{$name}-700;
|
173
|
-
}
|
174
|
-
}
|
175
|
-
|
176
|
-
&:active {
|
177
|
-
@if ($name== "dark") {
|
178
|
-
@extend .ax-bg-#{$name}-300, .ax-text-#{$name}-fore;
|
179
|
-
} @else {
|
180
|
-
@extend .ax-bg-#{$name}-300, .ax-text-#{$name}-fore;
|
181
|
-
}
|
182
|
-
}
|
183
|
-
|
184
|
-
&.ax-state-selected {
|
185
|
-
background-color: rgb(var(--ax-color-#{$name}-200));
|
186
|
-
}
|
187
|
-
|
188
|
-
&.ax-state-loading {
|
189
|
-
@if ($name== "light" or $name== "warning") {
|
190
|
-
@extend .ax-bg-#{$name}-100, .ax-text-#{$name}-fore;
|
191
|
-
} @else {
|
192
|
-
@extend .ax-bg-#{$name}-200, .ax-text-#{$name};
|
193
|
-
}
|
194
|
-
}
|
195
|
-
}
|
196
|
-
|
197
|
-
&.ax-#{$name}-blank {
|
198
|
-
@extend .ax-bg-transparent, .ax-border-color-transparent;
|
199
|
-
|
200
|
-
@if ($name== "light") {
|
201
|
-
@extend .ax-text-#{$name}-700;
|
202
|
-
} @else {
|
203
|
-
@extend .ax-text-#{$name}-500;
|
204
|
-
}
|
205
|
-
|
206
|
-
&:hover {
|
207
|
-
@extend .ax-bg-#{$name}-100;
|
208
|
-
}
|
209
|
-
|
210
|
-
&:active {
|
211
|
-
@extend .ax-bg-#{$name}-100, .ax-text-#{$name}-700;
|
212
|
-
}
|
213
|
-
|
214
|
-
&.ax-state-selected {
|
215
|
-
@if ($name== "light") {
|
216
|
-
@extend .ax-text-#{$name}-fore, .ax-bg-#{$name}-500;
|
217
|
-
} @else {
|
218
|
-
@extend .ax-text-#{$name}, .ax-bg-#{$name}-100;
|
219
|
-
}
|
220
|
-
}
|
221
|
-
|
222
|
-
&.ax-state-disabled {
|
223
|
-
background-color: transparent !important;
|
224
|
-
}
|
225
|
-
}
|
226
|
-
}
|
227
|
-
}
|
228
|
-
}
|
229
|
-
|
230
|
-
@keyframes spinner {
|
231
|
-
to {
|
232
|
-
transform: rotate(360deg);
|
233
|
-
}
|
234
|
-
}
|
235
|
-
|
236
|
-
.ax-dropdown-button {
|
237
|
-
display: inline-flex;
|
238
|
-
@extend .ax-overflow-hidden, .ax-rounded;
|
239
|
-
.ax-button {
|
240
|
-
border-radius: 0 !important;
|
241
|
-
}
|
242
|
-
}
|
243
|
-
|
244
|
-
.ax-dropdown-button-container {
|
245
|
-
.ax-dropdown-item {
|
246
|
-
&.ax-state-selected {
|
247
|
-
@extend .ax-bg-primary-100, .ax-text-primary;
|
248
|
-
}
|
249
|
-
}
|
250
|
-
}
|
251
|
-
|
252
|
-
.ax-button-group {
|
253
|
-
@extend .ax-rounded, .ax-flex, .ax-items-center, .ax-border, .ax-max-w-max;
|
254
|
-
|
255
|
-
.ax-button {
|
256
|
-
@extend .ax-rounded-none;
|
257
|
-
&:first-child {
|
258
|
-
@extend .ax-border-r-0, .ax-rounded-l;
|
259
|
-
}
|
260
|
-
&:last-child {
|
261
|
-
@extend .ax-border-l-0, .ax-rounded-r;
|
262
|
-
}
|
263
|
-
}
|
264
|
-
}
|