@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.
Files changed (286) hide show
  1. package/README.md +5 -8
  2. package/dist/all.css +13661 -14454
  3. package/dist/all.scss +15431 -16146
  4. package/dist/default-dataviz-v4.scss +8 -0
  5. package/dist/default-main-dark.scss +5 -5
  6. package/dist/default-main.scss +5 -5
  7. package/lib/swatches/default-dataviz-v4.json +51 -0
  8. package/lib/swatches/default-main-dark.json +5 -5
  9. package/lib/swatches/default-main.json +5 -5
  10. package/package.json +2 -2
  11. package/scss/_layout.scss +0 -0
  12. package/scss/_variables.scss +2 -19
  13. package/scss/action-buttons/_layout.scss +18 -1
  14. package/scss/action-sheet/_layout.scss +6 -0
  15. package/scss/adaptive/_layout.scss +46 -98
  16. package/scss/adaptive/_theme.scss +0 -9
  17. package/scss/all.scss +1 -150
  18. package/scss/appbar/_layout.scss +28 -3
  19. package/scss/appbar/_variables.scss +1 -1
  20. package/scss/autocomplete/_index.scss +1 -0
  21. package/scss/autocomplete/_layout.scss +1 -54
  22. package/scss/autocomplete/_theme.scss +3 -75
  23. package/scss/autocomplete/_variables.scss +0 -24
  24. package/scss/avatar/_layout.scss +19 -17
  25. package/scss/avatar/_theme.scss +4 -4
  26. package/scss/avatar/_variables.scss +18 -8
  27. package/scss/avatar/index.md +0 -0
  28. package/scss/badge/_layout.scss +6 -0
  29. package/scss/bottom-navigation/_layout.scss +6 -0
  30. package/scss/breadcrumb/_layout.scss +6 -18
  31. package/scss/button/_index.scss +3 -1
  32. package/scss/button/_layout.scss +153 -231
  33. package/scss/button/_theme.scss +220 -236
  34. package/scss/button/_variables.scss +199 -127
  35. package/scss/button/index.md +3 -0
  36. package/scss/calendar/_index.scss +1 -0
  37. package/scss/calendar/_layout.scss +2 -14
  38. package/scss/calendar/_theme.scss +1 -19
  39. package/scss/captcha/_layout.scss +6 -5
  40. package/scss/card/_layout.scss +10 -72
  41. package/scss/card/_theme.scss +2 -1
  42. package/scss/card/_variables.scss +5 -5
  43. package/scss/chat/_layout.scss +35 -32
  44. package/scss/chat/_theme.scss +0 -31
  45. package/scss/chat/_variables.scss +3 -18
  46. package/scss/checkbox/_index.scss +2 -0
  47. package/scss/checkbox/_layout.scss +103 -158
  48. package/scss/checkbox/_theme.scss +37 -41
  49. package/scss/checkbox/_variables.scss +144 -56
  50. package/scss/checkbox/index.md +0 -0
  51. package/scss/chip/_index.scss +1 -0
  52. package/scss/chip/_layout.scss +127 -127
  53. package/scss/chip/_theme.scss +90 -387
  54. package/scss/chip/_variables.scss +142 -191
  55. package/scss/chip/index.md +0 -0
  56. package/scss/color-preview/_index.scss +11 -0
  57. package/scss/color-preview/_layout.scss +77 -0
  58. package/scss/color-preview/_theme.scss +17 -0
  59. package/scss/color-preview/_variables.scss +14 -0
  60. package/scss/coloreditor/_index.scss +15 -0
  61. package/scss/coloreditor/_layout.scss +75 -0
  62. package/scss/coloreditor/_theme.scss +19 -0
  63. package/scss/coloreditor/_variables.scss +27 -0
  64. package/scss/colorgradient/_index.scss +18 -0
  65. package/scss/colorgradient/_layout.scss +193 -0
  66. package/scss/colorgradient/_theme.scss +82 -0
  67. package/scss/colorgradient/_variables.scss +51 -0
  68. package/scss/colorgradient/images/alpha-slider-bgr.png +0 -0
  69. package/scss/colorgradient/images/alpha-slider-bgr.scss +3 -0
  70. package/scss/colorpalette/_index.scss +12 -0
  71. package/scss/colorpalette/_layout.scss +56 -0
  72. package/scss/colorpalette/_theme.scss +25 -0
  73. package/scss/colorpalette/_variables.scss +10 -0
  74. package/scss/colorpicker/_index.scss +3 -6
  75. package/scss/colorpicker/_layout.scss +7 -466
  76. package/scss/colorpicker/_theme.scss +2 -187
  77. package/scss/colorpicker/_variables.scss +1 -40
  78. package/scss/combobox/_index.scss +1 -0
  79. package/scss/combobox/_layout.scss +3 -84
  80. package/scss/combobox/_theme.scss +3 -124
  81. package/scss/combobox/_variables.scss +1 -33
  82. package/scss/common/_base.scss +2 -2
  83. package/scss/common/_loading.scss +15 -13
  84. package/scss/core/functions/_colors.scss +4 -1
  85. package/scss/core/mixins/_index.scss +1 -0
  86. package/scss/core/mixins/_input-ripple.scss +1 -1
  87. package/scss/core/mixins/_module-system.scss +149 -0
  88. package/scss/dataviz/_index.scss +1 -0
  89. package/scss/dataviz/_theme.scss +8 -8
  90. package/scss/dataviz/_variables.scss +6 -6
  91. package/scss/dateinput/_index.scss +11 -0
  92. package/scss/dateinput/_layout.scss +6 -0
  93. package/scss/dateinput/_theme.scss +6 -0
  94. package/scss/dateinput/_variables.scss +1 -0
  95. package/scss/datepicker/_index.scss +13 -0
  96. package/scss/datepicker/_layout.scss +6 -0
  97. package/scss/datepicker/_theme.scss +6 -0
  98. package/scss/datepicker/_variables.scss +1 -0
  99. package/scss/{datetime → daterangepicker}/_index.scss +1 -2
  100. package/scss/daterangepicker/_layout.scss +43 -0
  101. package/scss/daterangepicker/_theme.scss +3 -0
  102. package/scss/daterangepicker/_variables.scss +2 -0
  103. package/scss/datetimepicker/_index.scss +17 -0
  104. package/scss/datetimepicker/_layout.scss +56 -0
  105. package/scss/datetimepicker/_theme.scss +6 -0
  106. package/scss/datetimepicker/_variables.scss +2 -0
  107. package/scss/drawer/_index.scss +1 -0
  108. package/scss/drawer/_layout.scss +6 -0
  109. package/scss/drawer/_variables.scss +1 -1
  110. package/scss/dropdowngrid/_layout.scss +9 -4
  111. package/scss/dropdowngrid/_theme.scss +9 -2
  112. package/scss/dropdowngrid/index.md +0 -0
  113. package/scss/dropdownlist/_index.scss +1 -0
  114. package/scss/dropdownlist/_layout.scss +20 -101
  115. package/scss/dropdownlist/_theme.scss +3 -91
  116. package/scss/dropdownlist/_variables.scss +9 -9
  117. package/scss/dropdowntree/_layout.scss +5 -15
  118. package/scss/dropdowntree/_theme.scss +2 -1
  119. package/scss/dropdowntree/_variables.scss +2 -4
  120. package/scss/dropzone/_layout.scss +0 -16
  121. package/scss/editor/_layout.scss +110 -91
  122. package/scss/editor/_theme.scss +9 -0
  123. package/scss/editor/_variables.scss +10 -2
  124. package/scss/expansion-panel/_index.scss +1 -0
  125. package/scss/expansion-panel/_layout.scss +6 -1
  126. package/scss/expansion-panel/_variables.scss +2 -2
  127. package/scss/fab/_layout.scss +30 -56
  128. package/scss/fab/_theme.scss +56 -68
  129. package/scss/fab/_variables.scss +129 -71
  130. package/scss/fab/index.md +0 -0
  131. package/scss/filemanager/_theme.scss +1 -1
  132. package/scss/filter/_index.scss +1 -1
  133. package/scss/filter/_layout.scss +20 -6
  134. package/scss/filter/_theme.scss +3 -1
  135. package/scss/floating-label/_layout.scss +7 -3
  136. package/scss/floating-label/_theme.scss +0 -2
  137. package/scss/floating-label/_variables.scss +4 -4
  138. package/scss/forms/_index.scss +1 -1
  139. package/scss/forms/_layout.scss +22 -113
  140. package/scss/gantt/_index.scss +1 -1
  141. package/scss/gantt/_layout.scss +9 -7
  142. package/scss/grid/_index.scss +2 -1
  143. package/scss/grid/_layout.scss +157 -195
  144. package/scss/grid/_theme.scss +16 -22
  145. package/scss/grid/_variables.scss +10 -12
  146. package/scss/icons/_layout.scss +7 -1
  147. package/scss/icons/font/WebComponentsIcons.scss +1 -1
  148. package/scss/icons/font/WebComponentsIcons.ttf +0 -0
  149. package/scss/imageeditor/_layout.scss +10 -8
  150. package/scss/imageeditor/_variables.scss +1 -0
  151. package/scss/index.scss +157 -0
  152. package/scss/input/_index.scss +1 -1
  153. package/scss/input/_layout.scss +294 -94
  154. package/scss/input/_theme.scss +111 -16
  155. package/scss/input/_variables.scss +116 -92
  156. package/scss/list/_index.scss +12 -0
  157. package/scss/list/_layout.scss +241 -0
  158. package/scss/list/_theme.scss +91 -0
  159. package/scss/list/_variables.scss +248 -0
  160. package/scss/list/index.md +0 -0
  161. package/scss/listbox/_index.scss +2 -0
  162. package/scss/listbox/_layout.scss +10 -0
  163. package/scss/listbox/_variables.scss +1 -1
  164. package/scss/listview/_layout.scss +2 -9
  165. package/scss/map/_layout.scss +16 -11
  166. package/scss/map/_theme.scss +5 -5
  167. package/scss/map/_variables.scss +1 -1
  168. package/scss/maskedtextbox/_layout.scss +3 -47
  169. package/scss/maskedtextbox/_theme.scss +3 -21
  170. package/scss/mediaplayer/_layout.scss +19 -1
  171. package/scss/menu/_index.scss +2 -0
  172. package/scss/menu/_layout.scss +134 -74
  173. package/scss/menu/_theme.scss +33 -25
  174. package/scss/menu/_variables.scss +124 -35
  175. package/scss/multiselect/_index.scss +2 -0
  176. package/scss/multiselect/_layout.scss +3 -199
  177. package/scss/multiselect/_theme.scss +3 -139
  178. package/scss/multiselect/_variables.scss +0 -36
  179. package/scss/notification/_layout.scss +6 -22
  180. package/scss/numerictextbox/_layout.scss +5 -103
  181. package/scss/numerictextbox/_theme.scss +2 -95
  182. package/scss/numerictextbox/_variables.scss +0 -31
  183. package/scss/orgchart/_layout.scss +6 -0
  184. package/scss/orgchart/_variables.scss +2 -2
  185. package/scss/pager/_index.scss +1 -0
  186. package/scss/pager/_layout.scss +13 -14
  187. package/scss/pager/_theme.scss +4 -4
  188. package/scss/pager/_variables.scss +7 -7
  189. package/scss/panelbar/_index.scss +1 -0
  190. package/scss/panelbar/_layout.scss +6 -54
  191. package/scss/panelbar/_theme.scss +9 -2
  192. package/scss/panelbar/_variables.scss +6 -2
  193. package/scss/pdf-viewer/_layout.scss +20 -29
  194. package/scss/pdf-viewer/_variables.scss +2 -5
  195. package/scss/pivotgrid/_index.scss +1 -0
  196. package/scss/pivotgrid/_layout.scss +77 -108
  197. package/scss/pivotgrid/_theme.scss +39 -73
  198. package/scss/pivotgrid/_variables.scss +1 -4
  199. package/scss/popover/_layout.scss +6 -1
  200. package/scss/popup/_index.scss +0 -4
  201. package/scss/popup/_layout.scss +6 -283
  202. package/scss/popup/_theme.scss +2 -159
  203. package/scss/popup/_variables.scss +2 -7
  204. package/scss/progressbar/_layout.scss +6 -0
  205. package/scss/radio/_index.scss +2 -0
  206. package/scss/radio/_layout.scss +116 -143
  207. package/scss/radio/_theme.scss +25 -25
  208. package/scss/radio/_variables.scss +134 -52
  209. package/scss/radio/index.md +0 -0
  210. package/scss/rating/_layout.scss +6 -9
  211. package/scss/scheduler/_index.scss +1 -1
  212. package/scss/scheduler/_layout.scss +32 -13
  213. package/scss/scheduler/_theme.scss +1 -1
  214. package/scss/scrollview/_layout.scss +6 -1
  215. package/scss/scrollview/_variables.scss +4 -4
  216. package/scss/searchbox/_layout.scss +1 -18
  217. package/scss/searchbox/_theme.scss +1 -46
  218. package/scss/searchbox/_variables.scss +0 -20
  219. package/scss/skeleton/_layout.scss +1 -1
  220. package/scss/slider/_layout.scss +67 -156
  221. package/scss/slider/_theme.scss +0 -10
  222. package/scss/slider/_variables.scss +10 -10
  223. package/scss/spreadsheet/_index.scss +2 -1
  224. package/scss/spreadsheet/_layout.scss +37 -62
  225. package/scss/spreadsheet/_theme.scss +19 -19
  226. package/scss/stepper/_layout.scss +6 -1
  227. package/scss/switch/_index.scss +0 -2
  228. package/scss/switch/_layout.scss +99 -83
  229. package/scss/switch/_theme.scss +91 -93
  230. package/scss/switch/_variables.scss +190 -83
  231. package/scss/switch/index.md +0 -0
  232. package/scss/table/_index.scss +19 -0
  233. package/scss/table/_layout.scss +275 -0
  234. package/scss/table/_theme.scss +82 -0
  235. package/scss/table/_variables.scss +141 -0
  236. package/scss/tabstrip/_index.scss +1 -0
  237. package/scss/tabstrip/_layout.scss +37 -5
  238. package/scss/tabstrip/_theme.scss +1 -0
  239. package/scss/tabstrip/_variables.scss +3 -3
  240. package/scss/taskboard/_layout.scss +8 -7
  241. package/scss/taskboard/_variables.scss +0 -2
  242. package/scss/textarea/_layout.scss +1 -89
  243. package/scss/textarea/_theme.scss +1 -66
  244. package/scss/textarea/_variables.scss +0 -53
  245. package/scss/textbox/_layout.scss +1 -73
  246. package/scss/textbox/_theme.scss +1 -70
  247. package/scss/textbox/_variables.scss +1 -2
  248. package/scss/timeline/_layout.scss +8 -4
  249. package/scss/timeline/_variables.scss +7 -7
  250. package/scss/timepicker/_index.scss +15 -0
  251. package/scss/timepicker/_layout.scss +6 -0
  252. package/scss/timepicker/_theme.scss +6 -0
  253. package/scss/timepicker/_variables.scss +1 -0
  254. package/scss/timeselector/_index.scss +13 -0
  255. package/scss/timeselector/_layout.scss +208 -0
  256. package/scss/timeselector/_theme.scss +70 -0
  257. package/scss/timeselector/_variables.scss +32 -0
  258. package/scss/toolbar/_index.scss +1 -0
  259. package/scss/toolbar/_layout.scss +47 -5
  260. package/scss/toolbar/_theme.scss +41 -7
  261. package/scss/toolbar/_variables.scss +3 -1
  262. package/scss/tooltip/_layout.scss +6 -1
  263. package/scss/treelist/_layout.scss +4 -0
  264. package/scss/treeview/_layout.scss +135 -122
  265. package/scss/treeview/_theme.scss +51 -42
  266. package/scss/treeview/_variables.scss +125 -46
  267. package/scss/typography/_variables.scss +3 -3
  268. package/scss/upload/_layout.scss +6 -81
  269. package/scss/utils/_border.scss +9 -5
  270. package/scss/utils/_flex.scss +11 -3
  271. package/scss/utils/_spacing.scss +24 -0
  272. package/scss/virtual-scroller/_index.scss +10 -0
  273. package/scss/virtual-scroller/_layout.scss +35 -0
  274. package/scss/virtual-scroller/_theme.scss +3 -0
  275. package/scss/virtual-scroller/_variables.scss +1 -0
  276. package/scss/window/_layout.scss +3 -3
  277. package/scss/window/_variables.scss +1 -1
  278. package/scss/wizard/_layout.scss +4 -0
  279. package/scss/colorpicker/images/alpha-slider-bgr-reversed.png +0 -0
  280. package/scss/colorpicker/images/alpha-slider-bgr-reversed.scss +0 -3
  281. package/scss/colorpicker/images/alpha-slider-bgr.png +0 -0
  282. package/scss/colorpicker/images/alpha-slider-bgr.scss +0 -3
  283. package/scss/datetime/_layout.scss +0 -528
  284. package/scss/datetime/_theme.scss +0 -297
  285. package/scss/datetime/_variables.scss +0 -53
  286. package/scss/no-flexbox.scss +0 -72
@@ -1,84 +1,191 @@
1
1
  // Switch
2
- $switch-size: 60px !default;
3
- $switch-border-radius: 9999px !default;
4
-
5
- $switch-font-family: $font-family !default;
6
- $switch-font-size: $font-size-xs !default;
7
- $switch-line-height: $line-height !default;
8
-
9
- $switch-track-size: null !default;
10
- $switch-container-border-width: null !default;
11
- $switch-container-padding-x: 0px !default;
12
- $switch-container-padding-y: 0px !default;
13
-
14
- $switch-handle-size: 30px !default;
15
- $switch-handle-border-radius: 9999px !default;
16
- $switch-handle-border-width: 1px !default;
17
- $switch-thumb-start-x: 0px !default;
18
- // TODO: Remove width property from jQuery and Blazor, and do not use 100% for thumb X calc
19
- $switch-thumb-end-x: calc( 100% - #{$switch-handle-size} ) !default;
20
-
21
- $switch-label-offset: 8px !default;
22
- $switch-label-width: calc( 100% - (#{$switch-handle-size} + #{$switch-label-offset} + #{$switch-container-padding-x} ) ) !default;
23
- $switch-label-text-transform: uppercase !default;
24
- $switch-label-display: inline !default;
25
-
26
- $switch-container-shadow: inset 0 0 0 1px $base-border !default;
27
- $switch-container-hovered-shadow: inset 0 0 0 1px $hovered-border !default;
28
- $switch-container-focused-shadow: inset 0 0 0 3px rgba( black, .06) !default;
29
-
30
- $switch-on-bg: $primary !default;
31
- $switch-on-text: contrast-wcag( $switch-on-bg ) !default;
32
- $switch-on-border: null !default;
33
- $switch-on-gradient: null !default;
34
- $switch-on-shadow: null !default;
35
-
36
- $switch-on-hovered-bg: shade( $switch-on-bg ) !default;
37
- $switch-on-hovered-text: $switch-on-text !default;
38
- $switch-on-hovered-border: null !default;
39
- $switch-on-hovered-gradient: null !default;
40
-
41
- $switch-on-focused-bg: null !default;
42
- $switch-on-focused-text: null !default;
43
- $switch-on-focused-border: null !default;
44
- $switch-on-focused-gradient: null !default;
45
- $switch-on-focused-shadow: null !default;
46
-
47
- $switch-on-handle-bg: darken( white, 5 ) !default;
48
- $switch-on-handle-text: $switch-on-text !default;
49
- $switch-on-handle-border: $base-border !default;
50
- $switch-on-handle-gradient: null !default;
51
- $switch-on-handle-shadow: null !default;
52
-
53
- $switch-on-handle-hovered-bg: darken( white, 7 ) !default;
54
- $switch-on-handle-hovered-text: $switch-on-text !default;
55
- $switch-on-handle-hovered-border: $hovered-border !default;
56
- $switch-on-handle-hovered-gradient: null !default;
57
-
58
- $switch-off-bg: $component-bg !default;
59
- $switch-off-text: $component-text !default;
60
- $switch-off-border: null !default;
61
- $switch-off-gradient: null !default;
62
- $switch-off-shadow: null !default;
63
-
64
- $switch-off-hovered-bg: $switch-off-bg !default;
65
- $switch-off-hovered-text: $switch-off-text !default;
66
- $switch-off-hovered-border: null !default;
67
- $switch-off-hovered-gradient: null !default;
68
-
69
- $switch-off-focused-bg: null !default;
70
- $switch-off-focused-text: null !default;
71
- $switch-off-focused-border: null !default;
72
- $switch-off-focused-gradient: null !default;
73
- $switch-off-focused-shadow: null !default;
74
-
75
- $switch-off-handle-bg: $switch-on-handle-bg !default;
76
- $switch-off-handle-text: $switch-off-text !default;
77
- $switch-off-handle-border: $switch-on-handle-border !default;
78
- $switch-off-handle-gradient: null !default;
79
- $switch-off-handle-shadow: null !default;
80
-
81
- $switch-off-handle-hovered-bg: $switch-on-handle-hovered-bg !default;
82
- $switch-off-handle-hovered-text: $switch-off-text !default;
83
- $switch-off-handle-hovered-border: $switch-on-handle-hovered-border !default;
84
- $switch-off-handle-hovered-gradient: null !default;
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
+ }