@progress/kendo-theme-default 5.5.1-dev.1 → 5.5.1-dev.2

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.
@@ -10,8 +10,8 @@ $kendo-list-font-size-lg: $font-size-lg !default;
10
10
  /// Line height of the list component, if no size is set.
11
11
  /// @group list
12
12
  $kendo-list-line-height: null !default;
13
- $kendo-list-line-height-sm: null !default;
14
- $kendo-list-line-height-md: null !default;
13
+ $kendo-list-line-height-sm: $line-height-md !default;
14
+ $kendo-list-line-height-md: $line-height-md !default;
15
15
  $kendo-list-line-height-lg: $line-height-lg !default;
16
16
 
17
17
  /// Horizontal padding of list header, if no size is set.
@@ -264,3 +264,46 @@
264
264
  }
265
265
 
266
266
  }
267
+
268
+ @include exports("circular-progressbar/layout") {
269
+
270
+ .k-circular-progressbar {
271
+ display: inline-block;
272
+ text-align: left;
273
+ position: relative;
274
+ }
275
+
276
+ .k-circular-progressbar-surface {
277
+ height: 100%;
278
+
279
+ & > div {
280
+ width: 100%;
281
+ height: 100%;
282
+ }
283
+
284
+ svg {
285
+ width: 100%;
286
+ height: 100%;
287
+ }
288
+ }
289
+
290
+ .k-circular-progressbar-scale {
291
+ fill: none;
292
+ }
293
+
294
+ .k-circular-progressbar-arc {
295
+ transform-box: fill-box;
296
+ transform-origin: center center;
297
+ transform: rotate(-90deg);
298
+ stroke-linecap: round;
299
+ fill: none;
300
+ }
301
+
302
+ .k-circular-progressbar-label {
303
+ position: absolute;
304
+ text-align: center;
305
+ padding: 0;
306
+ margin: 0;
307
+ }
308
+
309
+ }
@@ -26,3 +26,16 @@
26
26
  }
27
27
 
28
28
  }
29
+
30
+ @include exports("circular-progressbar/theme") {
31
+
32
+ .k-circular-progressbar-scale {
33
+ stroke: $kendo-circular-progressbar-scale-stroke;
34
+ }
35
+
36
+ .k-circular-progressbar-arc {
37
+ stroke: $kendo-circular-progressbar-arc-stroke;
38
+ transition: stroke .5s ease;
39
+ }
40
+
41
+ }
@@ -23,3 +23,7 @@ $progressbar-indeterminate-border: $progressbar-border !default;
23
23
  $progressbar-indeterminate-gradient: null !default;
24
24
 
25
25
  $progressbar-chunk-border: $body-bg !default;
26
+
27
+ // Circular Progressbar
28
+ $kendo-circular-progressbar-arc-stroke: $primary !default;
29
+ $kendo-circular-progressbar-scale-stroke: $progressbar-bg !default;
@@ -206,4 +206,34 @@
206
206
  top: calc( #{$time-list-title-height / 2} );
207
207
  }
208
208
 
209
+
210
+ // Time selector sizes
211
+ @each $size, $size-props in $kendo-time-selector-sizes {
212
+ $_font-size: map-get( $size-props, font-size );
213
+ $_line-height: map-get( $size-props, line-height );
214
+ $_list-item-padding-x: map-get( $size-props, list-item-padding-x );
215
+ $_list-item-padding-y: map-get( $size-props, list-item-padding-y );
216
+ $_highlight-height: calc( #{$_font-size * $_line-height} + #{ $_list-item-padding-y * 2} );
217
+
218
+
219
+ .k-timeselector-#{$size} {
220
+ font-size: $_font-size;
221
+ line-height: $_line-height;
222
+
223
+ .k-time-highlight,
224
+ .k-time-list-highlight {
225
+ height: $_highlight-height;
226
+ }
227
+
228
+ .k-time-separator {
229
+ height: $_highlight-height;
230
+ }
231
+
232
+ .k-time-list-item,
233
+ .k-time-list .k-item {
234
+ padding: $_list-item-padding-y $_list-item-padding-x;
235
+ }
236
+ }
237
+ }
238
+
209
239
  }
@@ -30,3 +30,41 @@ $time-list-highlight-bg: $component-bg !default;
30
30
  $time-list-highlight-border: $component-border !default;
31
31
 
32
32
  $time-list-focused-bg: rgba(0, 0, 0, .04) !default;
33
+
34
+
35
+ // Time selector sizes
36
+ $kendo-time-selector-sm-font-size: $kendo-list-font-size-sm !default;
37
+ $kendo-time-selector-sm-line-height: $kendo-list-line-height-sm !default;
38
+ $kendo-time-selector-sm-list-item-padding-x: $kendo-list-item-padding-x-sm !default;
39
+ $kendo-time-selector-sm-list-item-padding-y: $kendo-list-item-padding-y-sm !default;
40
+
41
+ $kendo-time-selector-md-font-size: $kendo-list-font-size-md !default;
42
+ $kendo-time-selector-md-line-height: $kendo-list-line-height-md !default;
43
+ $kendo-time-selector-md-list-item-padding-x: $kendo-list-item-padding-x-md !default;
44
+ $kendo-time-selector-md-list-item-padding-y: $kendo-list-item-padding-y-md !default;
45
+
46
+ $kendo-time-selector-lg-font-size: $kendo-list-font-size-lg !default;
47
+ $kendo-time-selector-lg-line-height: $kendo-list-line-height-lg !default;
48
+ $kendo-time-selector-lg-list-item-padding-x: $kendo-list-item-padding-x-lg !default;
49
+ $kendo-time-selector-lg-list-item-padding-y: $kendo-list-item-padding-y-lg !default;
50
+
51
+ $kendo-time-selector-sizes: (
52
+ sm: (
53
+ font-size: $kendo-time-selector-sm-font-size,
54
+ line-height: $kendo-time-selector-sm-line-height,
55
+ list-item-padding-x: $kendo-time-selector-sm-list-item-padding-x,
56
+ list-item-padding-y: $kendo-time-selector-sm-list-item-padding-y
57
+ ),
58
+ md: (
59
+ font-size: $kendo-time-selector-md-font-size,
60
+ line-height: $kendo-time-selector-md-line-height,
61
+ list-item-padding-x: $kendo-time-selector-md-list-item-padding-x,
62
+ list-item-padding-y: $kendo-time-selector-md-list-item-padding-y
63
+ ),
64
+ lg: (
65
+ font-size: $kendo-time-selector-lg-font-size,
66
+ line-height: $kendo-time-selector-lg-line-height,
67
+ list-item-padding-x: $kendo-time-selector-lg-list-item-padding-x,
68
+ list-item-padding-y: $kendo-time-selector-lg-list-item-padding-y
69
+ )
70
+ ) !default;