@progress/kendo-theme-default 5.0.0-next.5 → 5.0.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 +9947 -12028
- package/dist/all.scss +14875 -15317
- 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 +9 -0
- package/scss/action-sheet/_layout.scss +6 -0
- package/scss/adaptive/_layout.scss +50 -86
- package/scss/adaptive/_theme.scss +0 -9
- package/scss/all.scss +1 -154
- 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 -53
- 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 -13
- package/scss/button/_index.scss +2 -0
- package/scss/button/_layout.scss +100 -166
- package/scss/button/_theme.scss +188 -203
- package/scss/button/_variables.scss +57 -28
- 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 -0
- package/scss/card/_layout.scss +10 -53
- package/scss/card/_theme.scss +2 -1
- package/scss/card/_variables.scss +4 -4
- 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 +112 -163
- package/scss/checkbox/_theme.scss +6 -4
- package/scss/checkbox/_variables.scss +65 -74
- 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/_layout.scss +51 -8
- package/scss/color-preview/_theme.scss +1 -15
- package/scss/color-preview/_variables.scss +1 -0
- package/scss/coloreditor/_layout.scss +11 -1
- package/scss/coloreditor/_variables.scss +3 -3
- package/scss/colorgradient/_layout.scss +13 -4
- package/scss/colorpalette/_layout.scss +6 -0
- package/scss/colorpicker/_index.scss +1 -2
- package/scss/colorpicker/_layout.scss +7 -130
- package/scss/colorpicker/_theme.scss +2 -64
- package/scss/colorpicker/_variables.scss +1 -22
- package/scss/combobox/_index.scss +1 -0
- package/scss/combobox/_layout.scss +3 -83
- package/scss/combobox/_theme.scss +3 -124
- package/scss/combobox/_variables.scss +1 -33
- package/scss/common/_base.scss +1 -0
- package/scss/common/_loading.scss +15 -13
- package/scss/core/_normalize.scss +0 -11
- package/scss/core/functions/_colors.scss +4 -1
- package/scss/core/mixins/_index.scss +1 -0
- package/scss/core/mixins/_module-system.scss +149 -0
- package/scss/dataviz/_index.scss +1 -0
- 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 +39 -0
- package/scss/daterangepicker/_theme.scss +3 -0
- package/scss/daterangepicker/_variables.scss +1 -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 -100
- package/scss/dropdownlist/_theme.scss +3 -91
- package/scss/dropdowntree/_layout.scss +5 -14
- 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 +105 -72
- package/scss/editor/_theme.scss +9 -0
- package/scss/editor/_variables.scss +8 -0
- 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 -58
- package/scss/fab/_theme.scss +43 -48
- package/scss/fab/_variables.scss +129 -72
- 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 -0
- package/scss/forms/_index.scss +1 -1
- package/scss/forms/_layout.scss +18 -96
- package/scss/gantt/_index.scss +1 -1
- package/scss/gantt/_layout.scss +6 -4
- package/scss/grid/_index.scss +2 -1
- package/scss/grid/_layout.scss +144 -162
- package/scss/grid/_theme.scss +14 -20
- package/scss/grid/_variables.scss +10 -10
- package/scss/icons/_layout.scss +6 -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 +249 -27
- package/scss/input/_theme.scss +82 -2
- package/scss/input/_variables.scss +80 -58
- 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 +24 -0
- package/scss/maskedtextbox/_layout.scss +1 -1
- package/scss/maskedtextbox/_theme.scss +1 -1
- 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 +6 -2
- package/scss/numerictextbox/_theme.scss +1 -1
- package/scss/numerictextbox/_variables.scss +1 -1
- 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 +10 -11
- package/scss/pager/_theme.scss +4 -4
- package/scss/pager/_variables.scss +6 -6
- package/scss/panelbar/_index.scss +1 -0
- package/scss/panelbar/_layout.scss +6 -53
- package/scss/panelbar/_theme.scss +9 -2
- package/scss/panelbar/_variables.scss +6 -2
- package/scss/pdf-viewer/_layout.scss +23 -16
- 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 -248
- 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 +123 -165
- package/scss/radio/_theme.scss +4 -4
- package/scss/radio/_variables.scss +70 -91
- 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/scrollview/_layout.scss +6 -1
- package/scss/skeleton/_layout.scss +1 -1
- package/scss/slider/_layout.scss +67 -137
- package/scss/slider/_theme.scss +0 -6
- package/scss/spreadsheet/_index.scss +2 -1
- package/scss/spreadsheet/_layout.scss +35 -36
- package/scss/spreadsheet/_theme.scss +6 -6
- package/scss/stepper/_layout.scss +6 -1
- package/scss/switch/_layout.scss +64 -53
- package/scss/switch/_theme.scss +73 -75
- package/scss/switch/_variables.scss +107 -169
- 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 -3
- package/scss/taskboard/_variables.scss +0 -2
- package/scss/textarea/_layout.scss +3 -1
- package/scss/timeline/_layout.scss +8 -4
- 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 +45 -3
- package/scss/toolbar/_theme.scss +41 -7
- package/scss/toolbar/_variables.scss +2 -0
- 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 +1 -2
- package/scss/utils/_flex.scss +11 -3
- 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 +13 -2
- package/scss/window/_variables.scss +1 -1
- package/scss/wizard/_layout.scss +4 -0
- package/scss/datetime/_layout.scss +0 -525
- package/scss/datetime/_theme.scss +0 -297
- package/scss/datetime/_variables.scss +0 -53
- package/scss/no-flexbox.scss +0 -71
|
@@ -2,14 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
/// Font family of the switch.
|
|
4
4
|
/// @group switch
|
|
5
|
-
$kendo-switch-font-family:
|
|
6
|
-
/// Line height of the switch.
|
|
7
|
-
/// @group switch
|
|
8
|
-
$kendo-switch-line-height: $line-height !default;
|
|
5
|
+
$kendo-switch-font-family: null !default;
|
|
9
6
|
|
|
10
7
|
/// Border width of the switch track.
|
|
11
8
|
/// @group switch
|
|
12
|
-
$kendo-switch-track-border-width:
|
|
9
|
+
$kendo-switch-track-border-width: 1px !default;
|
|
13
10
|
|
|
14
11
|
/// Border width of the switch thumb.
|
|
15
12
|
/// @group switch
|
|
@@ -25,229 +22,170 @@ $kendo-switch-label-display: inline !default;
|
|
|
25
22
|
/// Map with the different switch sizes.
|
|
26
23
|
/// @group switch
|
|
27
24
|
$kendo-switch-sizes: (
|
|
28
|
-
sm:
|
|
29
|
-
md: 60px,
|
|
30
|
-
lg:
|
|
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 )
|
|
31
28
|
) !default;
|
|
32
29
|
|
|
33
|
-
///
|
|
30
|
+
/// The background of the track when the switch is not checked.
|
|
34
31
|
/// @group switch
|
|
35
|
-
$kendo-switch-
|
|
36
|
-
|
|
37
|
-
md: $font-size-xs,
|
|
38
|
-
lg: $font-size-sm
|
|
39
|
-
) !default;
|
|
40
|
-
|
|
41
|
-
/// Map with the horizontal padding of the switch track for the different switch sizes.
|
|
32
|
+
$kendo-switch-off-track-bg: $component-bg !default;
|
|
33
|
+
/// The text color of the track when the switch is not checked.
|
|
42
34
|
/// @group switch
|
|
43
|
-
$kendo-switch-track-
|
|
44
|
-
|
|
45
|
-
md: 0px,
|
|
46
|
-
lg: 0px
|
|
47
|
-
) !default;
|
|
48
|
-
|
|
49
|
-
/// Map with the vertical padding of the switch track for the different switch sizes.
|
|
35
|
+
$kendo-switch-off-track-text: $component-text !default;
|
|
36
|
+
/// The border color of the track when the switch is not checked.
|
|
50
37
|
/// @group switch
|
|
51
|
-
$kendo-switch-track-
|
|
52
|
-
|
|
53
|
-
md: 0px,
|
|
54
|
-
lg: 0px
|
|
55
|
-
) !default;
|
|
56
|
-
|
|
57
|
-
/// Map with the height difference of the switch track for the different switch sizes.
|
|
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.
|
|
58
40
|
/// @group switch
|
|
59
|
-
$kendo-switch-track-
|
|
60
|
-
sm: 0px,
|
|
61
|
-
md: 0px,
|
|
62
|
-
lg: 0px
|
|
63
|
-
) !default;
|
|
64
|
-
|
|
65
|
-
/// Map with the different switch thumb sizes.
|
|
66
|
-
/// @group switch
|
|
67
|
-
$kendo-switch-thumb-sizes: (
|
|
68
|
-
sm: 20px,
|
|
69
|
-
md: 30px,
|
|
70
|
-
lg: 40px
|
|
71
|
-
) !default;
|
|
72
|
-
|
|
73
|
-
/// Map with the offset of the switch thumb for the different switch sizes.
|
|
74
|
-
/// @group switch
|
|
75
|
-
$kendo-switch-thumb-offset-sizes: (
|
|
76
|
-
sm: 0px,
|
|
77
|
-
md: 0px,
|
|
78
|
-
lg: 0px
|
|
79
|
-
) !default;
|
|
80
|
-
|
|
81
|
-
/// Map with the offset of the switch label for the different switch sizes.
|
|
82
|
-
/// @group switch
|
|
83
|
-
$kendo-switch-label-offset-sizes: (
|
|
84
|
-
sm: 6px,
|
|
85
|
-
md: 8px,
|
|
86
|
-
lg: 10px
|
|
87
|
-
) !default;
|
|
41
|
+
$kendo-switch-off-track-gradient: null !default;
|
|
88
42
|
|
|
89
|
-
///
|
|
43
|
+
/// The background of the track when the hovered switch is not checked.
|
|
90
44
|
/// @group switch
|
|
91
|
-
$kendo-switch-
|
|
92
|
-
|
|
93
|
-
md: calc( 100% - (#{map-get( $kendo-switch-thumb-sizes, "md" )} + #{map-get( $kendo-switch-label-offset-sizes, "md" )} + #{map-get( $kendo-switch-track-padding-x-sizes, "md" )} ) ),
|
|
94
|
-
lg: calc( 100% - (#{map-get( $kendo-switch-thumb-sizes, "lg" )} + #{map-get( $kendo-switch-label-offset-sizes, "lg" )} + #{map-get( $kendo-switch-track-padding-x-sizes, "lg" )} ) )
|
|
95
|
-
) !default;
|
|
96
|
-
|
|
97
|
-
/// The shadow of the switch track.
|
|
45
|
+
$kendo-switch-off-track-hover-bg: null !default;
|
|
46
|
+
/// The text color of the track when the hovered switch is not checked.
|
|
98
47
|
/// @group switch
|
|
99
|
-
$kendo-switch-track-
|
|
100
|
-
/// The
|
|
48
|
+
$kendo-switch-off-track-hover-text: null !default;
|
|
49
|
+
/// The border color of the track when the hovered switch is not checked.
|
|
101
50
|
/// @group switch
|
|
102
|
-
$kendo-switch-track-hover-
|
|
103
|
-
/// The
|
|
51
|
+
$kendo-switch-off-track-hover-border: null !default;
|
|
52
|
+
/// The background gradient of the track when the hovered switch is not checked.
|
|
104
53
|
/// @group switch
|
|
105
|
-
$kendo-switch-track-
|
|
54
|
+
$kendo-switch-off-track-hover-gradient: null !default;
|
|
106
55
|
|
|
107
|
-
/// The background of the
|
|
56
|
+
/// The background of the track when the focused switch is not checked.
|
|
108
57
|
/// @group switch
|
|
109
|
-
$kendo-switch-
|
|
110
|
-
/// The text color of the
|
|
58
|
+
$kendo-switch-off-track-focus-bg: null !default;
|
|
59
|
+
/// The text color of the track when the focused switch is not checked.
|
|
111
60
|
/// @group switch
|
|
112
|
-
$kendo-switch-
|
|
113
|
-
/// The border color of the
|
|
61
|
+
$kendo-switch-off-track-focus-text: null !default;
|
|
62
|
+
/// The border color of the track when the focused switch is not checked.
|
|
114
63
|
/// @group switch
|
|
115
|
-
$kendo-switch-
|
|
116
|
-
/// The background gradient of the
|
|
64
|
+
$kendo-switch-off-track-focus-border: null !default;
|
|
65
|
+
/// The background gradient of the track when the focused switch is not checked.
|
|
117
66
|
/// @group switch
|
|
118
|
-
$kendo-switch-
|
|
119
|
-
/// The
|
|
67
|
+
$kendo-switch-off-track-focus-gradient: null !default;
|
|
68
|
+
/// The ring around the track when the focused switch is not checked.
|
|
120
69
|
/// @group switch
|
|
121
|
-
$kendo-switch-
|
|
70
|
+
$kendo-switch-off-track-focus-ring: 2px solid rgba( if( $dark-theme, $white, $black ) , .08 ) !default;
|
|
122
71
|
|
|
123
|
-
/// The background of the
|
|
72
|
+
/// The background of the track when the disabled switch is not checked.
|
|
124
73
|
/// @group switch
|
|
125
|
-
$kendo-switch-
|
|
126
|
-
/// The text color of the
|
|
74
|
+
$kendo-switch-off-track-disabled-bg: null !default;
|
|
75
|
+
/// The text color of the track when the disabled switch is not checked.
|
|
127
76
|
/// @group switch
|
|
128
|
-
$kendo-switch-
|
|
129
|
-
/// The border color of the
|
|
77
|
+
$kendo-switch-off-track-disabled-text: null !default;
|
|
78
|
+
/// The border color of the track when the disabled switch is not checked.
|
|
130
79
|
/// @group switch
|
|
131
|
-
$kendo-switch-
|
|
132
|
-
/// The background gradient of the
|
|
80
|
+
$kendo-switch-off-track-disabled-border: null !default;
|
|
81
|
+
/// The background gradient of the track when the disabled switch is not checked.
|
|
133
82
|
/// @group switch
|
|
134
|
-
$kendo-switch-
|
|
83
|
+
$kendo-switch-off-track-disabled-gradient: null !default;
|
|
135
84
|
|
|
136
|
-
/// The background of the
|
|
137
|
-
/// @group switch
|
|
138
|
-
$kendo-switch-on-focus-bg: null !default;
|
|
139
|
-
/// The text color of the focused switch when checked.
|
|
85
|
+
/// The background of the thumb when the switch is not checked.
|
|
140
86
|
/// @group switch
|
|
141
|
-
$kendo-switch-
|
|
142
|
-
/// The
|
|
87
|
+
$kendo-switch-off-thumb-bg: $base-bg !default;
|
|
88
|
+
/// The text color of the thumb when the switch is not checked.
|
|
143
89
|
/// @group switch
|
|
144
|
-
$kendo-switch-
|
|
145
|
-
/// The
|
|
90
|
+
$kendo-switch-off-thumb-text: $base-text !default;
|
|
91
|
+
/// The border color of the thumb when the switch is not checked.
|
|
146
92
|
/// @group switch
|
|
147
|
-
$kendo-switch-
|
|
148
|
-
/// The
|
|
93
|
+
$kendo-switch-off-thumb-border: $base-border !default;
|
|
94
|
+
/// The background gradient of the thumb when the switch is not checked.
|
|
149
95
|
/// @group switch
|
|
150
|
-
$kendo-switch-
|
|
96
|
+
$kendo-switch-off-thumb-gradient: null !default;
|
|
151
97
|
|
|
152
|
-
/// The background of the thumb when the switch is checked.
|
|
153
|
-
/// @group switch
|
|
154
|
-
$kendo-switch-on-thumb-bg: darken( white, 5 ) !default;
|
|
155
|
-
/// The text color of the thumb when the switch is checked.
|
|
98
|
+
/// The background of the thumb when the hovered switch is not checked.
|
|
156
99
|
/// @group switch
|
|
157
|
-
$kendo-switch-
|
|
158
|
-
/// The
|
|
100
|
+
$kendo-switch-off-thumb-hover-bg: null !default;
|
|
101
|
+
/// The text color of the thumb when the hovered switch is not checked.
|
|
159
102
|
/// @group switch
|
|
160
|
-
$kendo-switch-
|
|
161
|
-
/// The
|
|
103
|
+
$kendo-switch-off-thumb-hover-text: null !default;
|
|
104
|
+
/// The border color of the thumb when the hovered switch is not checked.
|
|
162
105
|
/// @group switch
|
|
163
|
-
$kendo-switch-
|
|
164
|
-
/// The
|
|
106
|
+
$kendo-switch-off-thumb-hover-border: null !default;
|
|
107
|
+
/// The background gradient of the thumb when the hovered switch is not checked.
|
|
165
108
|
/// @group switch
|
|
166
|
-
$kendo-switch-
|
|
109
|
+
$kendo-switch-off-thumb-hover-gradient: null !default;
|
|
167
110
|
|
|
168
|
-
|
|
111
|
+
|
|
112
|
+
/// The background of the track when the switch is checked.
|
|
169
113
|
/// @group switch
|
|
170
|
-
$kendo-switch-on-
|
|
171
|
-
/// The text color of the
|
|
114
|
+
$kendo-switch-on-track-bg: $primary !default;
|
|
115
|
+
/// The text color of the track when the switch is checked.
|
|
172
116
|
/// @group switch
|
|
173
|
-
$kendo-switch-on-
|
|
174
|
-
/// The border color of the
|
|
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.
|
|
175
119
|
/// @group switch
|
|
176
|
-
$kendo-switch-on-
|
|
177
|
-
/// The background gradient of the
|
|
120
|
+
$kendo-switch-on-track-border: $kendo-switch-on-track-bg !default;
|
|
121
|
+
/// The background gradient of the track when the switch is checked.
|
|
178
122
|
/// @group switch
|
|
179
|
-
$kendo-switch-on-
|
|
123
|
+
$kendo-switch-on-track-gradient: null !default;
|
|
180
124
|
|
|
181
|
-
/// The background of the
|
|
125
|
+
/// The background of the track when the hovered switch is checked.
|
|
182
126
|
/// @group switch
|
|
183
|
-
$kendo-switch-
|
|
184
|
-
/// The text color of the
|
|
127
|
+
$kendo-switch-on-track-hover-bg: null !default;
|
|
128
|
+
/// The text color of the track when the hovered switch is checked.
|
|
185
129
|
/// @group switch
|
|
186
|
-
$kendo-switch-
|
|
187
|
-
/// The border color of the
|
|
130
|
+
$kendo-switch-on-track-hover-text: null !default;
|
|
131
|
+
/// The border color of the track when the hovered switch is checked.
|
|
188
132
|
/// @group switch
|
|
189
|
-
$kendo-switch-
|
|
190
|
-
/// The background gradient of the
|
|
133
|
+
$kendo-switch-on-track-hover-border: null !default;
|
|
134
|
+
/// The background gradient of the track when the hovered switch is checked.
|
|
191
135
|
/// @group switch
|
|
192
|
-
$kendo-switch-
|
|
193
|
-
/// The shadow of the switch when not checked.
|
|
194
|
-
/// @group switch
|
|
195
|
-
$kendo-switch-off-shadow: null !default;
|
|
136
|
+
$kendo-switch-on-track-hover-gradient: null !default;
|
|
196
137
|
|
|
197
|
-
/// The background of the
|
|
138
|
+
/// The background of the track when the focused switch is checked.
|
|
198
139
|
/// @group switch
|
|
199
|
-
$kendo-switch-
|
|
200
|
-
/// The text color of the
|
|
140
|
+
$kendo-switch-on-track-focus-bg: null !default;
|
|
141
|
+
/// The text color of the track when the focused switch is checked.
|
|
201
142
|
/// @group switch
|
|
202
|
-
$kendo-switch-
|
|
203
|
-
/// The border color of the
|
|
143
|
+
$kendo-switch-on-track-focus-text: null !default;
|
|
144
|
+
/// The border color of the track when the focused switch is checked.
|
|
204
145
|
/// @group switch
|
|
205
|
-
$kendo-switch-
|
|
206
|
-
/// The background gradient of the
|
|
146
|
+
$kendo-switch-on-track-focus-border: null !default;
|
|
147
|
+
/// The background gradient of the track when the focused switch is checked.
|
|
207
148
|
/// @group switch
|
|
208
|
-
$kendo-switch-
|
|
209
|
-
|
|
210
|
-
/// The background of the focused switch when not checked.
|
|
149
|
+
$kendo-switch-on-track-focus-gradient: null !default;
|
|
150
|
+
/// The ring around the track when the focused switch is checked.
|
|
211
151
|
/// @group switch
|
|
212
|
-
$kendo-switch-
|
|
213
|
-
|
|
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.
|
|
214
155
|
/// @group switch
|
|
215
|
-
$kendo-switch-
|
|
216
|
-
/// The
|
|
156
|
+
$kendo-switch-on-track-disabled-bg: null !default;
|
|
157
|
+
/// The text color of the track when the disabled switch is checked.
|
|
217
158
|
/// @group switch
|
|
218
|
-
$kendo-switch-
|
|
219
|
-
/// The
|
|
159
|
+
$kendo-switch-on-track-disabled-text: null !default;
|
|
160
|
+
/// The border color of the track when the disabled switch is checked.
|
|
220
161
|
/// @group switch
|
|
221
|
-
$kendo-switch-
|
|
222
|
-
/// The
|
|
162
|
+
$kendo-switch-on-track-disabled-border: null !default;
|
|
163
|
+
/// The background gradient of the track when the disabled switch is checked.
|
|
223
164
|
/// @group switch
|
|
224
|
-
$kendo-switch-
|
|
165
|
+
$kendo-switch-on-track-disabled-gradient: null !default;
|
|
225
166
|
|
|
226
|
-
/// The background of the thumb when the switch is
|
|
227
|
-
/// @group switch
|
|
228
|
-
$kendo-switch-off-thumb-bg: $kendo-switch-on-thumb-bg !default;
|
|
229
|
-
/// The text color of the thumb when the switch is not checked.
|
|
167
|
+
/// The background of the thumb when the switch is checked.
|
|
230
168
|
/// @group switch
|
|
231
|
-
$kendo-switch-
|
|
232
|
-
/// The
|
|
169
|
+
$kendo-switch-on-thumb-bg: $base-bg !default;
|
|
170
|
+
/// The text color of the thumb when the switch is checked.
|
|
233
171
|
/// @group switch
|
|
234
|
-
$kendo-switch-
|
|
235
|
-
/// The
|
|
172
|
+
$kendo-switch-on-thumb-text: $base-text !default;
|
|
173
|
+
/// The border color of the thumb when the switch is checked.
|
|
236
174
|
/// @group switch
|
|
237
|
-
$kendo-switch-
|
|
238
|
-
/// The
|
|
175
|
+
$kendo-switch-on-thumb-border: $base-border !default;
|
|
176
|
+
/// The background gradient of the thumb when the switch is checked.
|
|
239
177
|
/// @group switch
|
|
240
|
-
$kendo-switch-
|
|
178
|
+
$kendo-switch-on-thumb-gradient: null !default;
|
|
241
179
|
|
|
242
|
-
/// The background of the thumb when the hovered switch is
|
|
180
|
+
/// The background of the thumb when the hovered switch is checked.
|
|
243
181
|
/// @group switch
|
|
244
|
-
$kendo-switch-
|
|
245
|
-
/// The text color of the thumb when the hovered switch is
|
|
182
|
+
$kendo-switch-on-thumb-hover-bg: null !default;
|
|
183
|
+
/// The text color of the thumb when the hovered switch is checked.
|
|
246
184
|
/// @group switch
|
|
247
|
-
$kendo-switch-
|
|
248
|
-
/// The border color of the thumb when the hovered switch is
|
|
185
|
+
$kendo-switch-on-thumb-hover-text: null !default;
|
|
186
|
+
/// The border color of the thumb when the hovered switch is checked.
|
|
249
187
|
/// @group switch
|
|
250
|
-
$kendo-switch-
|
|
251
|
-
/// The background gradient of the thumb when the hovered switch is
|
|
188
|
+
$kendo-switch-on-thumb-hover-border: null !default;
|
|
189
|
+
/// The background gradient of the thumb when the hovered switch is checked.
|
|
252
190
|
/// @group switch
|
|
253
|
-
$kendo-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
|
+
}
|