@progress/kendo-theme-material 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 (204) hide show
  1. package/README.md +5 -8
  2. package/dist/all.css +13810 -14911
  3. package/dist/all.scss +16868 -18431
  4. package/dist/material-dataviz-v4.scss +8 -0
  5. package/lib/swatches/material-dataviz-v4.json +51 -0
  6. package/package.json +3 -3
  7. package/scss/_variables.scss +2 -19
  8. package/scss/action-buttons/_layout.scss +14 -0
  9. package/scss/action-buttons/_theme.scss +5 -3
  10. package/scss/adaptive/_layout.scss +0 -11
  11. package/scss/all.scss +1 -150
  12. package/scss/appbar/_variables.scss +1 -1
  13. package/scss/autocomplete/_index.scss +1 -0
  14. package/scss/autocomplete/_layout.scss +0 -16
  15. package/scss/autocomplete/_variables.scss +0 -24
  16. package/scss/avatar/_variables.scss +18 -8
  17. package/scss/avatar/index.md +0 -0
  18. package/scss/breadcrumb/_variables.scss +1 -1
  19. package/scss/button/_index.scss +3 -1
  20. package/scss/button/_layout.scss +39 -17
  21. package/scss/button/_theme.scss +72 -126
  22. package/scss/button/_variables.scss +202 -130
  23. package/scss/button/index.md +0 -0
  24. package/scss/calendar/_index.scss +1 -0
  25. package/scss/calendar/_variables.scss +1 -1
  26. package/scss/chat/_variables.scss +4 -19
  27. package/scss/checkbox/_index.scss +2 -0
  28. package/scss/checkbox/_theme.scss +2 -9
  29. package/scss/checkbox/_variables.scss +148 -58
  30. package/scss/checkbox/index.md +0 -0
  31. package/scss/chip/_index.scss +1 -0
  32. package/scss/chip/_theme.scss +44 -0
  33. package/scss/chip/_variables.scss +142 -190
  34. package/scss/chip/index.md +0 -0
  35. package/scss/color-preview/_index.scss +11 -0
  36. package/scss/color-preview/_layout.scss +1 -0
  37. package/scss/color-preview/_theme.scss +1 -0
  38. package/scss/color-preview/_variables.scss +14 -0
  39. package/scss/coloreditor/_index.scss +14 -0
  40. package/scss/coloreditor/_layout.scss +1 -0
  41. package/scss/coloreditor/_theme.scss +1 -0
  42. package/scss/coloreditor/_variables.scss +27 -0
  43. package/scss/colorgradient/_index.scss +19 -0
  44. package/scss/colorgradient/_layout.scss +1 -0
  45. package/scss/colorgradient/_theme.scss +1 -0
  46. package/scss/colorgradient/_variables.scss +51 -0
  47. package/scss/colorgradient/images/alpha-slider-bgr.png +0 -0
  48. package/scss/colorgradient/images/alpha-slider-bgr.scss +3 -0
  49. package/scss/colorpalette/_index.scss +12 -0
  50. package/scss/colorpalette/_layout.scss +1 -0
  51. package/scss/colorpalette/_theme.scss +1 -0
  52. package/scss/colorpalette/_variables.scss +10 -0
  53. package/scss/colorpicker/_index.scss +3 -6
  54. package/scss/colorpicker/_layout.scss +0 -61
  55. package/scss/colorpicker/_theme.scss +0 -37
  56. package/scss/colorpicker/_variables.scss +1 -44
  57. package/scss/combobox/_index.scss +1 -0
  58. package/scss/combobox/_layout.scss +0 -16
  59. package/scss/combobox/_variables.scss +1 -33
  60. package/scss/dataviz/_index.scss +1 -0
  61. package/scss/dataviz/_variables.scss +4 -4
  62. package/scss/dateinput/_index.scss +11 -0
  63. package/scss/dateinput/_layout.scss +1 -0
  64. package/scss/dateinput/_theme.scss +1 -0
  65. package/scss/dateinput/_variables.scss +1 -0
  66. package/scss/datepicker/_index.scss +13 -0
  67. package/scss/datepicker/_layout.scss +1 -0
  68. package/scss/datepicker/_theme.scss +1 -0
  69. package/scss/datepicker/_variables.scss +1 -0
  70. package/scss/{datetime → daterangepicker}/_index.scss +1 -2
  71. package/scss/daterangepicker/_layout.scss +1 -0
  72. package/scss/daterangepicker/_theme.scss +1 -0
  73. package/scss/daterangepicker/_variables.scss +2 -0
  74. package/scss/datetimepicker/_index.scss +17 -0
  75. package/scss/datetimepicker/_layout.scss +1 -0
  76. package/scss/datetimepicker/_theme.scss +1 -0
  77. package/scss/datetimepicker/_variables.scss +2 -0
  78. package/scss/dialog/_layout.scss +0 -8
  79. package/scss/drawer/_index.scss +1 -0
  80. package/scss/dropdowngrid/_layout.scss +0 -14
  81. package/scss/dropdowngrid/_theme.scss +0 -8
  82. package/scss/dropdowngrid/index.md +0 -0
  83. package/scss/dropdownlist/_index.scss +1 -0
  84. package/scss/dropdownlist/_layout.scss +0 -24
  85. package/scss/dropdownlist/_theme.scss +0 -31
  86. package/scss/dropdownlist/_variables.scss +7 -7
  87. package/scss/dropdowntree/_variables.scss +2 -4
  88. package/scss/editor/_layout.scss +1 -12
  89. package/scss/editor/_theme.scss +9 -0
  90. package/scss/editor/_variables.scss +10 -2
  91. package/scss/expansion-panel/_index.scss +1 -0
  92. package/scss/fab/_layout.scss +8 -0
  93. package/scss/fab/_theme.scss +52 -68
  94. package/scss/fab/_variables.scss +129 -71
  95. package/scss/fab/index.md +0 -0
  96. package/scss/filemanager/_variables.scss +1 -1
  97. package/scss/filter/_index.scss +1 -1
  98. package/scss/filter/_layout.scss +0 -23
  99. package/scss/filter/_variables.scss +1 -1
  100. package/scss/floating-label/_layout.scss +0 -1
  101. package/scss/floating-label/_theme.scss +0 -1
  102. package/scss/floating-label/_variables.scss +3 -3
  103. package/scss/forms/_index.scss +1 -1
  104. package/scss/forms/_layout.scss +0 -37
  105. package/scss/gantt/_index.scss +1 -1
  106. package/scss/grid/_index.scss +2 -1
  107. package/scss/grid/_layout.scss +7 -26
  108. package/scss/grid/_theme.scss +6 -6
  109. package/scss/grid/_variables.scss +11 -13
  110. package/scss/imageeditor/_variables.scss +1 -0
  111. package/scss/index.scss +157 -0
  112. package/scss/input/_index.scss +1 -1
  113. package/scss/input/_layout.scss +30 -1
  114. package/scss/input/_variables.scss +118 -92
  115. package/scss/list/_index.scss +12 -0
  116. package/scss/list/_layout.scss +1 -0
  117. package/scss/list/_theme.scss +1 -0
  118. package/scss/list/_variables.scss +248 -0
  119. package/scss/list/index.md +0 -0
  120. package/scss/listbox/_index.scss +2 -0
  121. package/scss/listbox/_variables.scss +5 -5
  122. package/scss/map/_variables.scss +1 -1
  123. package/scss/menu/_index.scss +2 -0
  124. package/scss/menu/_theme.scss +8 -8
  125. package/scss/menu/_variables.scss +125 -36
  126. package/scss/multiselect/_index.scss +2 -0
  127. package/scss/multiselect/_layout.scss +0 -60
  128. package/scss/multiselect/_theme.scss +0 -47
  129. package/scss/multiselect/_variables.scss +0 -44
  130. package/scss/numerictextbox/_layout.scss +0 -24
  131. package/scss/numerictextbox/_variables.scss +0 -31
  132. package/scss/orgchart/_variables.scss +2 -2
  133. package/scss/pager/_index.scss +1 -0
  134. package/scss/pager/_variables.scss +3 -3
  135. package/scss/panelbar/_index.scss +1 -0
  136. package/scss/panelbar/_variables.scss +5 -0
  137. package/scss/pdf-viewer/_variables.scss +3 -6
  138. package/scss/pivotgrid/_index.scss +1 -0
  139. package/scss/pivotgrid/_layout.scss +0 -54
  140. package/scss/pivotgrid/_theme.scss +0 -140
  141. package/scss/pivotgrid/_variables.scss +7 -10
  142. package/scss/popup/_index.scss +0 -4
  143. package/scss/popup/_layout.scss +0 -50
  144. package/scss/popup/_theme.scss +0 -56
  145. package/scss/popup/_variables.scss +2 -7
  146. package/scss/radio/_index.scss +2 -0
  147. package/scss/radio/_theme.scss +2 -9
  148. package/scss/radio/_variables.scss +134 -52
  149. package/scss/radio/index.md +0 -0
  150. package/scss/scheduler/_index.scss +1 -1
  151. package/scss/scheduler/_layout.scss +0 -29
  152. package/scss/scheduler/_variables.scss +2 -2
  153. package/scss/scrollview/_variables.scss +4 -4
  154. package/scss/searchbox/_layout.scss +0 -9
  155. package/scss/searchbox/_variables.scss +0 -20
  156. package/scss/slider/_theme.scss +0 -9
  157. package/scss/slider/_variables.scss +9 -9
  158. package/scss/spreadsheet/_index.scss +2 -1
  159. package/scss/spreadsheet/_layout.scss +0 -13
  160. package/scss/spreadsheet/_theme.scss +18 -18
  161. package/scss/switch/_index.scss +0 -2
  162. package/scss/switch/_layout.scss +7 -7
  163. package/scss/switch/_theme.scss +6 -2
  164. package/scss/switch/_variables.scss +191 -83
  165. package/scss/switch/index.md +0 -0
  166. package/scss/table/_index.scss +19 -0
  167. package/scss/table/_layout.scss +1 -0
  168. package/scss/table/_theme.scss +1 -0
  169. package/scss/table/_variables.scss +141 -0
  170. package/scss/tabstrip/_index.scss +1 -0
  171. package/scss/tabstrip/_variables.scss +3 -3
  172. package/scss/taskboard/_variables.scss +0 -2
  173. package/scss/textarea/_layout.scss +0 -112
  174. package/scss/textarea/_variables.scss +0 -53
  175. package/scss/textbox/_layout.scss +0 -14
  176. package/scss/textbox/_variables.scss +0 -1
  177. package/scss/timeline/_layout.scss +2 -2
  178. package/scss/timeline/_variables.scss +5 -5
  179. package/scss/timepicker/_index.scss +15 -0
  180. package/scss/timepicker/_layout.scss +1 -0
  181. package/scss/timepicker/_theme.scss +1 -0
  182. package/scss/timepicker/_variables.scss +1 -0
  183. package/scss/timeselector/_index.scss +13 -0
  184. package/scss/timeselector/_layout.scss +1 -0
  185. package/scss/timeselector/_theme.scss +19 -0
  186. package/scss/timeselector/_variables.scss +32 -0
  187. package/scss/toolbar/_index.scss +1 -0
  188. package/scss/toolbar/_layout.scss +17 -6
  189. package/scss/toolbar/_theme.scss +3 -13
  190. package/scss/toolbar/_variables.scss +3 -1
  191. package/scss/treeview/_theme.scss +32 -27
  192. package/scss/treeview/_variables.scss +125 -46
  193. package/scss/utils/_border.scss +9 -0
  194. package/scss/virtual-scroller/_index.scss +10 -0
  195. package/scss/virtual-scroller/_layout.scss +1 -0
  196. package/scss/virtual-scroller/_theme.scss +1 -0
  197. package/scss/virtual-scroller/_variables.scss +1 -0
  198. package/scss/colorpicker/images/alpha-slider-bgr-reversed.png +0 -0
  199. package/scss/colorpicker/images/alpha-slider-bgr-reversed.scss +0 -3
  200. package/scss/colorpicker/images/alpha-slider-bgr.png +0 -0
  201. package/scss/colorpicker/images/alpha-slider-bgr.scss +0 -3
  202. package/scss/datetime/_layout.scss +0 -74
  203. package/scss/datetime/_theme.scss +0 -64
  204. package/scss/datetime/_variables.scss +0 -53
@@ -1,21 +1 @@
1
1
  // Searchbox
2
- $searchbox-padding-x: $input-padding-x !default;
3
- $searchbox-padding-y: $input-padding-y !default;
4
- $searchbox-border-width: $input-border-width !default;
5
- $searchbox-border-radius: $input-border-radius !default;
6
-
7
- $searchbox-font-family: $input-font-family !default;
8
- $searchbox-font-size: $input-font-size !default;
9
- $searchbox-line-height: $input-line-height !default;
10
-
11
- $searchbox-bg: $input-bg !default;
12
- $searchbox-text: $input-text !default;
13
- $searchbox-border: $input-border !default;
14
-
15
- $searchbox-hover-bg: $input-hovered-bg !default;
16
- $searchbox-hover-text: $input-hovered-text !default;
17
- $searchbox-hover-border: $input-hovered-border !default;
18
-
19
- $searchbox-focus-bg: $input-focused-bg !default;
20
- $searchbox-focus-text: $input-focused-text !default;
21
- $searchbox-focus-border: $input-focused-border !default;
@@ -14,15 +14,6 @@
14
14
  @include fill( $bg: $body-text );
15
15
  }
16
16
 
17
- .k-button {
18
- &:hover,
19
- &.k-state-hover {
20
- &::before {
21
- opacity: 0;
22
- }
23
- }
24
- }
25
-
26
17
  .k-draghandle {
27
18
  box-sizing: border-box;
28
19
 
@@ -18,19 +18,19 @@ $slider-draghandle-border-width: 0px !default;
18
18
  $slider-draghandle-active-scale: 1 !default;
19
19
  $slider-draghandle-active-size: 20px !default;
20
20
 
21
- $slider-draghandle-bg: $primary-button-bg !default;
22
- $slider-draghandle-text: $primary-button-text !default;
23
- $slider-draghandle-border: $primary-button-border !default;
21
+ $slider-draghandle-bg: $primary !default;
22
+ $slider-draghandle-text: $primary-contrast !default;
23
+ $slider-draghandle-border: $primary !default;
24
24
  $slider-draghandle-gradient: null !default;
25
25
 
26
- $slider-draghandle-hovered-bg: $primary-button-hovered-bg !default;
27
- $slider-draghandle-hovered-text: $primary-button-hovered-text !default;
28
- $slider-draghandle-hovered-border: $primary-button-hovered-border !default;
26
+ $slider-draghandle-hovered-bg: null !default;
27
+ $slider-draghandle-hovered-text: null !default;
28
+ $slider-draghandle-hovered-border: null !default;
29
29
  $slider-draghandle-hovered-gradient: null !default;
30
30
 
31
- $slider-draghandle-pressed-bg: $primary-button-active-bg !default;
32
- $slider-draghandle-pressed-text: $primary-button-active-text !default;
33
- $slider-draghandle-pressed-border: $primary-button-active-border !default;
31
+ $slider-draghandle-pressed-bg: null !default;
32
+ $slider-draghandle-pressed-text: null !default;
33
+ $slider-draghandle-pressed-border: null !default;
34
34
  $slider-draghandle-pressed-gradient: null !default;
35
35
 
36
36
  $slider-draghandle-focused-shadow: 0 0 0 11px rgba($primary, .25) !default;
@@ -8,7 +8,7 @@
8
8
  @import "../radio/_index.scss";
9
9
  @import "../colorpicker/_index.scss";
10
10
  @import "../combobox/_index.scss";
11
- @import "../datetime/_index.scss";
11
+ @import "../datetimepicker/_index.scss";
12
12
  @import "../dropdownlist/_index.scss";
13
13
  @import "../toolbar/_index.scss";
14
14
  @import "../upload/_index.scss";
@@ -17,6 +17,7 @@
17
17
  @import "../tabstrip/_index.scss";
18
18
  @import "../treeview/_index.scss";
19
19
  @import "../icons/_index.scss";
20
+ @import "../list/_index.scss";
20
21
 
21
22
 
22
23
  // Component
@@ -57,22 +57,9 @@
57
57
  width: auto;
58
58
  box-sizing: border-box;
59
59
 
60
- .k-edit-buttons,
61
60
  .k-actions {
62
61
  margin: $spacer (-$window-inner-padding-x) (-$window-inner-padding-y);
63
62
  }
64
63
  }
65
64
 
66
65
  }
67
-
68
-
69
-
70
-
71
- @include exports( "spreadsheet/popup/layout/material" ) {
72
-
73
- .k-spreadsheet-popup {
74
- .k-separator {
75
- margin: 0;
76
- }
77
- }
78
- }
@@ -156,29 +156,29 @@
156
156
  }
157
157
  .k-spreadsheet-filter {
158
158
  @include fill(
159
- $button-text,
160
- $button-bg,
161
- $button-border,
162
- $button-gradient
159
+ $kendo-button-text,
160
+ $kendo-button-bg,
161
+ $kendo-button-border,
162
+ $kendo-button-gradient
163
163
  );
164
- box-shadow: inset 0 0 0 1px $button-border;
164
+ box-shadow: inset 0 0 0 1px $kendo-button-border;
165
165
 
166
166
  &.k-state-active {
167
167
  @include fill(
168
- $button-active-text,
169
- $button-active-bg,
170
- $button-active-border,
171
- $button-active-gradient
168
+ $kendo-button-active-text,
169
+ $kendo-button-active-bg,
170
+ $kendo-button-active-border,
171
+ $kendo-button-active-gradient
172
172
  );
173
- @include box-shadow( $button-active-shadow );
173
+ @include box-shadow( $kendo-button-active-shadow );
174
174
  }
175
175
 
176
176
  &:hover {
177
177
  @include fill(
178
- $button-hovered-text,
179
- $button-hovered-bg,
180
- $button-hovered-border,
181
- $button-hovered-gradient
178
+ $kendo-button-hover-text,
179
+ $kendo-button-hover-bg,
180
+ $kendo-button-hover-border,
181
+ $kendo-button-hover-gradient
182
182
  );
183
183
  }
184
184
  }
@@ -249,16 +249,16 @@
249
249
  .k-button:hover,
250
250
  .k-button.k-state-hover {
251
251
  @include fill(
252
- $list-item-hovered-text,
253
- $list-item-hovered-bg
252
+ $kendo-list-item-hover-text,
253
+ $kendo-list-item-hover-bg
254
254
  );
255
255
  }
256
256
  .k-button:active,
257
257
  .k-button.k-state-active,
258
258
  .k-button.k-state-selected {
259
259
  @include fill(
260
- $list-item-selected-text,
261
- $list-item-selected-bg
260
+ $kendo-list-item-selected-text,
261
+ $kendo-list-item-selected-bg
262
262
  );
263
263
  }
264
264
 
@@ -3,8 +3,6 @@
3
3
 
4
4
  // Dependencies
5
5
  @import "../common/_index.scss";
6
- @import "../button/_variables.scss";
7
- @import "../input/_variables.scss";
8
6
 
9
7
 
10
8
  // Component
@@ -6,7 +6,7 @@
6
6
  .k-switch {
7
7
 
8
8
  // Thumb ripple
9
- .k-switch-handle::before {
9
+ .k-switch-thumb::before {
10
10
  content: "";
11
11
  width: 200%;
12
12
  height: 200%;
@@ -21,19 +21,19 @@
21
21
  pointer-events: none;
22
22
  }
23
23
 
24
- // Hover state
24
+ // Hover
25
25
  &:hover,
26
- &.k-state-hover {
27
- .k-switch-handle::before {
26
+ &.k-hover {
27
+ .k-switch-thumb::before {
28
28
  display: block;
29
29
  opacity: .04;
30
30
  }
31
31
  }
32
32
 
33
- // Focus state
33
+ // Focus
34
34
  &:focus,
35
- &.k-state-focused {
36
- .k-switch-handle::before {
35
+ &.k-focus {
36
+ .k-switch-thumb::before {
37
37
  display: block;
38
38
  opacity: .12;
39
39
  }
@@ -5,11 +5,15 @@
5
5
  // Switch
6
6
  .k-switch {
7
7
 
8
+ .k-switch-thumb {
9
+ box-shadow: $box-shadow-depth-2;
10
+ }
11
+
8
12
  // Thumb ripple
9
- &.k-switch-on .k-switch-handle::before {
13
+ &.k-switch-on .k-switch-thumb::before {
10
14
  background-color: inherit;
11
15
  }
12
- &.k-switch-off .k-switch-handle::before {
16
+ &.k-switch-off .k-switch-thumb::before {
13
17
  background-color: if( $dark-theme == true, $white, $black );
14
18
  }
15
19
  }
@@ -1,84 +1,192 @@
1
1
  // Switch
2
- $switch-size: 32px !default;
3
- $switch-border-radius: $switch-size !default;
4
-
5
- $switch-font-family: $font-family !default;
6
- $switch-font-size: $font-size-xs !default;
7
- $switch-line-height: $line-height !default;
8
-
9
- $switch-track-size: 14px !default;
10
- $switch-container-border-width: null !default;
11
- $switch-container-padding-x: null !default;
12
- $switch-container-padding-y: null !default;
13
-
14
- $switch-handle-size: 20px !default;
15
- $switch-handle-border-radius: 9999px !default;
16
- $switch-handle-border-width: 0px !default;
17
- $switch-thumb-start-x: calc( ( #{$switch-handle-size} - #{$switch-track-size} ) / -2 ) !default;
18
- // TODO: Remove width property from jQuery and Blazor, and do not use 100% for thumb X calc
19
- $switch-thumb-end-x: calc( 100% - #{$switch-handle-size} + ( ( #{$switch-handle-size} - #{$switch-track-size} ) / 2 ) ) !default;
20
-
21
- $switch-label-offset: null !default;
22
- $switch-label-width: null !default;
23
- $switch-label-text-transform: null !default;
24
- $switch-label-display: none !default;
25
-
26
- $switch-container-shadow: null !default;
27
- $switch-container-hovered-shadow: null !default;
28
- $switch-container-focused-shadow: null !default;
29
-
30
- $switch-on-bg: rgba( $primary, .54 ) !default;
31
- $switch-on-text: null !default;
32
- $switch-on-border: null !default;
33
- $switch-on-gradient: null !default;
34
- $switch-on-shadow: null !default;
35
-
36
- $switch-on-hovered-bg: null !default;
37
- $switch-on-hovered-text: null !default;
38
- $switch-on-hovered-border: null !default;
39
- $switch-on-hovered-gradient: null !default;
40
-
41
- $switch-on-focused-bg: null !default;
42
- $switch-on-focused-text: null !default;
43
- $switch-on-focused-border: null !default;
44
- $switch-on-focused-gradient: null !default;
45
- $switch-on-focused-shadow: null !default;
46
-
47
- $switch-on-handle-bg: $primary !default;
48
- $switch-on-handle-text: null !default;
49
- $switch-on-handle-border: null !default;
50
- $switch-on-handle-gradient: null !default;
51
- $switch-on-handle-shadow: $box-shadow-depth-2 !default;
52
-
53
- $switch-on-handle-hovered-bg: $switch-on-handle-bg !default;
54
- $switch-on-handle-hovered-text: null !default;
55
- $switch-on-handle-hovered-border: null !default;
56
- $switch-on-handle-hovered-gradient: null !default;
57
-
58
- $switch-off-bg: rgba( black, .38 ) !default;
59
- $switch-off-text: null !default;
60
- $switch-off-border: null !default;
61
- $switch-off-gradient: null !default;
62
- $switch-off-shadow: null !default;
63
-
64
- $switch-off-hovered-bg: null !default;
65
- $switch-off-hovered-text: null !default;
66
- $switch-off-hovered-border: null !default;
67
- $switch-off-hovered-gradient: null !default;
68
-
69
- $switch-off-focused-bg: null !default;
70
- $switch-off-focused-text: null !default;
71
- $switch-off-focused-border: null !default;
72
- $switch-off-focused-gradient: null !default;
73
- $switch-off-focused-shadow: null !default;
74
-
75
- $switch-off-handle-bg: $white !default;
76
- $switch-off-handle-text: $switch-off-text !default;
77
- $switch-off-handle-border: null !default;
78
- $switch-off-handle-gradient: null !default;
79
- $switch-off-handle-shadow: $switch-on-handle-shadow !default;
80
-
81
- $switch-off-handle-hovered-bg: null !default;
82
- $switch-off-handle-hovered-text: null !default;
83
- $switch-off-handle-hovered-border: null !default;
84
- $switch-off-handle-hovered-gradient: null !default;
2
+
3
+ /// Font family of the switch.
4
+ /// @group switch
5
+ $kendo-switch-font-family: null !default;
6
+
7
+ /// Border width of the switch track.
8
+ /// @group switch
9
+ $kendo-switch-track-border-width: null !default;
10
+
11
+ /// Border width of the switch thumb.
12
+ /// @group switch
13
+ $kendo-switch-thumb-border-width: null !default;
14
+
15
+ /// Text transform of the switch label.
16
+ /// @group switch
17
+ $kendo-switch-label-text-transform: null !default;
18
+
19
+ /// Display of the switch label.
20
+ /// @group switch
21
+ $kendo-switch-label-display: none !default;
22
+
23
+ /// Map with the different switch sizes.
24
+ /// @group switch
25
+ $kendo-switch-sizes: (
26
+ sm: ( font-size: null, track-width: 26px, track-height: 12px, thumb-width: 16px, thumb-height: 16px, thumb-offset: -2px, label-offset: 0px ),
27
+ md: ( font-size: null, track-width: 32px, track-height: 14px, thumb-width: 20px, thumb-height: 20px, thumb-offset: -3px, label-offset: 0px ),
28
+ lg: ( font-size: null, track-width: 38px, track-height: 16px, thumb-width: 24px, thumb-height: 24px, thumb-offset: -4px, label-offset: 0px )
29
+ ) !default;
30
+
31
+ /// The background of the track when the switch is not checked.
32
+ /// @group switch
33
+ $kendo-switch-off-track-bg: rgba( if( $dark-theme, $white, $black ), .38 ) !default;
34
+ /// The text color of the track when the switch is not checked.
35
+ /// @group switch
36
+ $kendo-switch-off-track-text: null !default;
37
+ /// The border color of the track when the switch is not checked.
38
+ /// @group switch
39
+ $kendo-switch-off-track-border: null !default;
40
+ /// The background gradient of the track when the switch is not checked.
41
+ /// @group switch
42
+ $kendo-switch-off-track-gradient: null !default;
43
+
44
+ /// The background of the track when hovered switch is not checked.
45
+ /// @group switch
46
+ $kendo-switch-off-track-hover-bg: null !default;
47
+ /// The text color of the track when hovered switch is not checked.
48
+ /// @group switch
49
+ $kendo-switch-off-track-hover-text: null !default;
50
+ /// The border color of the track when hovered switch is not checked.
51
+ /// @group switch
52
+ $kendo-switch-off-track-hover-border: null !default;
53
+ /// The background gradient of the track when hovered switch is not checked.
54
+ /// @group switch
55
+ $kendo-switch-off-track-hover-gradient: null !default;
56
+
57
+ /// The background of the track when focused switch is not checked.
58
+ /// @group switch
59
+ $kendo-switch-off-track-focus-bg: null !default;
60
+ /// The text color of the track when focused switch is not checked.
61
+ /// @group switch
62
+ $kendo-switch-off-track-focus-text: null !default;
63
+ /// The border color of the track when focused switch is not checked.
64
+ /// @group switch
65
+ $kendo-switch-off-track-focus-border: null !default;
66
+ /// The background gradient of the track when focused switch is not checked.
67
+ /// @group switch
68
+ $kendo-switch-off-track-focus-gradient: null !default;
69
+ /// The ring around the track when focused switch is not checked.
70
+ /// @group switch
71
+ $kendo-switch-off-track-focus-ring: null !default;
72
+
73
+ /// The background of the track when disabled switch is not checked.
74
+ /// @group switch
75
+ $kendo-switch-off-track-disabled-bg: null !default;
76
+ /// The text color of the track when disabled switch is not checked.
77
+ /// @group switch
78
+ $kendo-switch-off-track-disabled-text: null !default;
79
+ /// The border color of the track when disabled switch is not checked.
80
+ /// @group switch
81
+ $kendo-switch-off-track-disabled-border: null !default;
82
+ /// The background gradient of the track when disabled switch is not checked.
83
+ /// @group switch
84
+ $kendo-switch-off-track-disabled-gradient: null !default;
85
+
86
+ /// The background of the thumb when the switch is not checked.
87
+ /// @group switch
88
+ $kendo-switch-off-thumb-bg: if( $dark-theme, $black, $white ) !default;
89
+ /// The text color of the thumb when the switch is not checked.
90
+ /// @group switch
91
+ $kendo-switch-off-thumb-text: null !default;
92
+ /// The border color of the thumb when the switch is not checked.
93
+ /// @group switch
94
+ $kendo-switch-off-thumb-border: null !default;
95
+ /// The background gradient of the thumb when the switch is not checked.
96
+ /// @group switch
97
+ $kendo-switch-off-thumb-gradient: null !default;
98
+
99
+ /// The background of the thumb when the hovered switch is not checked.
100
+ /// @group switch
101
+ $kendo-switch-off-thumb-hover-bg: null !default;
102
+ /// The text color of the thumb when the hovered switch is not checked.
103
+ /// @group switch
104
+ $kendo-switch-off-thumb-hover-text: null !default;
105
+ /// The border color of the thumb when the hovered switch is not checked.
106
+ /// @group switch
107
+ $kendo-switch-off-thumb-hover-border: null !default;
108
+ /// The background gradient of the thumb when the hovered switch is not checked.
109
+ /// @group switch
110
+ $kendo-switch-off-thumb-hover-gradient: null !default;
111
+
112
+
113
+ /// The background of the track when the switch is checked.
114
+ /// @group switch
115
+ $kendo-switch-on-track-bg: rgba( $primary, .54 ) !default;
116
+ /// The text color of the track when the switch is checked.
117
+ /// @group switch
118
+ $kendo-switch-on-track-text: null !default;
119
+ /// The border color of the track when the switch is checked.
120
+ /// @group switch
121
+ $kendo-switch-on-track-border: null !default;
122
+ /// The background gradient of the track when the switch is checked.
123
+ /// @group switch
124
+ $kendo-switch-on-track-gradient: null !default;
125
+
126
+ /// The background of the track when the hovered switch is checked.
127
+ /// @group switch
128
+ $kendo-switch-on-track-hover-bg: null !default;
129
+ /// The text color of the track when the hovered switch is checked.
130
+ /// @group switch
131
+ $kendo-switch-on-track-hover-text: null !default;
132
+ /// The border color of the track when the hovered switch is checked.
133
+ /// @group switch
134
+ $kendo-switch-on-track-hover-border: null !default;
135
+ /// The background gradient of the track when the hovered switch is checked.
136
+ /// @group switch
137
+ $kendo-switch-on-track-hover-gradient: null !default;
138
+
139
+ /// The background of the track when the focused switch is checked.
140
+ /// @group switch
141
+ $kendo-switch-on-track-focus-bg: null !default;
142
+ /// The text color of the track when the focused switch is checked.
143
+ /// @group switch
144
+ $kendo-switch-on-track-focus-text: null !default;
145
+ /// The border color of the track when the focused switch is checked.
146
+ /// @group switch
147
+ $kendo-switch-on-track-focus-border: null !default;
148
+ /// The background gradient of the track when the focused switch is checked.
149
+ /// @group switch
150
+ $kendo-switch-on-track-focus-gradient: null !default;
151
+ /// The ring around the track when the focused switch is checked.
152
+ /// @group switch
153
+ $kendo-switch-on-track-focus-ring: null !default;
154
+
155
+ /// The background of the track when the disabled switch is checked.
156
+ /// @group switch
157
+ $kendo-switch-on-track-disabled-bg: null !default;
158
+ /// The text color of the track when the disabled switch is checked.
159
+ /// @group switch
160
+ $kendo-switch-on-track-disabled-text: null !default;
161
+ /// The border color of the track when the disabled switch is checked.
162
+ /// @group switch
163
+ $kendo-switch-on-track-disabled-border: null !default;
164
+ /// The background gradient of the track when the disabled switch is checked.
165
+ /// @group switch
166
+ $kendo-switch-on-track-disabled-gradient: null !default;
167
+
168
+ /// The background of the thumb when the switch is checked.
169
+ /// @group switch
170
+ $kendo-switch-on-thumb-bg: $primary !default;
171
+ /// The text color of the thumb when the switch is checked.
172
+ /// @group switch
173
+ $kendo-switch-on-thumb-text: null !default;
174
+ /// The border color of the thumb when the switch is checked.
175
+ /// @group switch
176
+ $kendo-switch-on-thumb-border: null !default;
177
+ /// The background gradient of the thumb when the switch is checked.
178
+ /// @group switch
179
+ $kendo-switch-on-thumb-gradient: null !default;
180
+
181
+ /// The background of the thumb when the hovered switch is checked.
182
+ /// @group switch
183
+ $kendo-switch-on-thumb-hover-bg: null !default;
184
+ /// The text color of the thumb when the hovered switch is checked.
185
+ /// @group switch
186
+ $kendo-switch-on-thumb-hover-text: null !default;
187
+ /// The border color of the thumb when the hovered switch is checked.
188
+ /// @group switch
189
+ $kendo-switch-on-thumb-hover-border: null !default;
190
+ /// The background gradient of the thumb when the hovered switch is checked.
191
+ /// @group switch
192
+ $kendo-switch-on-thumb-hover-gradient: null !default;
File without changes
@@ -0,0 +1,19 @@
1
+ @import "../core/_index.scss";
2
+
3
+
4
+ // Dependencies
5
+ @import "../common/_index.scss";
6
+ @import "../input/_index.scss";
7
+ @import "../floating-label/_index.scss";
8
+ @import "../combobox/_index.scss";
9
+ @import "../popup/_index.scss";
10
+ @import "../toolbar/_variables.scss";
11
+ @import "../menu/_variables.scss";
12
+ @import "../grid/_variables.scss";
13
+
14
+
15
+ // Component
16
+ @import "_variables.scss";
17
+ @import "_layout.scss";
18
+ @import "_theme.scss";
19
+
@@ -0,0 +1 @@
1
+ @import "~@progress/kendo-theme-default/scss/table/_layout.scss";
@@ -0,0 +1 @@
1
+ @import "~@progress/kendo-theme-default/scss/table/_theme.scss";