@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,74 +1,5 @@
1
1
  @include exports("textbox/theme") {
2
2
 
3
3
  // Textbox
4
- .k-textbox {
5
- @include fill(
6
- $input-text,
7
- $input-bg,
8
- $input-border
9
- );
10
-
11
- // Selection
12
- &::selection,
13
- .k-input::selection {
14
- @include fill (
15
- $color: $input-selected-text, // $primary-contrast,
16
- $bg: $input-selected-bg // $primary
17
- );
18
- }
19
-
20
- .k-textbox-separator {
21
- border-color: $input-separator-color;
22
- opacity: $input-separator-opacity;
23
- }
24
-
25
- // Focused
26
- &:focus,
27
- // &:focus-within,
28
- &.k-state-focus,
29
- &.k-state-focused {
30
- @include fill (
31
- $input-focused-text,
32
- $input-focused-bg,
33
- $input-focused-border
34
- );
35
- @include box-shadow( $input-focused-shadow );
36
- }
37
- &:focus-within {
38
- @include fill (
39
- $input-focused-text,
40
- $input-focused-bg,
41
- $input-focused-border
42
- );
43
- @include box-shadow( $input-focused-shadow );
44
- }
45
-
46
- // Hovered
47
- &:hover,
48
- &.k-state-hover {
49
- @include fill(
50
- $input-hovered-text,
51
- $input-hovered-bg,
52
- $input-hovered-border
53
- );
54
- }
55
-
56
- // Invalid
57
- &.k-invalid,
58
- &.k-state-invalid,
59
- &.ng-invalid.ng-touched,
60
- &.ng-invalid.ng-dirty {
61
- @include fill( $border: $invalid-border );
62
-
63
- &:focus,
64
- // &:focus-within,
65
- &.k-state-focus,
66
- &.k-state-focused {
67
- @include box-shadow($invalid-shadow);
68
- }
69
- &:focus-within {
70
- @include box-shadow($invalid-shadow);
71
- }
72
- }
73
- }
4
+ .k-textbox {}
74
5
  }
@@ -1,2 +1 @@
1
- // Textboxe
2
- $textbox-line-height: $input-line-height !default;
1
+ // Textbox
@@ -11,6 +11,14 @@
11
11
  -webkit-touch-callout: none;
12
12
  -webkit-tap-highlight-color: $rgba-transparent;
13
13
 
14
+ *,
15
+ *::before,
16
+ *::after,
17
+ &::before,
18
+ &::after {
19
+ box-sizing: border-box;
20
+ }
21
+
14
22
  ul {
15
23
  margin: 0;
16
24
  padding: 0;
@@ -28,7 +36,6 @@
28
36
  line-height: $timeline-flag-line-height;
29
37
  min-width: $timeline-flag-min-width;
30
38
  max-width: $timeline-flag-max-width;
31
- box-sizing: border-box;
32
39
  position: relative;
33
40
  z-index: 1;
34
41
  }
@@ -108,7 +115,6 @@
108
115
  margin: $timeline-spacing-y 0;
109
116
  width: 100%;
110
117
  position: relative;
111
- box-sizing: border-box;
112
118
  border: 0;
113
119
  }
114
120
 
@@ -298,12 +304,10 @@
298
304
 
299
305
  .k-timeline-card {
300
306
  height: 100%;
301
- box-sizing: border-box;
302
307
  }
303
308
 
304
309
  .k-card {
305
310
  max-height: 100%;
306
- box-sizing: border-box;
307
311
  }
308
312
 
309
313
  .k-timeline-events-list {
@@ -13,8 +13,8 @@ $timeline-mobile-spacing-y: 16px !default;
13
13
  $timeline-track-arrow-width: 30px !default;
14
14
  $timeline-track-arrow-height: 30px !default;
15
15
 
16
- $timeline-track-arrow-disabled-bg: true-mix($button-bg, $body-bg, 65%) !default;
17
- $timeline-track-arrow-disabled-text: true-mix($button-text, $body-bg, 65%) !default;
16
+ $timeline-track-arrow-disabled-bg: true-mix($kendo-button-bg, $body-bg, 65%) !default;
17
+ $timeline-track-arrow-disabled-text: true-mix($kendo-button-text, $body-bg, 65%) !default;
18
18
  $timeline-track-arrow-disabled-border: true-mix(#000000, $body-bg, 4.8%) !default;
19
19
 
20
20
  $timeline-track-size: 6px !default;
@@ -24,16 +24,16 @@ $timeline-track-margin-bottom: 16px !default;
24
24
  $timeline-track-bottom-calc: calc((#{$timeline-track-arrow-height} / 2) + #{$timeline-track-wrap-padding-bottom}) !default;
25
25
  $timeline-track-start-calc: calc(#{$timeline-track-arrow-width} - 2 * #{$timeline-track-border-width}) !default;
26
26
  $timeline-track-end-calc: calc(#{$timeline-track-arrow-width} - 2 * #{$timeline-track-border-width}) !default;
27
- $timeline-track-bg: $button-bg !default;
28
- $timeline-track-border-color: $button-border !default;
27
+ $timeline-track-bg: $kendo-button-bg !default;
28
+ $timeline-track-border-color: $kendo-button-border !default;
29
29
 
30
30
  $timeline-track-item-focus-shadow: 0 3px 4px 0 rgba($primary, .4) !default;
31
31
 
32
32
  $timeline-track-event-offset: 36px !default;
33
33
 
34
- $timeline-flag-padding-x: $button-padding-x !default;
35
- $timeline-flag-padding-y: $button-padding-y !default;
36
- $timeline-flag-line-height: $button-line-height !default;
34
+ $timeline-flag-padding-x: $kendo-button-padding-x !default;
35
+ $timeline-flag-padding-y: $kendo-button-padding-y !default;
36
+ $timeline-flag-line-height: $kendo-button-line-height !default;
37
37
  $timeline-flag-min-width: 80px !default;
38
38
  $timeline-flag-max-width: calc(#{$timeline-flag-min-width} + 2 * #{$timeline-spacing-x}) !default;
39
39
  $timeline-mobile-flag-max-width: calc(#{$timeline-flag-min-width} + 2 * #{$timeline-mobile-spacing-x}) !default;
@@ -0,0 +1,15 @@
1
+ @import "../core/_index.scss";
2
+
3
+
4
+ // Dependencies
5
+ @import "../input/_index.scss";
6
+ @import "../button/_index.scss";
7
+ @import "../popup/_index.scss";
8
+ @import "../list/_index.scss";
9
+ @import "../timeselector/_index.scss";
10
+
11
+
12
+ // Component
13
+ @import "_variables.scss";
14
+ @import "_layout.scss";
15
+ @import "_theme.scss";
@@ -0,0 +1,6 @@
1
+ @include exports("timepicker/layout") {
2
+
3
+ // Time picker
4
+ .k-timepicker {}
5
+
6
+ }
@@ -0,0 +1,6 @@
1
+ @include exports("timepicker/theme") {
2
+
3
+ // Time picker
4
+ .k-timepicker {}
5
+
6
+ }
@@ -0,0 +1 @@
1
+ // Time picker
@@ -0,0 +1,13 @@
1
+ @import "../core/_index.scss";
2
+
3
+
4
+ // Dependencies
5
+ @import "../list/_index.scss";
6
+ @import "../action-buttons/_index.scss";
7
+ @import "../button/_index.scss";
8
+
9
+
10
+ // Component
11
+ @import "_variables.scss";
12
+ @import "_layout.scss";
13
+ @import "_theme.scss";
@@ -0,0 +1,208 @@
1
+ @include exports( "timeselector/layout" ) {
2
+
3
+ // Time selector
4
+ .k-timeselector {
5
+ border-width: $time-selector-border-width;
6
+ border-style: solid;
7
+ box-sizing: border-box;
8
+ outline: 0;
9
+ font-family: $time-selector-font-family;
10
+ font-size: $time-selector-font-size;
11
+ line-height: $time-selector-line-height;
12
+ position: relative;
13
+ overflow: hidden;
14
+ display: flex;
15
+ flex-flow: column nowrap;
16
+ user-select: none;
17
+ -webkit-touch-callout: none;
18
+ -webkit-tap-highlight-color: $rgba-transparent;
19
+
20
+ .k-popup > & {
21
+ border-width: 0;
22
+ }
23
+ }
24
+
25
+
26
+ // Time selector header
27
+ .k-time-header,
28
+ .k-time-selector-header {
29
+ padding: $time-selector-header-padding-y $time-selector-header-padding-x;
30
+ box-sizing: border-box;
31
+ display: flex;
32
+ align-items: center;
33
+ justify-content: space-between;
34
+ flex: 0 0 auto;
35
+
36
+ .k-title,
37
+ .k-time-selector-header-title {
38
+ padding: $kendo-button-padding-y $kendo-button-padding-x;
39
+ font-weight: bold;
40
+ display: inline-block;
41
+ }
42
+
43
+ .k-time-now {
44
+ border-width: 0;
45
+ line-height: inherit;
46
+ cursor: pointer;
47
+ }
48
+ }
49
+
50
+
51
+ // Time selector footer
52
+ // .k-time-footer {}
53
+ // .k-time-selector-footer {}
54
+
55
+
56
+ // Time list container
57
+ .k-time-list-container {
58
+ display: flex;
59
+ position: relative;
60
+ flex: 1 1 auto;
61
+ }
62
+
63
+
64
+ // Time list highlight
65
+ .k-time-highlight,
66
+ .k-time-list-highlight {
67
+ width: 100%;
68
+ height: $time-list-highlight-height;
69
+ border-width: $time-list-highlight-border-width;
70
+ border-style: solid;
71
+ box-sizing: border-box;
72
+ position: absolute;
73
+ top: calc( 50% + #{$time-list-title-height / 2});
74
+ left: 0;
75
+ right: 0;
76
+ transform: translateY(-50%);
77
+ z-index: 1;
78
+ }
79
+
80
+
81
+ // Time list wrapper
82
+ .k-time-list-wrapper {
83
+ min-width: $time-list-width;
84
+ height: $time-list-height;
85
+ box-sizing: content-box;
86
+ display: inline-flex;
87
+ flex-flow: column nowrap;
88
+ align-items: stretch;
89
+ overflow: hidden;
90
+ position: relative;
91
+ text-align: center;
92
+ flex: 1 1 auto;
93
+
94
+ .k-title {
95
+ font-size: $time-list-title-font-size;
96
+ line-height: $time-list-title-line-height;
97
+ font-weight: bold;
98
+ text-align: center;
99
+ text-transform: capitalize;
100
+ display: block;
101
+ }
102
+
103
+ &.k-state-focused {
104
+ &::before,
105
+ &::after {
106
+ display: block;
107
+ content: "\200b";
108
+ position: absolute;
109
+ width: 100%;
110
+ left: 0;
111
+ pointer-events: none;
112
+ height: calc( 50% - #{$time-list-highlight-height / 2} );
113
+ box-sizing: border-box;
114
+ border-width: 0;
115
+ border-style: solid;
116
+ }
117
+
118
+ &::before {
119
+ top: $time-list-title-height;
120
+ }
121
+
122
+ &::after {
123
+ bottom: 0;
124
+ }
125
+ }
126
+ }
127
+
128
+
129
+ // Time list
130
+ .k-time-list {
131
+ display: flex;
132
+ flex-flow: row nowrap;
133
+ align-items: stretch;
134
+ flex: 1;
135
+ position: relative;
136
+ z-index: 1;
137
+ outline: 0;
138
+ overflow: hidden;
139
+
140
+ &::before,
141
+ &::after {
142
+ display: block;
143
+ position: absolute;
144
+ content: "\200b";
145
+ height: 0;
146
+ line-height: 0;
147
+ z-index: 1;
148
+ width: 200%;
149
+ left: -50%;
150
+ }
151
+
152
+ &::before { top: 0; }
153
+ &::after { bottom: 0; }
154
+ }
155
+
156
+
157
+ // Time list content
158
+ .k-time-container,
159
+ .k-time-list-content {
160
+ position: relative;
161
+ flex: 1 1 auto;
162
+ display: block;
163
+ overflow-x: hidden;
164
+ overflow-y: scroll;
165
+
166
+ @include hide-scrollbar("right");
167
+
168
+ > ul {
169
+ height: auto;
170
+ width: $time-list-width;
171
+ margin: auto;
172
+ }
173
+
174
+ .k-rtl &
175
+ [dir="rtl"] & {
176
+ @include hide-scrollbar("left");
177
+ }
178
+
179
+ .k-scrollable-placeholder {
180
+ position: absolute;
181
+ width: 1px;
182
+ top: 0;
183
+ right: 0;
184
+ }
185
+ }
186
+
187
+
188
+ // Time list item
189
+ .k-time-list-item,
190
+ .k-time-list .k-item {
191
+ padding: $time-list-item-padding-y $time-list-item-padding-x;
192
+ }
193
+
194
+
195
+ // Time separator
196
+ .k-time-separator {
197
+ width: 0;
198
+ height: $time-list-highlight-height;
199
+ align-self: center;
200
+ display: inline-flex;
201
+ justify-content: center;
202
+ align-items: center;
203
+ position: relative;
204
+ z-index: 11;
205
+ top: calc( #{$time-list-title-height / 2} );
206
+ }
207
+
208
+ }
@@ -0,0 +1,70 @@
1
+ @include exports( "timeselector/theme" ) {
2
+
3
+ // Time selector
4
+ .k-timeselector {
5
+ @include fill(
6
+ $time-selector-text,
7
+ $time-selector-bg,
8
+ $time-selector-border
9
+ );
10
+ }
11
+
12
+
13
+ // Time selector header
14
+ .k-time-header,
15
+ .k-time-selector-header {
16
+
17
+ .k-time-now {
18
+ color: $link-text;
19
+ }
20
+ .k-time-now:hover {
21
+ color: $link-hover-text;
22
+ }
23
+ }
24
+
25
+
26
+ // Time list wrapper
27
+ .k-time-list-wrapper {
28
+
29
+ .k-title {
30
+ color: $time-list-title-text;
31
+ }
32
+
33
+ &.k-state-focused {
34
+ .k-title {
35
+ color: $time-list-title-focus-text;
36
+ }
37
+
38
+ &::before,
39
+ &::after {
40
+ background-color: $time-list-focused-bg;
41
+ }
42
+ }
43
+ }
44
+
45
+
46
+ // Time list
47
+ .k-time-list {
48
+ &::before,
49
+ &::after {
50
+ $shadow-size: 3em;
51
+ box-shadow: 0 0 $shadow-size ($shadow-size / 2) $time-selector-bg;
52
+ }
53
+
54
+ .k-item:hover {
55
+ color: $primary;
56
+ }
57
+ }
58
+
59
+ .k-time-container {
60
+ background: transparent;
61
+ }
62
+
63
+ .k-time-highlight {
64
+ @include fill(
65
+ $bg: $time-list-highlight-bg,
66
+ $border: $time-list-highlight-border
67
+ );
68
+ }
69
+
70
+ }
@@ -0,0 +1,32 @@
1
+ // Time selector
2
+ $time-selector-border-width: 1px !default;
3
+ $time-selector-font-family: $font-family !default;
4
+ $time-selector-font-size: $font-size !default;
5
+ $time-selector-line-height: $line-height !default;
6
+
7
+ $time-selector-bg: $component-bg !default;
8
+ $time-selector-text: $component-text !default;
9
+ $time-selector-border: $component-border !default;
10
+
11
+ $time-selector-header-padding-x: map-get( $spacing, 1 ) !default;
12
+ $time-selector-header-padding-y: map-get( $spacing, 1 ) !default;
13
+ $time-selector-header-border-width: 0px !default;
14
+
15
+ $time-list-width: 4em !default;
16
+ $time-list-height: 240px !default;
17
+
18
+ $time-list-title-font-size: $font-size-sm !default;
19
+ $time-list-title-line-height: 1.5 !default;
20
+ $time-list-title-height: ( $time-list-title-font-size * $time-list-title-line-height) !default;
21
+ $time-list-title-text: $subtle-text !default;
22
+ $time-list-title-focus-text: $component-text !default;
23
+
24
+ $time-list-item-padding-x: $kendo-list-item-padding-x-md !default;
25
+ $time-list-item-padding-y: $kendo-list-item-padding-y-md !default;
26
+
27
+ $time-list-highlight-border-width: 1px 0px !default;
28
+ $time-list-highlight-height: calc( #{$time-selector-font-size * $time-selector-line-height} + #{ $time-list-item-padding-y * 2} ) !default;
29
+ $time-list-highlight-bg: $component-bg !default;
30
+ $time-list-highlight-border: $component-border !default;
31
+
32
+ $time-list-focused-bg: rgba(0, 0, 0, .04) !default;
@@ -5,6 +5,7 @@
5
5
  @import "../common/_index.scss";
6
6
  @import "../button/_index.scss";
7
7
  @import "../popup/_index.scss";
8
+ @import "../menu/_index.scss";
8
9
  @import "../icons/_index.scss";
9
10
 
10
11
 
@@ -25,7 +25,7 @@
25
25
  // Remove once we decide to not size empty containers
26
26
  &::before {
27
27
  content: "";
28
- height: $button-calc-size;
28
+ height: $kendo-button-calc-size;
29
29
  margin-inline-start: -$toolbar-spacing;
30
30
  }
31
31
 
@@ -62,13 +62,23 @@
62
62
  .k-split-button {}
63
63
 
64
64
 
65
+ // Input
66
+ .k-input,
67
+ .k-picker {
68
+ width: $toolbar-input-width;
69
+ }
70
+ .k-color-picker {
71
+ width: min-content;
72
+ }
73
+
65
74
  // Overflow anchor
66
75
  .k-overflow-anchor {
67
76
  @include border-radius( 0 );
68
77
  margin: 0;
69
78
  padding: $toolbar-padding-y;
70
- width: $toolbar-inner-calc-size;
79
+ width: auto;
71
80
  height: 100%;
81
+ aspect-ratio: 1;
72
82
  border-width: 0;
73
83
  border-color: inherit;
74
84
  box-sizing: border-box;
@@ -100,6 +110,7 @@
100
110
  flex: 1 0 0%;
101
111
  }
102
112
 
113
+
103
114
  // Template
104
115
  .k-toolbar-template {
105
116
  align-self: center;
@@ -112,19 +123,31 @@
112
123
  // Toolbar group
113
124
  .k-toolbar-group {
114
125
  display: flex;
115
- flex-flow: inherit nowrap;
126
+ flex-direction: inherit;
127
+ flex-wrap: nowrap;
116
128
  gap: inherit;
117
129
  }
118
130
 
119
131
 
120
132
  // Angular specific
121
133
  kendo-toolbar-renderer {
134
+ display: inline-block;
122
135
  border-color: inherit;
123
136
  }
124
137
 
125
138
 
126
139
  // Overflow container
127
140
  .k-overflow-container {
141
+ font-size: $kendo-menu-popup-font-size-md;
142
+ line-height: $kendo-menu-popup-line-height-md;
143
+
144
+ > .k-item {
145
+ border-color: inherit;
146
+ }
147
+
148
+ .k-separator {
149
+ margin: map-get( $spacing, 1 ) 0;
150
+ }
128
151
 
129
152
  // Group
130
153
  .k-overflow-tool-group {
@@ -133,16 +156,34 @@
133
156
 
134
157
  // Button
135
158
  .k-overflow-button {
159
+ padding: $kendo-menu-popup-item-padding-y-md $kendo-menu-popup-item-padding-x-md;
136
160
  width: 100%;
161
+ height: auto;
162
+ border-width: 0;
163
+ border-radius: 0;
164
+ aspect-ratio: auto;
165
+ color: inherit;
166
+ background-color: transparent;
167
+ background-image: none;
168
+ font: inherit;
169
+ cursor: pointer;
170
+ display: flex;
171
+ flex-flow: row nowrap;
172
+ align-items: center;
173
+ align-content: center;
174
+ gap: $icon-spacing;
175
+ justify-content: flex-start;
176
+ position: relative;
137
177
  }
138
178
 
139
179
  // Button group
140
180
  .k-button-group {
181
+ @include box-shadow( none );
141
182
  display: flex;
142
- flex-direction: column;
183
+ flex-flow: column nowrap;
143
184
 
144
185
  .k-button {
145
- margin: if( $button-border-width == 0, null, 0);
186
+ margin: if( $kendo-button-border-width == 0, null, 0);
146
187
  }
147
188
  }
148
189
 
@@ -199,6 +240,7 @@
199
240
  .k-toolbar {
200
241
  padding: 0;
201
242
  border-width: 0;
243
+ flex-shrink: 1;
202
244
  color: inherit;
203
245
  background: none;
204
246
  }