@progress/kendo-theme-default 5.0.0-next.4 → 5.0.2-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/README.md +5 -8
- package/dist/all.css +13661 -14454
- package/dist/all.scss +15431 -16146
- package/dist/default-dataviz-v4.scss +8 -0
- package/dist/default-main-dark.scss +5 -5
- package/dist/default-main.scss +5 -5
- package/lib/swatches/default-dataviz-v4.json +51 -0
- package/lib/swatches/default-main-dark.json +5 -5
- package/lib/swatches/default-main.json +5 -5
- package/package.json +2 -2
- package/scss/_layout.scss +0 -0
- package/scss/_variables.scss +2 -19
- package/scss/action-buttons/_layout.scss +18 -1
- package/scss/action-sheet/_layout.scss +6 -0
- package/scss/adaptive/_layout.scss +46 -98
- package/scss/adaptive/_theme.scss +0 -9
- package/scss/all.scss +1 -150
- package/scss/appbar/_layout.scss +28 -3
- package/scss/appbar/_variables.scss +1 -1
- package/scss/autocomplete/_index.scss +1 -0
- package/scss/autocomplete/_layout.scss +1 -54
- package/scss/autocomplete/_theme.scss +3 -75
- package/scss/autocomplete/_variables.scss +0 -24
- package/scss/avatar/_layout.scss +19 -17
- package/scss/avatar/_theme.scss +4 -4
- package/scss/avatar/_variables.scss +18 -8
- package/scss/avatar/index.md +0 -0
- package/scss/badge/_layout.scss +6 -0
- package/scss/bottom-navigation/_layout.scss +6 -0
- package/scss/breadcrumb/_layout.scss +6 -18
- package/scss/button/_index.scss +3 -1
- package/scss/button/_layout.scss +153 -231
- package/scss/button/_theme.scss +220 -236
- package/scss/button/_variables.scss +199 -127
- package/scss/button/index.md +3 -0
- package/scss/calendar/_index.scss +1 -0
- package/scss/calendar/_layout.scss +2 -14
- package/scss/calendar/_theme.scss +1 -19
- package/scss/captcha/_layout.scss +6 -5
- package/scss/card/_layout.scss +10 -72
- package/scss/card/_theme.scss +2 -1
- package/scss/card/_variables.scss +5 -5
- package/scss/chat/_layout.scss +35 -32
- package/scss/chat/_theme.scss +0 -31
- package/scss/chat/_variables.scss +3 -18
- package/scss/checkbox/_index.scss +2 -0
- package/scss/checkbox/_layout.scss +103 -158
- package/scss/checkbox/_theme.scss +37 -41
- package/scss/checkbox/_variables.scss +144 -56
- package/scss/checkbox/index.md +0 -0
- package/scss/chip/_index.scss +1 -0
- package/scss/chip/_layout.scss +127 -127
- package/scss/chip/_theme.scss +90 -387
- package/scss/chip/_variables.scss +142 -191
- package/scss/chip/index.md +0 -0
- package/scss/color-preview/_index.scss +11 -0
- package/scss/color-preview/_layout.scss +77 -0
- package/scss/color-preview/_theme.scss +17 -0
- package/scss/color-preview/_variables.scss +14 -0
- package/scss/coloreditor/_index.scss +15 -0
- package/scss/coloreditor/_layout.scss +75 -0
- package/scss/coloreditor/_theme.scss +19 -0
- package/scss/coloreditor/_variables.scss +27 -0
- package/scss/colorgradient/_index.scss +18 -0
- package/scss/colorgradient/_layout.scss +193 -0
- package/scss/colorgradient/_theme.scss +82 -0
- package/scss/colorgradient/_variables.scss +51 -0
- package/scss/colorgradient/images/alpha-slider-bgr.png +0 -0
- package/scss/colorgradient/images/alpha-slider-bgr.scss +3 -0
- package/scss/colorpalette/_index.scss +12 -0
- package/scss/colorpalette/_layout.scss +56 -0
- package/scss/colorpalette/_theme.scss +25 -0
- package/scss/colorpalette/_variables.scss +10 -0
- package/scss/colorpicker/_index.scss +3 -6
- package/scss/colorpicker/_layout.scss +7 -466
- package/scss/colorpicker/_theme.scss +2 -187
- package/scss/colorpicker/_variables.scss +1 -40
- package/scss/combobox/_index.scss +1 -0
- package/scss/combobox/_layout.scss +3 -84
- package/scss/combobox/_theme.scss +3 -124
- package/scss/combobox/_variables.scss +1 -33
- package/scss/common/_base.scss +2 -2
- package/scss/common/_loading.scss +15 -13
- package/scss/core/functions/_colors.scss +4 -1
- package/scss/core/mixins/_index.scss +1 -0
- package/scss/core/mixins/_input-ripple.scss +1 -1
- package/scss/core/mixins/_module-system.scss +149 -0
- package/scss/dataviz/_index.scss +1 -0
- package/scss/dataviz/_theme.scss +8 -8
- package/scss/dataviz/_variables.scss +6 -6
- package/scss/dateinput/_index.scss +11 -0
- package/scss/dateinput/_layout.scss +6 -0
- package/scss/dateinput/_theme.scss +6 -0
- package/scss/dateinput/_variables.scss +1 -0
- package/scss/datepicker/_index.scss +13 -0
- package/scss/datepicker/_layout.scss +6 -0
- package/scss/datepicker/_theme.scss +6 -0
- package/scss/datepicker/_variables.scss +1 -0
- package/scss/{datetime → daterangepicker}/_index.scss +1 -2
- package/scss/daterangepicker/_layout.scss +43 -0
- package/scss/daterangepicker/_theme.scss +3 -0
- package/scss/daterangepicker/_variables.scss +2 -0
- package/scss/datetimepicker/_index.scss +17 -0
- package/scss/datetimepicker/_layout.scss +56 -0
- package/scss/datetimepicker/_theme.scss +6 -0
- package/scss/datetimepicker/_variables.scss +2 -0
- package/scss/drawer/_index.scss +1 -0
- package/scss/drawer/_layout.scss +6 -0
- package/scss/drawer/_variables.scss +1 -1
- package/scss/dropdowngrid/_layout.scss +9 -4
- package/scss/dropdowngrid/_theme.scss +9 -2
- package/scss/dropdowngrid/index.md +0 -0
- package/scss/dropdownlist/_index.scss +1 -0
- package/scss/dropdownlist/_layout.scss +20 -101
- package/scss/dropdownlist/_theme.scss +3 -91
- package/scss/dropdownlist/_variables.scss +9 -9
- package/scss/dropdowntree/_layout.scss +5 -15
- package/scss/dropdowntree/_theme.scss +2 -1
- package/scss/dropdowntree/_variables.scss +2 -4
- package/scss/dropzone/_layout.scss +0 -16
- package/scss/editor/_layout.scss +110 -91
- package/scss/editor/_theme.scss +9 -0
- package/scss/editor/_variables.scss +10 -2
- package/scss/expansion-panel/_index.scss +1 -0
- package/scss/expansion-panel/_layout.scss +6 -1
- package/scss/expansion-panel/_variables.scss +2 -2
- package/scss/fab/_layout.scss +30 -56
- package/scss/fab/_theme.scss +56 -68
- package/scss/fab/_variables.scss +129 -71
- package/scss/fab/index.md +0 -0
- package/scss/filemanager/_theme.scss +1 -1
- package/scss/filter/_index.scss +1 -1
- package/scss/filter/_layout.scss +20 -6
- package/scss/filter/_theme.scss +3 -1
- package/scss/floating-label/_layout.scss +7 -3
- package/scss/floating-label/_theme.scss +0 -2
- package/scss/floating-label/_variables.scss +4 -4
- package/scss/forms/_index.scss +1 -1
- package/scss/forms/_layout.scss +22 -113
- package/scss/gantt/_index.scss +1 -1
- package/scss/gantt/_layout.scss +9 -7
- package/scss/grid/_index.scss +2 -1
- package/scss/grid/_layout.scss +157 -195
- package/scss/grid/_theme.scss +16 -22
- package/scss/grid/_variables.scss +10 -12
- package/scss/icons/_layout.scss +7 -1
- package/scss/icons/font/WebComponentsIcons.scss +1 -1
- package/scss/icons/font/WebComponentsIcons.ttf +0 -0
- package/scss/imageeditor/_layout.scss +10 -8
- package/scss/imageeditor/_variables.scss +1 -0
- package/scss/index.scss +157 -0
- package/scss/input/_index.scss +1 -1
- package/scss/input/_layout.scss +294 -94
- package/scss/input/_theme.scss +111 -16
- package/scss/input/_variables.scss +116 -92
- package/scss/list/_index.scss +12 -0
- package/scss/list/_layout.scss +241 -0
- package/scss/list/_theme.scss +91 -0
- package/scss/list/_variables.scss +248 -0
- package/scss/list/index.md +0 -0
- package/scss/listbox/_index.scss +2 -0
- package/scss/listbox/_layout.scss +10 -0
- package/scss/listbox/_variables.scss +1 -1
- package/scss/listview/_layout.scss +2 -9
- package/scss/map/_layout.scss +16 -11
- package/scss/map/_theme.scss +5 -5
- package/scss/map/_variables.scss +1 -1
- package/scss/maskedtextbox/_layout.scss +3 -47
- package/scss/maskedtextbox/_theme.scss +3 -21
- package/scss/mediaplayer/_layout.scss +19 -1
- package/scss/menu/_index.scss +2 -0
- package/scss/menu/_layout.scss +134 -74
- package/scss/menu/_theme.scss +33 -25
- package/scss/menu/_variables.scss +124 -35
- package/scss/multiselect/_index.scss +2 -0
- package/scss/multiselect/_layout.scss +3 -199
- package/scss/multiselect/_theme.scss +3 -139
- package/scss/multiselect/_variables.scss +0 -36
- package/scss/notification/_layout.scss +6 -22
- package/scss/numerictextbox/_layout.scss +5 -103
- package/scss/numerictextbox/_theme.scss +2 -95
- package/scss/numerictextbox/_variables.scss +0 -31
- package/scss/orgchart/_layout.scss +6 -0
- package/scss/orgchart/_variables.scss +2 -2
- package/scss/pager/_index.scss +1 -0
- package/scss/pager/_layout.scss +13 -14
- package/scss/pager/_theme.scss +4 -4
- package/scss/pager/_variables.scss +7 -7
- package/scss/panelbar/_index.scss +1 -0
- package/scss/panelbar/_layout.scss +6 -54
- package/scss/panelbar/_theme.scss +9 -2
- package/scss/panelbar/_variables.scss +6 -2
- package/scss/pdf-viewer/_layout.scss +20 -29
- package/scss/pdf-viewer/_variables.scss +2 -5
- package/scss/pivotgrid/_index.scss +1 -0
- package/scss/pivotgrid/_layout.scss +77 -108
- package/scss/pivotgrid/_theme.scss +39 -73
- package/scss/pivotgrid/_variables.scss +1 -4
- package/scss/popover/_layout.scss +6 -1
- package/scss/popup/_index.scss +0 -4
- package/scss/popup/_layout.scss +6 -283
- package/scss/popup/_theme.scss +2 -159
- package/scss/popup/_variables.scss +2 -7
- package/scss/progressbar/_layout.scss +6 -0
- package/scss/radio/_index.scss +2 -0
- package/scss/radio/_layout.scss +116 -143
- package/scss/radio/_theme.scss +25 -25
- package/scss/radio/_variables.scss +134 -52
- package/scss/radio/index.md +0 -0
- package/scss/rating/_layout.scss +6 -9
- package/scss/scheduler/_index.scss +1 -1
- package/scss/scheduler/_layout.scss +32 -13
- package/scss/scheduler/_theme.scss +1 -1
- package/scss/scrollview/_layout.scss +6 -1
- package/scss/scrollview/_variables.scss +4 -4
- package/scss/searchbox/_layout.scss +1 -18
- package/scss/searchbox/_theme.scss +1 -46
- package/scss/searchbox/_variables.scss +0 -20
- package/scss/skeleton/_layout.scss +1 -1
- package/scss/slider/_layout.scss +67 -156
- package/scss/slider/_theme.scss +0 -10
- package/scss/slider/_variables.scss +10 -10
- package/scss/spreadsheet/_index.scss +2 -1
- package/scss/spreadsheet/_layout.scss +37 -62
- package/scss/spreadsheet/_theme.scss +19 -19
- package/scss/stepper/_layout.scss +6 -1
- package/scss/switch/_index.scss +0 -2
- package/scss/switch/_layout.scss +99 -83
- package/scss/switch/_theme.scss +91 -93
- package/scss/switch/_variables.scss +190 -83
- package/scss/switch/index.md +0 -0
- package/scss/table/_index.scss +19 -0
- package/scss/table/_layout.scss +275 -0
- package/scss/table/_theme.scss +82 -0
- package/scss/table/_variables.scss +141 -0
- package/scss/tabstrip/_index.scss +1 -0
- package/scss/tabstrip/_layout.scss +37 -5
- package/scss/tabstrip/_theme.scss +1 -0
- package/scss/tabstrip/_variables.scss +3 -3
- package/scss/taskboard/_layout.scss +8 -7
- package/scss/taskboard/_variables.scss +0 -2
- package/scss/textarea/_layout.scss +1 -89
- package/scss/textarea/_theme.scss +1 -66
- package/scss/textarea/_variables.scss +0 -53
- package/scss/textbox/_layout.scss +1 -73
- package/scss/textbox/_theme.scss +1 -70
- package/scss/textbox/_variables.scss +1 -2
- package/scss/timeline/_layout.scss +8 -4
- package/scss/timeline/_variables.scss +7 -7
- package/scss/timepicker/_index.scss +15 -0
- package/scss/timepicker/_layout.scss +6 -0
- package/scss/timepicker/_theme.scss +6 -0
- package/scss/timepicker/_variables.scss +1 -0
- package/scss/timeselector/_index.scss +13 -0
- package/scss/timeselector/_layout.scss +208 -0
- package/scss/timeselector/_theme.scss +70 -0
- package/scss/timeselector/_variables.scss +32 -0
- package/scss/toolbar/_index.scss +1 -0
- package/scss/toolbar/_layout.scss +47 -5
- package/scss/toolbar/_theme.scss +41 -7
- package/scss/toolbar/_variables.scss +3 -1
- package/scss/tooltip/_layout.scss +6 -1
- package/scss/treelist/_layout.scss +4 -0
- package/scss/treeview/_layout.scss +135 -122
- package/scss/treeview/_theme.scss +51 -42
- package/scss/treeview/_variables.scss +125 -46
- package/scss/typography/_variables.scss +3 -3
- package/scss/upload/_layout.scss +6 -81
- package/scss/utils/_border.scss +9 -5
- package/scss/utils/_flex.scss +11 -3
- package/scss/utils/_spacing.scss +24 -0
- package/scss/virtual-scroller/_index.scss +10 -0
- package/scss/virtual-scroller/_layout.scss +35 -0
- package/scss/virtual-scroller/_theme.scss +3 -0
- package/scss/virtual-scroller/_variables.scss +1 -0
- package/scss/window/_layout.scss +3 -3
- package/scss/window/_variables.scss +1 -1
- package/scss/wizard/_layout.scss +4 -0
- package/scss/colorpicker/images/alpha-slider-bgr-reversed.png +0 -0
- package/scss/colorpicker/images/alpha-slider-bgr-reversed.scss +0 -3
- package/scss/colorpicker/images/alpha-slider-bgr.png +0 -0
- package/scss/colorpicker/images/alpha-slider-bgr.scss +0 -3
- package/scss/datetime/_layout.scss +0 -528
- package/scss/datetime/_theme.scss +0 -297
- package/scss/datetime/_variables.scss +0 -53
- package/scss/no-flexbox.scss +0 -72
|
@@ -1,84 +1,191 @@
|
|
|
1
1
|
// Switch
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
$switch-font-family:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
$switch-track-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
$switch-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
$switch-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
$switch-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
$switch-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
$switch-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
$switch-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
$switch-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
$switch-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
$switch-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
$switch-off-bg:
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
$switch-off-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
$switch-off-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
$switch-off-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
$switch-off-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
$switch-off-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
$switch-off-
|
|
84
|
-
|
|
2
|
+
|
|
3
|
+
/// Font family of the switch.
|
|
4
|
+
/// @group switch
|
|
5
|
+
$kendo-switch-font-family: null !default;
|
|
6
|
+
|
|
7
|
+
/// Border width of the switch track.
|
|
8
|
+
/// @group switch
|
|
9
|
+
$kendo-switch-track-border-width: 1px !default;
|
|
10
|
+
|
|
11
|
+
/// Border width of the switch thumb.
|
|
12
|
+
/// @group switch
|
|
13
|
+
$kendo-switch-thumb-border-width: 1px !default;
|
|
14
|
+
|
|
15
|
+
/// Text transform of the switch label.
|
|
16
|
+
/// @group switch
|
|
17
|
+
$kendo-switch-label-text-transform: uppercase !default;
|
|
18
|
+
/// Display of the switch label.
|
|
19
|
+
/// @group switch
|
|
20
|
+
$kendo-switch-label-display: inline !default;
|
|
21
|
+
|
|
22
|
+
/// Map with the different switch sizes.
|
|
23
|
+
/// @group switch
|
|
24
|
+
$kendo-switch-sizes: (
|
|
25
|
+
sm: ( font-size: 10px, track-width: 52px, track-height: 26px, thumb-width: 26px, thumb-height: 26px, thumb-offset: 0px, label-offset: 4px ),
|
|
26
|
+
md: ( font-size: 10px, track-width: 60px, track-height: 30px, thumb-width: 30px, thumb-height: 30px, thumb-offset: 0px, label-offset: 6px ),
|
|
27
|
+
lg: ( font-size: 10px, track-width: 68px, track-height: 34px, thumb-width: 34px, thumb-height: 34px, thumb-offset: 0px, label-offset: 8px )
|
|
28
|
+
) !default;
|
|
29
|
+
|
|
30
|
+
/// The background of the track when the switch is not checked.
|
|
31
|
+
/// @group switch
|
|
32
|
+
$kendo-switch-off-track-bg: $component-bg !default;
|
|
33
|
+
/// The text color of the track when the switch is not checked.
|
|
34
|
+
/// @group switch
|
|
35
|
+
$kendo-switch-off-track-text: $component-text !default;
|
|
36
|
+
/// The border color of the track when the switch is not checked.
|
|
37
|
+
/// @group switch
|
|
38
|
+
$kendo-switch-off-track-border: try-shade( $kendo-switch-off-track-bg, 8% ) !default;
|
|
39
|
+
/// The background gradient of the track when the switch is not checked.
|
|
40
|
+
/// @group switch
|
|
41
|
+
$kendo-switch-off-track-gradient: null !default;
|
|
42
|
+
|
|
43
|
+
/// The background of the track when the hovered switch is not checked.
|
|
44
|
+
/// @group switch
|
|
45
|
+
$kendo-switch-off-track-hover-bg: null !default;
|
|
46
|
+
/// The text color of the track when the hovered switch is not checked.
|
|
47
|
+
/// @group switch
|
|
48
|
+
$kendo-switch-off-track-hover-text: null !default;
|
|
49
|
+
/// The border color of the track when the hovered switch is not checked.
|
|
50
|
+
/// @group switch
|
|
51
|
+
$kendo-switch-off-track-hover-border: null !default;
|
|
52
|
+
/// The background gradient of the track when the hovered switch is not checked.
|
|
53
|
+
/// @group switch
|
|
54
|
+
$kendo-switch-off-track-hover-gradient: null !default;
|
|
55
|
+
|
|
56
|
+
/// The background of the track when the focused switch is not checked.
|
|
57
|
+
/// @group switch
|
|
58
|
+
$kendo-switch-off-track-focus-bg: null !default;
|
|
59
|
+
/// The text color of the track when the focused switch is not checked.
|
|
60
|
+
/// @group switch
|
|
61
|
+
$kendo-switch-off-track-focus-text: null !default;
|
|
62
|
+
/// The border color of the track when the focused switch is not checked.
|
|
63
|
+
/// @group switch
|
|
64
|
+
$kendo-switch-off-track-focus-border: null !default;
|
|
65
|
+
/// The background gradient of the track when the focused switch is not checked.
|
|
66
|
+
/// @group switch
|
|
67
|
+
$kendo-switch-off-track-focus-gradient: null !default;
|
|
68
|
+
/// The ring around the track when the focused switch is not checked.
|
|
69
|
+
/// @group switch
|
|
70
|
+
$kendo-switch-off-track-focus-ring: 2px solid rgba( if( $dark-theme, $white, $black ) , .08 ) !default;
|
|
71
|
+
|
|
72
|
+
/// The background of the track when the disabled switch is not checked.
|
|
73
|
+
/// @group switch
|
|
74
|
+
$kendo-switch-off-track-disabled-bg: null !default;
|
|
75
|
+
/// The text color of the track when the disabled switch is not checked.
|
|
76
|
+
/// @group switch
|
|
77
|
+
$kendo-switch-off-track-disabled-text: null !default;
|
|
78
|
+
/// The border color of the track when the disabled switch is not checked.
|
|
79
|
+
/// @group switch
|
|
80
|
+
$kendo-switch-off-track-disabled-border: null !default;
|
|
81
|
+
/// The background gradient of the track when the disabled switch is not checked.
|
|
82
|
+
/// @group switch
|
|
83
|
+
$kendo-switch-off-track-disabled-gradient: null !default;
|
|
84
|
+
|
|
85
|
+
/// The background of the thumb when the switch is not checked.
|
|
86
|
+
/// @group switch
|
|
87
|
+
$kendo-switch-off-thumb-bg: $base-bg !default;
|
|
88
|
+
/// The text color of the thumb when the switch is not checked.
|
|
89
|
+
/// @group switch
|
|
90
|
+
$kendo-switch-off-thumb-text: $base-text !default;
|
|
91
|
+
/// The border color of the thumb when the switch is not checked.
|
|
92
|
+
/// @group switch
|
|
93
|
+
$kendo-switch-off-thumb-border: $base-border !default;
|
|
94
|
+
/// The background gradient of the thumb when the switch is not checked.
|
|
95
|
+
/// @group switch
|
|
96
|
+
$kendo-switch-off-thumb-gradient: null !default;
|
|
97
|
+
|
|
98
|
+
/// The background of the thumb when the hovered switch is not checked.
|
|
99
|
+
/// @group switch
|
|
100
|
+
$kendo-switch-off-thumb-hover-bg: null !default;
|
|
101
|
+
/// The text color of the thumb when the hovered switch is not checked.
|
|
102
|
+
/// @group switch
|
|
103
|
+
$kendo-switch-off-thumb-hover-text: null !default;
|
|
104
|
+
/// The border color of the thumb when the hovered switch is not checked.
|
|
105
|
+
/// @group switch
|
|
106
|
+
$kendo-switch-off-thumb-hover-border: null !default;
|
|
107
|
+
/// The background gradient of the thumb when the hovered switch is not checked.
|
|
108
|
+
/// @group switch
|
|
109
|
+
$kendo-switch-off-thumb-hover-gradient: null !default;
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
/// The background of the track when the switch is checked.
|
|
113
|
+
/// @group switch
|
|
114
|
+
$kendo-switch-on-track-bg: $primary !default;
|
|
115
|
+
/// The text color of the track when the switch is checked.
|
|
116
|
+
/// @group switch
|
|
117
|
+
$kendo-switch-on-track-text: contrast-wcag( $kendo-switch-on-track-bg ) !default;
|
|
118
|
+
/// The border color of the track when the switch is checked.
|
|
119
|
+
/// @group switch
|
|
120
|
+
$kendo-switch-on-track-border: $kendo-switch-on-track-bg !default;
|
|
121
|
+
/// The background gradient of the track when the switch is checked.
|
|
122
|
+
/// @group switch
|
|
123
|
+
$kendo-switch-on-track-gradient: null !default;
|
|
124
|
+
|
|
125
|
+
/// The background of the track when the hovered switch is checked.
|
|
126
|
+
/// @group switch
|
|
127
|
+
$kendo-switch-on-track-hover-bg: null !default;
|
|
128
|
+
/// The text color of the track when the hovered switch is checked.
|
|
129
|
+
/// @group switch
|
|
130
|
+
$kendo-switch-on-track-hover-text: null !default;
|
|
131
|
+
/// The border color of the track when the hovered switch is checked.
|
|
132
|
+
/// @group switch
|
|
133
|
+
$kendo-switch-on-track-hover-border: null !default;
|
|
134
|
+
/// The background gradient of the track when the hovered switch is checked.
|
|
135
|
+
/// @group switch
|
|
136
|
+
$kendo-switch-on-track-hover-gradient: null !default;
|
|
137
|
+
|
|
138
|
+
/// The background of the track when the focused switch is checked.
|
|
139
|
+
/// @group switch
|
|
140
|
+
$kendo-switch-on-track-focus-bg: null !default;
|
|
141
|
+
/// The text color of the track when the focused switch is checked.
|
|
142
|
+
/// @group switch
|
|
143
|
+
$kendo-switch-on-track-focus-text: null !default;
|
|
144
|
+
/// The border color of the track when the focused switch is checked.
|
|
145
|
+
/// @group switch
|
|
146
|
+
$kendo-switch-on-track-focus-border: null !default;
|
|
147
|
+
/// The background gradient of the track when the focused switch is checked.
|
|
148
|
+
/// @group switch
|
|
149
|
+
$kendo-switch-on-track-focus-gradient: null !default;
|
|
150
|
+
/// The ring around the track when the focused switch is checked.
|
|
151
|
+
/// @group switch
|
|
152
|
+
$kendo-switch-on-track-focus-ring: 2px solid rgba( $kendo-switch-on-track-border, .25 ) !default;
|
|
153
|
+
|
|
154
|
+
/// The background of the track when the disabled switch is checked.
|
|
155
|
+
/// @group switch
|
|
156
|
+
$kendo-switch-on-track-disabled-bg: null !default;
|
|
157
|
+
/// The text color of the track when the disabled switch is checked.
|
|
158
|
+
/// @group switch
|
|
159
|
+
$kendo-switch-on-track-disabled-text: null !default;
|
|
160
|
+
/// The border color of the track when the disabled switch is checked.
|
|
161
|
+
/// @group switch
|
|
162
|
+
$kendo-switch-on-track-disabled-border: null !default;
|
|
163
|
+
/// The background gradient of the track when the disabled switch is checked.
|
|
164
|
+
/// @group switch
|
|
165
|
+
$kendo-switch-on-track-disabled-gradient: null !default;
|
|
166
|
+
|
|
167
|
+
/// The background of the thumb when the switch is checked.
|
|
168
|
+
/// @group switch
|
|
169
|
+
$kendo-switch-on-thumb-bg: $base-bg !default;
|
|
170
|
+
/// The text color of the thumb when the switch is checked.
|
|
171
|
+
/// @group switch
|
|
172
|
+
$kendo-switch-on-thumb-text: $base-text !default;
|
|
173
|
+
/// The border color of the thumb when the switch is checked.
|
|
174
|
+
/// @group switch
|
|
175
|
+
$kendo-switch-on-thumb-border: $base-border !default;
|
|
176
|
+
/// The background gradient of the thumb when the switch is checked.
|
|
177
|
+
/// @group switch
|
|
178
|
+
$kendo-switch-on-thumb-gradient: null !default;
|
|
179
|
+
|
|
180
|
+
/// The background of the thumb when the hovered switch is checked.
|
|
181
|
+
/// @group switch
|
|
182
|
+
$kendo-switch-on-thumb-hover-bg: null !default;
|
|
183
|
+
/// The text color of the thumb when the hovered switch is checked.
|
|
184
|
+
/// @group switch
|
|
185
|
+
$kendo-switch-on-thumb-hover-text: null !default;
|
|
186
|
+
/// The border color of the thumb when the hovered switch is checked.
|
|
187
|
+
/// @group switch
|
|
188
|
+
$kendo-switch-on-thumb-hover-border: null !default;
|
|
189
|
+
/// The background gradient of the thumb when the hovered switch is checked.
|
|
190
|
+
/// @group switch
|
|
191
|
+
$kendo-switch-on-thumb-hover-gradient: null !default;
|
|
File without changes
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
@import "../core/_index.scss";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
// Dependencies
|
|
5
|
+
@import "../common/_index.scss";
|
|
6
|
+
@import "../input/_index.scss";
|
|
7
|
+
@import "../floating-label/_index.scss";
|
|
8
|
+
@import "../combobox/_index.scss";
|
|
9
|
+
@import "../popup/_index.scss";
|
|
10
|
+
@import "../toolbar/_variables.scss";
|
|
11
|
+
@import "../menu/_variables.scss";
|
|
12
|
+
@import "../grid/_variables.scss";
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
// Component
|
|
16
|
+
@import "_variables.scss";
|
|
17
|
+
@import "_layout.scss";
|
|
18
|
+
@import "_theme.scss";
|
|
19
|
+
|
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
@include exports( "table/layout" ) {
|
|
2
|
+
|
|
3
|
+
// Table
|
|
4
|
+
.k-table {
|
|
5
|
+
width: 100%;
|
|
6
|
+
max-width: none;
|
|
7
|
+
border-width: $kendo-table-border-width;
|
|
8
|
+
border-style: solid;
|
|
9
|
+
font-size: $kendo-table-font-size;
|
|
10
|
+
line-height: $kendo-table-line-height;
|
|
11
|
+
text-align: left;
|
|
12
|
+
border-collapse: collapse;
|
|
13
|
+
border-spacing: 0;
|
|
14
|
+
empty-cells: show;
|
|
15
|
+
outline: none;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
// Data table
|
|
20
|
+
.k-data-table {
|
|
21
|
+
border-width: $kendo-table-border-width;
|
|
22
|
+
border-style: solid;
|
|
23
|
+
|
|
24
|
+
.k-table {
|
|
25
|
+
table-layout: fixed;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
// Table native parts
|
|
31
|
+
.k-table-thead,
|
|
32
|
+
.k-table-tbody,
|
|
33
|
+
.k-table-tfoot,
|
|
34
|
+
.k-table-row,
|
|
35
|
+
.k-table-alt-row {
|
|
36
|
+
border-color: inherit;
|
|
37
|
+
text-align: inherit;
|
|
38
|
+
}
|
|
39
|
+
.k-table-th,
|
|
40
|
+
.k-table-td {
|
|
41
|
+
padding: $kendo-table-cell-padding-y $kendo-table-cell-padding-x;
|
|
42
|
+
border-width: 0 0 $grid-cell-horizontal-border-width $kendo-table-cell-vertical-border-width;
|
|
43
|
+
border-style: solid;
|
|
44
|
+
border-color: inherit;
|
|
45
|
+
box-sizing: border-box;
|
|
46
|
+
font-weight: normal;
|
|
47
|
+
text-align: inherit;
|
|
48
|
+
white-space: nowrap;
|
|
49
|
+
text-overflow: ellipsis;
|
|
50
|
+
display: table-cell;
|
|
51
|
+
overflow: hidden;
|
|
52
|
+
position: relative;
|
|
53
|
+
|
|
54
|
+
&:first-child {
|
|
55
|
+
border-left-width: 0;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
.k-table-th {
|
|
59
|
+
border-bottom-width: 1px;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
// Table header
|
|
64
|
+
.k-table-header {
|
|
65
|
+
padding-inline-end: var(--kendo-scrollbar-width);
|
|
66
|
+
border-width: 0 0 1px 0;
|
|
67
|
+
border-style: solid;
|
|
68
|
+
box-sizing: border-box;
|
|
69
|
+
|
|
70
|
+
.k-table {
|
|
71
|
+
border-width: 0;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
.k-table-header-wrap {
|
|
75
|
+
margin-right: -1px;
|
|
76
|
+
width: 100%;
|
|
77
|
+
border-width: 0 $kendo-table-cell-vertical-border-width 0 0;
|
|
78
|
+
border-style: solid;
|
|
79
|
+
border-color: inherit;
|
|
80
|
+
overflow: hidden;
|
|
81
|
+
}
|
|
82
|
+
.k-table-header,
|
|
83
|
+
.k-table-header-wrap {
|
|
84
|
+
> .k-table {
|
|
85
|
+
margin-bottom: -1px;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
.k-table-group-sticky-header {
|
|
89
|
+
flex: none;
|
|
90
|
+
|
|
91
|
+
.k-table-th {
|
|
92
|
+
display: flex;
|
|
93
|
+
flex-flow: row nowrap;
|
|
94
|
+
align-items: center;
|
|
95
|
+
align-content: center;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
// Table list
|
|
101
|
+
.k-table-list {
|
|
102
|
+
margin: 0;
|
|
103
|
+
padding: 0;
|
|
104
|
+
width: 100%;
|
|
105
|
+
max-width: none;
|
|
106
|
+
border-width: 0;
|
|
107
|
+
display: table;
|
|
108
|
+
border-collapse: collapse;
|
|
109
|
+
border-spacing: 0;
|
|
110
|
+
table-layout: fixed;
|
|
111
|
+
empty-cells: show;
|
|
112
|
+
list-style: none;
|
|
113
|
+
outline: none;
|
|
114
|
+
|
|
115
|
+
.k-table-row,
|
|
116
|
+
.k-table-group-row {
|
|
117
|
+
width: 100%;
|
|
118
|
+
box-sizing: border-box;
|
|
119
|
+
display: table-row;
|
|
120
|
+
position: relative;
|
|
121
|
+
}
|
|
122
|
+
.k-table-row.k-first {
|
|
123
|
+
border-top: 1px solid currentColor;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.k-table-th,
|
|
127
|
+
.k-table-td {
|
|
128
|
+
vertical-align: middle;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.k-table-group-row {
|
|
132
|
+
|
|
133
|
+
&::before {
|
|
134
|
+
content: "\200b";
|
|
135
|
+
padding: $kendo-table-cell-padding-y 0;
|
|
136
|
+
width: 0;
|
|
137
|
+
display: block;
|
|
138
|
+
overflow: hidden;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.k-table-th {
|
|
142
|
+
width: 100%;
|
|
143
|
+
border-color: inherit;
|
|
144
|
+
color: inherit;
|
|
145
|
+
background-color: inherit;
|
|
146
|
+
position: absolute;
|
|
147
|
+
top: 0;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.k-table-spacer-td {
|
|
152
|
+
padding: 0 !important; // sass-lint:disable-line no-important
|
|
153
|
+
width: 0 !important; // sass-lint:disable-line no-important
|
|
154
|
+
border-left-width: 0 !important; // sass-lint:disable-line no-important
|
|
155
|
+
border-right-width: 0 !important; // sass-lint:disable-line no-important
|
|
156
|
+
}
|
|
157
|
+
.k-table-group-td {
|
|
158
|
+
padding: 0 !important; // sass-lint:disable-line no-important
|
|
159
|
+
width: 0 !important; // sass-lint:disable-line no-important
|
|
160
|
+
border-left-width: 0 !important; // sass-lint:disable-line no-important
|
|
161
|
+
border-right-width: 0 !important; // sass-lint:disable-line no-important
|
|
162
|
+
overflow: visible; // sass-lint:disable-line no-important
|
|
163
|
+
|
|
164
|
+
> span {
|
|
165
|
+
font-size: .75em;
|
|
166
|
+
position: absolute;
|
|
167
|
+
top: 0;
|
|
168
|
+
right: 0;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
// Virtualization
|
|
175
|
+
.k-virtual-table .k-table-row,
|
|
176
|
+
.k-virtual-table .k-table-group-row {
|
|
177
|
+
position: absolute;
|
|
178
|
+
width: 100%;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
// Table scroller
|
|
183
|
+
.k-table-scroller {
|
|
184
|
+
position: relative;
|
|
185
|
+
overflow: auto;
|
|
186
|
+
|
|
187
|
+
> .k-table {
|
|
188
|
+
border-width: 0;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
// Table footer
|
|
194
|
+
.k-table-footer {
|
|
195
|
+
padding-inline-end: var(--kendo-scrollbar-width);
|
|
196
|
+
border-width: 1px 0 0 0;
|
|
197
|
+
border-style: solid;
|
|
198
|
+
box-sizing: border-box;
|
|
199
|
+
|
|
200
|
+
.k-table {
|
|
201
|
+
border-width: 0;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
.k-table-footer-wrap {
|
|
205
|
+
margin-right: -1px;
|
|
206
|
+
width: 100%;
|
|
207
|
+
border-width: 0 $kendo-table-cell-vertical-border-width 0 0;
|
|
208
|
+
border-style: solid;
|
|
209
|
+
border-color: inherit;
|
|
210
|
+
overflow: hidden;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
// Sizes
|
|
215
|
+
@each $size, $size-props in $kendo-table-sizes {
|
|
216
|
+
$_font-size: map-get( $size-props, font-size);
|
|
217
|
+
$_line-height: map-get( $size-props, line-height);
|
|
218
|
+
$_cell-padding-x: map-get( $size-props, cell-padding-x);
|
|
219
|
+
$_cell-padding-y: map-get( $size-props, cell-padding-y);
|
|
220
|
+
|
|
221
|
+
.k-table-#{$size} {
|
|
222
|
+
font-size: $_font-size;
|
|
223
|
+
line-height: $_line-height;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.k-table-#{$size} .k-table-th,
|
|
227
|
+
.k-table-#{$size} .k-table-td {
|
|
228
|
+
padding: $_cell-padding-y $_cell-padding-x;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.k-table-#{$size} .k-table-list .k-table-group-td > span {
|
|
232
|
+
padding: 0 ( $_cell-padding-x / 2 );
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.k-table-#{$size} .k-table-list .k-table-group-row::before {
|
|
236
|
+
padding: $_cell-padding-y 0;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
// RTL
|
|
242
|
+
.k-rtl,
|
|
243
|
+
[dir="rtl"] {
|
|
244
|
+
&.k-table,
|
|
245
|
+
.k-table {
|
|
246
|
+
text-align: right;
|
|
247
|
+
|
|
248
|
+
.k-table-th,
|
|
249
|
+
.k-table-td {
|
|
250
|
+
border-left-width: 0;
|
|
251
|
+
border-right-width: $kendo-table-cell-vertical-border-width;
|
|
252
|
+
|
|
253
|
+
&:first-child {
|
|
254
|
+
border-right-width: 0;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.k-table-header-wrap,
|
|
259
|
+
.k-table-footer-wrap {
|
|
260
|
+
margin-right: 0;
|
|
261
|
+
margin-left: -1px;
|
|
262
|
+
border-left-width: $kendo-table-cell-vertical-border-width;
|
|
263
|
+
border-right-width: 0;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.k-table-list {
|
|
268
|
+
.k-table-group-td > span {
|
|
269
|
+
left: 0;
|
|
270
|
+
right: auto;
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
@include exports( "table/theme" ) {
|
|
2
|
+
|
|
3
|
+
// Table
|
|
4
|
+
.k-table,
|
|
5
|
+
.k-data-table {
|
|
6
|
+
border-color: $kendo-table-border;
|
|
7
|
+
color: $kendo-table-text;
|
|
8
|
+
background-color: $kendo-table-bg;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
// Table header
|
|
13
|
+
.k-table-thead,
|
|
14
|
+
.k-table-header,
|
|
15
|
+
.k-table-group-sticky-header {
|
|
16
|
+
border-color: $kendo-table-header-border;
|
|
17
|
+
color: $kendo-table-header-text;
|
|
18
|
+
background-color: $kendo-table-header-bg;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
// Table footer
|
|
23
|
+
.k-table-tfoot,
|
|
24
|
+
.k-table-footer {
|
|
25
|
+
border-color: $kendo-table-footer-border;
|
|
26
|
+
color: $kendo-table-footer-text;
|
|
27
|
+
background-color: $kendo-table-footer-bg;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
// Group row
|
|
32
|
+
.k-table-group-row {
|
|
33
|
+
border-color: $kendo-table-group-row-border;
|
|
34
|
+
color: $kendo-table-group-row-text;
|
|
35
|
+
background-color: $kendo-table-group-row-bg;
|
|
36
|
+
}
|
|
37
|
+
.k-table-group-td > span {
|
|
38
|
+
color: $kendo-table-bg;
|
|
39
|
+
background-color: $kendo-table-text;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
// Alternating row
|
|
44
|
+
.k-table-alt-row {
|
|
45
|
+
border-color: $kendo-table-alt-row-border;
|
|
46
|
+
color: $kendo-table-alt-row-text;
|
|
47
|
+
background-color: $kendo-table-alt-row-bg;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
// Hover state
|
|
52
|
+
.k-table-tbody .k-table-row:hover,
|
|
53
|
+
.k-table-list .k-table-row:hover,
|
|
54
|
+
.k-table-tbody .k-table-row.k-hover,
|
|
55
|
+
.k-table-list .k-table-row.k-hover {
|
|
56
|
+
border-color: $kendo-table-hover-border;
|
|
57
|
+
color: $kendo-table-hover-text;
|
|
58
|
+
background-color: $kendo-table-hover-bg;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
// Focus state
|
|
63
|
+
.k-table-tbody .k-table-row.k-focus,
|
|
64
|
+
.k-table-list .k-table-row.k-focus,
|
|
65
|
+
.k-table-tbody .k-table-td.k-focus,
|
|
66
|
+
.k-table-list .k-table-td.k-focus {
|
|
67
|
+
border-color: $kendo-table-focus-border;
|
|
68
|
+
color: $kendo-table-focus-text;
|
|
69
|
+
background-color: $kendo-table-focus-bg;
|
|
70
|
+
box-shadow: $kendo-table-focus-shadow;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
// Selected state
|
|
75
|
+
.k-table-tbody .k-table-row.k-selected,
|
|
76
|
+
.k-table-list .k-table-row.k-selected {
|
|
77
|
+
border-color: $kendo-table-selected-border;
|
|
78
|
+
color: $kendo-table-selected-text;
|
|
79
|
+
background-color: $kendo-table-selected-bg;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
}
|