@progress/kendo-theme-default 5.0.0-next.5 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (250) hide show
  1. package/README.md +5 -8
  2. package/dist/all.css +9947 -12028
  3. package/dist/all.scss +14875 -15317
  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 +9 -0
  14. package/scss/action-sheet/_layout.scss +6 -0
  15. package/scss/adaptive/_layout.scss +50 -86
  16. package/scss/adaptive/_theme.scss +0 -9
  17. package/scss/all.scss +1 -154
  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 -53
  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 -13
  31. package/scss/button/_index.scss +2 -0
  32. package/scss/button/_layout.scss +100 -166
  33. package/scss/button/_theme.scss +188 -203
  34. package/scss/button/_variables.scss +57 -28
  35. package/scss/calendar/_index.scss +1 -0
  36. package/scss/calendar/_layout.scss +2 -14
  37. package/scss/calendar/_theme.scss +1 -19
  38. package/scss/captcha/_layout.scss +6 -0
  39. package/scss/card/_layout.scss +10 -53
  40. package/scss/card/_theme.scss +2 -1
  41. package/scss/card/_variables.scss +4 -4
  42. package/scss/chat/_layout.scss +35 -32
  43. package/scss/chat/_theme.scss +0 -31
  44. package/scss/chat/_variables.scss +3 -18
  45. package/scss/checkbox/_index.scss +2 -0
  46. package/scss/checkbox/_layout.scss +112 -163
  47. package/scss/checkbox/_theme.scss +6 -4
  48. package/scss/checkbox/_variables.scss +65 -74
  49. package/scss/checkbox/index.md +0 -0
  50. package/scss/chip/_index.scss +1 -0
  51. package/scss/chip/_layout.scss +127 -127
  52. package/scss/chip/_theme.scss +90 -387
  53. package/scss/chip/_variables.scss +142 -191
  54. package/scss/chip/index.md +0 -0
  55. package/scss/color-preview/_layout.scss +51 -8
  56. package/scss/color-preview/_theme.scss +1 -15
  57. package/scss/color-preview/_variables.scss +1 -0
  58. package/scss/coloreditor/_layout.scss +11 -1
  59. package/scss/coloreditor/_variables.scss +3 -3
  60. package/scss/colorgradient/_layout.scss +13 -4
  61. package/scss/colorpalette/_layout.scss +6 -0
  62. package/scss/colorpicker/_index.scss +1 -2
  63. package/scss/colorpicker/_layout.scss +7 -130
  64. package/scss/colorpicker/_theme.scss +2 -64
  65. package/scss/colorpicker/_variables.scss +1 -22
  66. package/scss/combobox/_index.scss +1 -0
  67. package/scss/combobox/_layout.scss +3 -83
  68. package/scss/combobox/_theme.scss +3 -124
  69. package/scss/combobox/_variables.scss +1 -33
  70. package/scss/common/_base.scss +1 -0
  71. package/scss/common/_loading.scss +15 -13
  72. package/scss/core/_normalize.scss +0 -11
  73. package/scss/core/functions/_colors.scss +4 -1
  74. package/scss/core/mixins/_index.scss +1 -0
  75. package/scss/core/mixins/_module-system.scss +149 -0
  76. package/scss/dataviz/_index.scss +1 -0
  77. package/scss/dataviz/_variables.scss +6 -6
  78. package/scss/dateinput/_index.scss +11 -0
  79. package/scss/dateinput/_layout.scss +6 -0
  80. package/scss/dateinput/_theme.scss +6 -0
  81. package/scss/dateinput/_variables.scss +1 -0
  82. package/scss/datepicker/_index.scss +13 -0
  83. package/scss/datepicker/_layout.scss +6 -0
  84. package/scss/datepicker/_theme.scss +6 -0
  85. package/scss/datepicker/_variables.scss +1 -0
  86. package/scss/{datetime → daterangepicker}/_index.scss +1 -2
  87. package/scss/daterangepicker/_layout.scss +39 -0
  88. package/scss/daterangepicker/_theme.scss +3 -0
  89. package/scss/daterangepicker/_variables.scss +1 -0
  90. package/scss/datetimepicker/_index.scss +17 -0
  91. package/scss/datetimepicker/_layout.scss +56 -0
  92. package/scss/datetimepicker/_theme.scss +6 -0
  93. package/scss/datetimepicker/_variables.scss +2 -0
  94. package/scss/drawer/_index.scss +1 -0
  95. package/scss/drawer/_layout.scss +6 -0
  96. package/scss/drawer/_variables.scss +1 -1
  97. package/scss/dropdowngrid/_layout.scss +9 -4
  98. package/scss/dropdowngrid/_theme.scss +9 -2
  99. package/scss/dropdowngrid/index.md +0 -0
  100. package/scss/dropdownlist/_index.scss +1 -0
  101. package/scss/dropdownlist/_layout.scss +20 -100
  102. package/scss/dropdownlist/_theme.scss +3 -91
  103. package/scss/dropdowntree/_layout.scss +5 -14
  104. package/scss/dropdowntree/_theme.scss +2 -1
  105. package/scss/dropdowntree/_variables.scss +2 -4
  106. package/scss/dropzone/_layout.scss +0 -16
  107. package/scss/editor/_layout.scss +105 -72
  108. package/scss/editor/_theme.scss +9 -0
  109. package/scss/editor/_variables.scss +8 -0
  110. package/scss/expansion-panel/_index.scss +1 -0
  111. package/scss/expansion-panel/_layout.scss +6 -1
  112. package/scss/expansion-panel/_variables.scss +2 -2
  113. package/scss/fab/_layout.scss +30 -58
  114. package/scss/fab/_theme.scss +43 -48
  115. package/scss/fab/_variables.scss +129 -72
  116. package/scss/fab/index.md +0 -0
  117. package/scss/filemanager/_theme.scss +1 -1
  118. package/scss/filter/_index.scss +1 -1
  119. package/scss/filter/_layout.scss +20 -6
  120. package/scss/filter/_theme.scss +3 -1
  121. package/scss/floating-label/_layout.scss +7 -0
  122. package/scss/forms/_index.scss +1 -1
  123. package/scss/forms/_layout.scss +18 -96
  124. package/scss/gantt/_index.scss +1 -1
  125. package/scss/gantt/_layout.scss +6 -4
  126. package/scss/grid/_index.scss +2 -1
  127. package/scss/grid/_layout.scss +144 -162
  128. package/scss/grid/_theme.scss +14 -20
  129. package/scss/grid/_variables.scss +10 -10
  130. package/scss/icons/_layout.scss +6 -1
  131. package/scss/icons/font/WebComponentsIcons.scss +1 -1
  132. package/scss/icons/font/WebComponentsIcons.ttf +0 -0
  133. package/scss/imageeditor/_layout.scss +10 -8
  134. package/scss/imageeditor/_variables.scss +1 -0
  135. package/scss/index.scss +157 -0
  136. package/scss/input/_index.scss +1 -1
  137. package/scss/input/_layout.scss +249 -27
  138. package/scss/input/_theme.scss +82 -2
  139. package/scss/input/_variables.scss +80 -58
  140. package/scss/list/_index.scss +12 -0
  141. package/scss/list/_layout.scss +241 -0
  142. package/scss/list/_theme.scss +91 -0
  143. package/scss/list/_variables.scss +248 -0
  144. package/scss/list/index.md +0 -0
  145. package/scss/listbox/_index.scss +2 -0
  146. package/scss/listbox/_layout.scss +10 -0
  147. package/scss/listbox/_variables.scss +1 -1
  148. package/scss/listview/_layout.scss +2 -9
  149. package/scss/map/_layout.scss +24 -0
  150. package/scss/maskedtextbox/_layout.scss +1 -1
  151. package/scss/maskedtextbox/_theme.scss +1 -1
  152. package/scss/mediaplayer/_layout.scss +19 -1
  153. package/scss/menu/_index.scss +2 -0
  154. package/scss/menu/_layout.scss +134 -74
  155. package/scss/menu/_theme.scss +33 -25
  156. package/scss/menu/_variables.scss +124 -35
  157. package/scss/multiselect/_index.scss +2 -0
  158. package/scss/multiselect/_layout.scss +3 -199
  159. package/scss/multiselect/_theme.scss +3 -139
  160. package/scss/multiselect/_variables.scss +0 -36
  161. package/scss/notification/_layout.scss +6 -22
  162. package/scss/numerictextbox/_layout.scss +6 -2
  163. package/scss/numerictextbox/_theme.scss +1 -1
  164. package/scss/numerictextbox/_variables.scss +1 -1
  165. package/scss/orgchart/_layout.scss +6 -0
  166. package/scss/orgchart/_variables.scss +2 -2
  167. package/scss/pager/_index.scss +1 -0
  168. package/scss/pager/_layout.scss +10 -11
  169. package/scss/pager/_theme.scss +4 -4
  170. package/scss/pager/_variables.scss +6 -6
  171. package/scss/panelbar/_index.scss +1 -0
  172. package/scss/panelbar/_layout.scss +6 -53
  173. package/scss/panelbar/_theme.scss +9 -2
  174. package/scss/panelbar/_variables.scss +6 -2
  175. package/scss/pdf-viewer/_layout.scss +23 -16
  176. package/scss/pdf-viewer/_variables.scss +2 -5
  177. package/scss/pivotgrid/_index.scss +1 -0
  178. package/scss/pivotgrid/_layout.scss +77 -108
  179. package/scss/pivotgrid/_theme.scss +39 -73
  180. package/scss/pivotgrid/_variables.scss +1 -4
  181. package/scss/popover/_layout.scss +6 -1
  182. package/scss/popup/_index.scss +0 -4
  183. package/scss/popup/_layout.scss +6 -248
  184. package/scss/popup/_theme.scss +2 -159
  185. package/scss/popup/_variables.scss +2 -7
  186. package/scss/progressbar/_layout.scss +6 -0
  187. package/scss/radio/_index.scss +2 -0
  188. package/scss/radio/_layout.scss +123 -165
  189. package/scss/radio/_theme.scss +4 -4
  190. package/scss/radio/_variables.scss +70 -91
  191. package/scss/radio/index.md +0 -0
  192. package/scss/rating/_layout.scss +6 -9
  193. package/scss/scheduler/_index.scss +1 -1
  194. package/scss/scheduler/_layout.scss +32 -13
  195. package/scss/scrollview/_layout.scss +6 -1
  196. package/scss/skeleton/_layout.scss +1 -1
  197. package/scss/slider/_layout.scss +67 -137
  198. package/scss/slider/_theme.scss +0 -6
  199. package/scss/spreadsheet/_index.scss +2 -1
  200. package/scss/spreadsheet/_layout.scss +35 -36
  201. package/scss/spreadsheet/_theme.scss +6 -6
  202. package/scss/stepper/_layout.scss +6 -1
  203. package/scss/switch/_layout.scss +64 -53
  204. package/scss/switch/_theme.scss +73 -75
  205. package/scss/switch/_variables.scss +107 -169
  206. package/scss/switch/index.md +0 -0
  207. package/scss/table/_index.scss +19 -0
  208. package/scss/table/_layout.scss +275 -0
  209. package/scss/table/_theme.scss +82 -0
  210. package/scss/table/_variables.scss +141 -0
  211. package/scss/tabstrip/_index.scss +1 -0
  212. package/scss/tabstrip/_layout.scss +37 -5
  213. package/scss/tabstrip/_theme.scss +1 -0
  214. package/scss/tabstrip/_variables.scss +3 -3
  215. package/scss/taskboard/_layout.scss +8 -3
  216. package/scss/taskboard/_variables.scss +0 -2
  217. package/scss/textarea/_layout.scss +3 -1
  218. package/scss/timeline/_layout.scss +8 -4
  219. package/scss/timepicker/_index.scss +15 -0
  220. package/scss/timepicker/_layout.scss +6 -0
  221. package/scss/timepicker/_theme.scss +6 -0
  222. package/scss/timepicker/_variables.scss +1 -0
  223. package/scss/timeselector/_index.scss +13 -0
  224. package/scss/timeselector/_layout.scss +208 -0
  225. package/scss/timeselector/_theme.scss +70 -0
  226. package/scss/timeselector/_variables.scss +32 -0
  227. package/scss/toolbar/_index.scss +1 -0
  228. package/scss/toolbar/_layout.scss +45 -3
  229. package/scss/toolbar/_theme.scss +41 -7
  230. package/scss/toolbar/_variables.scss +2 -0
  231. package/scss/tooltip/_layout.scss +6 -1
  232. package/scss/treelist/_layout.scss +4 -0
  233. package/scss/treeview/_layout.scss +135 -122
  234. package/scss/treeview/_theme.scss +51 -42
  235. package/scss/treeview/_variables.scss +125 -46
  236. package/scss/typography/_variables.scss +3 -3
  237. package/scss/upload/_layout.scss +6 -81
  238. package/scss/utils/_border.scss +1 -2
  239. package/scss/utils/_flex.scss +11 -3
  240. package/scss/virtual-scroller/_index.scss +10 -0
  241. package/scss/virtual-scroller/_layout.scss +35 -0
  242. package/scss/virtual-scroller/_theme.scss +3 -0
  243. package/scss/virtual-scroller/_variables.scss +1 -0
  244. package/scss/window/_layout.scss +13 -2
  245. package/scss/window/_variables.scss +1 -1
  246. package/scss/wizard/_layout.scss +4 -0
  247. package/scss/datetime/_layout.scss +0 -525
  248. package/scss/datetime/_theme.scss +0 -297
  249. package/scss/datetime/_variables.scss +0 -53
  250. package/scss/no-flexbox.scss +0 -71
@@ -1,11 +1,11 @@
1
1
  @include exports( "fab/theme" ) {
2
2
 
3
3
  // Normal state
4
- @each $name, $color in $fab-theme-colors {
5
- .k-fab-#{$name} {
6
- @include box-shadow($fab-shadow);
7
- outline: $fab-border-width solid $color;
8
- outline-offset: -$fab-border-width;
4
+ @each $name, $color in $kendo-fab-theme-colors {
5
+ .k-fab-solid-#{$name} {
6
+ @include box-shadow($kendo-fab-shadow);
7
+ outline: $kendo-fab-border-width solid $color;
8
+ outline-offset: -$kendo-fab-border-width;
9
9
  border-color: $color;
10
10
  color: contrast-wcag( $color );
11
11
  background-color: $color;
@@ -13,20 +13,18 @@
13
13
  }
14
14
 
15
15
  // Hover state
16
- @each $name, $color in $fab-theme-colors {
17
- .k-state-hover.k-fab-#{$name},
18
- .k-state-hovered.k-fab-#{$name},
19
- .k-fab-#{$name}:hover {
16
+ @each $name, $color in $kendo-fab-theme-colors {
17
+ .k-hover.k-fab-solid-#{$name},
18
+ .k-fab-solid-#{$name}:hover {
20
19
  border-color: try-shade( $color, .5 );
21
20
  background-color: try-shade( $color, .5 );
22
21
  }
23
22
  }
24
23
 
25
24
  // Focus state
26
- @each $name, $color in $fab-theme-colors {
27
- .k-fab-#{$name}.k-state-focus,
28
- .k-fab-#{$name}.k-state-focused,
29
- .k-fab-#{$name}:focus {
25
+ @each $name, $color in $kendo-fab-theme-colors {
26
+ .k-fab-solid-#{$name}.k-focus,
27
+ .k-fab-solid-#{$name}:focus {
30
28
  outline-style: solid;
31
29
  outline-width: 2px;
32
30
  outline-color: rgba( $color, .3 );
@@ -34,21 +32,21 @@
34
32
  }
35
33
 
36
34
  // Active state
37
- @each $name, $color in $fab-theme-colors {
38
- .k-state-active.k-fab-#{$name},
39
- .k-state-selected.k-fab-#{$name},
40
- .k-fab-#{$name}:active {
41
- @include box-shadow($fab-active-shadow);
35
+ @each $name, $color in $kendo-fab-theme-colors {
36
+ .k-active.k-fab-solid-#{$name},
37
+ .k-selected.k-fab-solid-#{$name},
38
+ .k-fab-solid-#{$name}:active {
39
+ @include box-shadow($kendo-fab-active-shadow);
42
40
  border-color: try-shade( $color, 1.5);
43
41
  background-color: try-shade( $color, 1.5);
44
42
  }
45
43
  }
46
44
 
47
45
  // Disabled state
48
- @each $name, $color in $fab-theme-colors {
49
- .k-state-disabled.k-fab-#{$name},
50
- .k-fab-#{$name}:disabled {
51
- @include box-shadow($fab-disabled-shadow);
46
+ @each $name, $color in $kendo-fab-theme-colors {
47
+ .k-disabled.k-fab-solid-#{$name},
48
+ .k-fab-solid-#{$name}:disabled {
49
+ @include box-shadow($kendo-fab-disabled-shadow);
52
50
  background-color: try-tint( $color, 5 );
53
51
  color: try-tint( contrast-wcag( $color ), 5 );
54
52
  opacity: 1;
@@ -58,62 +56,59 @@
58
56
  // Items
59
57
  .k-fab-item-text {
60
58
  @include fill(
61
- $fab-item-text,
62
- $fab-item-bg,
63
- $fab-item-border
59
+ $kendo-fab-item-text,
60
+ $kendo-fab-item-bg,
61
+ $kendo-fab-item-border
64
62
  );
65
- @include box-shadow($fab-item-shadow);
63
+ @include box-shadow($kendo-fab-item-shadow);
66
64
 
67
65
  }
68
66
  .k-fab-item-icon {
69
67
  @include fill(
70
- $fab-item-icon-text,
71
- $fab-item-icon-bg,
72
- $fab-item-icon-border
68
+ $kendo-fab-item-icon-text,
69
+ $kendo-fab-item-icon-bg,
70
+ $kendo-fab-item-icon-border
73
71
  );
74
- @include box-shadow($fab-item-shadow);
75
- outline: $fab-border-width solid rgba(0, 0, 0, .08);
76
- outline-offset: -$fab-border-width;
72
+ @include box-shadow($kendo-fab-item-shadow);
73
+ outline: $kendo-fab-border-width solid rgba(0, 0, 0, .08);
74
+ outline-offset: -$kendo-fab-border-width;
77
75
  }
78
76
 
79
77
  // Hover state
80
- .k-fab-item.k-state-hover .k-fab-item-icon,
81
- .k-fab-item.k-state-hovered .k-fab-item-icon
78
+ .k-fab-item.k-hover .k-fab-item-icon,
82
79
  .k-fab-item:hover .k-fab-item-icon {
83
- border-color: try-shade( $fab-item-icon-border, .5 );
84
- background-color: try-shade( $fab-item-icon-bg, .5 );
80
+ border-color: try-shade( $kendo-fab-item-icon-border, .5 );
81
+ background-color: try-shade( $kendo-fab-item-icon-bg, .5 );
85
82
  }
86
83
 
87
84
  // Focus state
88
85
  .k-fab-item:focus .k-fab-item-text,
89
86
  .k-fab-item:focus .k-fab-item-icon,
90
- .k-fab-item.k-state-focus .k-fab-item-text,
91
- .k-fab-item.k-state-focus .k-fab-item-icon,
92
- .k-fab-item.k-state-focused .k-fab-item-text,
93
- .k-fab-item.k-state-focused .k-fab-item-icon {
87
+ .k-fab-item.k-focus .k-fab-item-text,
88
+ .k-fab-item.k-focus .k-fab-item-icon {
94
89
  outline-style: solid;
95
90
  outline-width: 2px;
96
91
  outline-color: rgba(0, 0, 0, .08);
97
92
  }
98
93
 
99
94
  // Active state
100
- .k-fab-item.k-state-active .k-fab-item-icon,
95
+ .k-fab-item.k-active .k-fab-item-icon,
101
96
  .k-fab-item:active .k-fab-item-icon {
102
- @include box-shadow($fab-item-active-shadow);
103
- border-color: try-shade( $fab-item-icon-border, 1);
104
- background-color: try-shade( $fab-item-icon-bg, 1);
97
+ @include box-shadow($kendo-fab-item-active-shadow);
98
+ border-color: try-shade( $kendo-fab-item-icon-border, 1);
99
+ background-color: try-shade( $kendo-fab-item-icon-bg, 1);
105
100
  }
106
101
 
107
102
  // Disabled state
108
- .k-fab-item.k-state-disabled,
103
+ .k-fab-item.k-disabled,
109
104
  .k-fab-item:disabled {
110
105
  opacity: 1;
111
106
 
112
107
  .k-fab-item-text,
113
108
  .k-fab-item-icon {
114
- @include box-shadow($fab-item-disabled-shadow);
115
- background-color: try-tint( $fab-item-bg, 5 );
116
- color: try-tint( $fab-item-text, 5 );
109
+ @include box-shadow($kendo-fab-item-disabled-shadow);
110
+ background-color: try-tint( $kendo-fab-item-bg, 5 );
111
+ color: try-tint( $kendo-fab-item-text, 5 );
117
112
  }
118
113
  }
119
114
 
@@ -1,74 +1,131 @@
1
1
  // Floating Action Button
2
- $fab-padding-x: map-get( $spacing, 4 ) !default;
3
- $fab-padding-y: $fab-padding-x !default;
4
- $fab-border-width: 1px !default;
5
- $fab-border-radius: $border-radius !default;
6
- $fab-font-family: $font-family !default;
7
- $fab-font-size: $font-size !default;
8
- $fab-line-height: $line-height !default;
9
2
 
10
- $fab-padding-x-sm: ( $fab-padding-x / 2 ) !default;
11
- $fab-padding-y-sm: ( $fab-padding-y / 2 ) !default;
12
-
13
- $fab-padding-x-md: $fab-padding-x !default;
14
- $fab-padding-y-md: $fab-padding-y !default;
15
-
16
- $fab-padding-x-lg: ( $fab-padding-x * 1.5 ) !default;
17
- $fab-padding-y-lg: ( $fab-padding-y * 1.5 ) !default;
18
-
19
- $fab-icon-width: 20px !default;
20
- $fab-icon-height: $fab-icon-width !default;
21
- $fab-icon-spacing: map-get( $spacing, 1 ) / 2 !default;
22
-
23
- $fab-items-padding-x: 0px !default;
24
- $fab-items-padding-y: map-get( $spacing, 4 ) !default;
25
-
26
- $fab-item-text-padding-x: map-get( $spacing, 1 ) !default;
27
- $fab-item-text-padding-y: $fab-item-text-padding-x !default;
28
- $fab-item-text-border-width: 1px !default;
29
- $fab-item-text-border-radius: 2px !default;
30
- $fab-item-text-font-size: $font-size-xs !default;
31
- $fab-item-text-line-height: 1.2 !default;
32
-
33
- $fab-item-icon-padding-x: map-get( $spacing, 2 ) !default;
34
- $fab-item-icon-padding-y: $fab-item-icon-padding-x !default;
35
- $fab-item-icon-border-width: 0 !default;
36
- $fab-item-icon-border-radius: 50% !default;
37
- $fab-item-icon-width: 20px !default;
38
- $fab-item-icon-height: $fab-item-icon-width !default;
39
-
40
- $fab-sizes: (
41
- sm: map-get( $spacing, 4 ),
42
- md: map-get( $spacing, 8 ),
43
- lg: map-get( $spacing, 16 )
44
- ) !default;
45
-
46
- $fab-theme-colors: $theme-colors !default;
47
-
48
- $fab-shadow: 0 6px 10px rgba(0, 0, 0, .14), 0 1px 18px rgba(0, 0, 0, .12), 0 3px 5px rgba(0, 0, 0, .2) !default;
49
- $fab-disabled-shadow: 0 6px 10px try-tint( rgba(0, 0, 0, .14), .5 ), 0 1px 18px try-tint( rgba(0, 0, 0, .12), .5 ), 0 3px 5px try-tint( rgba(0, 0, 0, .2), .5 ) !default;
50
- $fab-active-shadow: null !default;
51
-
52
- $fab-item-text: $component-text !default;
53
- $fab-item-bg: $component-bg !default;
54
- $fab-item-border: $component-border !default;
55
-
56
- $fab-item-icon-text: $kendo-button-text !default;
57
- $fab-item-icon-bg: $kendo-button-bg !default;
58
- $fab-item-icon-border: $kendo-button-border !default;
59
-
60
- $fab-item-shadow: $fab-shadow !default;
61
- $fab-item-disabled-shadow: $fab-disabled-shadow !default;
62
- $fab-item-active-shadow: $fab-active-shadow !default;
63
-
64
- $fab-border-width-sm: $fab-border-width !default;
65
- $fab-line-height-sm: $fab-line-height !default;
66
- $fab-size-sm: calc( #{$fab-line-height-sm * 1em} + #{$fab-padding-y-sm * 2} + #{$fab-border-width-sm * 2} ) !default;
67
-
68
- $fab-border-width-md: $fab-border-width !default;
69
- $fab-line-height-md: $fab-line-height !default;
70
- $fab-size-md: calc( #{$fab-line-height-md * 1em} + #{$fab-padding-y-md * 2} + #{$fab-border-width-md * 2} ) !default;
71
-
72
- $fab-border-width-lg: $fab-border-width !default;
73
- $fab-line-height-lg: $fab-line-height !default;
74
- $fab-size-lg: calc( #{$fab-line-height-lg * 1em} + #{$fab-padding-y-lg * 2} + #{$fab-border-width-lg * 2} ) !default;
3
+ /// Width of the border around the FAB.
4
+ /// @group floating-action-button
5
+ $kendo-fab-border-width: 1px !default;
6
+ /// Border radius of the FAB.
7
+ /// @group floating-action-button
8
+ $kendo-fab-border-radius: $border-radius !default;
9
+
10
+ /// Font family of the FAB.
11
+ /// @group floating-action-button
12
+ $kendo-fab-font-family: $font-family !default;
13
+ /// Font size of the FAB.
14
+ /// @group floating-action-button
15
+ $kendo-fab-font-size: $font-size !default;
16
+ /// Line height of the FAB.
17
+ /// @group floating-action-button
18
+ $kendo-fab-line-height: $line-height !default;
19
+
20
+ /// Horizontal padding of the FAB.
21
+ /// @group floating-action-button
22
+ $kendo-fab-padding-x: map-get( $spacing, 4 ) !default;
23
+ $kendo-fab-padding-x-sm: ( $kendo-fab-padding-x / 2 ) !default;
24
+ $kendo-fab-padding-x-md: $kendo-fab-padding-x !default;
25
+ $kendo-fab-padding-x-lg: ( $kendo-fab-padding-x * 1.5 ) !default;
26
+
27
+ /// Vertical padding of the FAB.
28
+ /// @group floating-action-button
29
+ $kendo-fab-padding-y: $kendo-fab-padding-x !default;
30
+ $kendo-fab-padding-y-sm: ( $kendo-fab-padding-y / 2 ) !default;
31
+ $kendo-fab-padding-y-md: $kendo-fab-padding-y !default;
32
+ $kendo-fab-padding-y-lg: ( $kendo-fab-padding-y * 1.5 ) !default;
33
+
34
+ /// FAB icon width.
35
+ /// @group floating-action-button
36
+ $kendo-fab-icon-width: 20px !default;
37
+ /// FAB icon height.
38
+ /// @group floating-action-button
39
+ $kendo-fab-icon-height: $kendo-fab-icon-width !default;
40
+ /// FAB icon spacing.
41
+ /// @group floating-action-button
42
+ $kendo-fab-icon-spacing: map-get( $spacing, 1 ) / 2 !default;
43
+
44
+ /// FAB items horizontal padding.
45
+ /// @group floating-action-button
46
+ $kendo-fab-items-padding-x: 0px !default;
47
+ /// FAB items vertical padding.
48
+ /// @group floating-action-button
49
+ $kendo-fab-items-padding-y: map-get( $spacing, 4 ) !default;
50
+
51
+ /// FAB item text horizontal padding.
52
+ /// @group floating-action-button
53
+ $kendo-fab-item-text-padding-x: map-get( $spacing, 1 ) !default;
54
+ /// FAB item text vertical padding.
55
+ /// @group floating-action-button
56
+ $kendo-fab-item-text-padding-y: $kendo-fab-item-text-padding-x !default;
57
+ /// Width of the FAB item text border.
58
+ /// @group floating-action-button
59
+ $kendo-fab-item-text-border-width: 1px !default;
60
+ /// Border radius of the FAB item text.
61
+ /// @group floating-action-button
62
+ $kendo-fab-item-text-border-radius: 2px !default;
63
+ /// Font size of the FAB item text.
64
+ /// @group floating-action-button
65
+ $kendo-fab-item-text-font-size: $font-size-xs !default;
66
+ /// Line height of the FAB item text.
67
+ /// @group floating-action-button
68
+ $kendo-fab-item-text-line-height: 1.2 !default;
69
+
70
+ /// FAB item icon horizontal padding.
71
+ /// @group floating-action-button
72
+ $kendo-fab-item-icon-padding-x: map-get( $spacing, 2 ) !default;
73
+ /// FAB item icon vertical padding.
74
+ /// @group floating-action-button
75
+ $kendo-fab-item-icon-padding-y: $kendo-fab-item-icon-padding-x !default;
76
+ /// Width of the FAB item icon border.
77
+ /// @group floating-action-button
78
+ $kendo-fab-item-icon-border-width: 0 !default;
79
+ /// Border radius of the FAB item icon.
80
+ /// @group floating-action-button
81
+ $kendo-fab-item-icon-border-radius: 50% !default;
82
+ /// Width of the FAB item icon.
83
+ /// @group floating-action-button
84
+ $kendo-fab-item-icon-width: 20px !default;
85
+ /// Height of the FAB item icon.
86
+ /// @group floating-action-button
87
+ $kendo-fab-item-icon-height: $kendo-fab-item-icon-width !default;
88
+
89
+ /// Theme colors map for the FAB.
90
+ /// @group floating-action-button
91
+ $kendo-fab-theme-colors: $theme-colors !default;
92
+
93
+ /// The base shadow of the FAB.
94
+ /// @group floating-action-button
95
+ $kendo-fab-shadow: 0 6px 10px rgba(0, 0, 0, .14), 0 1px 18px rgba(0, 0, 0, .12), 0 3px 5px rgba(0, 0, 0, .2) !default;
96
+ /// The disabled shadow of the FAB.
97
+ /// @group floating-action-button
98
+ $kendo-fab-disabled-shadow: 0 6px 10px try-tint( rgba(0, 0, 0, .14), .5 ), 0 1px 18px try-tint( rgba(0, 0, 0, .12), .5 ), 0 3px 5px try-tint( rgba(0, 0, 0, .2), .5 ) !default;
99
+ /// The active shadow of the FAB.
100
+ /// @group floating-action-button
101
+ $kendo-fab-active-shadow: null !default;
102
+
103
+ /// The base text color of the FAB item.
104
+ /// @group floating-action-button
105
+ $kendo-fab-item-text: $component-text !default;
106
+ /// The base background color of the FAB item.
107
+ /// @group floating-action-button
108
+ $kendo-fab-item-bg: $component-bg !default;
109
+ /// The base border color of the FAB item.
110
+ /// @group floating-action-button
111
+ $kendo-fab-item-border: $component-border !default;
112
+
113
+ /// The base text color of the FAB item icon.
114
+ /// @group floating-action-button
115
+ $kendo-fab-item-icon-text: $kendo-button-text !default;
116
+ /// The base background color of the FAB item icon.
117
+ /// @group floating-action-button
118
+ $kendo-fab-item-icon-bg: $kendo-button-bg !default;
119
+ /// The base border color of the FAB item icon.
120
+ /// @group floating-action-button
121
+ $kendo-fab-item-icon-border: $kendo-button-border !default;
122
+
123
+ /// The base shadow of the FAB item.
124
+ /// @group floating-action-button
125
+ $kendo-fab-item-shadow: $kendo-fab-shadow !default;
126
+ /// The disabled shadow of the FAB item.
127
+ /// @group floating-action-button
128
+ $kendo-fab-item-disabled-shadow: $kendo-fab-disabled-shadow !default;
129
+ /// The active shadow of the FAB item.
130
+ /// @group floating-action-button
131
+ $kendo-fab-item-active-shadow: $kendo-fab-active-shadow !default;
File without changes
@@ -67,7 +67,7 @@
67
67
  &.k-state-selected .k-file-icon {
68
68
  @include fill(
69
69
  inherit,
70
- none,
70
+ transparent,
71
71
  transparent
72
72
  );
73
73
  }
@@ -6,7 +6,7 @@
6
6
  @import "../button/_index.scss";
7
7
  @import "../input/_index.scss";
8
8
  @import "../checkbox/_index.scss";
9
- @import "../datetime/_index.scss";
9
+ @import "../datetimepicker/_index.scss";
10
10
  @import "../dropdownlist/_index.scss";
11
11
  @import "../numerictextbox/_index.scss";
12
12
  @import "../toolbar/_index.scss";
@@ -1,9 +1,17 @@
1
1
  @include exports("filter/layout") {
2
+
2
3
  .k-filter {
4
+ box-sizing: border-box;
3
5
  border-width: 0;
4
6
  display: inline-block;
5
7
  background-color: transparent;
6
8
 
9
+ *,
10
+ *::before,
11
+ *::after {
12
+ box-sizing: border-box;
13
+ }
14
+
7
15
  ul {
8
16
  padding: 0;
9
17
 
@@ -39,10 +47,9 @@
39
47
  .k-toolbar {
40
48
  border-style: solid;
41
49
  }
42
-
43
- .k-filter-operator .k-dropdown {
44
- width: $filter-operator-dropdown-width;
45
- }
50
+ }
51
+ .k-filter-operator .k-dropdown-list {
52
+ width: $filter-operator-dropdown-width;
46
53
  }
47
54
 
48
55
  .k-filter-item {
@@ -58,7 +65,9 @@
58
65
  }
59
66
  }
60
67
 
61
- .k-filter-lines .k-filter-item:last-child > .k-filter-toolbar::after {
68
+ // The second selector targets the Angular rendering
69
+ .k-filter-lines .k-filter-item:last-child > .k-filter-toolbar::after,
70
+ .k-filter-lines .k-filter-item:last-child > * > .k-filter-toolbar::after {
62
71
  content: "";
63
72
  position: absolute;
64
73
  width: $filter-line-size;
@@ -67,9 +76,12 @@
67
76
  left: -$filter-padding-x;
68
77
  }
69
78
 
79
+ // The forth and fifth selectors targets the Angular rendering
70
80
  .k-filter-group-main::before,
71
81
  .k-filter-group-main > .k-filter-toolbar::before,
72
82
  .k-filter-group-main > .k-filter-toolbar::after,
83
+ .k-filter-group-main > * > .k-filter-toolbar::before,
84
+ .k-filter-group-main > * > .k-filter-toolbar::after,
73
85
  .k-filter-lines .k-filter-item:last-child::before {
74
86
  display: none;
75
87
  }
@@ -99,7 +111,9 @@
99
111
  }
100
112
  }
101
113
 
102
- .k-filter-lines .k-filter-item:last-child > .k-filter-toolbar::after {
114
+ // The second selector targets the Angular rendering
115
+ .k-filter-lines .k-filter-item:last-child > .k-filter-toolbar::after,
116
+ .k-filter-lines .k-filter-item:last-child > * > .k-filter-toolbar::after {
103
117
  left: auto;
104
118
  right: -$filter-padding-x;
105
119
  }
@@ -11,9 +11,11 @@
11
11
  color: $filter-preview-operator-text;
12
12
  }
13
13
 
14
+ // The last selector targets the Angular rendering
14
15
  .k-filter-item::before,
15
16
  .k-filter-toolbar::before,
16
- .k-filter-lines .k-filter-item:last-child > .k-filter-toolbar::after {
17
+ .k-filter-lines .k-filter-item:last-child > .k-filter-toolbar::after,
18
+ .k-filter-lines .k-filter-item:last-child > * > .k-filter-toolbar::after {
17
19
  background-color: $component-border;
18
20
  }
19
21
  }
@@ -4,12 +4,19 @@
4
4
  // Floating label
5
5
  .k-floating-label-container {
6
6
  padding-top: $floating-label-height;
7
+ box-sizing: border-box;
7
8
  display: inline-flex;
8
9
  vertical-align: middle;
9
10
  position: relative;
10
11
  flex-direction: column;
11
12
  justify-content: stretch;
12
13
 
14
+ *,
15
+ *::before,
16
+ *::after {
17
+ box-sizing: border-box;
18
+ }
19
+
13
20
  > .k-label {
14
21
  max-width: 90%;
15
22
  font-size: $floating-label-font-size;
@@ -7,7 +7,7 @@
7
7
  @import "../button/_variables.scss";
8
8
  @import "../input/_variables.scss";
9
9
  @import "../toolbar/_index.scss";
10
- @import "../action-buttons/_variables.scss";
10
+ @import "../action-buttons/_index.scss";
11
11
  @import "../window/_variables.scss";
12
12
 
13
13