@progress/kendo-theme-fluent 11.2.1-dev.1 → 11.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/fluent-main-dark.css +1 -1
- package/dist/fluent-main.css +1 -1
- package/dist/meta/sassdoc-data.json +24099 -27323
- package/dist/meta/sassdoc-raw-data.json +8421 -7718
- package/dist/meta/variables.json +7880 -8036
- package/lib/swatches/all.json +1 -1
- package/lib/swatches/fluent-main-dark.json +1 -1
- package/lib/swatches/fluent-main.json +1 -1
- package/package.json +4 -4
- package/scss/action-buttons/_layout.scss +2 -55
- package/scss/action-buttons/_theme.scss +2 -11
- package/scss/action-buttons/_variables.scss +17 -7
- package/scss/action-sheet/_layout.scss +11 -399
- package/scss/action-sheet/_theme.scss +14 -69
- package/scss/action-sheet/_variables.scss +129 -66
- package/scss/adaptive/_index.scss +0 -3
- package/scss/adaptive/_layout.scss +2 -457
- package/scss/adaptive/_theme.scss +2 -75
- package/scss/adaptive/_variables.scss +39 -18
- package/scss/appbar/_layout.scss +2 -114
- package/scss/appbar/_theme.scss +9 -20
- package/scss/appbar/_variables.scss +38 -71
- package/scss/avatar/_layout.scss +2 -73
- package/scss/avatar/_theme.scss +2 -16
- package/scss/avatar/_variables.scss +24 -82
- package/scss/badge/_layout.scss +3 -146
- package/scss/badge/_theme.scss +8 -21
- package/scss/badge/_variables.scss +41 -88
- package/scss/bottom-navigation/_layout.scss +5 -108
- package/scss/bottom-navigation/_theme.scss +73 -74
- package/scss/bottom-navigation/_variables.scss +58 -117
- package/scss/breadcrumb/_layout.scss +8 -132
- package/scss/breadcrumb/_theme.scss +15 -71
- package/scss/breadcrumb/_variables.scss +133 -71
- package/scss/button/_layout.scss +18 -182
- package/scss/button/_theme.scss +132 -113
- package/scss/button/_variables.scss +156 -301
- package/scss/calendar/_layout.scss +27 -383
- package/scss/calendar/_theme.scss +55 -127
- package/scss/calendar/_variables.scss +185 -100
- package/scss/captcha/_layout.scss +2 -59
- package/scss/captcha/_theme.scss +2 -9
- package/scss/captcha/_variables.scss +25 -9
- package/scss/card/_layout.scss +9 -314
- package/scss/card/_theme.scss +3 -103
- package/scss/card/_variables.scss +110 -60
- package/scss/chart-wizard/_layout.scss +2 -38
- package/scss/chart-wizard/_theme.scss +2 -28
- package/scss/chart-wizard/_variables.scss +25 -11
- package/scss/chat/_index.scss +0 -3
- package/scss/chat/_layout.scss +26 -450
- package/scss/chat/_theme.scss +9 -80
- package/scss/chat/_variables.scss +143 -71
- package/scss/checkbox/_layout.scss +14 -191
- package/scss/checkbox/_theme.scss +11 -100
- package/scss/checkbox/_variables.scss +165 -78
- package/scss/chip/_layout.scss +11 -137
- package/scss/chip/_theme.scss +56 -57
- package/scss/chip/_variables.scss +99 -94
- package/scss/color-preview/_layout.scss +4 -64
- package/scss/color-preview/_theme.scss +2 -27
- package/scss/color-preview/_variables.scss +23 -9
- package/scss/coloreditor/_layout.scss +21 -109
- package/scss/coloreditor/_theme.scss +3 -24
- package/scss/coloreditor/_variables.scss +92 -57
- package/scss/colorgradient/_layout.scss +12 -196
- package/scss/colorgradient/_theme.scss +27 -65
- package/scss/colorgradient/_variables.scss +134 -76
- package/scss/colorpalette/_layout.scss +6 -40
- package/scss/colorpalette/_theme.scss +10 -20
- package/scss/colorpalette/_variables.scss +39 -21
- package/scss/colorpicker/_layout.scss +2 -11
- package/scss/colorpicker/_theme.scss +2 -1
- package/scss/column-menu/_layout.scss +5 -56
- package/scss/column-menu/_theme.scss +1 -24
- package/scss/column-menu/_variables.scss +38 -17
- package/scss/combobox/_layout.scss +4 -2
- package/scss/combobox/_theme.scss +4 -2
- package/scss/core/functions/index.import.scss +1 -0
- package/scss/dataviz/_layout.scss +6 -543
- package/scss/dataviz/_theme.scss +12 -76
- package/scss/dataviz/_variables.scss +152 -33
- package/scss/daterangepicker/_layout.scss +2 -37
- package/scss/daterangepicker/_theme.scss +16 -7
- package/scss/daterangepicker/_variables.scss +9 -0
- package/scss/datetimepicker/_layout.scss +3 -41
- package/scss/datetimepicker/_theme.scss +3 -2
- package/scss/datetimepicker/_variables.scss +5 -1
- package/scss/dialog/_layout.scss +8 -53
- package/scss/dialog/_theme.scss +5 -25
- package/scss/dialog/_variables.scss +31 -60
- package/scss/dock-manager/_layout.scss +9 -193
- package/scss/dock-manager/_theme.scss +6 -28
- package/scss/dock-manager/_variables.scss +74 -36
- package/scss/draggable/_layout.scss +13 -59
- package/scss/draggable/_theme.scss +10 -15
- package/scss/draggable/_variables.scss +45 -23
- package/scss/drawer/_layout.scss +7 -198
- package/scss/drawer/_theme.scss +25 -52
- package/scss/drawer/_variables.scss +73 -45
- package/scss/dropdowngrid/_layout.scss +3 -11
- package/scss/dropdowngrid/_theme.scss +3 -3
- package/scss/dropdownlist/_layout.scss +4 -28
- package/scss/dropdownlist/_theme.scss +3 -7
- package/scss/dropdowntree/_layout.scss +2 -35
- package/scss/dropdowntree/_theme.scss +3 -4
- package/scss/dropdowntree/_variables.scss +4 -3
- package/scss/dropzone/_layout.scss +7 -31
- package/scss/dropzone/_theme.scss +2 -30
- package/scss/dropzone/_variables.scss +43 -21
- package/scss/editor/_layout.scss +3 -588
- package/scss/editor/_theme.scss +12 -78
- package/scss/editor/_variables.scss +45 -26
- package/scss/expansion-panel/_layout.scss +22 -57
- package/scss/expansion-panel/_theme.scss +13 -36
- package/scss/expansion-panel/_variables.scss +49 -28
- package/scss/fab/_layout.scss +11 -134
- package/scss/fab/_theme.scss +37 -126
- package/scss/fab/_variables.scss +104 -56
- package/scss/filemanager/_layout.scss +2 -240
- package/scss/filemanager/_theme.scss +8 -89
- package/scss/filemanager/_variables.scss +109 -56
- package/scss/filter/_layout.scss +8 -71
- package/scss/filter/_theme.scss +5 -14
- package/scss/filter/_variables.scss +20 -10
- package/scss/floating-label/_layout.scss +3 -75
- package/scss/floating-label/_theme.scss +4 -20
- package/scss/floating-label/_variables.scss +35 -17
- package/scss/forms/_layout.scss +5 -302
- package/scss/forms/_theme.scss +5 -24
- package/scss/forms/_variables.scss +73 -39
- package/scss/gantt/_layout.scss +5 -801
- package/scss/gantt/_theme.scss +17 -236
- package/scss/gantt/_variables.scss +142 -73
- package/scss/grid/_layout.scss +60 -1276
- package/scss/grid/_theme.scss +35 -343
- package/scss/grid/_variables.scss +306 -183
- package/scss/gridlayout/_layout.scss +1 -6
- package/scss/gridlayout/_theme.scss +1 -6
- package/scss/icons/_layout.scss +4 -33
- package/scss/icons/_theme.scss +7 -1
- package/scss/icons/_variables.scss +35 -9
- package/scss/imageeditor/_layout.scss +2 -152
- package/scss/imageeditor/_theme.scss +5 -42
- package/scss/imageeditor/_variables.scss +66 -32
- package/scss/index.scss +2 -1
- package/scss/input/_layout.scss +36 -468
- package/scss/input/_theme.scss +52 -128
- package/scss/input/_variables.scss +153 -208
- package/scss/list/_layout.scss +3 -252
- package/scss/list/_theme.scss +10 -81
- package/scss/list/_variables.scss +176 -92
- package/scss/listbox/_layout.scss +2 -80
- package/scss/listbox/_theme.scss +5 -8
- package/scss/listbox/_variables.scss +28 -13
- package/scss/listgroup/_layout.scss +2 -174
- package/scss/listgroup/_theme.scss +2 -8
- package/scss/listgroup/_variables.scss +23 -10
- package/scss/listview/_layout.scss +6 -133
- package/scss/listview/_theme.scss +8 -37
- package/scss/listview/_variables.scss +66 -39
- package/scss/loader/_layout.scss +15 -572
- package/scss/loader/_theme.scss +2 -14
- package/scss/loader/_variables.scss +90 -92
- package/scss/map/_layout.scss +7 -121
- package/scss/map/_theme.scss +5 -17
- package/scss/map/_variables.scss +40 -22
- package/scss/maskedtextbox/_layout.scss +3 -3
- package/scss/maskedtextbox/_theme.scss +3 -3
- package/scss/mediaplayer/_layout.scss +5 -72
- package/scss/mediaplayer/_theme.scss +5 -15
- package/scss/mediaplayer/_variables.scss +27 -14
- package/scss/menu/_layout.scss +25 -267
- package/scss/menu/_theme.scss +14 -73
- package/scss/menu/_variables.scss +135 -76
- package/scss/menu-button/_layout.scss +9 -14
- package/scss/menu-button/_theme.scss +5 -1
- package/scss/menu-button/_variables.scss +10 -0
- package/scss/messagebox/_layout.scss +2 -18
- package/scss/messagebox/_theme.scss +4 -19
- package/scss/messagebox/_variables.scss +33 -37
- package/scss/multiselect/_layout.scss +3 -4
- package/scss/multiselect/_theme.scss +3 -4
- package/scss/no-data/_layout.scss +2 -17
- package/scss/no-data/_theme.scss +2 -5
- package/scss/no-data/_variables.scss +7 -2
- package/scss/notification/_functions.scss +17 -0
- package/scss/notification/_layout.scss +2 -68
- package/scss/notification/_theme.scss +4 -28
- package/scss/notification/_variables.scss +50 -91
- package/scss/numerictextbox/_layout.scss +3 -7
- package/scss/numerictextbox/_theme.scss +3 -3
- package/scss/orgchart/_layout.scss +8 -99
- package/scss/orgchart/_theme.scss +4 -45
- package/scss/orgchart/_variables.scss +87 -45
- package/scss/otp/_layout.scss +1 -34
- package/scss/otp/_theme.scss +1 -7
- package/scss/otp/_variables.scss +25 -12
- package/scss/overlay/_layout.scss +2 -11
- package/scss/overlay/_theme.scss +4 -3
- package/scss/overlay/_variables.scss +7 -3
- package/scss/pager/_layout.scss +11 -145
- package/scss/pager/_theme.scss +7 -15
- package/scss/pager/_variables.scss +49 -26
- package/scss/panel/_layout.scss +2 -24
- package/scss/panel/_theme.scss +10 -13
- package/scss/panel/_variables.scss +23 -10
- package/scss/panelbar/_layout.scss +17 -95
- package/scss/panelbar/_theme.scss +15 -164
- package/scss/panelbar/_variables.scss +134 -68
- package/scss/pdf-viewer/_layout.scss +3 -327
- package/scss/pdf-viewer/_theme.scss +2 -80
- package/scss/pdf-viewer/_variables.scss +75 -36
- package/scss/pivotgrid/_index.scss +0 -6
- package/scss/pivotgrid/_layout.scss +44 -579
- package/scss/pivotgrid/_theme.scss +5 -192
- package/scss/pivotgrid/_variables.scss +144 -70
- package/scss/popover/_layout.scss +6 -73
- package/scss/popover/_theme.scss +2 -36
- package/scss/popover/_variables.scss +54 -27
- package/scss/popup/_layout.scss +5 -70
- package/scss/popup/_theme.scss +2 -9
- package/scss/popup/_variables.scss +25 -12
- package/scss/progressbar/_layout.scss +10 -196
- package/scss/progressbar/_theme.scss +11 -46
- package/scss/progressbar/_variables.scss +57 -34
- package/scss/prompt/_layout.scss +2 -75
- package/scss/prompt/_theme.scss +2 -35
- package/scss/prompt/_variables.scss +43 -20
- package/scss/radio/_layout.scss +12 -178
- package/scss/radio/_theme.scss +7 -75
- package/scss/radio/_variables.scss +72 -36
- package/scss/rating/_layout.scss +11 -57
- package/scss/rating/_theme.scss +8 -6
- package/scss/rating/_variables.scss +21 -13
- package/scss/responsivepanel/_layout.scss +2 -45
- package/scss/responsivepanel/_theme.scss +3 -3
- package/scss/ripple/_layout.scss +2 -50
- package/scss/ripple/_theme.scss +2 -2
- package/scss/scheduler/_layout.scss +11 -773
- package/scss/scheduler/_theme.scss +32 -167
- package/scss/scheduler/_variables.scss +149 -77
- package/scss/scroller/_layout.scss +2 -80
- package/scss/scroller/_theme.scss +2 -5
- package/scss/scrollview/_layout.scss +2 -159
- package/scss/scrollview/_theme.scss +11 -35
- package/scss/scrollview/_variables.scss +52 -29
- package/scss/searchbox/_layout.scss +2 -0
- package/scss/searchbox/_theme.scss +4 -1
- package/scss/searchbox/_variables.scss +1 -1
- package/scss/signature/_layout.scss +3 -67
- package/scss/signature/_theme.scss +3 -8
- package/scss/signature/_variables.scss +46 -25
- package/scss/skeleton/_layout.scss +2 -79
- package/scss/skeleton/_theme.scss +2 -17
- package/scss/skeleton/_variables.scss +15 -6
- package/scss/slider/_layout.scss +18 -203
- package/scss/slider/_theme.scss +31 -40
- package/scss/slider/_variables.scss +58 -41
- package/scss/speech-to-text-button/_layout.scss +1 -9
- package/scss/speech-to-text-button/_theme.scss +1 -3
- package/scss/split-button/_layout.scss +22 -18
- package/scss/split-button/_theme.scss +2 -1
- package/scss/split-button/_variables.scss +18 -9
- package/scss/splitter/_layout.scss +8 -171
- package/scss/splitter/_theme.scss +2 -31
- package/scss/splitter/_variables.scss +42 -20
- package/scss/spreadsheet/_layout.scss +50 -724
- package/scss/spreadsheet/_theme.scss +14 -182
- package/scss/spreadsheet/_variables.scss +172 -99
- package/scss/stacklayout/_layout.scss +1 -5
- package/scss/stacklayout/_theme.scss +1 -5
- package/scss/stepper/_layout.scss +9 -255
- package/scss/stepper/_theme.scss +4 -186
- package/scss/stepper/_variables.scss +125 -60
- package/scss/suggestion/_layout.scss +2 -38
- package/scss/suggestion/_theme.scss +3 -66
- package/scss/suggestion/_variables.scss +42 -19
- package/scss/switch/_layout.scss +2 -138
- package/scss/switch/_theme.scss +2 -136
- package/scss/switch/_variables.scss +99 -49
- package/scss/table/_layout.scss +6 -249
- package/scss/table/_theme.scss +9 -95
- package/scss/table/_variables.scss +100 -64
- package/scss/tabstrip/_layout.scss +2 -421
- package/scss/tabstrip/_theme.scss +12 -123
- package/scss/tabstrip/_variables.scss +113 -61
- package/scss/taskboard/_layout.scss +28 -178
- package/scss/taskboard/_theme.scss +20 -55
- package/scss/taskboard/_variables.scss +122 -63
- package/scss/textarea/_layout.scss +3 -6
- package/scss/textarea/_theme.scss +3 -4
- package/scss/textbox/_layout.scss +3 -4
- package/scss/textbox/_theme.scss +3 -4
- package/scss/tilelayout/_layout.scss +2 -36
- package/scss/tilelayout/_theme.scss +13 -10
- package/scss/tilelayout/_variables.scss +19 -8
- package/scss/time-marker/_layout.scss +2 -15
- package/scss/time-marker/_theme.scss +2 -17
- package/scss/time-marker/_variables.scss +7 -2
- package/scss/timedurationpicker/_layout.scss +3 -4
- package/scss/timedurationpicker/_theme.scss +3 -4
- package/scss/timeline/_layout.scss +8 -423
- package/scss/timeline/_theme.scss +11 -34
- package/scss/timeline/_variables.scss +108 -61
- package/scss/timepicker/_layout.scss +7 -3
- package/scss/timepicker/_theme.scss +3 -4
- package/scss/timeselector/_layout.scss +3 -223
- package/scss/timeselector/_theme.scss +5 -55
- package/scss/timeselector/_variables.scss +84 -41
- package/scss/toolbar/_layout.scss +11 -296
- package/scss/toolbar/_theme.scss +3 -167
- package/scss/toolbar/_variables.scss +65 -32
- package/scss/tooltip/_functions.scss +17 -0
- package/scss/tooltip/_layout.scss +13 -74
- package/scss/tooltip/_theme.scss +17 -23
- package/scss/tooltip/_variables.scss +50 -72
- package/scss/treelist/_layout.scss +3 -82
- package/scss/treelist/_theme.scss +4 -6
- package/scss/treelist/_variables.scss +7 -2
- package/scss/treeview/_layout.scss +8 -137
- package/scss/treeview/_theme.scss +20 -65
- package/scss/treeview/_variables.scss +88 -48
- package/scss/typography/_layout.scss +3 -113
- package/scss/typography/_theme.scss +2 -17
- package/scss/typography/_variables.scss +84 -3
- package/scss/upload/_layout.scss +7 -219
- package/scss/upload/_theme.scss +4 -90
- package/scss/upload/_variables.scss +66 -29
- package/scss/validator/_layout.scss +2 -16
- package/scss/validator/_theme.scss +2 -2
- package/scss/virtual-scroller/_layout.scss +2 -34
- package/scss/virtual-scroller/_theme.scss +2 -2
- package/scss/window/_layout.scss +9 -141
- package/scss/window/_theme.scss +7 -35
- package/scss/window/_variables.scss +65 -70
- package/scss/wizard/_layout.scss +8 -95
- package/scss/wizard/_theme.scss +4 -7
- package/scss/wizard/_variables.scss +24 -11
|
@@ -7,191 +7,238 @@
|
|
|
7
7
|
|
|
8
8
|
/// The horizontal spacing of the Timeline.
|
|
9
9
|
/// @group timeline
|
|
10
|
-
$kendo-timeline-spacing-x: k-spacing(10) !default;
|
|
10
|
+
$kendo-timeline-spacing-x: var( --kendo-timeline-spacing-x, k-spacing(10) ) !default;
|
|
11
11
|
/// The vertical spacing of the Timeline.
|
|
12
12
|
/// @group timeline
|
|
13
|
-
$kendo-timeline-spacing-y: k-spacing(10) !default;
|
|
13
|
+
$kendo-timeline-spacing-y: var( --kendo-timeline-spacing-y, k-spacing(10) ) !default;
|
|
14
14
|
/// The padding between the Timeline's track items.
|
|
15
15
|
/// @group timeline
|
|
16
|
-
$kendo-timeline-items-padding: k-spacing(4) !default;
|
|
16
|
+
$kendo-timeline-items-padding: var( --kendo-timeline-items-padding, k-spacing(4) ) !default;
|
|
17
17
|
|
|
18
18
|
/// The font family of the Timeline.
|
|
19
19
|
/// @group timeline
|
|
20
|
-
$kendo-timeline-font-family: var( --kendo-font-family, inherit ) !default;
|
|
20
|
+
$kendo-timeline-font-family: var( --kendo-timeline-font-family, var( --kendo-font-family, inherit ) ) !default;
|
|
21
21
|
/// The font size of the Timeline.
|
|
22
22
|
/// @group timeline
|
|
23
|
-
$kendo-timeline-font-size: var( --kendo-font-size, inherit ) !default;
|
|
23
|
+
$kendo-timeline-font-size: var( --kendo-timeline-font-size, var( --kendo-font-size, inherit ) ) !default;
|
|
24
24
|
/// The line height of the Timeline.
|
|
25
25
|
/// @group timeline
|
|
26
|
-
$kendo-timeline-line-height: var( --kendo-line-height, normal ) !default;
|
|
26
|
+
$kendo-timeline-line-height: var( --kendo-timeline-line-height, var( --kendo-line-height, normal ) ) !default;
|
|
27
27
|
|
|
28
28
|
/// The horizontal spacing of the mobile Timeline.
|
|
29
29
|
/// @group timeline
|
|
30
|
-
$kendo-timeline-mobile-spacing-x: k-spacing(4) !default;
|
|
30
|
+
$kendo-timeline-mobile-spacing-x: var( --kendo-timeline-mobile-spacing-x, k-spacing(4) ) !default;
|
|
31
31
|
/// The vertical spacing of the mobile Timeline.
|
|
32
32
|
/// @group timeline
|
|
33
|
-
$kendo-timeline-mobile-spacing-y: k-spacing(4) !default;
|
|
33
|
+
$kendo-timeline-mobile-spacing-y: var( --kendo-timeline-mobile-spacing-y, k-spacing(4) ) !default;
|
|
34
34
|
|
|
35
35
|
/// The width of the Timeline track arrow.
|
|
36
36
|
/// @group timeline
|
|
37
|
-
$kendo-timeline-track-arrow-width: k-spacing(7.5) !default;
|
|
37
|
+
$kendo-timeline-track-arrow-width: var( --kendo-timeline-track-arrow-width, k-spacing(7.5) ) !default;
|
|
38
38
|
/// The height of the Timeline track arrow.
|
|
39
39
|
/// @group timeline
|
|
40
|
-
$kendo-timeline-track-arrow-height: k-spacing(7.5) !default;
|
|
40
|
+
$kendo-timeline-track-arrow-height: var( --kendo-timeline-track-arrow-height, k-spacing(7.5) ) !default;
|
|
41
41
|
|
|
42
42
|
/// The size of the Timeline track.
|
|
43
43
|
/// @group timeline
|
|
44
|
-
$kendo-timeline-track-size: k-spacing(1.5) !default;
|
|
44
|
+
$kendo-timeline-track-size: var( --kendo-timeline-track-size, k-spacing(1.5) ) !default;
|
|
45
45
|
/// The bottom padding of the Timeline's track wrapper.
|
|
46
46
|
/// @group timeline
|
|
47
|
-
$kendo-timeline-track-wrap-padding-bottom: calc( #{$kendo-timeline-track-size} / 2 ) !default;
|
|
47
|
+
$kendo-timeline-track-wrap-padding-bottom: var( --kendo-timeline-track-wrap-padding-bottom, calc( #{$kendo-timeline-track-size} / 2 ) ) !default;
|
|
48
48
|
/// The border width of the Timeline track.
|
|
49
49
|
/// @group timeline
|
|
50
|
-
$kendo-timeline-track-border-width: 1px !default;
|
|
50
|
+
$kendo-timeline-track-border-width: var( --kendo-timeline-track-border-width, 1px ) !default;
|
|
51
51
|
/// The bottom margin of the Timeline track.
|
|
52
52
|
/// @group timeline
|
|
53
|
-
$kendo-timeline-track-margin-bottom: k-spacing(4) !default;
|
|
53
|
+
$kendo-timeline-track-margin-bottom: var( --kendo-timeline-track-margin-bottom, k-spacing(4) ) !default;
|
|
54
54
|
/// The bottom offset of the Timeline track.
|
|
55
55
|
/// @group timeline
|
|
56
|
-
$kendo-timeline-track-bottom-calc: calc( ( #{ $kendo-timeline-track-arrow-height } / 2 ) + #{ $kendo-timeline-track-wrap-padding-bottom } ) !default;
|
|
56
|
+
$kendo-timeline-track-bottom-calc: var( --kendo-timeline-track-bottom-calc, calc( ( #{ $kendo-timeline-track-arrow-height } / 2 ) + #{ $kendo-timeline-track-wrap-padding-bottom } ) ) !default;
|
|
57
57
|
/// The left offset of the Timeline track.
|
|
58
58
|
/// @group timeline
|
|
59
|
-
$kendo-timeline-track-start-calc: calc( #{ $kendo-timeline-track-arrow-width } - 2 * #{ $kendo-timeline-track-border-width } ) !default;
|
|
59
|
+
$kendo-timeline-track-start-calc: var( --kendo-timeline-track-start-calc, calc( #{ $kendo-timeline-track-arrow-width } - 2 * #{ $kendo-timeline-track-border-width } ) ) !default;
|
|
60
60
|
/// The right offset of the Timeline track.
|
|
61
61
|
/// @group timeline
|
|
62
|
-
$kendo-timeline-track-end-calc: calc( #{ $kendo-timeline-track-arrow-width } - 2 * #{ $kendo-timeline-track-border-width } ) !default;
|
|
62
|
+
$kendo-timeline-track-end-calc: var( --kendo-timeline-track-end-calc, calc( #{ $kendo-timeline-track-arrow-width } - 2 * #{ $kendo-timeline-track-border-width } ) ) !default;
|
|
63
63
|
/// The background color of the Timeline track.
|
|
64
64
|
/// @group timeline
|
|
65
|
-
$kendo-timeline-track-bg: k-color(surface) !default;
|
|
65
|
+
$kendo-timeline-track-bg: var( --kendo-timeline-track-bg, k-color(surface) ) !default;
|
|
66
66
|
/// The border color of the Timeline track.
|
|
67
67
|
/// @group timeline
|
|
68
|
-
$kendo-timeline-track-border-color: color-mix(in srgb, k-color(border) 16%, transparent) !default;
|
|
68
|
+
$kendo-timeline-track-border-color: var( --kendo-timeline-track-border-color, color-mix(in srgb, k-color(border) 16%, transparent) ) !default;
|
|
69
69
|
|
|
70
70
|
/// The block end inset of the Timeline arrow.
|
|
71
71
|
/// @group timeline
|
|
72
|
-
$kendo-timeline-arrow-inset-block-end: calc( #{ $kendo-timeline-track-size } + #{ $kendo-timeline-track-wrap-padding-bottom } + #{ $kendo-timeline-track-border-width } ) !default;
|
|
72
|
+
$kendo-timeline-arrow-inset-block-end: var( --kendo-timeline-arrow-inset-block-end, calc( #{ $kendo-timeline-track-size } + #{ $kendo-timeline-track-wrap-padding-bottom } + #{ $kendo-timeline-track-border-width } ) ) !default;
|
|
73
73
|
/// The background color of the disabled Timeline arrow.
|
|
74
74
|
/// @group timeline
|
|
75
|
-
$kendo-timeline-track-arrow-disabled-bg: k-color(base-subtle) !default;
|
|
75
|
+
$kendo-timeline-track-arrow-disabled-bg: var( --kendo-timeline-track-arrow-disabled-bg, k-color(base-subtle) ) !default;
|
|
76
76
|
/// The text color of the disabled Timeline arrow.
|
|
77
77
|
/// @group timeline
|
|
78
|
-
$kendo-timeline-track-arrow-disabled-text: color-mix(in srgb, k-color(on-app-surface) 46%, transparent) !default;
|
|
78
|
+
$kendo-timeline-track-arrow-disabled-text: var( --kendo-timeline-track-arrow-disabled-text, color-mix(in srgb, k-color(on-app-surface) 46%, transparent) ) !default;
|
|
79
79
|
/// The border color of the disabled Timeline arrow.
|
|
80
80
|
/// @group timeline
|
|
81
|
-
$kendo-timeline-track-arrow-disabled-border: transparent !default;
|
|
81
|
+
$kendo-timeline-track-arrow-disabled-border: var( --kendo-timeline-track-arrow-disabled-border, transparent ) !default;
|
|
82
82
|
|
|
83
83
|
/// The offset of the Timeline track event.
|
|
84
84
|
/// @group timeline
|
|
85
|
-
$kendo-timeline-track-event-offset: k-spacing(8) !default;
|
|
85
|
+
$kendo-timeline-track-event-offset: var( --kendo-timeline-track-event-offset, k-spacing(8) ) !default;
|
|
86
86
|
|
|
87
87
|
/// The horizontal padding of the Timeline flag.
|
|
88
88
|
/// @group timeline
|
|
89
|
-
$kendo-timeline-flag-padding-x: k-spacing(2) !default;
|
|
89
|
+
$kendo-timeline-flag-padding-x: var( --kendo-timeline-flag-padding-x, k-spacing(2) ) !default;
|
|
90
90
|
/// The vertical padding of the Timeline flag.
|
|
91
91
|
/// @group timeline
|
|
92
|
-
$kendo-timeline-flag-padding-y: k-spacing(2) !default;
|
|
92
|
+
$kendo-timeline-flag-padding-y: var( --kendo-timeline-flag-padding-y, k-spacing(2) ) !default;
|
|
93
93
|
/// The border radius of the Timeline flag.
|
|
94
94
|
/// @group timeline
|
|
95
|
-
$kendo-timeline-flag-border-radius: k-spacing(0.5) !default;
|
|
95
|
+
$kendo-timeline-flag-border-radius: var( --kendo-timeline-flag-border-radius, k-spacing(0.5) ) !default;
|
|
96
96
|
/// The line height of the Timeline flag.
|
|
97
97
|
/// @group timeline
|
|
98
|
-
$kendo-timeline-flag-line-height: var( --kendo-line-height, normal ) !default;
|
|
98
|
+
$kendo-timeline-flag-line-height: var( --kendo-timeline-flag-line-height, var( --kendo-line-height, normal ) ) !default;
|
|
99
99
|
/// The box shadow of the Timeline flag.
|
|
100
100
|
/// @group timeline
|
|
101
|
-
$kendo-timeline-flag-box-shadow: var( --kendo-box-shadow-depth-2, none ) !default;
|
|
101
|
+
$kendo-timeline-flag-box-shadow: var( --kendo-timeline-flag-box-shadow, var( --kendo-box-shadow-depth-2, none ) ) !default;
|
|
102
102
|
/// The minimum width of the Timeline flag.
|
|
103
103
|
/// @group timeline
|
|
104
|
-
$kendo-timeline-flag-min-width: k-spacing(20) !default;
|
|
104
|
+
$kendo-timeline-flag-min-width: var( --kendo-timeline-flag-min-width, k-spacing(20) ) !default;
|
|
105
105
|
/// The maximum width of the Timeline flag.
|
|
106
106
|
/// @group timeline
|
|
107
|
-
$kendo-timeline-flag-max-width: calc( #{ $kendo-timeline-flag-min-width } + 2 * #{ $kendo-timeline-spacing-x } ) !default;
|
|
107
|
+
$kendo-timeline-flag-max-width: var( --kendo-timeline-flag-max-width, calc( #{ $kendo-timeline-flag-min-width } + 2 * #{ $kendo-timeline-spacing-x } ) ) !default;
|
|
108
108
|
/// The maximum width of the mobile Timeline flag.
|
|
109
109
|
/// @group timeline
|
|
110
|
-
$kendo-timeline-mobile-flag-max-width: calc( #{ $kendo-timeline-flag-min-width } + 2 * #{ $kendo-timeline-mobile-spacing-x } ) !default;
|
|
110
|
+
$kendo-timeline-mobile-flag-max-width: var( --kendo-timeline-mobile-flag-max-width, calc( #{ $kendo-timeline-flag-min-width } + 2 * #{ $kendo-timeline-mobile-spacing-x } ) ) !default;
|
|
111
111
|
/// The minimum width of the horizontal Timeline flag.
|
|
112
112
|
/// @group timeline
|
|
113
|
-
$kendo-timeline-horizontal-flag-min-width: k-spacing(15) !default;
|
|
113
|
+
$kendo-timeline-horizontal-flag-min-width: var( --kendo-timeline-horizontal-flag-min-width, k-spacing(15) ) !default;
|
|
114
114
|
/// The background color of the Timeline flag.
|
|
115
115
|
/// @group timeline
|
|
116
|
-
$kendo-timeline-flag-bg: k-color(primary) !default;
|
|
116
|
+
$kendo-timeline-flag-bg: var( --kendo-timeline-flag-bg, k-color(primary) ) !default;
|
|
117
117
|
/// The text color of the Timeline flag.
|
|
118
118
|
/// @group timeline
|
|
119
|
-
$kendo-timeline-flag-text: k-color(surface-alt) !default;
|
|
119
|
+
$kendo-timeline-flag-text: var( --kendo-timeline-flag-text, k-color(surface-alt) ) !default;
|
|
120
120
|
/// The width of the Timeline's flag callout.
|
|
121
121
|
/// @group timeline
|
|
122
|
-
$kendo-timeline-flag-callout-width: k-spacing(2.5) !default;
|
|
122
|
+
$kendo-timeline-flag-callout-width: var( --kendo-timeline-flag-callout-width, k-spacing(2.5) ) !default;
|
|
123
123
|
/// The height of the Timeline's flag callout.
|
|
124
124
|
/// @group timeline
|
|
125
|
-
$kendo-timeline-flag-callout-height: k-spacing(2.5) !default;
|
|
125
|
+
$kendo-timeline-flag-callout-height: var( --kendo-timeline-flag-callout-height, k-spacing(2.5) ) !default;
|
|
126
126
|
/// The bottom offset of the Timeline flag.
|
|
127
127
|
/// @group timeline
|
|
128
|
-
$kendo-timeline-flag-offset-bottom: k-spacing(1) !default;
|
|
128
|
+
$kendo-timeline-flag-offset-bottom: var( --kendo-timeline-flag-offset-bottom, k-spacing(1) ) !default;
|
|
129
129
|
/// The bottom margin of the Timeline flag.
|
|
130
130
|
/// @group timeline
|
|
131
|
-
$kendo-timeline-flag-margin-bottom-calc: calc( #{ $kendo-timeline-track-size } + 2 * #{ $kendo-timeline-track-border-width } + #{ $kendo-timeline-flag-offset-bottom } + #{ $kendo-timeline-flag-callout-height } ) !default;
|
|
131
|
+
$kendo-timeline-flag-margin-bottom-calc: var( --kendo-timeline-flag-margin-bottom-calc, calc( #{ $kendo-timeline-track-size } + 2 * #{ $kendo-timeline-track-border-width } + #{ $kendo-timeline-flag-offset-bottom } + #{ $kendo-timeline-flag-callout-height } ) ) !default;
|
|
132
132
|
|
|
133
133
|
/// The background color of the Timeline's Card header.
|
|
134
134
|
/// @group timeline
|
|
135
|
-
$kendo-timeline-card-header-bg: k-color(surface-alt) !default;
|
|
135
|
+
$kendo-timeline-card-header-bg: var( --kendo-timeline-card-header-bg, k-color(surface-alt) ) !default;
|
|
136
136
|
/// The text color of the Timeline's Card header.
|
|
137
137
|
/// @group timeline
|
|
138
|
-
$kendo-timeline-card-header-text: k-color(on-app-surface) !default;
|
|
138
|
+
$kendo-timeline-card-header-text: var( --kendo-timeline-card-header-text, k-color(on-app-surface) ) !default;
|
|
139
139
|
/// The border of the Timeline's Card body scroll.
|
|
140
140
|
/// @group timeline
|
|
141
|
-
$kendo-timeline-card-body-scroll-border: color-mix(in srgb, k-color(border) 16%, transparent) !default;
|
|
141
|
+
$kendo-timeline-card-body-scroll-border: var( --kendo-timeline-card-body-scroll-border, color-mix(in srgb, k-color(border) 16%, transparent) ) !default;
|
|
142
142
|
/// The background color of the Timeline's Card body scroll.
|
|
143
143
|
/// @group timeline
|
|
144
|
-
$kendo-timeline-card-body-scroll-bg: k-color(surface-alt) !default;
|
|
144
|
+
$kendo-timeline-card-body-scroll-bg: var( --kendo-timeline-card-body-scroll-bg, k-color(surface-alt) ) !default;
|
|
145
145
|
/// The color of the Timeline's hovered card scroll thumb.
|
|
146
146
|
/// @group timeline
|
|
147
|
-
$kendo-timeline-card-scroll-thumb-hover: color-mix(in srgb, k-color(border) 10%, transparent) !default;
|
|
147
|
+
$kendo-timeline-card-scroll-thumb-hover: var( --kendo-timeline-card-scroll-thumb-hover, color-mix(in srgb, k-color(border) 10%, transparent) ) !default;
|
|
148
148
|
|
|
149
149
|
/// The text color of the Timeline date body.
|
|
150
150
|
/// @group timeline
|
|
151
|
-
$kendo-timeline-date-body-text: k-color(on-app-surface) !default;
|
|
151
|
+
$kendo-timeline-date-body-text: var( --kendo-timeline-date-body-text, k-color(on-app-surface) ) !default;
|
|
152
152
|
/// The width of the Timeline date.
|
|
153
153
|
/// @group timeline
|
|
154
|
-
$kendo-timeline-date-width: calc( #{k-spacing(12)} + #{k-spacing(0.5)} ) !default;
|
|
154
|
+
$kendo-timeline-date-width: var( --kendo-timeline-date-width, calc( #{k-spacing(12)} + #{k-spacing(0.5)} ) ) !default;
|
|
155
155
|
/// The bottom margin of the Timeline date.
|
|
156
156
|
/// @group timeline
|
|
157
|
-
$kendo-timeline-date-margin-bottom: k-spacing(2) !default;
|
|
157
|
+
$kendo-timeline-date-margin-bottom: var( --kendo-timeline-date-margin-bottom, k-spacing(2) ) !default;
|
|
158
158
|
|
|
159
159
|
/// The padding of the vertical Timeline.
|
|
160
160
|
/// @group timeline
|
|
161
|
-
$kendo-timeline-vertical-padding-calc: calc( #{ $kendo-timeline-spacing-x } + ( #{ $kendo-timeline-flag-min-width } - #{ $kendo-timeline-track-size } ) / 2 ) !default;
|
|
161
|
+
$kendo-timeline-vertical-padding-calc: var( --kendo-timeline-vertical-padding-calc, calc( #{ $kendo-timeline-spacing-x } + ( #{ $kendo-timeline-flag-min-width } - #{ $kendo-timeline-track-size } ) / 2 ) ) !default;
|
|
162
162
|
/// The padding of the vertical Timeline date.
|
|
163
163
|
/// @group timeline
|
|
164
|
-
$kendo-timeline-vertical-padding-with-dates-calc: calc( #{ $kendo-timeline-vertical-padding-calc } + #{ $kendo-timeline-date-width } ) !default;
|
|
164
|
+
$kendo-timeline-vertical-padding-with-dates-calc: var( --kendo-timeline-vertical-padding-with-dates-calc, calc( #{ $kendo-timeline-vertical-padding-calc } + #{ $kendo-timeline-date-width } ) ) !default;
|
|
165
165
|
/// The border radius of the vertical Timeline.
|
|
166
166
|
/// @group timeline
|
|
167
|
-
$kendo-timeline-vertical-border-radius: k-border-radius(lg) !default;
|
|
167
|
+
$kendo-timeline-vertical-border-radius: var( --kendo-timeline-vertical-border-radius, k-border-radius(lg) ) !default;
|
|
168
168
|
/// The padding of the vertical mobile Timeline.
|
|
169
169
|
/// @group timeline
|
|
170
|
-
$kendo-timeline-mobile-vertical-padding-calc: calc( #{ $kendo-timeline-mobile-spacing-x } + ( #{ $kendo-timeline-flag-min-width } - #{ $kendo-timeline-track-size } ) / 2 ) !default;
|
|
170
|
+
$kendo-timeline-mobile-vertical-padding-calc: var( --kendo-timeline-mobile-vertical-padding-calc, calc( #{ $kendo-timeline-mobile-spacing-x } + ( #{ $kendo-timeline-flag-min-width } - #{ $kendo-timeline-track-size } ) / 2 ) ) !default;
|
|
171
171
|
/// The padding of the vertical mobile Timeline date.
|
|
172
172
|
/// @group timeline
|
|
173
|
-
$kendo-timeline-mobile-vertical-padding-with-dates-calc: calc( #{ $kendo-timeline-mobile-vertical-padding-calc } + #{ $kendo-timeline-date-width } ) !default;
|
|
173
|
+
$kendo-timeline-mobile-vertical-padding-with-dates-calc: var( --kendo-timeline-mobile-vertical-padding-with-dates-calc, calc( #{ $kendo-timeline-mobile-vertical-padding-calc } + #{ $kendo-timeline-date-width } ) ) !default;
|
|
174
174
|
|
|
175
175
|
/// The width of the Timeline circle.
|
|
176
176
|
/// @group timeline
|
|
177
|
-
$kendo-timeline-circle-width: k-spacing(4) !default;
|
|
177
|
+
$kendo-timeline-circle-width: var( --kendo-timeline-circle-width, k-spacing(4) ) !default;
|
|
178
178
|
/// The height of the Timeline circle.
|
|
179
179
|
/// @group timeline
|
|
180
|
-
$kendo-timeline-circle-height: k-spacing(4) !default;
|
|
180
|
+
$kendo-timeline-circle-height: var( --kendo-timeline-circle-height, k-spacing(4) ) !default;
|
|
181
181
|
/// The background color of the Timeline circle.
|
|
182
182
|
/// @group timeline
|
|
183
|
-
$kendo-timeline-circle-bg: k-color(primary) !default;
|
|
183
|
+
$kendo-timeline-circle-bg: var( --kendo-timeline-circle-bg, k-color(primary) ) !default;
|
|
184
184
|
|
|
185
185
|
/// The width of the Timeline event.
|
|
186
186
|
/// @group timeline
|
|
187
|
-
$kendo-timeline-event-width: 400px !default;
|
|
187
|
+
$kendo-timeline-event-width: var( --kendo-timeline-event-width, 400px ) !default;
|
|
188
188
|
/// The height of the Timeline event.
|
|
189
189
|
/// @group timeline
|
|
190
|
-
$kendo-timeline-event-height: 600px !default;
|
|
190
|
+
$kendo-timeline-event-height: var( --kendo-timeline-event-height, 600px ) !default;
|
|
191
191
|
/// The minimum height of the Timeline event.
|
|
192
192
|
/// @group timeline
|
|
193
|
-
$kendo-timeline-event-min-height-calc: calc( 2 * ( #{ $kendo-timeline-track-event-offset } - #{ $kendo-card-border-width } ) ) !default;
|
|
193
|
+
$kendo-timeline-event-min-height-calc: var( --kendo-timeline-event-min-height-calc, calc( 2 * ( #{ $kendo-timeline-track-event-offset } - #{ $kendo-card-border-width } ) ) ) !default;
|
|
194
194
|
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
$kendo-timeline-
|
|
195
|
+
@forward "@progress/kendo-theme-core/scss/components/timeline/_variables.scss" with (
|
|
196
|
+
$kendo-timeline-spacing-x: $kendo-timeline-spacing-x,
|
|
197
|
+
$kendo-timeline-spacing-y: $kendo-timeline-spacing-y,
|
|
198
|
+
$kendo-timeline-items-padding: $kendo-timeline-items-padding,
|
|
199
|
+
$kendo-timeline-font-family: $kendo-timeline-font-family,
|
|
200
|
+
$kendo-timeline-font-size: $kendo-timeline-font-size,
|
|
201
|
+
$kendo-timeline-line-height: $kendo-timeline-line-height,
|
|
202
|
+
$kendo-timeline-mobile-spacing-x: $kendo-timeline-mobile-spacing-x,
|
|
203
|
+
$kendo-timeline-mobile-spacing-y: $kendo-timeline-mobile-spacing-y,
|
|
204
|
+
$kendo-timeline-track-arrow-width: $kendo-timeline-track-arrow-width,
|
|
205
|
+
$kendo-timeline-track-arrow-height: $kendo-timeline-track-arrow-height,
|
|
206
|
+
$kendo-timeline-track-arrow-disabled-bg: $kendo-timeline-track-arrow-disabled-bg,
|
|
207
|
+
$kendo-timeline-track-arrow-disabled-text: $kendo-timeline-track-arrow-disabled-text,
|
|
208
|
+
$kendo-timeline-track-arrow-disabled-border: $kendo-timeline-track-arrow-disabled-border,
|
|
209
|
+
$kendo-timeline-track-size: $kendo-timeline-track-size,
|
|
210
|
+
$kendo-timeline-track-wrap-padding-bottom: $kendo-timeline-track-wrap-padding-bottom,
|
|
211
|
+
$kendo-timeline-track-border-width: $kendo-timeline-track-border-width,
|
|
212
|
+
$kendo-timeline-track-margin-bottom: $kendo-timeline-track-margin-bottom,
|
|
213
|
+
$kendo-timeline-track-bottom-calc: $kendo-timeline-track-bottom-calc,
|
|
214
|
+
$kendo-timeline-track-start-calc: $kendo-timeline-track-start-calc,
|
|
215
|
+
$kendo-timeline-track-end-calc: $kendo-timeline-track-end-calc,
|
|
216
|
+
$kendo-timeline-track-bg: $kendo-timeline-track-bg,
|
|
217
|
+
$kendo-timeline-track-border-color: $kendo-timeline-track-border-color,
|
|
218
|
+
$kendo-timeline-track-event-offset: $kendo-timeline-track-event-offset,
|
|
219
|
+
$kendo-timeline-flag-padding-x: $kendo-timeline-flag-padding-x,
|
|
220
|
+
$kendo-timeline-flag-padding-y: $kendo-timeline-flag-padding-y,
|
|
221
|
+
$kendo-timeline-flag-line-height: $kendo-timeline-flag-line-height,
|
|
222
|
+
$kendo-timeline-flag-min-width: $kendo-timeline-flag-min-width,
|
|
223
|
+
$kendo-timeline-flag-max-width: $kendo-timeline-flag-max-width,
|
|
224
|
+
$kendo-timeline-mobile-flag-max-width: $kendo-timeline-mobile-flag-max-width,
|
|
225
|
+
$kendo-timeline-horizontal-flag-min-width: $kendo-timeline-horizontal-flag-min-width,
|
|
226
|
+
$kendo-timeline-flag-bg: $kendo-timeline-flag-bg,
|
|
227
|
+
$kendo-timeline-flag-text: $kendo-timeline-flag-text,
|
|
228
|
+
$kendo-timeline-flag-callout-width: $kendo-timeline-flag-callout-width,
|
|
229
|
+
$kendo-timeline-flag-callout-height: $kendo-timeline-flag-callout-height,
|
|
230
|
+
$kendo-timeline-flag-offset-bottom: $kendo-timeline-flag-offset-bottom,
|
|
231
|
+
$kendo-timeline-flag-margin-bottom-calc: $kendo-timeline-flag-margin-bottom-calc,
|
|
232
|
+
$kendo-timeline-date-width: $kendo-timeline-date-width,
|
|
233
|
+
$kendo-timeline-date-margin-bottom: $kendo-timeline-date-margin-bottom,
|
|
234
|
+
$kendo-timeline-vertical-padding-calc: $kendo-timeline-vertical-padding-calc,
|
|
235
|
+
$kendo-timeline-vertical-padding-with-dates-calc: $kendo-timeline-vertical-padding-with-dates-calc,
|
|
236
|
+
$kendo-timeline-mobile-vertical-padding-calc: $kendo-timeline-mobile-vertical-padding-calc,
|
|
237
|
+
$kendo-timeline-mobile-vertical-padding-with-dates-calc: $kendo-timeline-mobile-vertical-padding-with-dates-calc,
|
|
238
|
+
$kendo-timeline-circle-width: $kendo-timeline-circle-width,
|
|
239
|
+
$kendo-timeline-circle-height: $kendo-timeline-circle-height,
|
|
240
|
+
$kendo-timeline-circle-bg: $kendo-timeline-circle-bg,
|
|
241
|
+
$kendo-timeline-event-width: $kendo-timeline-event-width,
|
|
242
|
+
$kendo-timeline-event-height: $kendo-timeline-event-height,
|
|
243
|
+
$kendo-timeline-event-min-height-calc: $kendo-timeline-event-min-height-calc
|
|
244
|
+
);
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use "../core/_index.scss" as *;
|
|
2
|
+
@use "@progress/kendo-theme-core/scss/components/timepicker/_layout.scss" as *;
|
|
2
3
|
|
|
3
|
-
|
|
4
|
-
|
|
4
|
+
@mixin kendo-time-picker--layout() {
|
|
5
|
+
@include kendo-time-picker--layout-base();
|
|
5
6
|
|
|
7
|
+
.k-time-list-wrapper .k-title {
|
|
8
|
+
padding-block-end: k-spacing(3);
|
|
9
|
+
}
|
|
6
10
|
}
|
|
@@ -2,243 +2,23 @@
|
|
|
2
2
|
@use "../core/_index.scss" as *;
|
|
3
3
|
@use "../button/_variables.scss" as *;
|
|
4
4
|
@use "./_variables.scss" as *;
|
|
5
|
+
@use "@progress/kendo-theme-core/scss/components/timeselector/_layout.scss" as *;
|
|
5
6
|
|
|
6
7
|
@mixin kendo-time-selector--layout() {
|
|
8
|
+
@include kendo-time-selector--layout-base();
|
|
7
9
|
|
|
8
|
-
.k-timeselector {
|
|
9
|
-
border-width: var( --kendo-time-selector-border-width, $kendo-time-selector-border-width );
|
|
10
|
-
border-style: solid;
|
|
11
|
-
box-sizing: border-box;
|
|
12
|
-
outline: 0;
|
|
13
|
-
font-family: var( --kendo-time-selector-font-family, $kendo-time-selector-font-family );
|
|
14
|
-
font-size: var( --kendo-time-selector-font-size, $kendo-time-selector-font-size );
|
|
15
|
-
line-height: var( --kendo-time-selector-line-height, $kendo-time-selector-line-height );
|
|
16
|
-
position: relative;
|
|
17
|
-
overflow: hidden;
|
|
18
|
-
display: flex;
|
|
19
|
-
flex-flow: column nowrap;
|
|
20
|
-
user-select: none;
|
|
21
|
-
-webkit-touch-callout: none;
|
|
22
|
-
-webkit-tap-highlight-color: $kendo-color-rgba-transparent;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.k-popup > .k-timeselector {
|
|
26
|
-
border-width: 0;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
// Time selector header
|
|
31
|
-
.k-time-header,
|
|
32
|
-
.k-time-selector-header {
|
|
33
|
-
padding: var( --kendo-time-selector-header-padding-y, $kendo-time-selector-header-padding-y ) var( --kendo-time-selector-header-padding-x, $kendo-time-selector-header-padding-x );
|
|
34
|
-
box-sizing: border-box;
|
|
35
|
-
display: flex;
|
|
36
|
-
align-items: center;
|
|
37
|
-
justify-content: space-between;
|
|
38
|
-
flex: 0 0 auto;
|
|
39
|
-
|
|
40
|
-
.k-title,
|
|
41
|
-
.k-time-selector-header-title {
|
|
42
|
-
padding: var( --kendo-button-md-padding-y, $kendo-button-md-padding-y ) var( --kendo-button-md-padding-x, $kendo-button-md-padding-x );
|
|
43
|
-
font-weight: bold;
|
|
44
|
-
display: inline-block;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.k-time-now {
|
|
48
|
-
border-width: 0;
|
|
49
|
-
line-height: inherit;
|
|
50
|
-
cursor: pointer;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
// Time selector footer
|
|
56
|
-
// .k-time-footer {}
|
|
57
|
-
// .k-time-selector-footer {}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
// Time list container
|
|
61
|
-
.k-time-list-container {
|
|
62
|
-
display: flex;
|
|
63
|
-
position: relative;
|
|
64
|
-
flex: 1 1 auto;
|
|
65
|
-
overflow: hidden;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
// Time list highlight
|
|
70
|
-
.k-time-highlight,
|
|
71
|
-
.k-time-list-highlight {
|
|
72
|
-
--kendo-time-list-title-height: #{$kendo-time-list-title-height};
|
|
73
|
-
|
|
74
|
-
width: 100%;
|
|
75
|
-
height: var( --kendo-time-list-highlight-height, $kendo-time-list-highlight-height );
|
|
76
|
-
border-width: var( --kendo-time-list-highlight-border-width, $kendo-time-list-highlight-border-width );
|
|
77
|
-
border-style: solid;
|
|
78
|
-
box-sizing: border-box;
|
|
79
|
-
position: absolute;
|
|
80
|
-
top: calc( 50% + var( --kendo-time-list-title-height ) / 2);
|
|
81
|
-
left: 0;
|
|
82
|
-
right: 0;
|
|
83
|
-
transform: translateY(-50%);
|
|
84
|
-
z-index: 1;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
// Time list wrapper
|
|
89
10
|
.k-time-list-wrapper {
|
|
90
|
-
min-width: var( --kendo-time-list-width, $kendo-time-list-width );
|
|
91
|
-
height: var( --kendo-time-list-height, $kendo-time-list-height );
|
|
92
|
-
box-sizing: content-box;
|
|
93
|
-
display: inline-flex;
|
|
94
|
-
flex-flow: column nowrap;
|
|
95
|
-
align-items: stretch;
|
|
96
|
-
overflow: hidden;
|
|
97
|
-
position: relative;
|
|
98
|
-
text-align: center;
|
|
99
|
-
flex: 1 1 auto;
|
|
100
|
-
|
|
101
11
|
.k-title {
|
|
102
|
-
padding-block-end: var( --kendo-time-list-title-spacing, $kendo-time-list-title-spacing );
|
|
103
|
-
font-size: var( --kendo-time-list-title-font-size, $kendo-time-list-title-font-size );
|
|
104
|
-
line-height: var( --kendo-time-list-title-line-height, $kendo-time-list-title-line-height );
|
|
105
12
|
font-weight: 600;
|
|
106
|
-
text-align: center;
|
|
107
|
-
text-transform: capitalize;
|
|
108
|
-
display: block;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
&.k-focus {
|
|
112
|
-
&::before,
|
|
113
|
-
&::after {
|
|
114
|
-
--kendo-time-list-highlight-height: #{$kendo-time-list-highlight-height};
|
|
115
|
-
|
|
116
|
-
display: block;
|
|
117
|
-
content: "\200b";
|
|
118
|
-
position: absolute;
|
|
119
|
-
width: 100%;
|
|
120
|
-
left: 0;
|
|
121
|
-
pointer-events: none;
|
|
122
|
-
height: calc( 50% - ( var( --kendo-time-list-highlight-height ) / 2) );
|
|
123
|
-
box-sizing: border-box;
|
|
124
|
-
border-width: 0;
|
|
125
|
-
border-style: solid;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
&::before {
|
|
129
|
-
top: var( --kendo-time-list-title-height, #{$kendo-time-list-title-height} ) ;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
&::after {
|
|
133
|
-
bottom: 0;
|
|
134
|
-
}
|
|
135
13
|
}
|
|
136
14
|
}
|
|
137
15
|
|
|
138
|
-
|
|
139
|
-
// Time list
|
|
140
|
-
.k-time-list {
|
|
141
|
-
display: flex;
|
|
142
|
-
flex-flow: row nowrap;
|
|
143
|
-
align-items: stretch;
|
|
144
|
-
flex: 1;
|
|
145
|
-
position: relative;
|
|
146
|
-
z-index: 1;
|
|
147
|
-
outline: 0;
|
|
148
|
-
overflow: hidden;
|
|
149
|
-
|
|
150
|
-
&::before,
|
|
151
|
-
&::after {
|
|
152
|
-
display: block;
|
|
153
|
-
position: absolute;
|
|
154
|
-
content: "\200b";
|
|
155
|
-
height: 0;
|
|
156
|
-
line-height: 0;
|
|
157
|
-
z-index: 1;
|
|
158
|
-
width: 200%;
|
|
159
|
-
left: -50%;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
&::before { top: 0; }
|
|
163
|
-
&::after { bottom: 0; }
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
// Time list content
|
|
168
16
|
.k-time-container,
|
|
169
17
|
.k-time-list-content {
|
|
170
|
-
position: relative;
|
|
171
|
-
flex: 1 1 auto;
|
|
172
|
-
display: block;
|
|
173
|
-
overflow-x: hidden;
|
|
174
|
-
overflow-y: scroll;
|
|
175
|
-
|
|
176
18
|
@include hide-scrollbar-dir-agnostic();
|
|
177
|
-
|
|
178
|
-
> ul {
|
|
179
|
-
height: auto;
|
|
180
|
-
width: var( --kendo-time-list-width, $kendo-time-list-width );
|
|
181
|
-
margin: auto;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
.k-scrollable-placeholder {
|
|
185
|
-
position: absolute;
|
|
186
|
-
width: 1px;
|
|
187
|
-
top: 0;
|
|
188
|
-
right: 0;
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
// Time list item
|
|
194
|
-
.k-time-list-item,
|
|
195
|
-
.k-time-list .k-item {
|
|
196
|
-
padding: var( --kendo-time-list-item-padding-y, $kendo-time-list-item-padding-y ) var( --kendo-time-list-item-padding-x, $kendo-time-list-item-padding-x );
|
|
197
19
|
}
|
|
198
20
|
|
|
199
|
-
|
|
200
|
-
// Time separator
|
|
201
21
|
.k-time-separator {
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
width: 0;
|
|
205
|
-
height: var( --kendo-time-list-highlight-height, $kendo-time-list-highlight-height );
|
|
206
|
-
align-self: center;
|
|
207
|
-
display: var( --kendo-time-list-separator-display, #{$kendo-time-list-separator-display} );
|
|
208
|
-
justify-content: center;
|
|
209
|
-
align-items: center;
|
|
210
|
-
position: relative;
|
|
211
|
-
z-index: 11;
|
|
212
|
-
top: calc( var( --kendo-time-list-title-height ) / 2);
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
// Time selector sizes
|
|
217
|
-
@each $size, $size-props in $kendo-time-selector-sizes {
|
|
218
|
-
$_font-size: map.get( $size-props, font-size );
|
|
219
|
-
$_line-height: map.get( $size-props, line-height );
|
|
220
|
-
$_list-item-padding-x: map.get( $size-props, list-item-padding-x );
|
|
221
|
-
$_list-item-padding-y: map.get( $size-props, list-item-padding-y );
|
|
222
|
-
$_highlight-height: calc( #{$_font-size} * #{$_line-height} + calc( #{ $_list-item-padding-y} * 2 ) );
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
.k-timeselector-#{$size} {
|
|
226
|
-
font-size: var( --kendo-time-selector-#{$size}-font-size, #{$_font-size} );
|
|
227
|
-
line-height: var( --kendo-time-selector-#{$size}-line-height, #{$_line-height} );
|
|
228
|
-
|
|
229
|
-
.k-time-highlight,
|
|
230
|
-
.k-time-list-highlight {
|
|
231
|
-
height: var( --kendo-time-selector-#{$size}-highlight-height, #{$_highlight-height} );
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
.k-time-separator {
|
|
235
|
-
height: var( --kendo-time-selector-#{$size}-highlight-height, #{$_highlight-height} );
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
.k-time-list-item,
|
|
239
|
-
.k-time-list .k-item {
|
|
240
|
-
padding: var( --kendo-list-#{$size}-item-padding-y, #{$_list-item-padding-y} ) var( --kendo-list-#{$size}-item-padding-x, #{$_list-item-padding-x} );
|
|
241
|
-
}
|
|
242
|
-
}
|
|
22
|
+
display: $kendo-time-list-separator-display;
|
|
243
23
|
}
|
|
244
24
|
}
|
|
@@ -1,68 +1,18 @@
|
|
|
1
1
|
@use "../core/_index.scss" as *;
|
|
2
2
|
@use "./_variables.scss" as *;
|
|
3
|
+
@use "@progress/kendo-theme-core/scss/components/timeselector/_theme.scss" as *;
|
|
3
4
|
|
|
4
5
|
@mixin kendo-time-selector--theme() {
|
|
5
|
-
|
|
6
|
-
.k-timeselector {
|
|
7
|
-
@include fill(
|
|
8
|
-
var( --kendo-time-selector-text, #{$kendo-time-selector-text} ),
|
|
9
|
-
var( --kendo-time-selector-bg, #{$kendo-time-selector-bg} ),
|
|
10
|
-
var( --kendo-time-selector-border, #{$kendo-time-selector-border} )
|
|
11
|
-
);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
// Time selector header
|
|
16
|
-
.k-time-header,
|
|
17
|
-
.k-time-selector-header {
|
|
18
|
-
.k-title {
|
|
19
|
-
color: var( --kendo-time-selector-header-title-text, #{$kendo-time-selector-header-title-text} );
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.k-time-now {
|
|
23
|
-
color: k-color(primary);
|
|
24
|
-
}
|
|
25
|
-
.k-time-now:hover {
|
|
26
|
-
color: k-color(primary-hover);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
6
|
+
@include kendo-time-selector--theme-base();
|
|
30
7
|
|
|
31
|
-
// Time list wrapper
|
|
32
|
-
.k-time-list-wrapper {
|
|
33
|
-
|
|
34
|
-
.k-title {
|
|
35
|
-
color: var( --kendo-time-list-title-text, #{$kendo-time-list-title-text} );
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
&.k-focus {
|
|
39
|
-
.k-title {
|
|
40
|
-
color: var( --kendo-time-list-title-focus-text, #{$kendo-time-list-title-focus-text} );
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
&::before,
|
|
44
|
-
&::after {
|
|
45
|
-
background-color: var( --kendo-time-list-focus-bg, #{$kendo-time-list-focus-bg} );
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
// Time list
|
|
52
8
|
.k-time-list {
|
|
53
9
|
.k-item:hover {
|
|
54
10
|
color: k-color(primary-hover);
|
|
55
11
|
}
|
|
56
12
|
}
|
|
57
13
|
|
|
58
|
-
.k-time-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
.k-time-highlight {
|
|
63
|
-
@include fill(
|
|
64
|
-
$bg: var( --kendo-time-list-highlight-bg, #{$kendo-time-list-highlight-bg} ),
|
|
65
|
-
$border: var( --kendo-time-list-highlight-border, #{$kendo-time-list-highlight-border} )
|
|
66
|
-
);
|
|
14
|
+
.k-time-list::before,
|
|
15
|
+
.k-time-list::after {
|
|
16
|
+
box-shadow: none;
|
|
67
17
|
}
|
|
68
18
|
}
|