@progress/kendo-theme-default 4.42.1-dev.2 → 5.0.0-alpha.2

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 (132) hide show
  1. package/dist/all.css +1337 -2580
  2. package/dist/all.scss +2214 -4062
  3. package/package.json +4 -4
  4. package/scss/_variables.scss +2 -0
  5. package/scss/adaptive/_layout.scss +0 -16
  6. package/scss/all.scss +5 -0
  7. package/scss/autocomplete/_layout.scss +1 -34
  8. package/scss/autocomplete/_theme.scss +2 -74
  9. package/scss/autocomplete/_variables.scss +12 -12
  10. package/scss/breadcrumb/_layout.scss +0 -5
  11. package/scss/button/_layout.scss +108 -116
  12. package/scss/button/_theme.scss +253 -264
  13. package/scss/button/_variables.scss +170 -130
  14. package/scss/button/index.md +3 -0
  15. package/scss/calendar/_layout.scss +0 -12
  16. package/scss/calendar/_theme.scss +0 -17
  17. package/scss/captcha/_layout.scss +0 -5
  18. package/scss/card/_layout.scss +0 -4
  19. package/scss/card/_variables.scss +1 -1
  20. package/scss/chat/_variables.scss +5 -5
  21. package/scss/checkbox/_layout.scss +87 -91
  22. package/scss/checkbox/_theme.scss +33 -39
  23. package/scss/checkbox/_variables.scss +153 -56
  24. package/scss/colorgradient/_layout.scss +0 -4
  25. package/scss/colorpicker/_layout.scss +2 -130
  26. package/scss/colorpicker/_theme.scss +2 -64
  27. package/scss/colorpicker/_variables.scss +9 -9
  28. package/scss/combobox/_layout.scss +2 -61
  29. package/scss/combobox/_theme.scss +2 -123
  30. package/scss/combobox/_variables.scss +23 -23
  31. package/scss/common/_base.scss +1 -2
  32. package/scss/core/_normalize.scss +11 -0
  33. package/scss/core/mixins/_input-ripple.scss +1 -1
  34. package/scss/dataviz/_theme.scss +8 -8
  35. package/scss/dataviz/_variables.scss +6 -6
  36. package/scss/dateinput/_index.scss +15 -0
  37. package/scss/dateinput/_layout.scss +6 -0
  38. package/scss/dateinput/_theme.scss +6 -0
  39. package/scss/dateinput/_variables.scss +1 -0
  40. package/scss/datepicker/_index.scss +15 -0
  41. package/scss/datepicker/_layout.scss +6 -0
  42. package/scss/datepicker/_theme.scss +6 -0
  43. package/scss/datepicker/_variables.scss +1 -0
  44. package/scss/daterangepicker/_index.scss +15 -0
  45. package/scss/daterangepicker/_layout.scss +3 -0
  46. package/scss/daterangepicker/_theme.scss +3 -0
  47. package/scss/daterangepicker/_variables.scss +1 -0
  48. package/scss/datetime/_layout.scss +2 -263
  49. package/scss/datetime/_theme.scss +0 -227
  50. package/scss/datetime/_variables.scss +27 -27
  51. package/scss/datetimepicker/_index.scss +15 -0
  52. package/scss/datetimepicker/_layout.scss +6 -0
  53. package/scss/datetimepicker/_theme.scss +6 -0
  54. package/scss/datetimepicker/_variables.scss +1 -0
  55. package/scss/dropdowngrid/_layout.scss +4 -0
  56. package/scss/dropdowngrid/_theme.scss +3 -0
  57. package/scss/dropdownlist/_layout.scss +3 -98
  58. package/scss/dropdownlist/_theme.scss +3 -91
  59. package/scss/dropdownlist/_variables.scss +9 -9
  60. package/scss/dropdowntree/_layout.scss +2 -25
  61. package/scss/dropdowntree/_theme.scss +2 -1
  62. package/scss/editor/_layout.scss +10 -48
  63. package/scss/editor/_variables.scss +2 -2
  64. package/scss/fab/_variables.scss +3 -3
  65. package/scss/filter/_layout.scss +0 -4
  66. package/scss/floating-label/_layout.scss +0 -3
  67. package/scss/floating-label/_theme.scss +0 -2
  68. package/scss/floating-label/_variables.scss +4 -4
  69. package/scss/forms/_layout.scss +8 -33
  70. package/scss/gantt/_layout.scss +3 -3
  71. package/scss/grid/_layout.scss +20 -65
  72. package/scss/grid/_theme.scss +2 -2
  73. package/scss/grid/_variables.scss +0 -2
  74. package/scss/input/_layout.scss +101 -89
  75. package/scss/input/_theme.scss +74 -16
  76. package/scss/input/_variables.scss +66 -67
  77. package/scss/map/_layout.scss +0 -21
  78. package/scss/map/_theme.scss +5 -5
  79. package/scss/map/_variables.scss +1 -1
  80. package/scss/maskedtextbox/_layout.scss +2 -46
  81. package/scss/maskedtextbox/_theme.scss +2 -20
  82. package/scss/multiselect/_layout.scss +15 -15
  83. package/scss/multiselect/_variables.scss +16 -16
  84. package/scss/no-flexbox.scss +0 -34
  85. package/scss/numerictextbox/_layout.scss +2 -93
  86. package/scss/numerictextbox/_theme.scss +2 -95
  87. package/scss/numerictextbox/_variables.scss +1 -32
  88. package/scss/pager/_layout.scss +7 -12
  89. package/scss/pager/_variables.scss +1 -1
  90. package/scss/pdf-viewer/_layout.scss +0 -16
  91. package/scss/pdf-viewer/_variables.scss +1 -1
  92. package/scss/pivotgrid/_layout.scss +7 -7
  93. package/scss/pivotgrid/_theme.scss +13 -13
  94. package/scss/popup/_layout.scss +0 -30
  95. package/scss/popup/_theme.scss +4 -4
  96. package/scss/popup/_variables.scss +1 -1
  97. package/scss/radio/_layout.scss +78 -63
  98. package/scss/radio/_theme.scss +23 -23
  99. package/scss/radio/_variables.scss +154 -51
  100. package/scss/scheduler/_layout.scss +9 -228
  101. package/scss/scheduler/_theme.scss +5 -86
  102. package/scss/scrollview/_variables.scss +4 -4
  103. package/scss/searchbox/_layout.scss +1 -19
  104. package/scss/searchbox/_theme.scss +1 -46
  105. package/scss/searchbox/_variables.scss +0 -20
  106. package/scss/slider/_layout.scss +0 -19
  107. package/scss/slider/_theme.scss +0 -4
  108. package/scss/slider/_variables.scss +10 -10
  109. package/scss/spreadsheet/_layout.scss +4 -36
  110. package/scss/spreadsheet/_theme.scss +13 -13
  111. package/scss/switch/_index.scss +0 -2
  112. package/scss/switch/_layout.scss +91 -92
  113. package/scss/switch/_theme.scss +91 -93
  114. package/scss/switch/_variables.scss +193 -83
  115. package/scss/taskboard/_layout.scss +0 -4
  116. package/scss/taskboard/_variables.scss +1 -1
  117. package/scss/textarea/_layout.scss +1 -91
  118. package/scss/textarea/_theme.scss +1 -66
  119. package/scss/textarea/_variables.scss +0 -53
  120. package/scss/textbox/_layout.scss +1 -73
  121. package/scss/textbox/_theme.scss +1 -70
  122. package/scss/textbox/_variables.scss +1 -2
  123. package/scss/timeline/_variables.scss +7 -7
  124. package/scss/timepicker/_index.scss +15 -0
  125. package/scss/timepicker/_layout.scss +6 -0
  126. package/scss/timepicker/_theme.scss +6 -0
  127. package/scss/timepicker/_variables.scss +1 -0
  128. package/scss/toolbar/_layout.scss +2 -2
  129. package/scss/toolbar/_variables.scss +1 -1
  130. package/scss/treeview/_variables.scss +1 -1
  131. package/scss/upload/_layout.scss +2 -2
  132. package/scss/window/_layout.scss +0 -11
@@ -1,158 +1,156 @@
1
1
  @include exports("switch/theme") {
2
2
 
3
3
  // Switch
4
- .k-switch {
4
+ .k-switch {}
5
5
 
6
- &:hover,
7
- &.k-state-hover {
8
6
 
9
- .k-switch-container {
10
- @include box-shadow( $switch-container-hovered-shadow );
11
- }
12
- }
13
-
14
- &:focus,
15
- &.k-state-focused {
16
-
17
- .k-switch-container {
18
- outline: none;
19
- @include box-shadow( $switch-container-focused-shadow );
20
- }
21
- }
22
- }
23
-
24
-
25
- // Switch track
26
- .k-switch-container {
27
- @include box-shadow( $switch-container-shadow );
28
- }
29
-
30
-
31
- // Switch ON
32
- .k-switch-on {
7
+ // Switch OFF
8
+ .k-switch-off {
33
9
 
34
10
  // Normal state
35
- .k-switch-container {
11
+ .k-switch-track {
36
12
  @include fill(
37
- $switch-on-text,
38
- $switch-on-bg,
39
- $switch-on-border,
40
- $switch-on-gradient
13
+ $kendo-switch-off-track-text,
14
+ $kendo-switch-off-track-bg,
15
+ $kendo-switch-off-track-border,
16
+ $kendo-switch-off-track-gradient
41
17
  );
42
18
  }
43
- .k-switch-handle {
19
+ .k-switch-thumb {
44
20
  @include fill(
45
- $switch-on-handle-text,
46
- $switch-on-handle-bg,
47
- $switch-on-handle-border,
48
- $switch-on-handle-gradient
21
+ $kendo-switch-off-thumb-text,
22
+ $kendo-switch-off-thumb-bg,
23
+ $kendo-switch-off-thumb-border,
24
+ $kendo-switch-off-thumb-gradient
49
25
  );
50
- @include box-shadow( $switch-on-handle-shadow );
51
26
  }
52
27
 
53
- // Hover state
28
+ // Hover
54
29
  &:hover,
55
- &.k-state-hover {
56
- .k-switch-container {
30
+ &.k-hover {
31
+ .k-switch-track {
57
32
  @include fill(
58
- $switch-on-hovered-text,
59
- $switch-on-hovered-bg,
60
- $switch-on-hovered-border,
61
- $switch-on-hovered-gradient
33
+ $kendo-switch-off-track-hover-text,
34
+ $kendo-switch-off-track-hover-bg,
35
+ $kendo-switch-off-track-hover-border,
36
+ $kendo-switch-off-track-hover-gradient
62
37
  );
63
38
  }
64
39
 
65
- .k-switch-handle {
40
+ .k-switch-thumb {
66
41
  @include fill(
67
- $switch-on-handle-hovered-text,
68
- $switch-on-handle-hovered-bg,
69
- $switch-on-handle-hovered-border,
70
- $switch-on-handle-hovered-gradient
42
+ $kendo-switch-off-thumb-hover-text,
43
+ $kendo-switch-off-thumb-hover-bg,
44
+ $kendo-switch-off-thumb-hover-border,
45
+ $kendo-switch-off-thumb-hover-gradient
71
46
  );
72
47
  }
73
48
  }
74
49
 
75
- // Focus state
50
+ // Focus
76
51
  &:focus,
77
- &.k-state-focused {
78
- @include box-shadow( $switch-on-focused-shadow );
52
+ &.k-focus {
53
+ .k-switch-track {
54
+ @include fill(
55
+ $kendo-switch-off-track-focus-text,
56
+ $kendo-switch-off-track-focus-bg,
57
+ $kendo-switch-off-track-focus-border,
58
+ $kendo-switch-off-track-focus-gradient
59
+ );
60
+ outline: $kendo-switch-off-track-focus-ring;
61
+ }
62
+ }
79
63
 
80
- .k-switch-container {
64
+ // Disabled
65
+ &:disabled,
66
+ &.k-disabled {
67
+ .k-switch-track {
81
68
  @include fill(
82
- $switch-on-focused-text,
83
- $switch-on-focused-bg,
84
- $switch-on-focused-border,
85
- $switch-on-focused-gradient
69
+ $kendo-switch-off-track-disabled-text,
70
+ $kendo-switch-off-track-disabled-bg,
71
+ $kendo-switch-off-track-disabled-border,
72
+ $kendo-switch-off-track-disabled-gradient
86
73
  );
87
74
  }
88
75
  }
89
76
 
90
- .k-switch-label-off {
77
+ .k-switch-label-on {
91
78
  color: transparent;
92
79
  }
93
80
  }
94
81
 
95
82
 
96
- // Switch OFF
97
- .k-switch-off {
83
+ // Switch ON
84
+ .k-switch-on {
98
85
 
99
86
  // Normal state
100
- .k-switch-container {
87
+ .k-switch-track {
101
88
  @include fill(
102
- $switch-off-text,
103
- $switch-off-bg,
104
- $switch-off-border,
105
- $switch-off-gradient
89
+ $kendo-switch-on-track-text,
90
+ $kendo-switch-on-track-bg,
91
+ $kendo-switch-on-track-border,
92
+ $kendo-switch-on-track-gradient
106
93
  );
107
94
  }
108
- .k-switch-handle {
95
+ .k-switch-thumb {
109
96
  @include fill(
110
- $switch-off-handle-text,
111
- $switch-off-handle-bg,
112
- $switch-off-handle-border,
113
- $switch-off-handle-gradient
97
+ $kendo-switch-on-thumb-text,
98
+ $kendo-switch-on-thumb-bg,
99
+ $kendo-switch-on-thumb-border,
100
+ $kendo-switch-on-thumb-gradient
114
101
  );
115
- @include box-shadow( $switch-off-handle-shadow );
116
102
  }
117
103
 
118
- // Hover state
104
+ // Hover
119
105
  &:hover,
120
- &.k-state-hover {
121
- .k-switch-container {
106
+ &.k-hover {
107
+ .k-switch-track {
122
108
  @include fill(
123
- $switch-off-hovered-text,
124
- $switch-off-hovered-bg,
125
- $switch-off-hovered-border,
126
- $switch-off-hovered-gradient
109
+ $kendo-switch-on-track-hover-text,
110
+ $kendo-switch-on-track-hover-bg,
111
+ $kendo-switch-on-track-hover-border,
112
+ $kendo-switch-on-track-hover-gradient
127
113
  );
128
114
  }
129
115
 
130
- .k-switch-handle {
116
+ .k-switch-thumb {
131
117
  @include fill(
132
- $switch-off-handle-hovered-text,
133
- $switch-off-handle-hovered-bg,
134
- $switch-off-handle-hovered-border,
135
- $switch-off-handle-hovered-gradient
118
+ $kendo-switch-on-thumb-hover-text,
119
+ $kendo-switch-on-thumb-hover-bg,
120
+ $kendo-switch-on-thumb-hover-border,
121
+ $kendo-switch-on-thumb-hover-gradient
136
122
  );
137
123
  }
138
124
  }
139
125
 
140
- // Focus state
126
+ // Focus
141
127
  &:focus,
142
- &.k-state-focused {
143
- @include box-shadow( $switch-off-focused-shadow );
128
+ &.k-focus {
129
+ .k-switch-track {
130
+ @include fill(
131
+ $kendo-switch-on-track-focus-text,
132
+ $kendo-switch-on-track-focus-bg,
133
+ $kendo-switch-on-track-focus-border,
134
+ $kendo-switch-on-track-focus-gradient
135
+ );
136
+ outline: $kendo-switch-on-track-focus-ring;
137
+ }
138
+ }
144
139
 
145
- .k-switch-container {
140
+ // Disabled
141
+ &:disabled,
142
+ &.k-disabled {
143
+ .k-switch-track {
146
144
  @include fill(
147
- $switch-off-focused-text,
148
- $switch-off-focused-bg,
149
- $switch-off-focused-border,
150
- $switch-off-focused-gradient
145
+ $kendo-switch-on-track-disabled-text,
146
+ $kendo-switch-on-track-disabled-bg,
147
+ $kendo-switch-on-track-disabled-border,
148
+ $kendo-switch-on-track-disabled-gradient
151
149
  );
152
150
  }
153
151
  }
154
152
 
155
- .k-switch-label-on {
153
+ .k-switch-label-off {
156
154
  color: transparent;
157
155
  }
158
156
  }
@@ -1,84 +1,194 @@
1
1
  // Switch
2
- $switch-size: 60px !default;
3
- $switch-border-radius: 9999px !default;
4
-
5
- $switch-font-family: $font-family !default;
6
- $switch-font-size: $font-size-xs !default;
7
- $switch-line-height: $line-height !default;
8
-
9
- $switch-track-size: null !default;
10
- $switch-container-border-width: null !default;
11
- $switch-container-padding-x: 0px !default;
12
- $switch-container-padding-y: 0px !default;
13
-
14
- $switch-handle-size: 30px !default;
15
- $switch-handle-border-radius: 9999px !default;
16
- $switch-handle-border-width: 1px !default;
17
- $switch-thumb-start-x: 0px !default;
18
- // TODO: Remove width property from jQuery and Blazor, and do not use 100% for thumb X calc
19
- $switch-thumb-end-x: calc( 100% - #{$switch-handle-size} ) !default;
20
-
21
- $switch-label-offset: 8px !default;
22
- $switch-label-width: calc( 100% - (#{$switch-handle-size} + #{$switch-label-offset} + #{$switch-container-padding-x} ) ) !default;
23
- $switch-label-text-transform: uppercase !default;
24
- $switch-label-display: inline !default;
25
-
26
- $switch-container-shadow: inset 0 0 0 1px $base-border !default;
27
- $switch-container-hovered-shadow: inset 0 0 0 1px $hovered-border !default;
28
- $switch-container-focused-shadow: inset 0 0 0 3px rgba( black, .06) !default;
29
-
30
- $switch-on-bg: $primary !default;
31
- $switch-on-text: contrast-wcag( $switch-on-bg ) !default;
32
- $switch-on-border: null !default;
33
- $switch-on-gradient: null !default;
34
- $switch-on-shadow: null !default;
35
-
36
- $switch-on-hovered-bg: shade( $switch-on-bg ) !default;
37
- $switch-on-hovered-text: $switch-on-text !default;
38
- $switch-on-hovered-border: null !default;
39
- $switch-on-hovered-gradient: null !default;
40
-
41
- $switch-on-focused-bg: null !default;
42
- $switch-on-focused-text: null !default;
43
- $switch-on-focused-border: null !default;
44
- $switch-on-focused-gradient: null !default;
45
- $switch-on-focused-shadow: null !default;
46
-
47
- $switch-on-handle-bg: darken( white, 5 ) !default;
48
- $switch-on-handle-text: $switch-on-text !default;
49
- $switch-on-handle-border: $base-border !default;
50
- $switch-on-handle-gradient: null !default;
51
- $switch-on-handle-shadow: null !default;
52
-
53
- $switch-on-handle-hovered-bg: darken( white, 7 ) !default;
54
- $switch-on-handle-hovered-text: $switch-on-text !default;
55
- $switch-on-handle-hovered-border: $hovered-border !default;
56
- $switch-on-handle-hovered-gradient: null !default;
57
-
58
- $switch-off-bg: $component-bg !default;
59
- $switch-off-text: $component-text !default;
60
- $switch-off-border: null !default;
61
- $switch-off-gradient: null !default;
62
- $switch-off-shadow: null !default;
63
-
64
- $switch-off-hovered-bg: $switch-off-bg !default;
65
- $switch-off-hovered-text: $switch-off-text !default;
66
- $switch-off-hovered-border: null !default;
67
- $switch-off-hovered-gradient: null !default;
68
-
69
- $switch-off-focused-bg: null !default;
70
- $switch-off-focused-text: null !default;
71
- $switch-off-focused-border: null !default;
72
- $switch-off-focused-gradient: null !default;
73
- $switch-off-focused-shadow: null !default;
74
-
75
- $switch-off-handle-bg: $switch-on-handle-bg !default;
76
- $switch-off-handle-text: $switch-off-text !default;
77
- $switch-off-handle-border: $switch-on-handle-border !default;
78
- $switch-off-handle-gradient: null !default;
79
- $switch-off-handle-shadow: null !default;
80
-
81
- $switch-off-handle-hovered-bg: $switch-on-handle-hovered-bg !default;
82
- $switch-off-handle-hovered-text: $switch-off-text !default;
83
- $switch-off-handle-hovered-border: $switch-on-handle-hovered-border !default;
84
- $switch-off-handle-hovered-gradient: null !default;
2
+
3
+ /// Font family of the switch.
4
+ /// @group switch
5
+ $kendo-switch-font-family: null !default;
6
+ /// Line height of the switch.
7
+ /// @group switch
8
+ $kendo-switch-line-height: null !default;
9
+
10
+ /// Border width of the switch track.
11
+ /// @group switch
12
+ $kendo-switch-track-border-width: 1px !default;
13
+
14
+ /// Border width of the switch thumb.
15
+ /// @group switch
16
+ $kendo-switch-thumb-border-width: 1px !default;
17
+
18
+ /// Text transform of the switch label.
19
+ /// @group switch
20
+ $kendo-switch-label-text-transform: uppercase !default;
21
+ /// Display of the switch label.
22
+ /// @group switch
23
+ $kendo-switch-label-display: inline !default;
24
+
25
+ /// Map with the different switch sizes.
26
+ /// @group switch
27
+ $kendo-switch-sizes: (
28
+ sm: ( font-size: 8px, track-width: 40px, track-height: 20px, thumb-width: 20px, thumb-height: 20px, thumb-offset: 0px, label-offset: 5px ),
29
+ md: ( font-size: 10px, track-width: 60px, track-height: 30px, thumb-width: 30px, thumb-height: 30px, thumb-offset: 0px, label-offset: 8px ),
30
+ lg: ( font-size: 12px, track-width: 80px, track-height: 40px, thumb-width: 40px, thumb-height: 40px, thumb-offset: 0px, label-offset: 10px )
31
+ ) !default;
32
+
33
+ /// The background of the track when the switch is not checked.
34
+ /// @group switch
35
+ $kendo-switch-off-track-bg: $component-bg !default;
36
+ /// The text color of the track when the switch is not checked.
37
+ /// @group switch
38
+ $kendo-switch-off-track-text: $component-text !default;
39
+ /// The border color of the track when the switch is not checked.
40
+ /// @group switch
41
+ $kendo-switch-off-track-border: try-shade( $kendo-switch-off-track-bg, 8% ) !default;
42
+ /// The background gradient of the track when the switch is not checked.
43
+ /// @group switch
44
+ $kendo-switch-off-track-gradient: null !default;
45
+
46
+ /// The background of the track when the hovered switch is not checked.
47
+ /// @group switch
48
+ $kendo-switch-off-track-hover-bg: null !default;
49
+ /// The text color of the track when the hovered switch is not checked.
50
+ /// @group switch
51
+ $kendo-switch-off-track-hover-text: null !default;
52
+ /// The border color of the track when the hovered switch is not checked.
53
+ /// @group switch
54
+ $kendo-switch-off-track-hover-border: null !default;
55
+ /// The background gradient of the track when the hovered switch is not checked.
56
+ /// @group switch
57
+ $kendo-switch-off-track-hover-gradient: null !default;
58
+
59
+ /// The background of the track when the focused switch is not checked.
60
+ /// @group switch
61
+ $kendo-switch-off-track-focus-bg: null !default;
62
+ /// The text color of the track when the focused switch is not checked.
63
+ /// @group switch
64
+ $kendo-switch-off-track-focus-text: null !default;
65
+ /// The border color of the track when the focused switch is not checked.
66
+ /// @group switch
67
+ $kendo-switch-off-track-focus-border: null !default;
68
+ /// The background gradient of the track when the focused switch is not checked.
69
+ /// @group switch
70
+ $kendo-switch-off-track-focus-gradient: null !default;
71
+ /// The ring around the track when the focused switch is not checked.
72
+ /// @group switch
73
+ $kendo-switch-off-track-focus-ring: 2px solid rgba( if( $dark-theme, $white, $black ) , .08 ) !default;
74
+
75
+ /// The background of the track when the disabled switch is not checked.
76
+ /// @group switch
77
+ $kendo-switch-off-track-disabled-bg: null !default;
78
+ /// The text color of the track when the disabled switch is not checked.
79
+ /// @group switch
80
+ $kendo-switch-off-track-disabled-text: null !default;
81
+ /// The border color of the track when the disabled switch is not checked.
82
+ /// @group switch
83
+ $kendo-switch-off-track-disabled-border: null !default;
84
+ /// The background gradient of the track when the disabled switch is not checked.
85
+ /// @group switch
86
+ $kendo-switch-off-track-disabled-gradient: null !default;
87
+
88
+ /// The background of the thumb when the switch is not checked.
89
+ /// @group switch
90
+ $kendo-switch-off-thumb-bg: $base-bg !default;
91
+ /// The text color of the thumb when the switch is not checked.
92
+ /// @group switch
93
+ $kendo-switch-off-thumb-text: $base-text !default;
94
+ /// The border color of the thumb when the switch is not checked.
95
+ /// @group switch
96
+ $kendo-switch-off-thumb-border: $base-border !default;
97
+ /// The background gradient of the thumb when the switch is not checked.
98
+ /// @group switch
99
+ $kendo-switch-off-thumb-gradient: null !default;
100
+
101
+ /// The background of the thumb when the hovered switch is not checked.
102
+ /// @group switch
103
+ $kendo-switch-off-thumb-hover-bg: null !default;
104
+ /// The text color of the thumb when the hovered switch is not checked.
105
+ /// @group switch
106
+ $kendo-switch-off-thumb-hover-text: null !default;
107
+ /// The border color of the thumb when the hovered switch is not checked.
108
+ /// @group switch
109
+ $kendo-switch-off-thumb-hover-border: null !default;
110
+ /// The background gradient of the thumb when the hovered switch is not checked.
111
+ /// @group switch
112
+ $kendo-switch-off-thumb-hover-gradient: null !default;
113
+
114
+
115
+ /// The background of the track when the switch is checked.
116
+ /// @group switch
117
+ $kendo-switch-on-track-bg: $primary !default;
118
+ /// The text color of the track when the switch is checked.
119
+ /// @group switch
120
+ $kendo-switch-on-track-text: contrast-wcag( $kendo-switch-on-track-bg ) !default;
121
+ /// The border color of the track when the switch is checked.
122
+ /// @group switch
123
+ $kendo-switch-on-track-border: $kendo-switch-on-track-bg !default;
124
+ /// The background gradient of the track when the switch is checked.
125
+ /// @group switch
126
+ $kendo-switch-on-track-gradient: null !default;
127
+
128
+ /// The background of the track when the hovered switch is checked.
129
+ /// @group switch
130
+ $kendo-switch-on-track-hover-bg: null !default;
131
+ /// The text color of the track when the hovered switch is checked.
132
+ /// @group switch
133
+ $kendo-switch-on-track-hover-text: null !default;
134
+ /// The border color of the track when the hovered switch is checked.
135
+ /// @group switch
136
+ $kendo-switch-on-track-hover-border: null !default;
137
+ /// The background gradient of the track when the hovered switch is checked.
138
+ /// @group switch
139
+ $kendo-switch-on-track-hover-gradient: null !default;
140
+
141
+ /// The background of the track when the focused switch is checked.
142
+ /// @group switch
143
+ $kendo-switch-on-track-focus-bg: null !default;
144
+ /// The text color of the track when the focused switch is checked.
145
+ /// @group switch
146
+ $kendo-switch-on-track-focus-text: null !default;
147
+ /// The border color of the track when the focused switch is checked.
148
+ /// @group switch
149
+ $kendo-switch-on-track-focus-border: null !default;
150
+ /// The background gradient of the track when the focused switch is checked.
151
+ /// @group switch
152
+ $kendo-switch-on-track-focus-gradient: null !default;
153
+ /// The ring around the track when the focused switch is checked.
154
+ /// @group switch
155
+ $kendo-switch-on-track-focus-ring: 2px solid rgba( $kendo-switch-on-track-border, .25 ) !default;
156
+
157
+ /// The background of the track when the disabled switch is checked.
158
+ /// @group switch
159
+ $kendo-switch-on-track-disabled-bg: null !default;
160
+ /// The text color of the track when the disabled switch is checked.
161
+ /// @group switch
162
+ $kendo-switch-on-track-disabled-text: null !default;
163
+ /// The border color of the track when the disabled switch is checked.
164
+ /// @group switch
165
+ $kendo-switch-on-track-disabled-border: null !default;
166
+ /// The background gradient of the track when the disabled switch is checked.
167
+ /// @group switch
168
+ $kendo-switch-on-track-disabled-gradient: null !default;
169
+
170
+ /// The background of the thumb when the switch is checked.
171
+ /// @group switch
172
+ $kendo-switch-on-thumb-bg: $base-bg !default;
173
+ /// The text color of the thumb when the switch is checked.
174
+ /// @group switch
175
+ $kendo-switch-on-thumb-text: $base-text !default;
176
+ /// The border color of the thumb when the switch is checked.
177
+ /// @group switch
178
+ $kendo-switch-on-thumb-border: $base-border !default;
179
+ /// The background gradient of the thumb when the switch is checked.
180
+ /// @group switch
181
+ $kendo-switch-on-thumb-gradient: null !default;
182
+
183
+ /// The background of the thumb when the hovered switch is checked.
184
+ /// @group switch
185
+ $kendo-switch-on-thumb-hover-bg: null !default;
186
+ /// The text color of the thumb when the hovered switch is checked.
187
+ /// @group switch
188
+ $kendo-switch-on-thumb-hover-text: null !default;
189
+ /// The border color of the thumb when the hovered switch is checked.
190
+ /// @group switch
191
+ $kendo-switch-on-thumb-hover-border: null !default;
192
+ /// The background gradient of the thumb when the hovered switch is checked.
193
+ /// @group switch
194
+ $kendo-switch-on-thumb-hover-gradient: null !default;
@@ -98,10 +98,6 @@
98
98
  .k-taskboard-column-header-text {
99
99
  flex: 1 1 100%;
100
100
  }
101
-
102
- .k-textbox {
103
- width: 100%;
104
- }
105
101
  }
106
102
 
107
103
  // Preview/Edit Pane
@@ -46,7 +46,7 @@ $taskboard-column-cards-padding-y: null !default;
46
46
  $taskboard-column-cards-padding-x: null !default;
47
47
  $taskboard-column-cards-gap: ( $taskboard-spacer / 2 ) !default;
48
48
 
49
- $taskboard-column-new-calc-height: calc( #{$input-calc-height} + #{$taskboard-column-header-padding-y * 2} ) !default;
49
+ $taskboard-column-new-calc-height: calc( #{$kendo-input-calc-height} + #{$taskboard-column-header-padding-y * 2} ) !default;
50
50
 
51
51
  $taskboard-pane-width: $taskboard-column-width !default;
52
52
  $taskboard-pane-padding-y: null !default;
@@ -1,96 +1,6 @@
1
1
  @include exports( "textarea/layout" ) {
2
2
 
3
3
  // Textarea
4
- .k-textarea {
5
- @include border-radius( $textarea-border-radius );
6
- margin: 0;
7
- padding: 0;
8
- width: $textarea-default-width;
9
- border-width: $textarea-border-width;
10
- border-style: solid;
11
- outline: 0;
12
- font-family: $textarea-font-family;
13
- font-size: $textarea-font-size;
14
- line-height: $textarea-line-height;
15
- box-sizing: border-box;
16
- // Targets https://github.com/telerik/kendo-react/issues/638.
17
- box-shadow: none;
18
- background: none;
19
- display: inline-flex;
20
- flex-wrap: nowrap;
21
- vertical-align: middle;
22
- position: relative;
23
- -webkit-appearance: none;
4
+ .k-textarea {}
24
5
 
25
- // Hide clear icon
26
- &::-ms-clear { display: none; }
27
-
28
- // Placeholder text
29
- &::placeholder {
30
- color: $input-placeholder-text;
31
- opacity: $input-placeholder-opacity;
32
- user-select: none;
33
- }
34
-
35
- > .k-input {
36
- padding: $textarea-padding-y $textarea-padding-x;
37
- height: auto;
38
- min-height: $textarea-calc-height;
39
- overflow-y: auto;
40
- resize: vertical;
41
- }
42
-
43
- // Disabled state
44
- &:disabled,
45
- &[disabled],
46
- &.k-state-disabled {
47
- @include disabled( $disabled-styling );
48
-
49
- // Disabled selection
50
- &::selection {
51
- @include fill (
52
- $color: $input-text,
53
- $bg: transparent
54
- // $bg: rgba( contrast-wcag( $input-bg ), .1 )
55
- );
56
- }
57
- }
58
- }
59
-
60
- .k-textarea-suffix {
61
- flex-shrink: 0;
62
- }
63
-
64
- // Textarea old rendering
65
- textarea.k-textarea {
66
- padding: $textarea-padding-y $textarea-padding-x;
67
- min-height: $textarea-calc-height;
68
- display: inline-block;
69
- resize: both;
70
- }
71
-
72
- // Floating label
73
- .k-textbox-container,
74
- .k-floating-label-container {
75
- > .k-textarea {
76
- flex: 1 1 auto;
77
- width: 100%;
78
- }
79
- }
80
- }
81
-
82
-
83
-
84
-
85
- @include exports("textarea/layout/IE") {
86
- // TODO: Remove once we drop IE support
87
-
88
- .k-ie {
89
- .k-textarea {
90
- :-ms-input-placeholder,
91
- &:-ms-input-placeholder {
92
- color: $input-placeholder-text;
93
- }
94
- }
95
- }
96
6
  }