/
_theme.scss
50 lines (39 loc) · 1.52 KB
/
_theme.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
@include exports("progressbar/theme") {
@keyframes progressbar-indeterminate-animation {
from { background-position: 0 0; }
to { background-position: $progressbar-height 0; }
}
.k-progressbar {
@include fill( $progressbar-text, $progressbar-bg, $progressbar-border, $progressbar-gradient );
.k-selected {
@include fill( $progressbar-fill-text, $progressbar-fill-bg, $progressbar-fill-border, $progressbar-fill-gradient );
}
}
// Chunk progressbar
.k-chunk-progressbar {
// TODO uncomment for 2023 R1
// background-color: k-if-var( $progressbar-chunk-border, transparent );
background-color: transparent;
}
.k-progressbar-chunk {
background-color: $progressbar-bg;
.k-selected {
background-color: $progressbar-fill-bg;
}
}
.k-progressbar-indeterminate {
@include fill( $progressbar-indeterminate-text, $progressbar-indeterminate-bg, $progressbar-indeterminate-border );
@include striped-gradient( shade($progressbar-indeterminate-bg) );
background-size: $progressbar-height $progressbar-height;
animation: progressbar-indeterminate-animation $progressbar-animation-timing;
}
}
@include exports("circular-progressbar/theme") {
.k-circular-progressbar-scale {
stroke: $kendo-circular-progressbar-scale-stroke;
}
.k-circular-progressbar-arc {
stroke: $kendo-circular-progressbar-arc-stroke;
transition: stroke .5s ease;
}
}