@progress/kendo-theme-core 12.2.4-dev.1 → 12.3.0-dev.0
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/dist/all.css +1 -1
- package/dist/meta/sassdoc-data.json +552 -0
- package/dist/meta/sassdoc-raw-data.json +133 -0
- package/dist/meta/variables.json +295 -7
- package/package.json +2 -2
- package/scss/components/action-sheet/_layout.scss +2 -0
- package/scss/components/bottom-navigation/_layout.scss +2 -0
- package/scss/components/breadcrumb/_layout.scss +1 -1
- package/scss/components/bubble/_layout.scss +8 -0
- package/scss/components/bubble/_theme.scss +0 -1
- package/scss/components/button/_layout.scss +3 -2
- package/scss/components/calendar/_layout.scss +2 -0
- package/scss/components/chart-wizard/_layout.scss +3 -0
- package/scss/components/chat/_layout.scss +7 -5
- package/scss/components/checkbox/_layout.scss +3 -1
- package/scss/components/chip/_layout.scss +3 -1
- package/scss/components/colorgradient/_layout.scss +2 -0
- package/scss/components/colorpalette/_layout.scss +2 -0
- package/scss/components/datetimepicker/_layout.scss +3 -1
- package/scss/components/dock-manager/_layout.scss +3 -1
- package/scss/components/drawer/_layout.scss +4 -2
- package/scss/components/fab/_layout.scss +3 -1
- package/scss/components/filter/_layout.scss +2 -0
- package/scss/components/gantt/_layout.scss +5 -0
- package/scss/components/input/_layout.scss +3 -0
- package/scss/components/list/_layout.scss +3 -3
- package/scss/components/listview/_layout.scss +2 -0
- package/scss/components/menu/_layout.scss +8 -0
- package/scss/components/panelbar/_layout.scss +2 -2
- package/scss/components/progressbar/_layout.scss +2 -1
- package/scss/components/progressbar/_theme.scss +2 -1
- package/scss/components/radio/_layout.scss +3 -1
- package/scss/components/rating/_layout.scss +2 -1
- package/scss/components/ripple/_layout.scss +3 -2
- package/scss/components/scroller/_layout.scss +3 -2
- package/scss/components/scrollview/_layout.scss +3 -0
- package/scss/components/slider/_layout.scss +3 -2
- package/scss/components/splitter/_layout.scss +2 -0
- package/scss/components/spreadsheet/_layout.scss +4 -0
- package/scss/components/stepper/_layout.scss +3 -3
- package/scss/components/suggestion/_layout.scss +2 -3
- package/scss/components/switch/_layout.scss +6 -2
- package/scss/components/tabstrip/_layout.scss +3 -1
- package/scss/components/timeline/_layout.scss +3 -2
- package/scss/components/treeview/_layout.scss +2 -0
- package/scss/index.scss +4 -2
- package/scss/motion/index.scss +208 -3
- package/scss/styles/_animations.scss +35 -35
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
2
|
@use "sass:math";
|
|
3
3
|
@use "../../color-system/_constants.scss" as *;
|
|
4
|
+
@use "../../motion/index.scss" as *;
|
|
4
5
|
@use "./variables.scss" as *;
|
|
5
6
|
|
|
6
7
|
@mixin kendo-switch--layout-base() {
|
|
@@ -50,7 +51,7 @@
|
|
|
50
51
|
flex-flow: row nowrap;
|
|
51
52
|
flex: 1 0 auto;
|
|
52
53
|
position: relative;
|
|
53
|
-
transition: background-color
|
|
54
|
+
transition: background-color k-transition(rapid), border-color k-transition(rapid), color k-transition(rapid);
|
|
54
55
|
}
|
|
55
56
|
|
|
56
57
|
|
|
@@ -60,7 +61,6 @@
|
|
|
60
61
|
height: 0;
|
|
61
62
|
overflow: visible;
|
|
62
63
|
position: absolute;
|
|
63
|
-
transition: left 200ms ease-in-out;
|
|
64
64
|
inset-block-start: 50%;
|
|
65
65
|
}
|
|
66
66
|
.k-switch-thumb {
|
|
@@ -69,6 +69,7 @@
|
|
|
69
69
|
display: block;
|
|
70
70
|
position: absolute;
|
|
71
71
|
transform: translate( -50%, -50% );
|
|
72
|
+
transition: all k-transition(rapid);
|
|
72
73
|
}
|
|
73
74
|
|
|
74
75
|
|
|
@@ -81,6 +82,7 @@
|
|
|
81
82
|
inset-block-start: 50%;
|
|
82
83
|
transform: translateY( -50% );
|
|
83
84
|
overflow: hidden;
|
|
85
|
+
transition: color k-transition(snappy);
|
|
84
86
|
}
|
|
85
87
|
|
|
86
88
|
|
|
@@ -115,9 +117,11 @@
|
|
|
115
117
|
|
|
116
118
|
&.k-switch-on .k-switch-thumb-wrap {
|
|
117
119
|
inset-inline-start: calc( 100% - #{math.div( $_thumb-width, 2 )} - #{$_thumb-offset} );
|
|
120
|
+
transition: left k-transition(bouncy);
|
|
118
121
|
}
|
|
119
122
|
&.k-switch-off .k-switch-thumb-wrap {
|
|
120
123
|
inset-inline-start: calc( #{math.div( $_thumb-width, 2 )} + #{$_thumb-offset} );
|
|
124
|
+
transition: left k-transition(snappy);
|
|
121
125
|
}
|
|
122
126
|
}
|
|
123
127
|
}
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
@use "../icons/_variables.scss" as *;
|
|
5
5
|
@use "./_variables.scss" as *;
|
|
6
6
|
@use "../../z-index/index.scss" as *;
|
|
7
|
+
@use "../../motion/index.scss" as *;
|
|
7
8
|
|
|
8
9
|
@mixin kendo-tabstrip--layout-base() {
|
|
9
10
|
|
|
@@ -81,6 +82,7 @@
|
|
|
81
82
|
align-items: stretch;
|
|
82
83
|
justify-items: stretch;
|
|
83
84
|
outline: 0;
|
|
85
|
+
transition: color k-transition(emphasis), border-color k-transition(emphasis), box-shadow k-transition(emphasis), background-color k-transition(emphasis), font-weight k-transition(emphasis);
|
|
84
86
|
|
|
85
87
|
// Active state
|
|
86
88
|
&:active,
|
|
@@ -162,7 +164,7 @@
|
|
|
162
164
|
position: absolute;
|
|
163
165
|
inset-block-start: 0;
|
|
164
166
|
inset-inline-start: 0;
|
|
165
|
-
transition: width
|
|
167
|
+
transition: width k-duration(rapid) k-easing(linear);
|
|
166
168
|
|
|
167
169
|
// TODO: a better name
|
|
168
170
|
display: none;
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
@use "./variables.scss" as *;
|
|
6
6
|
@use "../card/_variables.scss" as *;
|
|
7
7
|
@use "../../z-index/index.scss" as *;
|
|
8
|
+
@use "../../motion/index.scss" as *;
|
|
8
9
|
|
|
9
10
|
@mixin kendo-timeline--layout-base() {
|
|
10
11
|
|
|
@@ -208,7 +209,7 @@
|
|
|
208
209
|
margin-block: calc( #{$kendo-icon-spacing} * -1 );
|
|
209
210
|
margin-inline: 0;
|
|
210
211
|
transform: rotate(90deg);
|
|
211
|
-
transition: transform
|
|
212
|
+
transition: transform k-transition(subtle);
|
|
212
213
|
}
|
|
213
214
|
|
|
214
215
|
&.k-collapsed {
|
|
@@ -358,7 +359,7 @@
|
|
|
358
359
|
z-index: k-z-index("base", 2);
|
|
359
360
|
|
|
360
361
|
.k-timeline-scrollable-wrap {
|
|
361
|
-
transition: transform
|
|
362
|
+
transition: transform k-duration(sluggish) k-easing(standard);
|
|
362
363
|
}
|
|
363
364
|
}
|
|
364
365
|
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
@use "../../color-system/_constants.scss" as *;
|
|
3
3
|
@use "../../mixins/index.scss" as *;
|
|
4
4
|
@use "../../spacing/index.scss" as *;
|
|
5
|
+
@use "../../motion/index.scss" as *;
|
|
5
6
|
@use "./variables.scss" as *;
|
|
6
7
|
@use "../icons/_variables.scss" as *;
|
|
7
8
|
@use "../../z-index/index.scss" as *;
|
|
@@ -120,6 +121,7 @@
|
|
|
120
121
|
align-content: center;
|
|
121
122
|
vertical-align: middle;
|
|
122
123
|
position: relative;
|
|
124
|
+
transition: color k-transition(rapid), background-color k-transition(rapid), border-color k-transition(rapid), box-shadow k-transition(rapid);
|
|
123
125
|
|
|
124
126
|
.k-icon,
|
|
125
127
|
.k-image,
|
package/scss/index.scss
CHANGED
|
@@ -2,20 +2,21 @@
|
|
|
2
2
|
@forward "./color-system/index.scss";
|
|
3
3
|
@forward "./mixins/index.scss";
|
|
4
4
|
@forward "./spacing/index.scss";
|
|
5
|
-
@forward "./styles/index.scss";
|
|
6
5
|
@forward "./elevation/index.scss";
|
|
7
6
|
@forward "./typography/index.scss";
|
|
8
7
|
@forward "./border-radii/index.scss";
|
|
9
8
|
@forward "./motion/index.scss";
|
|
10
9
|
@forward "./z-index/index.scss";
|
|
10
|
+
@forward "./styles/index.scss";
|
|
11
11
|
|
|
12
12
|
@use "./color-system/index.scss" as *;
|
|
13
13
|
@use "./mixins/index.scss" as *;
|
|
14
|
-
@use "./styles/index.scss" as *;
|
|
15
14
|
@use "./elevation/index.scss" as *;
|
|
16
15
|
@use "./typography/index.scss" as *;
|
|
17
16
|
@use "./spacing/index.scss" as *;
|
|
17
|
+
@use "./motion/index.scss" as *;
|
|
18
18
|
@use "./border-radii/index.scss" as *;
|
|
19
|
+
@use "./styles/index.scss" as *;
|
|
19
20
|
|
|
20
21
|
@mixin core-styles() {
|
|
21
22
|
@include import-once("core-styles") {
|
|
@@ -24,6 +25,7 @@
|
|
|
24
25
|
@include kendo-border-radius--styles();
|
|
25
26
|
@include kendo-elevation--styles();
|
|
26
27
|
@include kendo-core--typography--styles();
|
|
28
|
+
@include kendo-motion--styles();
|
|
27
29
|
@include kendo-core--styles();
|
|
28
30
|
}
|
|
29
31
|
}
|
package/scss/motion/index.scss
CHANGED
|
@@ -1,7 +1,212 @@
|
|
|
1
|
-
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "sass:list";
|
|
2
3
|
|
|
3
|
-
|
|
4
|
+
$default-easings: (
|
|
5
|
+
linear: cubic-bezier(0, 0, 1, 1),
|
|
6
|
+
accelerate: cubic-bezier(0.42, 0, 1, 1),
|
|
7
|
+
decelerate: cubic-bezier(0, 0, 0.58, 1),
|
|
8
|
+
standard: cubic-bezier(0.42, 0, 0.58, 1),
|
|
9
|
+
sharp: cubic-bezier(0.75, 0, 0.25, 1),
|
|
10
|
+
bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55),
|
|
11
|
+
elastic: cubic-bezier(0.5, -0.5, 0.5, 1.5),
|
|
12
|
+
) !default;
|
|
13
|
+
|
|
14
|
+
$default-durations: (
|
|
15
|
+
instant: 0ms,
|
|
16
|
+
immediate: 50ms,
|
|
17
|
+
brief: 100ms,
|
|
18
|
+
quick: 150ms,
|
|
19
|
+
rapid: 200ms,
|
|
20
|
+
swift: 250ms,
|
|
21
|
+
speedy: 300ms,
|
|
22
|
+
brisk: 350ms,
|
|
23
|
+
prompt: 400ms,
|
|
24
|
+
timely: 450ms,
|
|
25
|
+
moderate: 500ms,
|
|
26
|
+
measured: 550ms,
|
|
27
|
+
steady: 600ms,
|
|
28
|
+
leisurely: 700ms,
|
|
29
|
+
slow: 800ms,
|
|
30
|
+
languid: 900ms,
|
|
31
|
+
sluggish: 1000ms,
|
|
32
|
+
) !default;
|
|
33
|
+
|
|
34
|
+
$default-transitions: (
|
|
35
|
+
instant: (
|
|
36
|
+
duration: var(--kendo-duration-instant),
|
|
37
|
+
easing: var(--kendo-easing-linear),
|
|
38
|
+
),
|
|
39
|
+
rapid: (
|
|
40
|
+
duration: var(--kendo-duration-quick),
|
|
41
|
+
easing: var(--kendo-easing-decelerate),
|
|
42
|
+
),
|
|
43
|
+
snappy: (
|
|
44
|
+
duration: var(--kendo-duration-swift),
|
|
45
|
+
easing: var(--kendo-easing-decelerate),
|
|
46
|
+
),
|
|
47
|
+
energetic: (
|
|
48
|
+
duration: var(--kendo-duration-swift),
|
|
49
|
+
easing: var(--kendo-easing-elastic),
|
|
50
|
+
),
|
|
51
|
+
bouncy: (
|
|
52
|
+
duration: var(--kendo-duration-speedy),
|
|
53
|
+
easing: var(--kendo-easing-bounce),
|
|
54
|
+
),
|
|
55
|
+
subtle: (
|
|
56
|
+
duration: var(--kendo-duration-brisk),
|
|
57
|
+
easing: var(--kendo-easing-standard),
|
|
58
|
+
),
|
|
59
|
+
gentle: (
|
|
60
|
+
duration: var(--kendo-duration-prompt),
|
|
61
|
+
easing: var(--kendo-easing-accelerate),
|
|
62
|
+
),
|
|
63
|
+
enter: (
|
|
64
|
+
duration: var(--kendo-duration-speedy),
|
|
65
|
+
easing: var(--kendo-easing-decelerate),
|
|
66
|
+
),
|
|
67
|
+
exit: (
|
|
68
|
+
duration: var(--kendo-duration-rapid),
|
|
69
|
+
easing: var(--kendo-easing-accelerate),
|
|
70
|
+
),
|
|
71
|
+
settle: (
|
|
72
|
+
duration: var(--kendo-duration-brisk),
|
|
73
|
+
easing: var(--kendo-easing-decelerate),
|
|
74
|
+
),
|
|
75
|
+
scale-out: (
|
|
76
|
+
duration: var(--kendo-duration-quick),
|
|
77
|
+
easing: var(--kendo-easing-accelerate),
|
|
78
|
+
),
|
|
79
|
+
scale-in: (
|
|
80
|
+
duration: var(--kendo-duration-rapid),
|
|
81
|
+
easing: var(--kendo-easing-decelerate),
|
|
82
|
+
),
|
|
83
|
+
fade-out: (
|
|
84
|
+
duration: var(--kendo-duration-rapid),
|
|
85
|
+
easing: var(--kendo-easing-standard),
|
|
86
|
+
),
|
|
87
|
+
fade-in: (
|
|
88
|
+
duration: var(--kendo-duration-swift),
|
|
89
|
+
easing: var(--kendo-easing-standard),
|
|
90
|
+
),
|
|
91
|
+
slide-out: (
|
|
92
|
+
duration: var(--kendo-duration-swift),
|
|
93
|
+
easing: var(--kendo-easing-accelerate),
|
|
94
|
+
),
|
|
95
|
+
slide-in: (
|
|
96
|
+
duration: var(--kendo-duration-speedy),
|
|
97
|
+
easing: var(--kendo-easing-decelerate),
|
|
98
|
+
),
|
|
99
|
+
emphasis: (
|
|
100
|
+
duration: var(--kendo-duration-quick),
|
|
101
|
+
easing: var(--kendo-easing-sharp),
|
|
102
|
+
),
|
|
103
|
+
collapse: (
|
|
104
|
+
duration: var(--kendo-duration-speedy),
|
|
105
|
+
easing: var(--kendo-easing-accelerate),
|
|
106
|
+
),
|
|
107
|
+
expand: (
|
|
108
|
+
duration: var(--kendo-duration-prompt),
|
|
109
|
+
easing: var(--kendo-easing-standard),
|
|
110
|
+
),
|
|
111
|
+
shrink: (
|
|
112
|
+
duration: var(--kendo-duration-brisk),
|
|
113
|
+
easing: var(--kendo-easing-accelerate),
|
|
114
|
+
),
|
|
115
|
+
grow: (
|
|
116
|
+
duration: var(--kendo-duration-prompt),
|
|
117
|
+
easing: var(--kendo-easing-standard),
|
|
118
|
+
),
|
|
119
|
+
pulse: (
|
|
120
|
+
duration: var(--kendo-duration-brisk),
|
|
121
|
+
easing: var(--kendo-easing-standard),
|
|
122
|
+
),
|
|
123
|
+
smooth: (
|
|
124
|
+
duration: var(--kendo-duration-moderate),
|
|
125
|
+
easing: var(--kendo-easing-standard),
|
|
126
|
+
),
|
|
127
|
+
flip: (
|
|
128
|
+
duration: var(--kendo-duration-measured),
|
|
129
|
+
easing: var(--kendo-easing-standard),
|
|
130
|
+
),
|
|
131
|
+
fluid: (
|
|
132
|
+
duration: var(--kendo-duration-steady),
|
|
133
|
+
easing: var(--kendo-easing-standard),
|
|
134
|
+
),
|
|
135
|
+
deliberate: (
|
|
136
|
+
duration: var(--kendo-duration-slow),
|
|
137
|
+
easing: var(--kendo-easing-standard),
|
|
138
|
+
),
|
|
139
|
+
) !default;
|
|
140
|
+
|
|
141
|
+
/// The global map of motion easing tokens.
|
|
142
|
+
/// @group motion
|
|
143
|
+
$kendo-easings: $default-easings !default;
|
|
144
|
+
$kendo-easings: map.merge($default-easings, $kendo-easings);
|
|
145
|
+
|
|
146
|
+
/// The global map of motion duration tokens.
|
|
147
|
+
/// @group motion
|
|
148
|
+
$kendo-durations: $default-durations !default;
|
|
149
|
+
$kendo-durations: map.merge($default-durations, $kendo-durations);
|
|
150
|
+
|
|
151
|
+
/// The global map of motion transition tokens.
|
|
152
|
+
/// @group motion
|
|
153
|
+
///
|
|
154
|
+
/// @subgroup {fast}
|
|
155
|
+
/// [instant, rapid, snappy, energetic]
|
|
156
|
+
/// Speed and Responsiveness
|
|
157
|
+
///
|
|
158
|
+
/// @subgroup {expressive}
|
|
159
|
+
/// [emphasis, bouncy, pulse, flip]
|
|
160
|
+
/// Personality and Playfulness
|
|
161
|
+
///
|
|
162
|
+
/// @subgroup {calm}
|
|
163
|
+
/// [subtle, gentle, settle, smooth, fluid, deliberate]
|
|
164
|
+
/// Subtle & Natural
|
|
165
|
+
///
|
|
166
|
+
/// @subgroup {visibility}
|
|
167
|
+
/// [slide-in, slide-out, fade-in, fade-out, enter, exit]
|
|
168
|
+
/// Visibility & Movement Change
|
|
169
|
+
///
|
|
170
|
+
/// @subgroup {size}
|
|
171
|
+
/// [scale-in, scale-out, grow, shrink, expand, collapse]
|
|
172
|
+
/// Size & Scale Adjustments
|
|
173
|
+
$kendo-transitions: $default-transitions !default;
|
|
174
|
+
$kendo-transitions: map.merge($default-transitions, $kendo-transitions);
|
|
175
|
+
|
|
176
|
+
@function k-easing($key) {
|
|
177
|
+
$easing: map.get($kendo-easings, $key);
|
|
178
|
+
@return var(--kendo-easing-#{$key}, $easing);
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
@function k-duration($key) {
|
|
182
|
+
$_duration: map.get($kendo-durations, $key);
|
|
183
|
+
@return var(--kendo-duration-#{$key}, $_duration);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
@function k-transition($key) {
|
|
187
|
+
@return var(--kendo-transition-#{$key});
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
@mixin kendo-motion--styles() {
|
|
4
191
|
:root {
|
|
5
|
-
|
|
192
|
+
@each $key, $value in $kendo-durations {
|
|
193
|
+
--kendo-duration-#{$key}: var(--kendo-duration-global, #{$value});
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
@each $key, $value in $kendo-easings {
|
|
197
|
+
--kendo-easing-#{$key}: #{$value};
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
@each $key, $config in $kendo-transitions {
|
|
201
|
+
$_duration: map.get($config, duration);
|
|
202
|
+
$_easing: map.get($config, easing);
|
|
203
|
+
--kendo-transition-#{$key}: #{$_duration} #{$_easing};
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
@media (prefers-reduced-motion: reduce) {
|
|
208
|
+
:root {
|
|
209
|
+
--kendo-duration-global: 0.01ms;
|
|
210
|
+
}
|
|
6
211
|
}
|
|
7
212
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use "../motion/index.scss" as *;
|
|
2
|
+
|
|
1
3
|
@mixin kendo-core--styles--animations() {
|
|
2
4
|
|
|
3
5
|
// Animations
|
|
@@ -10,7 +12,7 @@
|
|
|
10
12
|
&-enter-active,
|
|
11
13
|
&-appear-active {
|
|
12
14
|
transform: translate(0, 0);
|
|
13
|
-
transition: transform
|
|
15
|
+
transition: transform k-transition(slide-in);
|
|
14
16
|
}
|
|
15
17
|
|
|
16
18
|
&-exit {
|
|
@@ -19,7 +21,7 @@
|
|
|
19
21
|
|
|
20
22
|
&-exit-active {
|
|
21
23
|
transform: translate(100%, 0);
|
|
22
|
-
transition: transform
|
|
24
|
+
transition: transform k-transition(slide-out);
|
|
23
25
|
}
|
|
24
26
|
}
|
|
25
27
|
|
|
@@ -32,7 +34,7 @@
|
|
|
32
34
|
&-enter-active,
|
|
33
35
|
&-appear-active {
|
|
34
36
|
transform: translate(0, 0);
|
|
35
|
-
transition: transform
|
|
37
|
+
transition: transform k-transition(slide-in);
|
|
36
38
|
}
|
|
37
39
|
|
|
38
40
|
&-exit {
|
|
@@ -41,7 +43,7 @@
|
|
|
41
43
|
|
|
42
44
|
&-exit-active {
|
|
43
45
|
transform: translate(-100%, 0);
|
|
44
|
-
transition: transform
|
|
46
|
+
transition: transform k-transition(slide-out);
|
|
45
47
|
}
|
|
46
48
|
}
|
|
47
49
|
|
|
@@ -54,7 +56,7 @@
|
|
|
54
56
|
&-enter-active,
|
|
55
57
|
&-appear-active {
|
|
56
58
|
transform: translate(0, 0);
|
|
57
|
-
transition: transform
|
|
59
|
+
transition: transform k-transition(slide-in);
|
|
58
60
|
}
|
|
59
61
|
|
|
60
62
|
&-exit {
|
|
@@ -63,7 +65,7 @@
|
|
|
63
65
|
|
|
64
66
|
&-exit-active {
|
|
65
67
|
transform: translate(0, 100%);
|
|
66
|
-
transition: transform
|
|
68
|
+
transition: transform k-transition(slide-out);
|
|
67
69
|
}
|
|
68
70
|
}
|
|
69
71
|
|
|
@@ -76,7 +78,7 @@
|
|
|
76
78
|
&-enter-active,
|
|
77
79
|
&-appear-active {
|
|
78
80
|
transform: translate(0, 0);
|
|
79
|
-
transition: transform
|
|
81
|
+
transition: transform k-transition(slide-in);
|
|
80
82
|
}
|
|
81
83
|
|
|
82
84
|
&-exit {
|
|
@@ -85,7 +87,7 @@
|
|
|
85
87
|
|
|
86
88
|
&-exit-active {
|
|
87
89
|
transform: translate(0, -100%);
|
|
88
|
-
transition: transform
|
|
90
|
+
transition: transform k-transition(slide-out);
|
|
89
91
|
}
|
|
90
92
|
}
|
|
91
93
|
|
|
@@ -98,7 +100,7 @@
|
|
|
98
100
|
&-enter-active,
|
|
99
101
|
&-appear-active {
|
|
100
102
|
transform: scaleY(1);
|
|
101
|
-
transition: transform
|
|
103
|
+
transition: transform k-transition(expand);
|
|
102
104
|
}
|
|
103
105
|
|
|
104
106
|
&-exit {
|
|
@@ -107,7 +109,7 @@
|
|
|
107
109
|
|
|
108
110
|
&-exit-active {
|
|
109
111
|
transform: scaleY(0);
|
|
110
|
-
transition: transform
|
|
112
|
+
transition: transform k-transition(collapse);
|
|
111
113
|
}
|
|
112
114
|
}
|
|
113
115
|
|
|
@@ -120,7 +122,7 @@
|
|
|
120
122
|
&-enter-active,
|
|
121
123
|
&-appear-active {
|
|
122
124
|
transform: scaleX(1);
|
|
123
|
-
transition: transform
|
|
125
|
+
transition: transform k-transition(expand);
|
|
124
126
|
}
|
|
125
127
|
|
|
126
128
|
&-exit {
|
|
@@ -129,7 +131,7 @@
|
|
|
129
131
|
|
|
130
132
|
&-exit-active {
|
|
131
133
|
transform: scaleX(0);
|
|
132
|
-
transition: transform
|
|
134
|
+
transition: transform k-transition(collapse);
|
|
133
135
|
}
|
|
134
136
|
}
|
|
135
137
|
|
|
@@ -142,7 +144,7 @@
|
|
|
142
144
|
&-enter-active,
|
|
143
145
|
&-appear-active {
|
|
144
146
|
opacity: 1;
|
|
145
|
-
transition: opacity
|
|
147
|
+
transition: opacity k-transition(fade-in);
|
|
146
148
|
}
|
|
147
149
|
|
|
148
150
|
&-exit {
|
|
@@ -151,7 +153,7 @@
|
|
|
151
153
|
|
|
152
154
|
&-exit-active {
|
|
153
155
|
opacity: 0;
|
|
154
|
-
transition: opacity
|
|
156
|
+
transition: opacity k-transition(fade-out);
|
|
155
157
|
}
|
|
156
158
|
|
|
157
159
|
&-exit-active + &-exit-active,
|
|
@@ -171,7 +173,7 @@
|
|
|
171
173
|
&-appear-active {
|
|
172
174
|
opacity: 1;
|
|
173
175
|
transform: scale(1);
|
|
174
|
-
transition: transform, opacity
|
|
176
|
+
transition: transform k-transition(scale-in), opacity k-transition(scale-in);
|
|
175
177
|
}
|
|
176
178
|
|
|
177
179
|
&-exit {
|
|
@@ -182,7 +184,7 @@
|
|
|
182
184
|
&-exit-active {
|
|
183
185
|
opacity: 0;
|
|
184
186
|
transform: scale(2);
|
|
185
|
-
transition: transform, opacity
|
|
187
|
+
transition: transform k-transition(scale-in), opacity k-transition(scale-out);
|
|
186
188
|
}
|
|
187
189
|
}
|
|
188
190
|
|
|
@@ -197,7 +199,7 @@
|
|
|
197
199
|
&-appear-active {
|
|
198
200
|
opacity: 1;
|
|
199
201
|
transform: scale(1);
|
|
200
|
-
transition: transform, opacity
|
|
202
|
+
transition: transform k-transition(scale-in), opacity k-transition(scale-out);
|
|
201
203
|
}
|
|
202
204
|
|
|
203
205
|
&-exit {
|
|
@@ -208,7 +210,7 @@
|
|
|
208
210
|
&-exit-active {
|
|
209
211
|
opacity: 0;
|
|
210
212
|
transform: scale(0);
|
|
211
|
-
transition: transform, opacity
|
|
213
|
+
transition: transform k-transition(scale-in), opacity k-transition(scale-in);
|
|
212
214
|
}
|
|
213
215
|
}
|
|
214
216
|
|
|
@@ -225,7 +227,7 @@
|
|
|
225
227
|
&-appear-active {
|
|
226
228
|
opacity: 1;
|
|
227
229
|
transform: translate(0, 0);
|
|
228
|
-
transition: transform
|
|
230
|
+
transition: transform k-transition(slide-in), opacity k-transition(slide-in);
|
|
229
231
|
|
|
230
232
|
.k-centered {
|
|
231
233
|
transform: translate(-50%, -50%);
|
|
@@ -242,7 +244,7 @@
|
|
|
242
244
|
&-enter-active,
|
|
243
245
|
&-appear-active {
|
|
244
246
|
transform: translateY(0);
|
|
245
|
-
transition: transform
|
|
247
|
+
transition: transform k-transition(slide-in);
|
|
246
248
|
}
|
|
247
249
|
|
|
248
250
|
&-exit {
|
|
@@ -251,7 +253,7 @@
|
|
|
251
253
|
|
|
252
254
|
&-exit-active {
|
|
253
255
|
transform: translateY(-100%);
|
|
254
|
-
transition: transform
|
|
256
|
+
transition: transform k-transition(slide-out);
|
|
255
257
|
}
|
|
256
258
|
}
|
|
257
259
|
|
|
@@ -264,7 +266,7 @@
|
|
|
264
266
|
&-enter-active,
|
|
265
267
|
&-appear-active {
|
|
266
268
|
transform: translateY(0);
|
|
267
|
-
transition: transform
|
|
269
|
+
transition: transform k-transition(slide-in);
|
|
268
270
|
}
|
|
269
271
|
|
|
270
272
|
&-exit {
|
|
@@ -273,7 +275,7 @@
|
|
|
273
275
|
|
|
274
276
|
&-exit-active {
|
|
275
277
|
transform: translateY(100%);
|
|
276
|
-
transition: transform
|
|
278
|
+
transition: transform k-transition(slide-out);
|
|
277
279
|
}
|
|
278
280
|
}
|
|
279
281
|
|
|
@@ -286,7 +288,7 @@
|
|
|
286
288
|
&-enter-active,
|
|
287
289
|
&-appear-active {
|
|
288
290
|
transform: translateX(0);
|
|
289
|
-
transition: transform
|
|
291
|
+
transition: transform k-transition(slide-in);
|
|
290
292
|
}
|
|
291
293
|
|
|
292
294
|
&-exit {
|
|
@@ -295,7 +297,7 @@
|
|
|
295
297
|
|
|
296
298
|
&-exit-active {
|
|
297
299
|
transform: translateX(-100%);
|
|
298
|
-
transition: transform
|
|
300
|
+
transition: transform k-transition(slide-out);
|
|
299
301
|
}
|
|
300
302
|
}
|
|
301
303
|
|
|
@@ -308,7 +310,7 @@
|
|
|
308
310
|
&-enter-active,
|
|
309
311
|
&-appear-active {
|
|
310
312
|
transform: translateX(0);
|
|
311
|
-
transition: transform
|
|
313
|
+
transition: transform k-transition(slide-in);
|
|
312
314
|
}
|
|
313
315
|
|
|
314
316
|
&-exit {
|
|
@@ -317,7 +319,7 @@
|
|
|
317
319
|
|
|
318
320
|
&-exit-active {
|
|
319
321
|
transform: translateX(100%);
|
|
320
|
-
transition: transform
|
|
322
|
+
transition: transform k-transition(slide-out);
|
|
321
323
|
}
|
|
322
324
|
}
|
|
323
325
|
|
|
@@ -329,13 +331,13 @@
|
|
|
329
331
|
|
|
330
332
|
&-enter-active,
|
|
331
333
|
&-appear-active {
|
|
332
|
-
transition: max-height
|
|
334
|
+
transition: max-height k-transition(grow);
|
|
333
335
|
}
|
|
334
336
|
|
|
335
337
|
&-exit-active {
|
|
336
338
|
// override any max-height set to element to allow animation
|
|
337
339
|
max-height: 0 !important; // stylelint-disable-line declaration-no-important
|
|
338
|
-
transition: max-height
|
|
340
|
+
transition: max-height k-transition(shrink);
|
|
339
341
|
}
|
|
340
342
|
}
|
|
341
343
|
|
|
@@ -347,23 +349,21 @@
|
|
|
347
349
|
|
|
348
350
|
&-enter-active,
|
|
349
351
|
&-appear-active {
|
|
350
|
-
transition: max-width
|
|
352
|
+
transition: max-width k-transition(grow);
|
|
351
353
|
}
|
|
352
354
|
|
|
353
355
|
&-exit-active {
|
|
354
356
|
// override any max-height set to element to allow animation
|
|
355
357
|
max-width: 0 !important; // stylelint-disable-line declaration-no-important
|
|
356
|
-
transition: max-width
|
|
358
|
+
transition: max-width k-transition(shrink);
|
|
357
359
|
}
|
|
358
360
|
}
|
|
359
361
|
|
|
360
362
|
|
|
361
363
|
// FX
|
|
362
|
-
$fx-duration: 350ms;
|
|
363
|
-
|
|
364
364
|
.k-fx-end .k-fx-next,
|
|
365
365
|
.k-fx-end .k-fx-current {
|
|
366
|
-
transition: all
|
|
366
|
+
transition: all k-transition(settle);
|
|
367
367
|
}
|
|
368
368
|
|
|
369
369
|
.k-fx {
|
|
@@ -458,7 +458,7 @@
|
|
|
458
458
|
&.k-fx-end .k-fx-current .km-content,
|
|
459
459
|
&.k-fx-end .k-fx-current .km-header,
|
|
460
460
|
&.k-fx-end .k-fx-current .km-footer {
|
|
461
|
-
transition: all
|
|
461
|
+
transition: all k-transition(settle);
|
|
462
462
|
}
|
|
463
463
|
|
|
464
464
|
// left
|