@progress/kendo-theme-default 4.42.0 → 5.0.0-alpha.1

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 (114) hide show
  1. package/dist/all.css +1770 -2399
  2. package/dist/all.scss +2180 -3833
  3. package/package.json +4 -4
  4. package/scss/_variables.scss +2 -0
  5. package/scss/action-buttons/_layout.scss +1 -0
  6. package/scss/adaptive/_layout.scss +0 -16
  7. package/scss/autocomplete/_layout.scss +1 -54
  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/captcha/_layout.scss +0 -5
  16. package/scss/card/_layout.scss +4 -72
  17. package/scss/card/_theme.scss +2 -1
  18. package/scss/card/_variables.scss +1 -1
  19. package/scss/chat/_layout.scss +24 -20
  20. package/scss/chat/_variables.scss +8 -8
  21. package/scss/checkbox/_layout.scss +87 -91
  22. package/scss/checkbox/_theme.scss +34 -40
  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 -83
  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/datetime/_layout.scss +25 -79
  37. package/scss/datetime/_variables.scss +27 -27
  38. package/scss/dropdowngrid/_layout.scss +4 -0
  39. package/scss/dropdowngrid/_theme.scss +3 -0
  40. package/scss/dropdownlist/_layout.scss +3 -110
  41. package/scss/dropdownlist/_theme.scss +3 -91
  42. package/scss/dropdownlist/_variables.scss +9 -9
  43. package/scss/dropdowntree/_layout.scss +2 -25
  44. package/scss/dropdowntree/_theme.scss +2 -1
  45. package/scss/editor/_layout.scss +94 -48
  46. package/scss/editor/_theme.scss +9 -0
  47. package/scss/editor/_variables.scss +10 -2
  48. package/scss/fab/_variables.scss +3 -3
  49. package/scss/filter/_layout.scss +0 -4
  50. package/scss/floating-label/_layout.scss +0 -3
  51. package/scss/floating-label/_theme.scss +0 -2
  52. package/scss/floating-label/_variables.scss +4 -4
  53. package/scss/forms/_layout.scss +10 -29
  54. package/scss/gantt/_layout.scss +3 -3
  55. package/scss/grid/_layout.scss +20 -65
  56. package/scss/grid/_theme.scss +2 -2
  57. package/scss/grid/_variables.scss +0 -2
  58. package/scss/input/_layout.scss +104 -105
  59. package/scss/input/_theme.scss +74 -16
  60. package/scss/input/_variables.scss +66 -67
  61. package/scss/map/_layout.scss +0 -21
  62. package/scss/map/_theme.scss +5 -5
  63. package/scss/map/_variables.scss +1 -1
  64. package/scss/maskedtextbox/_layout.scss +2 -46
  65. package/scss/maskedtextbox/_theme.scss +2 -20
  66. package/scss/menu/_layout.scss +0 -1
  67. package/scss/multiselect/_layout.scss +15 -34
  68. package/scss/multiselect/_variables.scss +16 -16
  69. package/scss/no-flexbox.scss +0 -2
  70. package/scss/numerictextbox/_layout.scss +2 -104
  71. package/scss/numerictextbox/_theme.scss +2 -95
  72. package/scss/numerictextbox/_variables.scss +1 -32
  73. package/scss/pager/_layout.scss +7 -12
  74. package/scss/pager/_variables.scss +1 -1
  75. package/scss/pdf-viewer/_layout.scss +0 -16
  76. package/scss/pdf-viewer/_variables.scss +1 -1
  77. package/scss/pivotgrid/_layout.scss +28 -7
  78. package/scss/pivotgrid/_theme.scss +13 -13
  79. package/scss/popup/_layout.scss +0 -34
  80. package/scss/popup/_theme.scss +4 -4
  81. package/scss/popup/_variables.scss +1 -1
  82. package/scss/radio/_layout.scss +78 -63
  83. package/scss/radio/_theme.scss +23 -23
  84. package/scss/radio/_variables.scss +154 -51
  85. package/scss/scheduler/_layout.scss +9 -228
  86. package/scss/scheduler/_theme.scss +5 -86
  87. package/scss/scrollview/_variables.scss +4 -4
  88. package/scss/searchbox/_layout.scss +1 -18
  89. package/scss/searchbox/_theme.scss +1 -46
  90. package/scss/searchbox/_variables.scss +0 -20
  91. package/scss/slider/_layout.scss +0 -19
  92. package/scss/slider/_theme.scss +0 -4
  93. package/scss/slider/_variables.scss +10 -10
  94. package/scss/spreadsheet/_layout.scss +2 -38
  95. package/scss/spreadsheet/_theme.scss +13 -13
  96. package/scss/switch/_index.scss +0 -2
  97. package/scss/switch/_layout.scss +91 -92
  98. package/scss/switch/_theme.scss +91 -93
  99. package/scss/switch/_variables.scss +193 -83
  100. package/scss/taskboard/_layout.scss +0 -4
  101. package/scss/taskboard/_variables.scss +1 -1
  102. package/scss/textarea/_layout.scss +1 -91
  103. package/scss/textarea/_theme.scss +1 -66
  104. package/scss/textarea/_variables.scss +0 -53
  105. package/scss/textbox/_layout.scss +1 -73
  106. package/scss/textbox/_theme.scss +1 -70
  107. package/scss/textbox/_variables.scss +1 -2
  108. package/scss/timeline/_variables.scss +7 -7
  109. package/scss/toolbar/_layout.scss +2 -2
  110. package/scss/toolbar/_variables.scss +1 -1
  111. package/scss/treeview/_variables.scss +1 -1
  112. package/scss/upload/_layout.scss +2 -2
  113. package/scss/utils/_border.scss +5 -0
  114. package/scss/window/_layout.scss +1 -11
@@ -201,36 +201,6 @@
201
201
  padding: $padding-x;
202
202
  box-sizing: border-box;
203
203
  flex: 0 0 auto;
204
-
205
- > .k-textbox {
206
- // remove the !important declaration when https://github.com/telerik/kendo-ui-core/issues/2617 is fixed
207
- width: 100% !important; // sass-lint:disable-block no-important
208
- box-sizing: border-box;
209
- padding-left: $popup-filter-padding-x;
210
- padding-right: calc( #{$icon-size} + #{$padding-x} );
211
- }
212
-
213
- > .k-icon {
214
- position: absolute;
215
- right: calc( #{$input-padding-x} + #{$padding-x} );
216
- top: 50%;
217
- transform: translateY(-50%);
218
- }
219
-
220
-
221
- .k-rtl &,
222
- [dir="rtl"] & {
223
-
224
- > .k-textbox {
225
- padding-right: $popup-filter-padding-x;
226
- padding-left: calc( #{$icon-size} + #{$padding-x} );
227
- }
228
- > .k-icon {
229
- left: calc( #{$input-padding-x} + #{$padding-x} );
230
- right: auto;
231
- }
232
-
233
- }
234
204
  }
235
205
 
236
206
  .k-dropdown-button .k-popup {
@@ -298,10 +268,6 @@
298
268
  border-width: 1px;
299
269
  }
300
270
  }
301
-
302
- .k-separator {
303
- height: 0;
304
- }
305
271
  }
306
272
 
307
273
  .k-virtual-content {
@@ -160,10 +160,10 @@
160
160
 
161
161
  .k-button {
162
162
  @include fill(
163
- $button-text,
164
- $button-bg,
165
- $button-border,
166
- $button-gradient
163
+ $kendo-button-text,
164
+ $kendo-button-bg,
165
+ $kendo-button-border,
166
+ $kendo-button-gradient
167
167
  );
168
168
  }
169
169
  }
@@ -10,7 +10,7 @@ $popup-line-height: $line-height !default;
10
10
  $popup-header-padding: $list-item-padding-y $list-item-padding-x !default;
11
11
  $popup-header-font-size: null !default;
12
12
  $popup-header-text: null !default;
13
- $popup-filter-padding-x: $input-padding-x !default;
13
+ $popup-filter-padding-x: $kendo-input-padding-x !default;
14
14
 
15
15
  $popup-content-padding-x: map-get( $spacing, 2 ) !default;
16
16
  $popup-content-padding-y: map-get( $spacing, 2 ) !default;
@@ -2,13 +2,11 @@
2
2
 
3
3
  // Radio
4
4
  .k-radio {
5
- @include border-radius( $radio-radius );
5
+ @include border-radius( $kendo-radio-radius );
6
6
  margin: 0;
7
7
  padding: 0;
8
- width: $radio-size;
9
- height: $radio-size;
10
8
  line-height: initial;
11
- border-width: $radio-border-width;
9
+ border-width: $kendo-radio-border-width;
12
10
  border-style: solid;
13
11
  outline: 0;
14
12
  box-sizing: border-box;
@@ -22,50 +20,69 @@
22
20
  -webkit-appearance: none;
23
21
  }
24
22
 
25
- // Radio indicator
26
- .k-radio::before {
27
- @if $radio-icon-type == "glyph" {
28
- content: $radio-checked-glyph;
29
- width: $radio-glyph-size;
30
- height: $radio-glyph-size;
31
- font-size: $radio-glyph-size;
32
- font-family: $radio-glyph-font-family;
33
- line-height: 1;
34
- transform: scale(0) translate(-50%, -50%);
35
- overflow: hidden;
36
- position: absolute;
37
- top: 50%;
38
- left: 50%;
39
- }
40
-
41
- @if $radio-icon-type == "marker" {
42
- content: "";
43
- width: $radio-marker-checked-width;
44
- height: $radio-marker-checked-width;
45
- border-radius: 50%;
46
- background-color: currentColor;
47
- transform: scale(0) translate(-50%, -50%);
48
- overflow: hidden;
49
- position: absolute;
50
- top: 50%;
51
- left: 50%;
23
+ // Radio size
24
+
25
+ @each $name, $size in $kendo-radio-sizes {
26
+ .k-radio-#{$name} {
27
+ width: $size;
28
+ height: $size;
29
+
30
+ + .k-radio-label {
31
+
32
+ .k-ripple {
33
+ top: ($size / 2);
34
+ left: ($size / 2);
35
+ width: ($size * 5 / 2);
36
+ height: ($size * 5 / 2);
37
+ }
38
+ }
39
+ }
40
+
41
+ // Radio indicator
42
+ .k-radio-#{$name}::before {
43
+ @if $kendo-radio-icon-type == "glyph" {
44
+ content: $kendo-radio-checked-glyph;
45
+ width: $kendo-radio-glyph-size;
46
+ height: $kendo-radio-glyph-size;
47
+ font-size: $kendo-radio-glyph-size;
48
+ font-family: $kendo-radio-glyph-font-family;
49
+ line-height: 1;
50
+ transform: scale(0) translate(-50%, -50%);
51
+ overflow: hidden;
52
+ position: absolute;
53
+ top: 50%;
54
+ left: 50%;
55
+ }
56
+
57
+ @if $kendo-radio-icon-type == "marker" {
58
+ content: "";
59
+ width: ($size / 2);
60
+ height: ($size / 2);
61
+ border-radius: 50%;
62
+ background-color: currentColor;
63
+ transform: scale(0) translate(-50%, -50%);
64
+ overflow: hidden;
65
+ position: absolute;
66
+ top: 50%;
67
+ left: 50%;
68
+ }
52
69
  }
53
70
  }
54
71
 
55
72
  // Checked state
56
73
  .k-radio:checked,
57
74
  .k-radio.k-checked {
58
- @if $radio-icon-type == "image" {
59
- background-image: $radio-checked-image;
75
+ @if $kendo-radio-icon-type == "image" {
76
+ background-image: $kendo-radio-checked-image;
60
77
  }
61
78
 
62
- @if $radio-icon-type == "glyph" {
79
+ @if $kendo-radio-icon-type == "glyph" {
63
80
  &::before {
64
81
  transform: scale(1) translate(-50%, -50%);
65
82
  }
66
83
  }
67
84
 
68
- @if $radio-icon-type == "marker" {
85
+ @if $kendo-radio-icon-type == "marker" {
69
86
  &::before {
70
87
  transform: scale(1) translate(-50%, -50%);
71
88
  }
@@ -88,7 +105,7 @@
88
105
  .k-radio-label {
89
106
  margin: 0;
90
107
  padding: 0;
91
- line-height: $radio-line-height;
108
+ line-height: $kendo-radio-line-height;
92
109
  display: inline-flex;
93
110
  align-items: flex-start;
94
111
  vertical-align: middle;
@@ -105,12 +122,8 @@
105
122
  }
106
123
 
107
124
  .k-ripple {
108
- top: $radio-size / 2;
109
- left: $radio-size / 2;
110
125
  right: auto;
111
126
  bottom: auto;
112
- width: $radio-size * 5 / 2;
113
- height: $radio-size * 5 / 2;
114
127
  transform: translate(-50%, -50%);
115
128
  border-radius: 50%;
116
129
 
@@ -131,10 +144,10 @@
131
144
  .k-radio + .k-radio-label,
132
145
  .k-radio-label + .k-radio,
133
146
  .k-label + .k-radio {
134
- margin-left: $radio-label-margin-x;
147
+ margin-left: $kendo-radio-label-margin-x;
135
148
  }
136
149
  .k-radio-label > .k-radio {
137
- margin-right: $radio-label-margin-x;
150
+ margin-right: $kendo-radio-label-margin-x;
138
151
  flex-shrink: 0;
139
152
  }
140
153
  kendo-label.k-radio-label > .k-label {
@@ -143,19 +156,19 @@
143
156
 
144
157
  // Radio list
145
158
  .k-radio-list {
146
- margin: $radio-list-margin;
147
- padding: $radio-list-padding;
159
+ margin: $kendo-radio-list-margin;
160
+ padding: $kendo-radio-list-padding;
148
161
  list-style: none;
149
162
 
150
163
  .k-radio-item {
151
- padding: $radio-list-item-padding-y $radio-list-item-padding-x;
164
+ padding: $kendo-radio-list-item-padding-y $kendo-radio-list-item-padding-x;
152
165
  }
153
166
  }
154
167
 
155
168
  .k-list-horizontal {
156
169
  .k-radio-item {
157
170
  display: inline-block;
158
- margin: 0 $radio-list-horizontal-item-margin-x 0 0;
171
+ margin: 0 $kendo-radio-list-horizontal-item-margin-x 0 0;
159
172
 
160
173
  &:last-child {
161
174
  margin-right: 0;
@@ -170,24 +183,24 @@
170
183
  .k-radio-label + .k-radio,
171
184
  .k-label + .k-radio {
172
185
  margin-left: 0;
173
- margin-right: $radio-label-margin-x;
186
+ margin-right: $kendo-radio-label-margin-x;
174
187
  }
175
188
  .k-radio-label > .k-radio {
176
189
  margin-right: 0;
177
- margin-left: $radio-label-margin-x;
190
+ margin-left: $kendo-radio-label-margin-x;
178
191
  }
179
192
  kendo-label.k-radio-label > .k-radio:last-child {
180
193
  margin-left: 0;
181
194
  }
182
195
  kendo-label.k-radio-label > .k-label:first-child {
183
196
  margin-right: 0;
184
- margin-left: $radio-label-margin-x;
197
+ margin-left: $kendo-radio-label-margin-x;
185
198
  }
186
199
 
187
200
  .k-list-horizontal {
188
201
  .k-radio-item {
189
202
  margin-right: 0;
190
- margin-left: $radio-list-horizontal-item-margin-x;
203
+ margin-left: $kendo-radio-list-horizontal-item-margin-x;
191
204
 
192
205
  &:last-child {
193
206
  margin-left: 0;
@@ -197,19 +210,21 @@
197
210
  }
198
211
 
199
212
  .k-ripple-container {
200
- .k-radio::after {
201
- content: "";
202
- display: block;
203
- position: absolute;
204
- left: 0;
205
- top: 0;
206
- width: $radio-ripple-size;
207
- height: $radio-ripple-size;
208
- margin-left: $radio-ripple-margin;
209
- margin-top: $radio-ripple-margin;
210
- border-radius: 100%;
211
- z-index: 1;
212
- transform: scale(0);
213
+ @each $name, $size in $kendo-radio-sizes {
214
+ .k-radio-#{$name}::after {
215
+ content: "";
216
+ display: block;
217
+ position: absolute;
218
+ left: 0;
219
+ top: 0;
220
+ width: map-get($kendo-radio-ripple-size, $name);
221
+ height: map-get($kendo-radio-ripple-size, $name);
222
+ margin-left: map-get($kendo-radio-ripple-margin, $name);
223
+ margin-top: map-get($kendo-radio-ripple-margin, $name);
224
+ border-radius: 100%;
225
+ z-index: 1;
226
+ transform: scale(0);
227
+ }
213
228
  }
214
229
 
215
230
  .k-radio:disabled::after,
@@ -3,9 +3,9 @@
3
3
  // Radio
4
4
  .k-radio {
5
5
  @include fill(
6
- $radio-text,
7
- $radio-bg,
8
- $radio-border
6
+ $kendo-radio-text,
7
+ $kendo-radio-bg,
8
+ $kendo-radio-border
9
9
  );
10
10
  }
11
11
 
@@ -14,9 +14,9 @@
14
14
  .k-radio:hover,
15
15
  .k-radio.k-state-hover {
16
16
  @include fill(
17
- $radio-hovered-text,
18
- $radio-hovered-bg,
19
- $radio-hovered-border
17
+ $kendo-radio-hover-text,
18
+ $kendo-radio-hover-bg,
19
+ $kendo-radio-hover-border
20
20
  );
21
21
  }
22
22
 
@@ -24,8 +24,8 @@
24
24
  // Focus state
25
25
  .k-radio:focus,
26
26
  .k-radio.k-state-focus {
27
- @include fill( $border: $radio-focused-border );
28
- @include box-shadow( $radio-focused-shadow );
27
+ @include fill( $border: $kendo-radio-focus-border );
28
+ @include box-shadow( $kendo-radio-focus-shadow );
29
29
  }
30
30
 
31
31
 
@@ -34,13 +34,13 @@
34
34
  .k-radio.k-state-invalid,
35
35
  .k-radio.ng-invalid.ng-touched,
36
36
  .k-radio.ng-invalid.ng-dirty {
37
- @include fill( $border: $radio-invalid-border );
37
+ @include fill( $border: $kendo-radio-invalid-border );
38
38
  }
39
39
  .k-radio.k-invalid + .k-radio-label,
40
40
  .k-radio.k-state-invalid + .k-radio-label,
41
41
  .k-radio.ng-invalid.ng-touched + .k-radio-label,
42
42
  .k-radio.ng-invalid.ng-dirty + .k-radio-label {
43
- @include fill( $color: $radio-invalid-text );
43
+ @include fill( $color: $kendo-radio-invalid-text );
44
44
  }
45
45
 
46
46
 
@@ -48,16 +48,16 @@
48
48
  .k-radio:checked,
49
49
  .k-radio.k-checked {
50
50
  @include fill(
51
- $radio-checked-text,
52
- $radio-checked-bg,
53
- $radio-checked-border
51
+ $kendo-radio-checked-text,
52
+ $kendo-radio-checked-bg,
53
+ $kendo-radio-checked-border
54
54
  );
55
55
  }
56
56
 
57
57
  .k-radio:checked:focus,
58
58
  .k-radio.k-checked.k-state-focus {
59
- @include fill( $border: $radio-focused-checked-border );
60
- @include box-shadow( $radio-focused-checked-shadow );
59
+ @include fill( $border: $kendo-radio-focus-checked-border );
60
+ @include box-shadow( $kendo-radio-focus-checked-shadow );
61
61
  }
62
62
 
63
63
 
@@ -65,25 +65,25 @@
65
65
  .k-radio:disabled,
66
66
  .k-radio.k-disabled {
67
67
  @include fill(
68
- $radio-disabled-text,
69
- $radio-disabled-bg,
70
- $radio-disabled-border
68
+ $kendo-radio-disabled-text,
69
+ $kendo-radio-disabled-bg,
70
+ $kendo-radio-disabled-border
71
71
  );
72
72
  }
73
73
  .k-radio:checked:disabled,
74
74
  .k-radio.k-checked.k-disabled {
75
75
  @include fill(
76
- $radio-disabled-checked-text,
77
- $radio-disabled-checked-bg,
78
- $radio-disabled-checked-border
76
+ $kendo-radio-disabled-checked-text,
77
+ $kendo-radio-disabled-checked-bg,
78
+ $kendo-radio-disabled-checked-border
79
79
  );
80
80
  }
81
81
 
82
82
  // Ripple
83
83
  .k-ripple-container {
84
84
  .k-radio::after {
85
- background: $checkbox-checked-bg;
86
- opacity: $checkbox-ripple-opacity;
85
+ background: $kendo-checkbox-checked-bg;
86
+ opacity: $kendo-checkbox-ripple-opacity;
87
87
  }
88
88
  }
89
89
 
@@ -1,69 +1,172 @@
1
1
  // Radio button
2
- $radio-size: map-get( $spacing, 4 ) !default;
3
- $radio-radius: 50% !default;
4
- $radio-border-width: 1px !default;
5
- $radio-line-height: calc(#{$radio-size} + #{$radio-border-width}) !default;
6
2
 
7
- $radio-bg: $checkbox-bg !default;
8
- $radio-text: $checkbox-text !default;
9
- $radio-border: $checkbox-border !default;
3
+ /// The Sizes of the radio button.
4
+ /// @group radio
5
+ $kendo-radio-sizes: (
6
+ sm: map-get( $spacing, 3),
7
+ md: map-get( $spacing, 4),
8
+ lg: map-get( $spacing, 6)
9
+ ) !default;
10
+
11
+ /// The Border radius of the radio button.
12
+ /// @group radio
13
+ $kendo-radio-radius: 50% !default;
14
+ /// The Border width of the radio button.
15
+ /// @group radio
16
+ $kendo-radio-border-width: 1px !default;
17
+ /// The Line height of the radio button.
18
+ /// @group radio
19
+ $kendo-radio-line-height: calc( #{map-get( $kendo-radio-sizes, "md" )} + #{$kendo-radio-border-width} ) !default;
20
+
21
+ /// The Background of the radio button.
22
+ /// @group radio
23
+ $kendo-radio-bg: $kendo-checkbox-bg !default;
24
+ /// The Text of the radio button.
25
+ /// @group radio
26
+ $kendo-radio-text: $kendo-checkbox-text !default;
27
+ /// The Border of the radio button.
28
+ /// @group radio
29
+ $kendo-radio-border: $kendo-checkbox-border !default;
30
+
31
+ /// The background of hovered radio button.
32
+ /// @group radio
33
+ $kendo-radio-hover-bg: $kendo-checkbox-hover-bg !default;
34
+ /// The text of hovered radio button.
35
+ /// @group radio
36
+ $kendo-radio-hover-text: $kendo-checkbox-hover-text !default;
37
+ /// The border of hovered radio button.
38
+ /// @group radio
39
+ $kendo-radio-hover-border: $kendo-checkbox-hover-border !default;
40
+
41
+ /// The background of checked radio button.
42
+ /// @group radio
43
+ $kendo-radio-checked-bg: $kendo-checkbox-checked-bg !default;
44
+ /// The text of checked radio button.
45
+ /// @group radio
46
+ $kendo-radio-checked-text: $kendo-checkbox-checked-text !default;
47
+ /// The border of checked radio button.
48
+ /// @group radio
49
+ $kendo-radio-checked-border: $kendo-checkbox-checked-border !default;
50
+
51
+ /// The background of indeterminate radio button.
52
+ /// @group radio
53
+ $kendo-radio-indeterminate-bg: $kendo-radio-checked-bg !default;
54
+ /// The text of indeterminate radio button
55
+ /// @group radio
56
+ $kendo-radio-indeterminate-text: $kendo-radio-checked-text !default;
57
+ /// The border of indeterminate radio button.
58
+ /// @group radio
59
+ $kendo-radio-indeterminate-border: $kendo-radio-checked-border !default;
60
+
61
+ /// The border of focused radio button.
62
+ /// @group radio
63
+ $kendo-radio-focus-border: $kendo-checkbox-hover-border !default;
64
+ /// The shadow of focused radio button.
65
+ /// @group radio
66
+ $kendo-radio-focus-shadow: $kendo-checkbox-focus-shadow !default;
67
+ /// The border of focused and checked radio button.
68
+ /// @group radio
69
+ $kendo-radio-focus-checked-border: $kendo-checkbox-checked-border !default;
70
+ /// The shadow of focused and checked radio button.
71
+ /// @group radio
72
+ $kendo-radio-focus-checked-shadow: $kendo-checkbox-focus-checked-shadow !default;
73
+
74
+ /// The background of disabled radio button.
75
+ /// @group radio
76
+ $kendo-radio-disabled-bg: null !default;
77
+ /// The text of disabled radio button.
78
+ /// @group radio
79
+ $kendo-radio-disabled-text: null !default;
80
+ /// The border of disabled radio button.
81
+ /// @group radio
82
+ $kendo-radio-disabled-border: null !default;
83
+
84
+ /// The background of diasbled and checked radio button.
85
+ /// @group radio
86
+ $kendo-radio-disabled-checked-bg: null !default;
87
+ /// The text of disabled and checked radio button.
88
+ /// @group radio
89
+ $kendo-radio-disabled-checked-text: null !default;
90
+ /// The border of disabled and checked radio button.
91
+ /// @group radio
92
+ $kendo-radio-disabled-checked-border: null !default;
93
+
94
+ /// The background of invalid radio button.
95
+ /// @group radio
96
+ $kendo-radio-invalid-bg: null !default;
97
+ /// The text of invalid radio button.
98
+ /// @group radio
99
+ $kendo-radio-invalid-text: $invalid-text !default;
100
+ /// The border of invalid radio button.
101
+ /// @group radio
102
+ $kendo-radio-invalid-border: $invalid-border !default;
10
103
 
11
- $radio-hovered-bg: $checkbox-hovered-bg !default;
12
- $radio-hovered-text: $checkbox-hovered-text !default;
13
- $radio-hovered-border: $checkbox-hovered-border !default;
14
104
 
15
- $radio-checked-bg: $checkbox-checked-bg !default;
16
- $radio-checked-text: $checkbox-checked-text !default;
17
- $radio-checked-border: $checkbox-checked-border !default;
18
-
19
- $radio-indeterminate-bg: $radio-checked-bg !default;
20
- $radio-indeterminate-text: $radio-checked-text !default;
21
- $radio-indeterminate-border: $radio-checked-border !default;
22
-
23
- $radio-focused-border: $checkbox-hovered-border !default;
24
- $radio-focused-shadow: $checkbox-focused-shadow !default;
25
- $radio-focused-checked-border: $checkbox-checked-border !default;
26
- $radio-focused-checked-shadow: $checkbox-focused-checked-shadow !default;
105
+ // Radio indicator
27
106
 
28
- $radio-disabled-bg: null !default;
29
- $radio-disabled-text: null !default;
30
- $radio-disabled-border: null !default;
107
+ /// The icon type of radio button.
108
+ /// @group radio
109
+ $kendo-radio-icon-type: marker !default;
31
110
 
32
- $radio-disabled-checked-bg: null !default;
33
- $radio-disabled-checked-text: null !default;
34
- $radio-disabled-checked-border: null !default;
111
+ /// The glyph font family of radio button.
112
+ /// @group radio
113
+ $kendo-radio-glyph-font-family: "WebComponentsIcons", monospace !default;
114
+ /// The glyph size of radio button.
115
+ /// @group radio
116
+ $kendo-radio-glyph-size: 12px !default;
117
+ /// The checked glyph of radio button.
118
+ /// @group radio
119
+ $kendo-radio-checked-glyph: "\e308" !default;
35
120
 
36
- $radio-invalid-bg: null !default;
37
- $radio-invalid-text: $invalid-text !default;
38
- $radio-invalid-border: $invalid-border !default;
121
+ /// The checked image of radio button.
122
+ /// @group radio
123
+ $kendo-radio-checked-image: null !default;
39
124
 
40
125
 
41
- // Radio indicator
42
- $radio-icon-type: marker !default;
126
+ // Radio label
43
127
 
44
- $radio-glyph-font-family: "WebComponentsIcons", monospace !default;
45
- $radio-glyph-size: 12px !default;
46
- $radio-checked-glyph: "\e308" !default;
128
+ /// The horizontal margin of the radio button inside of a label.
129
+ /// @group radio
130
+ $kendo-radio-label-margin-x: map-get( $spacing, 1 ) !default;
47
131
 
48
- $radio-checked-image: null !default;
49
132
 
50
- $radio-marker-checked-width: ( $radio-size / 2 ) !default;
51
- $radio-marker-checked-height: ( $radio-size / 2 ) !default;
133
+ // Radio list
52
134
 
135
+ /// The list margin of radio button.
136
+ /// @group radio
137
+ $kendo-radio-list-margin: 0px !default;
138
+ /// The list padding of radio button.
139
+ /// @group radio
140
+ $kendo-radio-list-padding: 0px !default;
141
+ /// The horizontal list item padding of radio button.
142
+ /// @group radio
143
+ $kendo-radio-list-item-padding-x: 0px !default;
144
+ /// The vertical list item padding of radio button.
145
+ /// @group radio
146
+ $kendo-radio-list-item-padding-y: $list-item-padding-y !default;
147
+ /// The horizontal list item margin of radio button.
148
+ /// @group radio
149
+ $kendo-radio-list-horizontal-item-margin-x: 32px !default;
53
150
 
54
- // Radio label
55
- $radio-label-margin-x: map-get( $spacing, 1 ) !default;
56
151
 
152
+ // Radio ripple
57
153
 
58
- // Radio list
59
- $radio-list-margin: 0px !default;
60
- $radio-list-padding: 0px !default;
61
- $radio-list-item-padding-x: 0px !default;
62
- $radio-list-item-padding-y: $list-item-padding-y !default;
63
- $radio-list-horizontal-item-margin-x: 32px !default;
154
+ /// The ripple size of radio.
155
+ /// @group radio
156
+ $kendo-radio-ripple-size: (
157
+ sm: (map-get( $kendo-radio-sizes, "sm" ) * 3),
158
+ md: (map-get( $kendo-radio-sizes, "md" ) * 3),
159
+ lg: (map-get( $kendo-radio-sizes, "lg" ) * 3)
160
+ ) !default;
161
+ /// The ripple margin of radio button.
162
+ /// @group radio
163
+ $kendo-radio-ripple-margin: (
164
+ sm: calc(-1 * (#{map-get( $kendo-radio-sizes, "sm" )} + 2 * #{$kendo-radio-border-width})),
165
+ md: calc(-1 * (#{map-get( $kendo-radio-sizes, "md" )} + 2 * #{$kendo-radio-border-width})),
166
+ lg: calc(-1 * (#{map-get( $kendo-radio-sizes, "lg" )} + 2 * #{$kendo-radio-border-width}))
167
+ ) !default;
168
+ /// The ripple opacity of radio button.
169
+ /// @group radio
170
+ $kendo-radio-ripple-opacity: .3 !default;
64
171
 
65
172
 
66
- // Radio ripple
67
- $radio-ripple-size: $radio-size * 3 !default;
68
- $radio-ripple-margin: calc(-1 * (#{$radio-size} + 2 * #{$radio-border-width})) !default;
69
- $radio-ripple-opacity: .3 !default;