@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
package/scss/bases/root.scss
DELETED
@@ -1,53 +0,0 @@
|
|
1
|
-
@import "../../variables/bases/root";
|
2
|
-
|
3
|
-
* {
|
4
|
-
--ax-ring-inset: var(--ax-empty, /*!*/ /*!*/);
|
5
|
-
--ax-ring-offset-width: 0px;
|
6
|
-
--ax-shadow: 0 0 transparent;
|
7
|
-
--ax-ring-offset-color: #fff;
|
8
|
-
--ax-ring-color: rgba(var(--ax-color-primary));
|
9
|
-
--ax-ring-offset-shadow: 0 0 transparent;
|
10
|
-
--ax-ring-shadow: 0 0 transparent;
|
11
|
-
--ax-shadow: 0 0 #0000;
|
12
|
-
box-sizing: border-box;
|
13
|
-
&::before,
|
14
|
-
::after {
|
15
|
-
box-sizing: border-box;
|
16
|
-
border: 0 solid #cfd5e0;
|
17
|
-
}
|
18
|
-
}
|
19
|
-
|
20
|
-
:root {
|
21
|
-
--ax-base-size: 7px;
|
22
|
-
--ax-base-ratio: 5;
|
23
|
-
@include colors;
|
24
|
-
@include border-rounded;
|
25
|
-
// @include sizes;
|
26
|
-
// @include spacing;
|
27
|
-
// @include font-size-line-height;
|
28
|
-
}
|
29
|
-
html,
|
30
|
-
body {
|
31
|
-
font-size: calc(var(--ax-base-size) * 2);
|
32
|
-
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Open Sans,
|
33
|
-
Helvetica Neue, Icons16, sans-serif;
|
34
|
-
}
|
35
|
-
::-webkit-scrollbar {
|
36
|
-
width: calc(var(--ax-base-size));
|
37
|
-
max-height: calc(var(--ax-base-size));
|
38
|
-
}
|
39
|
-
|
40
|
-
/* Track */
|
41
|
-
::-webkit-scrollbar-track {
|
42
|
-
background: rgb(var(--ax-color-gray-200));
|
43
|
-
}
|
44
|
-
|
45
|
-
/* Handle */
|
46
|
-
::-webkit-scrollbar-thumb {
|
47
|
-
background: rgb(var(--ax-color-gray-400));
|
48
|
-
}
|
49
|
-
|
50
|
-
/* Handle on hover */
|
51
|
-
::-webkit-scrollbar-thumb:hover {
|
52
|
-
background: rgb(var(--ax-color-gray-500));
|
53
|
-
}
|
package/scss/bases/sizing.scss
DELETED
@@ -1,43 +0,0 @@
|
|
1
|
-
@import "../../variables/bases/sizing";
|
2
|
-
|
3
|
-
// witdh
|
4
|
-
@each $key, $value in $w-sizes {
|
5
|
-
.ax-w-#{$key} {
|
6
|
-
width: #{$value};
|
7
|
-
}
|
8
|
-
}
|
9
|
-
|
10
|
-
// min width
|
11
|
-
@each $key, $value in $min-w-sizes {
|
12
|
-
.ax-min-w-#{$key} {
|
13
|
-
min-width: #{$value};
|
14
|
-
}
|
15
|
-
}
|
16
|
-
|
17
|
-
// max width
|
18
|
-
@each $key, $value in $max-w-sizes {
|
19
|
-
.ax-max-w-#{$key} {
|
20
|
-
max-width: #{$value};
|
21
|
-
}
|
22
|
-
}
|
23
|
-
|
24
|
-
// height
|
25
|
-
@each $key, $value in $h-sizes {
|
26
|
-
.ax-h-#{$key} {
|
27
|
-
height: #{$value};
|
28
|
-
}
|
29
|
-
}
|
30
|
-
|
31
|
-
// min height
|
32
|
-
@each $key, $value in $min-h-sizes {
|
33
|
-
.ax-min-h-#{$key} {
|
34
|
-
min-height: #{$value};
|
35
|
-
}
|
36
|
-
}
|
37
|
-
|
38
|
-
// max height
|
39
|
-
@each $key, $value in $max-h-sizes {
|
40
|
-
.ax-max-h-#{$key} {
|
41
|
-
max-height: #{$value};
|
42
|
-
}
|
43
|
-
}
|
package/scss/bases/skeleton.scss
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
$base-color: #ddd;
|
2
|
-
$shine-color: #eeeeee;
|
3
|
-
.ax-skeleton {
|
4
|
-
position: relative;
|
5
|
-
overflow: hidden;
|
6
|
-
background-color: $base-color;
|
7
|
-
&.ax-skeleton-animate {
|
8
|
-
&::before {
|
9
|
-
content: "";
|
10
|
-
display: block;
|
11
|
-
position: absolute;
|
12
|
-
left: -200px;
|
13
|
-
top: 0;
|
14
|
-
height: 100%;
|
15
|
-
width: 200px;
|
16
|
-
background: linear-gradient(to right, transparent 0%, $shine-color 50%, transparent 100%);
|
17
|
-
animation: load 1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
|
18
|
-
}
|
19
|
-
}
|
20
|
-
}
|
21
|
-
|
22
|
-
@keyframes load {
|
23
|
-
from {
|
24
|
-
left: -200px;
|
25
|
-
}
|
26
|
-
|
27
|
-
to {
|
28
|
-
left: 100%;
|
29
|
-
}
|
30
|
-
}
|
package/scss/bases/spacing.scss
DELETED
@@ -1,245 +0,0 @@
|
|
1
|
-
@import "../../variables/bases/spacing";
|
2
|
-
|
3
|
-
// Padding
|
4
|
-
@each $key, $value in $spacing-sizes {
|
5
|
-
@if ($key != auto) {
|
6
|
-
.ax-p-#{$key} {
|
7
|
-
padding: #{$value};
|
8
|
-
}
|
9
|
-
}
|
10
|
-
}
|
11
|
-
|
12
|
-
@each $key, $value in $spacing-sizes {
|
13
|
-
@if ($key != auto) {
|
14
|
-
.ax-py-#{$key} {
|
15
|
-
padding-top: #{$value};
|
16
|
-
padding-bottom: #{$value};
|
17
|
-
}
|
18
|
-
}
|
19
|
-
}
|
20
|
-
@each $key, $value in $spacing-sizes {
|
21
|
-
@if ($key != auto) {
|
22
|
-
.ax-px-#{$key} {
|
23
|
-
padding-inline-start: #{$value};
|
24
|
-
padding-inline-end: #{$value};
|
25
|
-
}
|
26
|
-
}
|
27
|
-
}
|
28
|
-
|
29
|
-
@each $key, $value in $spacing-sizes {
|
30
|
-
@if ($key != auto) {
|
31
|
-
.ax-pt-#{$key} {
|
32
|
-
padding-top: #{$value};
|
33
|
-
}
|
34
|
-
|
35
|
-
// .ax-pt-sm-#{$key} {
|
36
|
-
// @include media-sm {
|
37
|
-
// padding-top: #{$value};
|
38
|
-
// }
|
39
|
-
// }
|
40
|
-
}
|
41
|
-
}
|
42
|
-
@each $key, $value in $spacing-sizes {
|
43
|
-
@if ($key != auto) {
|
44
|
-
.ax-pr-#{$key} {
|
45
|
-
padding-right: #{$value};
|
46
|
-
}
|
47
|
-
}
|
48
|
-
}
|
49
|
-
@each $key, $value in $spacing-sizes {
|
50
|
-
@if ($key != auto) {
|
51
|
-
.ax-pb-#{$key} {
|
52
|
-
padding-bottom: #{$value};
|
53
|
-
}
|
54
|
-
}
|
55
|
-
}
|
56
|
-
@each $key, $value in $spacing-sizes {
|
57
|
-
@if ($key != auto) {
|
58
|
-
.ax-pl-#{$key} {
|
59
|
-
padding-left: #{$value};
|
60
|
-
}
|
61
|
-
}
|
62
|
-
}
|
63
|
-
|
64
|
-
@each $key, $value in $spacing-sizes {
|
65
|
-
@if ($key != auto) {
|
66
|
-
.ax-ps-#{$key} {
|
67
|
-
padding-inline-start: #{$value};
|
68
|
-
}
|
69
|
-
}
|
70
|
-
}
|
71
|
-
@each $key, $value in $spacing-sizes {
|
72
|
-
@if ($key != auto) {
|
73
|
-
.ax-pe-#{$key} {
|
74
|
-
padding-inline-end: #{$value};
|
75
|
-
}
|
76
|
-
}
|
77
|
-
}
|
78
|
-
// Margin
|
79
|
-
|
80
|
-
@each $key, $value in $spacing-sizes {
|
81
|
-
.ax-m-#{$key} {
|
82
|
-
margin: #{$value};
|
83
|
-
}
|
84
|
-
}
|
85
|
-
|
86
|
-
@each $key, $value in $spacing-sizes {
|
87
|
-
@if ($key != auto) {
|
88
|
-
.ax--m-#{$key} {
|
89
|
-
margin: var(--ax--space-#{$key});
|
90
|
-
}
|
91
|
-
}
|
92
|
-
}
|
93
|
-
@each $key, $value in $spacing-sizes {
|
94
|
-
.ax-my-#{$key} {
|
95
|
-
margin-top: #{$value};
|
96
|
-
margin-bottom: #{$value};
|
97
|
-
}
|
98
|
-
}
|
99
|
-
@each $key, $value in $spacing-sizes {
|
100
|
-
@if ($key != auto) {
|
101
|
-
.ax--my-#{$key} {
|
102
|
-
margin-top: -#{$value};
|
103
|
-
margin-bottom: -#{$value};
|
104
|
-
}
|
105
|
-
}
|
106
|
-
}
|
107
|
-
@each $key, $value in $spacing-sizes {
|
108
|
-
.ax-mx-#{$key} {
|
109
|
-
margin-inline-start: #{$value};
|
110
|
-
margin-inline-end: #{$value};
|
111
|
-
}
|
112
|
-
}
|
113
|
-
@each $key, $value in $spacing-sizes {
|
114
|
-
@if ($key != auto) {
|
115
|
-
.ax--mx-#{$key} {
|
116
|
-
margin-inline-start: -#{$value};
|
117
|
-
margin-inline-end: -#{$value};
|
118
|
-
}
|
119
|
-
}
|
120
|
-
}
|
121
|
-
@each $key, $value in $spacing-sizes {
|
122
|
-
.ax-mt-#{$key} {
|
123
|
-
margin-top: #{$value};
|
124
|
-
}
|
125
|
-
}
|
126
|
-
@each $key, $value in $spacing-sizes {
|
127
|
-
@if ($key != auto) {
|
128
|
-
.ax--mt-#{$key} {
|
129
|
-
margin-top: -#{$value};
|
130
|
-
}
|
131
|
-
}
|
132
|
-
}
|
133
|
-
|
134
|
-
@each $key, $value in $spacing-sizes {
|
135
|
-
.ax-me-#{$key} {
|
136
|
-
margin-inline-end: $value;
|
137
|
-
}
|
138
|
-
}
|
139
|
-
@each $key, $value in $spacing-sizes {
|
140
|
-
@if ($key != auto) {
|
141
|
-
.ax--me-#{$key} {
|
142
|
-
margin-inline-end: -$value;
|
143
|
-
}
|
144
|
-
}
|
145
|
-
}
|
146
|
-
|
147
|
-
@each $key, $value in $spacing-sizes {
|
148
|
-
.ax-mr-#{$key} {
|
149
|
-
margin-right: $value;
|
150
|
-
}
|
151
|
-
}
|
152
|
-
@each $key, $value in $spacing-sizes {
|
153
|
-
@if ($key != auto) {
|
154
|
-
.ax--mr-#{$key} {
|
155
|
-
margin-right: -$value;
|
156
|
-
}
|
157
|
-
}
|
158
|
-
}
|
159
|
-
|
160
|
-
@each $key, $value in $spacing-sizes {
|
161
|
-
.ax-mb-#{$key} {
|
162
|
-
margin-bottom: $value;
|
163
|
-
}
|
164
|
-
}
|
165
|
-
@each $key, $value in $spacing-sizes {
|
166
|
-
@if ($key != auto) {
|
167
|
-
.ax--mb-#{$key} {
|
168
|
-
margin-bottom: -$value;
|
169
|
-
}
|
170
|
-
}
|
171
|
-
}
|
172
|
-
@each $key, $value in $spacing-sizes {
|
173
|
-
.ax-ms-#{$key} {
|
174
|
-
margin-inline-start: $value;
|
175
|
-
}
|
176
|
-
}
|
177
|
-
@each $key, $value in $spacing-sizes {
|
178
|
-
@if ($key != auto) {
|
179
|
-
.ax--ms-#{$key} {
|
180
|
-
margin-inline-start: -$value;
|
181
|
-
}
|
182
|
-
}
|
183
|
-
}
|
184
|
-
|
185
|
-
@each $key, $value in $spacing-sizes {
|
186
|
-
.ax-ml-#{$key} {
|
187
|
-
margin-left: $value;
|
188
|
-
}
|
189
|
-
}
|
190
|
-
@each $key, $value in $spacing-sizes {
|
191
|
-
@if ($key != auto) {
|
192
|
-
.ax--ml-#{$key} {
|
193
|
-
margin-left: -$value;
|
194
|
-
}
|
195
|
-
}
|
196
|
-
}
|
197
|
-
|
198
|
-
// Space Between
|
199
|
-
|
200
|
-
// Space Y
|
201
|
-
@each $key, $value in $spacing-sizes {
|
202
|
-
@if ($key != auto) {
|
203
|
-
.ax-space-y-#{$key} {
|
204
|
-
--ax-space-y-reverse: 0;
|
205
|
-
margin-top: calc(#{$value} * calc(1 - var(--ax-space-y-reverse)));
|
206
|
-
margin-bottom: calc(#{$value} * var(--ax-space-y-reverse));
|
207
|
-
}
|
208
|
-
}
|
209
|
-
}
|
210
|
-
.ax-space-y-reverse {
|
211
|
-
--ax-space-y-reverse: 1;
|
212
|
-
}
|
213
|
-
|
214
|
-
@each $key, $value in $spacing-sizes {
|
215
|
-
@if ($key != auto) {
|
216
|
-
.ax--space-y-#{$key} {
|
217
|
-
--ax-space-y-reverse: 0;
|
218
|
-
margin-top: calc(-#{$value} * calc(1 - var(--ax-space-y-reverse)));
|
219
|
-
margin-bottom: calc(-#{$value} * var(--ax-space-y-reverse));
|
220
|
-
}
|
221
|
-
}
|
222
|
-
}
|
223
|
-
|
224
|
-
// Space X
|
225
|
-
@each $key, $value in $spacing-sizes {
|
226
|
-
@if ($key != auto) {
|
227
|
-
.ax-space-x-#{$key} {
|
228
|
-
--ax-space-x-reverse: 0;
|
229
|
-
margin-inline-end: calc(#{$value} * calc(1 - var(--ax-space-x-reverse)));
|
230
|
-
margin-inline-start: calc(#{$value} * var(--ax-space-x-reverse));
|
231
|
-
}
|
232
|
-
}
|
233
|
-
}
|
234
|
-
@each $key, $value in $spacing-sizes {
|
235
|
-
@if ($key != auto) {
|
236
|
-
.ax--space-x-#{$key} {
|
237
|
-
--ax-space-x-reverse: 0;
|
238
|
-
margin-inline-end: calc(-#{$value} * calc(1 - var(--ax-space-x-reverse)));
|
239
|
-
margin-inline-start: calc(-#{$value} * var(--ax-space-x-reverse));
|
240
|
-
}
|
241
|
-
}
|
242
|
-
}
|
243
|
-
.ax-space-x-reverse {
|
244
|
-
--ax-space-x-reverse: 1;
|
245
|
-
}
|
package/scss/bases/svg.scss
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
@import "../../variables/bases/svg";
|
2
|
-
|
3
|
-
// Fill
|
4
|
-
.ax-fill-current {
|
5
|
-
fill: currentColor;
|
6
|
-
}
|
7
|
-
|
8
|
-
// Stroke
|
9
|
-
.ax-stroke-current {
|
10
|
-
stroke: currentColor;
|
11
|
-
}
|
12
|
-
|
13
|
-
// Stroke Width
|
14
|
-
@each $value in $stroke-widths {
|
15
|
-
.ax-stroke-#{$value} {
|
16
|
-
stroke-width: $value;
|
17
|
-
}
|
18
|
-
}
|
package/scss/bases/table.scss
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
@import "../../variables/bases/table";
|
2
|
-
|
3
|
-
// Border Collapse
|
4
|
-
@each $value in $border-collapse {
|
5
|
-
.ax-border-#{$value} {
|
6
|
-
border-collapse: $value;
|
7
|
-
}
|
8
|
-
}
|
9
|
-
|
10
|
-
// Table Layout
|
11
|
-
@each $value in $table-layout {
|
12
|
-
.ax-table-#{$value} {
|
13
|
-
table-layout: $value;
|
14
|
-
}
|
15
|
-
}
|
@@ -1,114 +0,0 @@
|
|
1
|
-
@import "../../variables/bases/transform";
|
2
|
-
|
3
|
-
// Transform
|
4
|
-
.ax-transform {
|
5
|
-
--ax-translate-x: 0;
|
6
|
-
--ax-translate-y: 0;
|
7
|
-
--ax-rotate: 0;
|
8
|
-
--ax-skew-x: 0;
|
9
|
-
--ax-skew-y: 0;
|
10
|
-
--ax-scale-x: 1;
|
11
|
-
--ax-scale-y: 1;
|
12
|
-
transform: translateX(var(--ax-translate-x)) translateY(var(--ax-translate-y)) rotate(var(--ax-rotate))
|
13
|
-
skewX(var(--ax-skew-x)) skewY(var(--ax-skew-y)) scaleX(var(--ax-scale-x)) scaleY(var(--ax-scale-y));
|
14
|
-
}
|
15
|
-
.ax-transform-gpu {
|
16
|
-
--ax-translate-x: 0;
|
17
|
-
--ax-translate-y: 0;
|
18
|
-
--ax-rotate: 0;
|
19
|
-
--ax-skew-x: 0;
|
20
|
-
--ax-skew-y: 0;
|
21
|
-
--ax-scale-x: 1;
|
22
|
-
--ax-scale-y: 1;
|
23
|
-
transform: translate3d(var(--ax-translate-x), var(--ax-translate-y), 0) rotate(var(--ax-rotate))
|
24
|
-
skewX(var(--ax-skew-x)) skewY(var(--ax-skew-y)) scaleX(var(--ax-scale-x)) scaleY(var(--ax-scale-y));
|
25
|
-
}
|
26
|
-
.ax-transform-none {
|
27
|
-
transform: none;
|
28
|
-
}
|
29
|
-
|
30
|
-
// Transform Origin
|
31
|
-
@each $key, $value in $orgins {
|
32
|
-
.ax-origin-#{$key} {
|
33
|
-
transform-origin: $value;
|
34
|
-
}
|
35
|
-
}
|
36
|
-
|
37
|
-
// Scale
|
38
|
-
@each $key, $value in $scales {
|
39
|
-
.ax-scale-#{$key} {
|
40
|
-
--ax-scale-x: #{$value};
|
41
|
-
--ax-scale-y: #{$value};
|
42
|
-
}
|
43
|
-
}
|
44
|
-
@each $key, $value in $scales {
|
45
|
-
.ax-scale-x-#{$key} {
|
46
|
-
--ax-scale-x: #{$value};
|
47
|
-
}
|
48
|
-
}
|
49
|
-
@each $key, $value in $scales {
|
50
|
-
.ax-scale-u-#{$key} {
|
51
|
-
--ax-scale-u: #{$value};
|
52
|
-
}
|
53
|
-
}
|
54
|
-
|
55
|
-
// Rotate
|
56
|
-
@each $key, $value in $rotates {
|
57
|
-
.ax-rotate-#{$key} {
|
58
|
-
--ax-rotate: #{$value};
|
59
|
-
}
|
60
|
-
}
|
61
|
-
@each $key, $value in $rotates {
|
62
|
-
.ax--rotate-#{$key} {
|
63
|
-
--ax-rotate: -#{$value};
|
64
|
-
}
|
65
|
-
}
|
66
|
-
|
67
|
-
// Translate
|
68
|
-
@each $key, $value in $translates {
|
69
|
-
.ax-translate-x-#{$key} {
|
70
|
-
--ax-translate-x: #{$value};
|
71
|
-
}
|
72
|
-
}
|
73
|
-
@each $key, $value in $translates {
|
74
|
-
.ax--translate-x-#{$key} {
|
75
|
-
--ax-translate-x: -#{$value};
|
76
|
-
}
|
77
|
-
}
|
78
|
-
@each $key, $value in $translates {
|
79
|
-
.ax-translate-y-#{$key} {
|
80
|
-
--ax-translate-y: #{$value};
|
81
|
-
}
|
82
|
-
}
|
83
|
-
@each $key, $value in $translates {
|
84
|
-
.ax--translate-y-#{$key} {
|
85
|
-
--ax-translate-y: -#{$value};
|
86
|
-
}
|
87
|
-
}
|
88
|
-
|
89
|
-
// Skew
|
90
|
-
@each $key, $value in $skews {
|
91
|
-
.ax-skew-x-#{$key} {
|
92
|
-
--ax-skew-x: #{$value};
|
93
|
-
}
|
94
|
-
}
|
95
|
-
@each $key, $value in $skews {
|
96
|
-
@if ($key != 0) {
|
97
|
-
.ax--skew-x-#{$key} {
|
98
|
-
--ax-skew-x: -#{$value};
|
99
|
-
}
|
100
|
-
}
|
101
|
-
}
|
102
|
-
|
103
|
-
@each $key, $value in $skews {
|
104
|
-
.ax-skew-y-#{$key} {
|
105
|
-
--ax-skew-y: #{$value};
|
106
|
-
}
|
107
|
-
}
|
108
|
-
@each $key, $value in $skews {
|
109
|
-
@if ($key != 0) {
|
110
|
-
.ax--skew-y-#{$key} {
|
111
|
-
--ax-skew-y: -#{$value};
|
112
|
-
}
|
113
|
-
}
|
114
|
-
}
|
@@ -1,116 +0,0 @@
|
|
1
|
-
@import "../../variables/bases/transition-and-animation.scss";
|
2
|
-
|
3
|
-
.ax-transition-none {
|
4
|
-
transition-property: none;
|
5
|
-
}
|
6
|
-
.ax-transition-all {
|
7
|
-
transition-property: all;
|
8
|
-
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
9
|
-
transition-duration: 150ms;
|
10
|
-
}
|
11
|
-
.ax-transition {
|
12
|
-
transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
|
13
|
-
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
14
|
-
transition-duration: 150ms;
|
15
|
-
}
|
16
|
-
.ax-transition-colors {
|
17
|
-
transition-property: background-color, border-color, color, fill, stroke;
|
18
|
-
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
19
|
-
transition-duration: 150ms;
|
20
|
-
}
|
21
|
-
.ax-transition-opacity {
|
22
|
-
transition-property: opacity;
|
23
|
-
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
24
|
-
transition-duration: 150ms;
|
25
|
-
}
|
26
|
-
.ax-transition-shadow {
|
27
|
-
transition-property: box-shadow;
|
28
|
-
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
29
|
-
transition-duration: 150ms;
|
30
|
-
}
|
31
|
-
.ax-transition-transform {
|
32
|
-
transition-property: transform;
|
33
|
-
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
34
|
-
transition-duration: 150ms;
|
35
|
-
}
|
36
|
-
|
37
|
-
// Transition Duration
|
38
|
-
@each $key, $value in $durations {
|
39
|
-
.ax-duration-#{$key} {
|
40
|
-
transition-duration: $value;
|
41
|
-
}
|
42
|
-
}
|
43
|
-
// Transition Timing Function
|
44
|
-
@each $key, $value in $timing-function {
|
45
|
-
.ax-#{$key} {
|
46
|
-
transition-timing-function: $value;
|
47
|
-
}
|
48
|
-
}
|
49
|
-
|
50
|
-
// Transition Delay
|
51
|
-
@each $key, $value in $delay {
|
52
|
-
.ax-delay-#{$key} {
|
53
|
-
transition-delay: $value;
|
54
|
-
}
|
55
|
-
}
|
56
|
-
|
57
|
-
// Animation
|
58
|
-
.ax-animate-none {
|
59
|
-
animation: none;
|
60
|
-
}
|
61
|
-
|
62
|
-
.ax-animate-spin {
|
63
|
-
animation: spin 1s linear infinite;
|
64
|
-
|
65
|
-
@keyframes spin {
|
66
|
-
from {
|
67
|
-
transform: rotate(0deg);
|
68
|
-
}
|
69
|
-
to {
|
70
|
-
transform: rotate(360deg);
|
71
|
-
}
|
72
|
-
}
|
73
|
-
}
|
74
|
-
.ax-animate-ping {
|
75
|
-
animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
|
76
|
-
|
77
|
-
@keyframes ping {
|
78
|
-
0% {
|
79
|
-
transform: scale(1);
|
80
|
-
opacity: 1;
|
81
|
-
}
|
82
|
-
75%,
|
83
|
-
100% {
|
84
|
-
transform: scale(2);
|
85
|
-
opacity: 0;
|
86
|
-
}
|
87
|
-
}
|
88
|
-
}
|
89
|
-
.ax-animate-pulse {
|
90
|
-
animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
91
|
-
|
92
|
-
@keyframes pulse {
|
93
|
-
0%,
|
94
|
-
100% {
|
95
|
-
opacity: 1;
|
96
|
-
}
|
97
|
-
50% {
|
98
|
-
opacity: 0.5;
|
99
|
-
}
|
100
|
-
}
|
101
|
-
}
|
102
|
-
.ax-animate-bounce {
|
103
|
-
animation: bounce 1s infinite;
|
104
|
-
|
105
|
-
@keyframes bounce {
|
106
|
-
0%,
|
107
|
-
100% {
|
108
|
-
transform: translateY(-25%);
|
109
|
-
animationtimingfunction: cubic-bezier(0.8, 0, 1, 1);
|
110
|
-
}
|
111
|
-
50% {
|
112
|
-
transform: translateY(0);
|
113
|
-
animationtimingfunction: cubic-bezier(0, 0, 0.2, 1);
|
114
|
-
}
|
115
|
-
}
|
116
|
-
}
|