@progress/kendo-theme-default 5.0.0-next.2 → 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.
Files changed (314) hide show
  1. package/README.md +5 -8
  2. package/dist/all.css +14813 -15402
  3. package/dist/all.scss +16002 -17364
  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 +6 -29
  13. package/scss/action-buttons/_layout.scss +18 -1
  14. package/scss/action-sheet/_layout.scss +8 -2
  15. package/scss/adaptive/_layout.scss +47 -99
  16. package/scss/adaptive/_theme.scss +0 -9
  17. package/scss/all.scss +1 -150
  18. package/scss/appbar/_layout.scss +29 -5
  19. package/scss/appbar/_variables.scss +3 -3
  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 +19 -13
  27. package/scss/avatar/index.md +0 -0
  28. package/scss/badge/_layout.scss +6 -0
  29. package/scss/badge/_variables.scss +6 -6
  30. package/scss/bottom-navigation/_layout.scss +9 -6
  31. package/scss/breadcrumb/_layout.scss +6 -18
  32. package/scss/button/_index.scss +3 -1
  33. package/scss/button/_layout.scss +158 -232
  34. package/scss/button/_theme.scss +211 -237
  35. package/scss/button/_variables.scss +196 -127
  36. package/scss/button/index.md +3 -0
  37. package/scss/calendar/_index.scss +1 -0
  38. package/scss/calendar/_layout.scss +2 -14
  39. package/scss/calendar/_theme.scss +10 -27
  40. package/scss/captcha/_index.scss +2 -0
  41. package/scss/captcha/_layout.scss +7 -7
  42. package/scss/captcha/_variables.scss +1 -1
  43. package/scss/card/_layout.scss +18 -81
  44. package/scss/card/_theme.scss +2 -1
  45. package/scss/card/_variables.scss +6 -6
  46. package/scss/chat/_layout.scss +39 -40
  47. package/scss/chat/_theme.scss +1 -32
  48. package/scss/chat/_variables.scss +3 -18
  49. package/scss/checkbox/_index.scss +2 -0
  50. package/scss/checkbox/_layout.scss +103 -158
  51. package/scss/checkbox/_theme.scss +37 -41
  52. package/scss/checkbox/_variables.scss +144 -56
  53. package/scss/checkbox/index.md +0 -0
  54. package/scss/chip/_index.scss +1 -0
  55. package/scss/chip/_layout.scss +127 -133
  56. package/scss/chip/_theme.scss +88 -168
  57. package/scss/chip/_variables.scss +142 -102
  58. package/scss/chip/index.md +0 -0
  59. package/scss/color-preview/_index.scss +11 -0
  60. package/scss/color-preview/_layout.scss +77 -0
  61. package/scss/color-preview/_theme.scss +17 -0
  62. package/scss/color-preview/_variables.scss +14 -0
  63. package/scss/coloreditor/_index.scss +15 -0
  64. package/scss/coloreditor/_layout.scss +75 -0
  65. package/scss/coloreditor/_theme.scss +19 -0
  66. package/scss/coloreditor/_variables.scss +27 -0
  67. package/scss/colorgradient/_index.scss +18 -0
  68. package/scss/colorgradient/_layout.scss +193 -0
  69. package/scss/colorgradient/_theme.scss +82 -0
  70. package/scss/colorgradient/_variables.scss +51 -0
  71. package/scss/colorgradient/images/alpha-slider-bgr.png +0 -0
  72. package/scss/colorgradient/images/alpha-slider-bgr.scss +3 -0
  73. package/scss/colorpalette/_index.scss +12 -0
  74. package/scss/colorpalette/_layout.scss +56 -0
  75. package/scss/colorpalette/_theme.scss +25 -0
  76. package/scss/colorpalette/_variables.scss +10 -0
  77. package/scss/colorpicker/_index.scss +3 -6
  78. package/scss/colorpicker/_layout.scss +7 -466
  79. package/scss/colorpicker/_theme.scss +2 -187
  80. package/scss/colorpicker/_variables.scss +1 -40
  81. package/scss/combobox/_index.scss +1 -0
  82. package/scss/combobox/_layout.scss +3 -84
  83. package/scss/combobox/_theme.scss +3 -124
  84. package/scss/combobox/_variables.scss +1 -33
  85. package/scss/common/_base.scss +2 -2
  86. package/scss/common/_loading.scss +16 -14
  87. package/scss/core/_color-system.scss +8 -8
  88. package/scss/core/functions/_colors.scss +5 -1
  89. package/scss/core/functions/_math.scss +2 -2
  90. package/scss/core/functions/_misc.scss +1 -1
  91. package/scss/core/mixins/_gradients.scss +6 -5
  92. package/scss/core/mixins/_hide-scrollbar.scss +2 -2
  93. package/scss/core/mixins/_index.scss +2 -1
  94. package/scss/core/mixins/_input-ripple.scss +1 -1
  95. package/scss/core/mixins/_module-system.scss +149 -0
  96. package/scss/core/mixins/_typography.scss +1 -1
  97. package/scss/dataviz/_index.scss +1 -0
  98. package/scss/dataviz/_theme.scss +8 -8
  99. package/scss/dataviz/_variables.scss +6 -6
  100. package/scss/dateinput/_index.scss +11 -0
  101. package/scss/dateinput/_layout.scss +6 -0
  102. package/scss/dateinput/_theme.scss +6 -0
  103. package/scss/dateinput/_variables.scss +1 -0
  104. package/scss/datepicker/_index.scss +13 -0
  105. package/scss/datepicker/_layout.scss +6 -0
  106. package/scss/datepicker/_theme.scss +6 -0
  107. package/scss/datepicker/_variables.scss +1 -0
  108. package/scss/{datetime → daterangepicker}/_index.scss +1 -2
  109. package/scss/daterangepicker/_layout.scss +39 -0
  110. package/scss/daterangepicker/_theme.scss +3 -0
  111. package/scss/daterangepicker/_variables.scss +1 -0
  112. package/scss/datetimepicker/_index.scss +17 -0
  113. package/scss/datetimepicker/_layout.scss +56 -0
  114. package/scss/datetimepicker/_theme.scss +6 -0
  115. package/scss/datetimepicker/_variables.scss +2 -0
  116. package/scss/drawer/_index.scss +1 -0
  117. package/scss/drawer/_layout.scss +9 -6
  118. package/scss/drawer/_variables.scss +1 -1
  119. package/scss/dropdowngrid/_layout.scss +11 -6
  120. package/scss/dropdowngrid/_theme.scss +9 -2
  121. package/scss/dropdowngrid/index.md +0 -0
  122. package/scss/dropdownlist/_index.scss +1 -0
  123. package/scss/dropdownlist/_layout.scss +20 -101
  124. package/scss/dropdownlist/_theme.scss +3 -91
  125. package/scss/dropdownlist/_variables.scss +9 -9
  126. package/scss/dropdowntree/_layout.scss +5 -15
  127. package/scss/dropdowntree/_theme.scss +2 -1
  128. package/scss/dropdowntree/_variables.scss +2 -4
  129. package/scss/dropzone/_layout.scss +0 -16
  130. package/scss/editor/_layout.scss +113 -95
  131. package/scss/editor/_theme.scss +9 -0
  132. package/scss/editor/_variables.scss +11 -3
  133. package/scss/expansion-panel/_index.scss +1 -0
  134. package/scss/expansion-panel/_layout.scss +6 -1
  135. package/scss/expansion-panel/_variables.scss +2 -2
  136. package/scss/fab/_layout.scss +30 -56
  137. package/scss/fab/_theme.scss +56 -68
  138. package/scss/fab/_variables.scss +129 -75
  139. package/scss/fab/index.md +0 -0
  140. package/scss/filemanager/_layout.scss +1 -2
  141. package/scss/filemanager/_theme.scss +1 -1
  142. package/scss/filter/_index.scss +1 -1
  143. package/scss/filter/_layout.scss +21 -7
  144. package/scss/filter/_theme.scss +3 -1
  145. package/scss/floating-label/_layout.scss +7 -3
  146. package/scss/floating-label/_theme.scss +0 -2
  147. package/scss/floating-label/_variables.scss +4 -4
  148. package/scss/forms/_index.scss +1 -1
  149. package/scss/forms/_layout.scss +20 -112
  150. package/scss/gantt/_index.scss +1 -1
  151. package/scss/gantt/_layout.scss +10 -8
  152. package/scss/grid/_index.scss +2 -1
  153. package/scss/grid/_layout.scss +161 -199
  154. package/scss/grid/_theme.scss +16 -22
  155. package/scss/grid/_variables.scss +10 -12
  156. package/scss/icons/_layout.scss +8 -2
  157. package/scss/icons/font/WebComponentsIcons.scss +1 -1
  158. package/scss/icons/font/WebComponentsIcons.ttf +0 -0
  159. package/scss/imageeditor/_layout.scss +10 -8
  160. package/scss/imageeditor/_variables.scss +1 -0
  161. package/scss/index.scss +157 -0
  162. package/scss/input/_index.scss +1 -1
  163. package/scss/input/_layout.scss +294 -94
  164. package/scss/input/_theme.scss +111 -16
  165. package/scss/input/_variables.scss +116 -92
  166. package/scss/list/_index.scss +12 -0
  167. package/scss/list/_layout.scss +241 -0
  168. package/scss/list/_theme.scss +91 -0
  169. package/scss/list/_variables.scss +248 -0
  170. package/scss/list/index.md +0 -0
  171. package/scss/listbox/_index.scss +2 -0
  172. package/scss/listbox/_layout.scss +10 -0
  173. package/scss/listbox/_variables.scss +1 -1
  174. package/scss/listview/_layout.scss +2 -9
  175. package/scss/map/_layout.scss +17 -12
  176. package/scss/map/_theme.scss +5 -5
  177. package/scss/map/_variables.scss +1 -1
  178. package/scss/map/images/markers.scss +1 -1
  179. package/scss/maskedtextbox/_layout.scss +3 -47
  180. package/scss/maskedtextbox/_theme.scss +3 -21
  181. package/scss/mediaplayer/_layout.scss +19 -1
  182. package/scss/menu/_index.scss +2 -0
  183. package/scss/menu/_layout.scss +136 -76
  184. package/scss/menu/_theme.scss +33 -25
  185. package/scss/menu/_variables.scss +124 -35
  186. package/scss/multiselect/_index.scss +2 -0
  187. package/scss/multiselect/_layout.scss +3 -200
  188. package/scss/multiselect/_theme.scss +3 -139
  189. package/scss/multiselect/_variables.scss +0 -36
  190. package/scss/notification/_layout.scss +10 -28
  191. package/scss/numerictextbox/_layout.scss +5 -103
  192. package/scss/numerictextbox/_theme.scss +2 -95
  193. package/scss/numerictextbox/_variables.scss +0 -31
  194. package/scss/orgchart/_index.scss +4 -0
  195. package/scss/orgchart/_layout.scss +6 -0
  196. package/scss/orgchart/_variables.scss +3 -3
  197. package/scss/pager/_index.scss +1 -0
  198. package/scss/pager/_layout.scss +13 -14
  199. package/scss/pager/_theme.scss +6 -6
  200. package/scss/pager/_variables.scss +7 -7
  201. package/scss/panelbar/_index.scss +1 -0
  202. package/scss/panelbar/_layout.scss +6 -53
  203. package/scss/panelbar/_theme.scss +9 -2
  204. package/scss/panelbar/_variables.scss +6 -2
  205. package/scss/pdf-viewer/_layout.scss +20 -29
  206. package/scss/pdf-viewer/_variables.scss +2 -5
  207. package/scss/pivotgrid/_index.scss +1 -0
  208. package/scss/pivotgrid/_layout.scss +78 -110
  209. package/scss/pivotgrid/_theme.scss +40 -74
  210. package/scss/pivotgrid/_variables.scss +1 -4
  211. package/scss/popover/_layout.scss +6 -1
  212. package/scss/popup/_index.scss +0 -4
  213. package/scss/popup/_layout.scss +6 -284
  214. package/scss/popup/_theme.scss +2 -159
  215. package/scss/popup/_variables.scss +2 -7
  216. package/scss/progressbar/_layout.scss +6 -0
  217. package/scss/radio/_index.scss +2 -0
  218. package/scss/radio/_layout.scss +116 -143
  219. package/scss/radio/_theme.scss +25 -25
  220. package/scss/radio/_variables.scss +134 -52
  221. package/scss/radio/index.md +0 -0
  222. package/scss/rating/_layout.scss +7 -10
  223. package/scss/scheduler/_index.scss +1 -1
  224. package/scss/scheduler/_layout.scss +36 -14
  225. package/scss/scheduler/_theme.scss +1 -1
  226. package/scss/scrollview/_layout.scss +7 -2
  227. package/scss/scrollview/_theme.scss +1 -1
  228. package/scss/scrollview/_variables.scss +7 -7
  229. package/scss/searchbox/_layout.scss +1 -18
  230. package/scss/searchbox/_theme.scss +1 -46
  231. package/scss/searchbox/_variables.scss +0 -20
  232. package/scss/skeleton/_layout.scss +1 -1
  233. package/scss/skeleton/_theme.scss +0 -2
  234. package/scss/slider/_layout.scss +68 -159
  235. package/scss/slider/_theme.scss +0 -10
  236. package/scss/slider/_variables.scss +10 -10
  237. package/scss/slider/images/slider-h.scss +1 -1
  238. package/scss/slider/images/slider-v.scss +1 -1
  239. package/scss/spreadsheet/_index.scss +2 -1
  240. package/scss/spreadsheet/_layout.scss +39 -64
  241. package/scss/spreadsheet/_theme.scss +19 -19
  242. package/scss/spreadsheet/images/image-default.scss +1 -1
  243. package/scss/stepper/_layout.scss +6 -1
  244. package/scss/stepper/_variables.scss +1 -1
  245. package/scss/styling/_index.scss +1 -1
  246. package/scss/switch/_index.scss +0 -2
  247. package/scss/switch/_layout.scss +99 -83
  248. package/scss/switch/_theme.scss +91 -93
  249. package/scss/switch/_variables.scss +190 -83
  250. package/scss/switch/index.md +0 -0
  251. package/scss/table/_index.scss +19 -0
  252. package/scss/table/_layout.scss +275 -0
  253. package/scss/table/_theme.scss +82 -0
  254. package/scss/table/_variables.scss +141 -0
  255. package/scss/tabstrip/_index.scss +1 -0
  256. package/scss/tabstrip/_layout.scss +37 -5
  257. package/scss/tabstrip/_theme.scss +1 -0
  258. package/scss/tabstrip/_variables.scss +3 -3
  259. package/scss/taskboard/_layout.scss +8 -7
  260. package/scss/taskboard/_theme.scss +1 -1
  261. package/scss/taskboard/_variables.scss +0 -2
  262. package/scss/textarea/_layout.scss +1 -89
  263. package/scss/textarea/_theme.scss +1 -66
  264. package/scss/textarea/_variables.scss +0 -53
  265. package/scss/textbox/_layout.scss +1 -73
  266. package/scss/textbox/_theme.scss +1 -70
  267. package/scss/textbox/_variables.scss +1 -2
  268. package/scss/timeline/_layout.scss +12 -8
  269. package/scss/timeline/_variables.scss +7 -7
  270. package/scss/timepicker/_index.scss +15 -0
  271. package/scss/timepicker/_layout.scss +6 -0
  272. package/scss/timepicker/_theme.scss +6 -0
  273. package/scss/timepicker/_variables.scss +1 -0
  274. package/scss/timeselector/_index.scss +13 -0
  275. package/scss/timeselector/_layout.scss +208 -0
  276. package/scss/timeselector/_theme.scss +70 -0
  277. package/scss/timeselector/_variables.scss +32 -0
  278. package/scss/toolbar/_index.scss +1 -0
  279. package/scss/toolbar/_layout.scss +45 -4
  280. package/scss/toolbar/_theme.scss +41 -7
  281. package/scss/toolbar/_variables.scss +3 -1
  282. package/scss/tooltip/_layout.scss +6 -1
  283. package/scss/treelist/_layout.scss +4 -0
  284. package/scss/treeview/_layout.scss +135 -122
  285. package/scss/treeview/_theme.scss +51 -42
  286. package/scss/treeview/_variables.scss +125 -46
  287. package/scss/typography/_variables.scss +4 -4
  288. package/scss/upload/_layout.scss +12 -87
  289. package/scss/utils/_border.scss +15 -2
  290. package/scss/utils/_display.scss +1 -0
  291. package/scss/utils/_flex.scss +13 -3
  292. package/scss/utils/_grid.scss +2 -0
  293. package/scss/utils/_index.scss +1 -0
  294. package/scss/utils/_position.scss +2 -2
  295. package/scss/utils/_spacing.scss +24 -0
  296. package/scss/utils/_table-layout.scss +1 -0
  297. package/scss/utils/_text.scss +2 -0
  298. package/scss/{common/_decoration.scss → utils/_theme-colors.scss} +16 -19
  299. package/scss/utils/_transform.scss +2 -0
  300. package/scss/virtual-scroller/_index.scss +10 -0
  301. package/scss/virtual-scroller/_layout.scss +35 -0
  302. package/scss/virtual-scroller/_theme.scss +3 -0
  303. package/scss/virtual-scroller/_variables.scss +1 -0
  304. package/scss/window/_layout.scss +6 -7
  305. package/scss/window/_variables.scss +6 -7
  306. package/scss/wizard/_layout.scss +5 -3
  307. package/scss/colorpicker/images/alpha-slider-bgr-reversed.png +0 -0
  308. package/scss/colorpicker/images/alpha-slider-bgr-reversed.scss +0 -3
  309. package/scss/colorpicker/images/alpha-slider-bgr.png +0 -0
  310. package/scss/colorpicker/images/alpha-slider-bgr.scss +0 -3
  311. package/scss/datetime/_layout.scss +0 -528
  312. package/scss/datetime/_theme.scss +0 -297
  313. package/scss/datetime/_variables.scss +0 -53
  314. package/scss/no-flexbox.scss +0 -72
@@ -1,132 +1,201 @@
1
1
  // Button
2
2
 
3
- /// Width of border around buttons
4
- /// @group buttons
5
- $button-border-width: 1px !default;
6
- /// Border radius of buttons
7
- /// @group buttons
8
- $button-border-radius: $border-radius !default;
9
-
10
- /// Horizontal padding of buttons
11
- /// @group buttons
12
- $button-padding-x: $padding-x !default;
13
- /// Vertical padding of buttons
14
- /// @group buttons
15
- $button-padding-y: $padding-y !default;
16
- $button-font-family: $font-family !default;
17
- $button-font-size: $font-size !default;
18
- $button-line-height: $line-height !default;
19
-
20
- $button-padding-x-sm: $button-padding-x / 2 !default;
21
- $button-padding-y-sm: $button-padding-y / 2 !default;
22
- $button-line-height-sm: $line-height-sm !default;
23
-
24
- $button-calc-size: calc( #{$button-line-height * 1em} + #{$button-padding-y * 2} + #{$button-border-width * 2} ) !default;
25
- $button-inner-calc-size: calc( #{$button-line-height * 1em} + #{$button-padding-y * 2} ) !default;
26
-
27
- /// The background of the buttons.
28
- /// @group buttons
29
- $button-bg: #f5f5f5 !default;
30
- /// The text color of the buttons.
31
- /// @group buttons
32
- $button-text: #424242 !default;
33
- /// The border color of the buttons.
34
- /// @group buttons
35
- $button-border: rgba( black, .08 ) !default;
36
- /// The background gradient of the buttons.
37
- /// @group buttons
38
- $button-gradient: rgba( black, 0 ), rgba( black, .02 ) !default;
39
- $button-shadow: null !default;
40
-
41
- /// The background of hovered buttons.
42
- /// @group buttons
43
- $button-hovered-bg: try-shade( $button-bg, .5 ) !default;
44
- /// The text color of hovered buttons.
45
- /// @group buttons
46
- $button-hovered-text: null !default;
47
- /// The border color of hovered buttons.
48
- /// @group buttons
49
- $button-hovered-border: null !default;
50
- /// The background gradient of hovered buttons.
51
- /// @group buttons
52
- $button-hovered-gradient: null !default;
53
- $button-hovered-shadow: null !default;
54
-
55
- /// The background color of active buttons.
56
- /// @group buttons
57
- $button-active-bg: try-shade( $button-bg, 1.5 ) !default;
58
- /// The text color of active buttons.
59
- /// @group buttons
60
- $button-active-text: null !default;
61
- /// The border color of active buttons.
62
- /// @group buttons
63
- $button-active-border: null !default;
64
- /// The background gradient of active buttons.
65
- /// @group buttons
66
- $button-active-gradient: null !default;
67
- $button-active-shadow: null !default;
68
-
69
- /// The background color of selected buttons.
70
- /// @group buttons
71
- $button-selected-bg: $primary !default;
3
+ /// Width of the border around the button.
4
+ /// @group button
5
+ $kendo-button-border-width: 1px !default;
6
+
7
+ /// Border radius of the button.
8
+ /// @group button
9
+ $kendo-button-border-radius: null !default;
10
+
11
+ /// Horizontal padding of the button.
12
+ /// @group button
13
+ $kendo-button-padding-x: map-get( $spacing, 2 ) !default;
14
+ $kendo-button-padding-x-sm: map-get( $spacing, 2 ) !default;
15
+ $kendo-button-padding-x-md: map-get( $spacing, 2 ) !default;
16
+ $kendo-button-padding-x-lg: map-get( $spacing, 2 ) !default;
17
+
18
+ /// Vertical padding of the button.
19
+ /// @group button
20
+ $kendo-button-padding-y: map-get( $spacing, 1 ) !default;
21
+ $kendo-button-padding-y-sm: map-get( $spacing, 1 ) - map-get( $spacing, thin ) !default;
22
+ $kendo-button-padding-y-md: map-get( $spacing, 1 ) !default;
23
+ $kendo-button-padding-y-lg: map-get( $spacing, 1 ) + map-get( $spacing, thin ) !default;
24
+
25
+ /// Font family of the button.
26
+ /// @group button
27
+ $kendo-button-font-family: $font-family !default;
28
+
29
+ /// Font sizes of the button.
30
+ /// @group button
31
+ $kendo-button-font-size: $font-size-md !default;
32
+ $kendo-button-font-size-sm: $font-size-md !default;
33
+ $kendo-button-font-size-md: $font-size-md !default;
34
+ $kendo-button-font-size-lg: $font-size-md !default;
35
+
36
+ /// Line heights used along with $font-size.
37
+ /// @group button
38
+ $kendo-button-line-height: $line-height-md !default;
39
+ $kendo-button-line-height-sm: $line-height-md !default;
40
+ $kendo-button-line-height-md: $line-height-md !default;
41
+ $kendo-button-line-height-lg: $line-height-md !default;
42
+
43
+ /// Calculated height of the button.
44
+ /// @group button
45
+ $kendo-button-calc-size: calc( #{$kendo-button-line-height * 1em} + #{$kendo-button-padding-y * 2} + #{$kendo-button-border-width * 2} ) !default;
46
+
47
+ /// Calculated inner height of the button. Without the border width.
48
+ /// @group button
49
+ $kendo-button-inner-calc-size: calc( #{$kendo-button-line-height * 1em} + #{$kendo-button-padding-y * 2} ) !default;
50
+
51
+ $kendo-button-arrow-padding-x: $kendo-button-padding-y !default;
52
+ $kendo-button-arrow-padding-y: $kendo-button-padding-y !default;
53
+
54
+ /// Theme colors map for the button.
55
+ /// @group button
56
+ $kendo-button-theme-colors: map-merge(
57
+ $theme-colors,
58
+ ( "base": #f5f5f5 )
59
+ ) !default;
60
+
61
+ /// The base background of the button.
62
+ /// @group button
63
+ $kendo-button-bg: #f5f5f5 !default;
64
+ /// The base text color of the button.
65
+ /// @group button
66
+ $kendo-button-text: #424242 !default;
67
+ /// The base border color of the button.
68
+ /// @group button
69
+ $kendo-button-border: rgba( black, .08 ) !default;
70
+ /// The base background gradient of the button.
71
+ /// @group button
72
+ $kendo-button-gradient: rgba( black, 0 ), rgba( black, .02 ) !default;
73
+ /// The base shadow of the button.
74
+ /// @group button
75
+ $kendo-button-shadow: null !default;
76
+
77
+ /// The base background of hovered button.
78
+ /// @group button
79
+ $kendo-button-hover-bg: try-shade( $kendo-button-bg, .5 ) !default;
80
+ /// The base text color of hovered button.
81
+ /// @group button
82
+ $kendo-button-hover-text: null !default;
83
+ /// The base border color of hovered button.
84
+ /// @group button
85
+ $kendo-button-hover-border: null !default;
86
+ /// The base background gradient of hovered button.
87
+ /// @group button
88
+ $kendo-button-hover-gradient: null !default;
89
+ /// The base shadow of hovered button.
90
+ /// @group button
91
+ $kendo-button-hover-shadow: null !default;
92
+
93
+ /// The base background color of active button.
94
+ /// @group button
95
+ $kendo-button-active-bg: try-shade( $kendo-button-bg, 1.5 ) !default;
96
+ /// The base text color of active button.
97
+ /// @group button
98
+ $kendo-button-active-text: null !default;
99
+ /// The base border color of active button.
100
+ /// @group button
101
+ $kendo-button-active-border: null !default;
102
+ /// The base background gradient of active button.
103
+ /// @group button
104
+ $kendo-button-active-gradient: null !default;
105
+ /// The base shadow of active button.
106
+ /// @group button
107
+ $kendo-button-active-shadow: null !default;
108
+
109
+ /// The base background color of selected button.
110
+ /// @group button
111
+ $kendo-button-selected-bg: $primary !default;
72
112
  /// The text color of selected buttons.
73
- /// @group buttons
74
- $button-selected-text: contrast-wcag( $button-selected-bg ) !default;
113
+ /// @group button
114
+ $kendo-button-selected-text: contrast-wcag( $kendo-button-selected-bg ) !default;
75
115
  /// The border color of selected buttons.
76
- /// @group buttons
77
- $button-selected-border: $button-selected-bg !default;
116
+ /// @group button
117
+ $kendo-button-selected-border: $kendo-button-selected-bg !default;
78
118
  /// The background gradient of selected buttons.
79
- /// @group buttons
80
- $button-selected-gradient: null !default;
81
- $button-selected-shadow: null !default;
82
-
83
- /// The shadow of focused buttons.
84
- /// @group buttons
85
- $button-focused-shadow: 0 0 0 2px rgba( $button-border, .08 ) !default;
86
-
87
-
88
- // Disabled button
89
- $button-disabled-bg: null !default;
90
- $button-disabled-text: null !default;
91
- $button-disabled-border: null !default;
92
- $button-disabled-gradient: null !default;
93
- $button-disabled-shadow: null !default;
94
-
95
-
96
- // Primary button
97
- $primary-button-bg: $primary !default;
98
- $primary-button-text: contrast-wcag( $primary-button-bg ) !default;
99
- $primary-button-border: $primary-button-bg !default;
100
- $primary-button-gradient: rgba( black, 0 ), rgba( black, .04 ) !default;
101
- $primary-button-shadow: null !default;
102
-
103
- $primary-button-hovered-bg: try-shade( $primary-button-bg, .5 ) !default;
104
- $primary-button-hovered-text: null !default;
105
- $primary-button-hovered-border: $primary-button-hovered-bg !default;
106
- $primary-button-hovered-gradient: null !default;
107
- $primary-button-hovered-shadow: null !default;
108
-
109
- $primary-button-active-bg: try-shade( $primary-button-bg, 1.5 ) !default;
110
- $primary-button-active-text: null !default;
111
- $primary-button-active-border: $primary-button-active-bg !default;
112
- $primary-button-active-gradient: null !default;
113
- $primary-button-active-shadow: null !default;
114
-
115
- $primary-button-selected-bg: $primary-button-active-bg !default;
116
- $primary-button-selected-text: $primary-button-active-text !default;
117
- $primary-button-selected-border: $primary-button-active-border !default;
118
- $primary-button-selected-gradient: null !default;
119
- $primary-button-selected-shadow: null !default;
120
-
121
- $primary-button-focused-shadow: 0 0 0 2px rgba( $primary-button-border, .3 ) !default;
122
-
123
- $button-group-focus-shadow: inset 0 0 0 2px rgba( $button-border, opacity( $button-border ) * 2 );
124
-
125
- $flat-button-hover-opacity: .04 !default;
126
- $flat-button-focus-opacity: null !default;
127
- $flat-button-active-opacity: .16 !default;
128
- $flat-button-selected-opacity: .2 !default;
129
-
130
- $clear-button-text: inherit !default;
131
- $clear-button-hover-text: inherit !default;
132
- $clear-button-focused-opacity: .1 !default;
119
+ /// @group button
120
+ $kendo-button-selected-gradient: $kendo-button-active-gradient !default;
121
+ /// The base shadow of selected button.
122
+ /// @group button
123
+ $kendo-button-selected-shadow: $kendo-button-active-shadow !default;
124
+
125
+ /// The base background of focused button.
126
+ /// @group button
127
+ $kendo-button-focus-bg: null !default;
128
+ /// The base text color of focused button.
129
+ /// @group button
130
+ $kendo-button-focus-text: null !default;
131
+ /// The base border color of focused button.
132
+ /// @group button
133
+ $kendo-button-focus-border: null !default;
134
+ /// The base background gradient of focused button.
135
+ /// @group button
136
+ $kendo-button-focus-gradient: null !default;
137
+ /// The base shadow of focused button.
138
+ /// @group button
139
+ $kendo-button-focus-shadow: 0 0 0 2px rgba( $kendo-button-border, .08 ) !default;
140
+
141
+ /// The base background of disabled button.
142
+ /// @group button
143
+ $kendo-button-disabled-bg: null !default;
144
+ /// The base text color of disabled button.
145
+ /// @group button
146
+ $kendo-button-disabled-text: null !default;
147
+ /// The base border color of disabled buttons.
148
+ /// @group button
149
+ $kendo-button-disabled-border: null !default;
150
+ /// The base background gradient of disabled button.
151
+ /// @group button
152
+ $kendo-button-disabled-gradient: null !default;
153
+ /// The base shadow of disabled button.
154
+ /// @group button
155
+ $kendo-button-disabled-shadow: null !default;
156
+
157
+ // Solid button
158
+ $kendo-solid-button-gradient: rgba( black, 0 ), rgba( black, .02 ) !default;
159
+ $kendo-solid-button-shade-function: "try-shade";
160
+ $kendo-solid-button-shade-text-amount: 0 !default;
161
+ $kendo-solid-button-shade-bg-amount: 0 !default;
162
+ $kendo-solid-button-shade-border-amount: 0 !default;
163
+ $kendo-solid-button-hover-shade-text-amount: null !default;
164
+ $kendo-solid-button-hover-shade-bg-amount: .5 !default;
165
+ $kendo-solid-button-hover-shade-border-amount: .5 !default;
166
+ $kendo-solid-button-active-shade-text-amount: null !default;
167
+ $kendo-solid-button-active-shade-bg-amount: 1.5 !default;
168
+ $kendo-solid-button-active-shade-border-amount: 1.5 !default;
169
+ $kendo-solid-button-shadow: true !default;
170
+ $kendo-solid-button-shadow-blur: 0px !default;
171
+ $kendo-solid-button-shadow-spread: 2px !default;
172
+ $kendo-solid-button-shadow-opacity: .3 !default;
173
+
174
+ // Outline button
175
+ $kendo-outline-button-shadow: true !default;
176
+ $kendo-outline-button-shadow-blur: 0px !default;
177
+ $kendo-outline-button-shadow-spread: 2px !default;
178
+ $kendo-outline-button-shadow-opacity: .3 !default;
179
+
180
+ // Link button
181
+ $kendo-link-button-shadow: true !default;
182
+ $kendo-link-button-shadow-blur: 0px !default;
183
+ $kendo-link-button-shadow-spread: 2px !default;
184
+ $kendo-link-button-shadow-opacity: .3 !default;
185
+
186
+ /// The overlay opacity of hovered flat button. Used to create background for the flat button.
187
+ /// @group button
188
+ $kendo-flat-button-hover-opacity: .04 !default;
189
+ /// The overlay opacity of focused flat button. Used to create background for the flat button.
190
+ /// @group button
191
+ $kendo-flat-button-focus-opacity: null !default;
192
+ /// The overlay opacity of active flat button. Used to create background for the flat button.
193
+ /// @group button
194
+ $kendo-flat-button-active-opacity: .16 !default;
195
+ /// The overlay opacity of selected flat button. Used to create background for the flat button.
196
+ /// @group button
197
+ $kendo-flat-button-selected-opacity: .2 !default;
198
+
199
+ /// The color transition of the flat button.
200
+ /// @group button
201
+ $kendo-button-transition: color .2s ease-in-out !default;
@@ -0,0 +1,3 @@
1
+ ## Default theme test content
2
+
3
+ Here we can write down Default Theme specific content
@@ -5,6 +5,7 @@
5
5
  @import "../common/_index.scss";
6
6
  @import "../button/_index.scss";
7
7
  @import "../icons/_index.scss";
8
+ @import "../list/_index.scss";
8
9
 
9
10
 
10
11
  // Component
@@ -293,7 +293,7 @@
293
293
  display: block;
294
294
  position: absolute;
295
295
  bottom: 0;
296
- content: " ";
296
+ content: "\200b";
297
297
  height: 0;
298
298
  line-height: 0;
299
299
  z-index: 1;
@@ -331,7 +331,7 @@
331
331
  &::after {
332
332
  display: block;
333
333
  position: absolute;
334
- content: " ";
334
+ content: "\200b";
335
335
  height: 0;
336
336
  line-height: 0;
337
337
  z-index: 1;
@@ -430,18 +430,6 @@
430
430
 
431
431
 
432
432
 
433
-
434
- @include exports("daterangepicker/layout") {
435
-
436
- // jQuery DateRangePicker
437
- .k-widget.k-daterangepicker {
438
- border: 0;
439
- }
440
-
441
- }
442
-
443
-
444
-
445
433
  @include exports("calendar/layout/rtl") {
446
434
 
447
435
  .k-rtl .k-calendar,
@@ -113,7 +113,7 @@
113
113
  );
114
114
  }
115
115
  .k-calendar-td.k-state-focused .k-link,
116
- .k-calendar-td.k-state-focus .k-link {
116
+ .k-calendar-td.k-state-focus .k-link {
117
117
  box-shadow: $calendar-cell-focused-shadow;
118
118
  }
119
119
  .k-calendar-td.k-state-selected.k-state-focused .k-link,
@@ -187,15 +187,15 @@
187
187
  .k-range-end,
188
188
  .k-range-mid {
189
189
  // sass-lint:disable-block indentation
190
- background-image: linear-gradient(
191
- transparent $calendar-range-gap,
192
- $calendar-range-bg $calendar-range-gap,
193
- $calendar-range-bg calc(100% - #{$calendar-range-gap}),
194
- transparent calc(100% - #{$calendar-range-gap})
195
- );
196
-
197
- .k-ie &,
198
- .k-edge & {
190
+ background-image:
191
+ linear-gradient(
192
+ transparent $calendar-range-gap,
193
+ $calendar-range-bg $calendar-range-gap,
194
+ $calendar-range-bg calc(100% - #{$calendar-range-gap}),
195
+ transparent calc(100% - #{$calendar-range-gap})
196
+ );
197
+
198
+ .k-ie & {
199
199
  background-image: none;
200
200
  background-color: $calendar-range-bg;
201
201
  }
@@ -248,20 +248,3 @@
248
248
  }
249
249
 
250
250
  }
251
-
252
-
253
-
254
-
255
- @include exports( "daterangepicker/theme" ) {
256
-
257
- //jQuery DateRangePicker
258
- .k-daterangepicker {
259
- // Invalid
260
- &.k-state-invalid {
261
- .k-dateinput-wrap {
262
- border-color: $invalid-border;
263
- }
264
- }
265
- }
266
-
267
- }
@@ -6,7 +6,9 @@
6
6
  @import "../common/_index.scss";
7
7
  @import "../icons/_index.scss";
8
8
  @import "../input/_index.scss";
9
+ @import "../button/_index.scss";
9
10
  @import "../textbox/_index.scss";
11
+ @import "../slider/_index.scss";
10
12
 
11
13
 
12
14
  // Component
@@ -8,9 +8,14 @@
8
8
  font-family: $captcha-font-family;
9
9
  line-height: $captcha-line-height;
10
10
  display: flex;
11
- flex-direction: column;
12
- flex-wrap: nowrap;
11
+ flex-flow: column nowrap;
13
12
  gap: $captcha-gap;
13
+
14
+ *,
15
+ *::before,
16
+ *::after {
17
+ box-sizing: border-box;
18
+ }
14
19
  }
15
20
 
16
21
  // Image
@@ -47,11 +52,6 @@
47
52
  height: 100%;
48
53
  }
49
54
 
50
- // Input
51
- .k-captcha-input > .k-textbox {
52
- width: 100%;
53
- }
54
-
55
55
  // Verification Success
56
56
  .k-captcha-validation-message {
57
57
  margin-top: $captcha-validation-message-margin-top;
@@ -8,7 +8,7 @@ $captcha-line-height: $line-height !default;
8
8
  $captcha-gap: $captcha-spacer !default;
9
9
  $captcha-bg: $component-bg !default;
10
10
  $captcha-text: $component-bg !default;
11
- $captcha-border: $component-bg !default;
11
+ $captcha-border: $component-bg !default;
12
12
 
13
13
  $captcha-image-wrap-gap: $captcha-spacer !default;
14
14
 
@@ -27,6 +27,12 @@
27
27
  overflow: hidden;
28
28
  -webkit-touch-callout: none;
29
29
  -webkit-tap-highlight-color: $rgba-transparent;
30
+
31
+ *,
32
+ *::before,
33
+ *::after {
34
+ box-sizing: border-box;
35
+ }
30
36
  }
31
37
  .k-card > .k-card-inner {
32
38
  @include border-radius( $card-inner-border-radius );
@@ -37,8 +43,8 @@
37
43
 
38
44
 
39
45
  // Card orientation
40
- .k-card-horizontal { flex-flow: row nowrap; }
41
- .k-card-vertical { flex-flow: column nowrap; }
46
+ .k-card-horizontal { flex-flow: row nowrap; } // stylelint-disable-line block-opening-brace-space-before
47
+ .k-card-vertical { flex-flow: column nowrap; } // stylelint-disable-line block-opening-brace-space-before
42
48
 
43
49
 
44
50
  // Header
@@ -187,61 +193,23 @@
187
193
  flex-shrink: 0;
188
194
  flex-basis: auto;
189
195
  gap: $card-actions-gap;
190
-
191
- > .k-button {
192
- padding-left: calc( #{$card-body-padding-x} - ( #{$card-actions-padding-x} + #{$button-border-width} ) );
193
- padding-right: calc( #{$card-body-padding-x} - ( #{$card-actions-padding-x} + #{$button-border-width} ) );
194
- max-width: 100%;
195
- white-space: normal;
196
- }
197
196
  }
198
197
 
199
198
 
200
199
  // Actions align
201
- .k-card-actions-start { justify-content: flex-start; }
202
- .k-card-actions-end { justify-content: flex-end; }
203
- .k-card-actions-center { justify-content: center; }
200
+ .k-card-actions-start { justify-content: flex-start; } // stylelint-disable-line block-opening-brace-space-before
201
+ .k-card-actions-end { justify-content: flex-end; } // stylelint-disable-line block-opening-brace-space-before
202
+ .k-card-actions-center { justify-content: center; } // stylelint-disable-line block-opening-brace-space-before
204
203
 
205
204
 
206
205
  // Actions orientation
207
- .k-card-actions-horizontal { flex-flow: row nowrap; }
208
- .k-card-actions-vertical { flex-flow: column nowrap; }
206
+ .k-card-actions-horizontal { flex-flow: row nowrap; } // stylelint-disable-line block-opening-brace-space-before
207
+ .k-card-actions-vertical { flex-flow: column nowrap; } // stylelint-disable-line block-opening-brace-space-before
209
208
 
210
209
 
211
- // Streched actions
212
- .k-card-actions-stretched {
213
- padding: 0;
214
- gap: 0;
215
-
216
- > .k-button,
217
- > .k-card-action {
218
- flex: 1 1 auto;
219
- }
220
-
221
- // TODO: refactor once we have button size
222
- .k-button {
223
- @include border-radius( 0 );
224
- padding-top: calc( #{$card-actions-padding-y} + #{$button-padding-y} );
225
- padding-bottom: calc( #{$card-actions-padding-y} + #{$button-padding-y} );
226
- }
227
-
228
- .k-card & {
229
- border-top-width: $card-actions-border-width;
230
- }
231
- .k-card-horizontal > & {
232
- border-top-width: 0;
233
- border-inline-start-width: $card-actions-border-width;
234
- }
235
- .k-card-vertical > & {
236
- border-top-width: $card-actions-border-width;
237
- }
238
-
239
- &.k-card-actions-horizontal > .k-card-action + .k-card-action {
240
- border-inline-start-width: $card-actions-border-width;
241
- }
242
- &.k-card-actions-vertical > .k-card-action + .k-card-action {
243
- border-top-width: $card-actions-border-width;
244
- }
210
+ // Stretched actions
211
+ .k-card-actions-stretched > * {
212
+ flex: 1 1 auto;
245
213
  }
246
214
 
247
215
 
@@ -251,10 +219,6 @@
251
219
  border-style: solid;
252
220
  border-color: inherit;
253
221
  display: inline-flex;
254
-
255
- > .k-button {
256
- flex: 1 1 auto;
257
- }
258
222
  }
259
223
 
260
224
 
@@ -324,8 +288,7 @@
324
288
  // Group
325
289
  .k-card-group {
326
290
  display: flex;
327
- flex-direction: row;
328
- flex-wrap: nowrap;
291
+ flex-flow: row nowrap;
329
292
  align-items: stretch;
330
293
  flex: 0 0 auto;
331
294
 
@@ -368,6 +331,7 @@
368
331
  height: $card-callout-height;
369
332
  border-width: $card-border-width $card-border-width 0 0;
370
333
  border-style: solid;
334
+ box-sizing: border-box;
371
335
  position: absolute;
372
336
  }
373
337
 
@@ -416,33 +380,6 @@
416
380
 
417
381
 
418
382
 
419
- @include exports("card/layout/rtl") {
420
-
421
- .k-rtl,
422
- [dir="rtl"] {
423
-
424
- .k-card-actions-stretched {
425
- .k-card-action + .k-card-action {
426
- border-right-width: $card-actions-border-width;
427
- border-left-width: 0;
428
- }
429
- }
430
-
431
- .k-card-horizontal {
432
- > .k-card-actions-stretched,
433
- .k-card-actions-vertical {
434
- border-right-width: $card-actions-border-width;
435
- border-left-width: 0;
436
- }
437
- }
438
-
439
- }
440
-
441
- }
442
-
443
-
444
-
445
-
446
383
  @include exports("card/layout/ie11") {
447
384
 
448
385
  .k-ie11 {
@@ -40,7 +40,8 @@
40
40
 
41
41
 
42
42
  // Separator
43
- .k-card-separator {
43
+ .k-card-separator,
44
+ .k-card .k-separator {
44
45
  border-color: $card-border;
45
46
  }
46
47