@progress/kendo-theme-material 6.2.1-dev.1 → 6.2.1-dev.8
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.
- package/dist/all.css +5366 -1090
- package/dist/all.scss +1205 -423
- package/dist/meta/sassdoc-data.json +18007 -9085
- package/dist/meta/sassdoc-raw-data.json +7281 -3156
- package/dist/meta/variables.json +199 -127
- package/lib/swatches/material-aqua-dark.json +1 -1
- package/lib/swatches/material-arctic.json +1 -1
- package/lib/swatches/material-burnt-teal.json +1 -1
- package/lib/swatches/material-dataviz-v4.json +1 -1
- package/lib/swatches/material-eggplant.json +1 -1
- package/lib/swatches/material-lime-dark.json +1 -1
- package/lib/swatches/material-lime.json +1 -1
- package/lib/swatches/material-main-dark.json +1 -1
- package/lib/swatches/material-main.json +1 -1
- package/lib/swatches/material-nova.json +1 -1
- package/lib/swatches/material-pacific-dark.json +1 -1
- package/lib/swatches/material-pacific.json +1 -1
- package/lib/swatches/material-sky-dark.json +1 -1
- package/lib/swatches/material-sky.json +1 -1
- package/lib/swatches/material-smoke.json +1 -1
- package/package.json +5 -5
- package/scss/button/_variables.scss +88 -61
- package/scss/checkbox/_variables.scss +83 -53
- package/scss/chip/_variables.scss +54 -30
- package/scss/input/_variables.scss +275 -51
- package/scss/list/_variables.scss +41 -40
- package/scss/radio/_variables.scss +77 -45
- package/scss/split-button/_variables.scss +15 -3
- package/scss/switch/_variables.scss +56 -56
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-theme-material",
|
|
3
3
|
"description": "Material theme for Kendo UI",
|
|
4
|
-
"version": "6.2.1-dev.
|
|
4
|
+
"version": "6.2.1-dev.8+79dd700c6",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"keywords": [
|
|
@@ -50,9 +50,9 @@
|
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@progress/kendo-font-icons": "1.4.0",
|
|
53
|
-
"@progress/kendo-theme-core": "6.2.1-dev.
|
|
54
|
-
"@progress/kendo-theme-default": "6.2.1-dev.
|
|
55
|
-
"@progress/kendo-theme-utils": "6.2.1-dev.
|
|
53
|
+
"@progress/kendo-theme-core": "6.2.1-dev.8+79dd700c6",
|
|
54
|
+
"@progress/kendo-theme-default": "6.2.1-dev.8+79dd700c6",
|
|
55
|
+
"@progress/kendo-theme-utils": "6.2.1-dev.8+79dd700c6"
|
|
56
56
|
},
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "79dd700c627f9d132a97c8fa78f2478d9b204c60"
|
|
58
58
|
}
|
|
@@ -1,58 +1,85 @@
|
|
|
1
1
|
// Button
|
|
2
2
|
|
|
3
|
-
///
|
|
3
|
+
/// The width of the border around the Button.
|
|
4
4
|
/// @group button
|
|
5
5
|
$kendo-button-border-width: 1px !default;
|
|
6
6
|
|
|
7
|
-
///
|
|
7
|
+
/// The border radius of the Button.
|
|
8
8
|
/// @group button
|
|
9
9
|
$kendo-button-border-radius: null !default;
|
|
10
10
|
|
|
11
|
-
///
|
|
11
|
+
/// The horizontal padding of the Button.
|
|
12
12
|
/// @group button
|
|
13
13
|
$kendo-button-padding-x: k-map-get( $kendo-spacing, 4 ) !default;
|
|
14
|
-
///
|
|
14
|
+
/// The horizontal padding of the small Button.
|
|
15
|
+
/// @group button
|
|
16
|
+
$kendo-button-sm-padding-x: k-map-get( $kendo-spacing, 4 ) !default;
|
|
17
|
+
/// The horizontal padding of the medium Button.
|
|
18
|
+
/// @group button
|
|
19
|
+
$kendo-button-md-padding-x: k-map-get( $kendo-spacing, 4 ) !default;
|
|
20
|
+
/// The horizontal padding of the large Button.
|
|
21
|
+
/// @group button
|
|
22
|
+
$kendo-button-lg-padding-x: k-map-get( $kendo-spacing, 4 ) !default;
|
|
23
|
+
|
|
24
|
+
/// The vertical padding of the Button.
|
|
15
25
|
/// @group button
|
|
16
26
|
$kendo-button-padding-y: k-map-get( $kendo-spacing, 2 ) !default;
|
|
17
|
-
///
|
|
27
|
+
/// The vertical padding of the small Button.
|
|
28
|
+
/// @group button
|
|
29
|
+
$kendo-button-sm-padding-y: k-map-get( $kendo-spacing, 1.5 ) !default;
|
|
30
|
+
/// The vertical padding of the medium Button.
|
|
31
|
+
/// @group button
|
|
32
|
+
$kendo-button-md-padding-y: k-map-get( $kendo-spacing, 2 ) !default;
|
|
33
|
+
/// The vertical padding of the large Button.
|
|
34
|
+
/// @group button
|
|
35
|
+
$kendo-button-lg-padding-y: k-map-get( $kendo-spacing, 2.5 ) !default;
|
|
36
|
+
|
|
37
|
+
/// The font family of the Button.
|
|
18
38
|
/// @group button
|
|
19
39
|
$kendo-button-font-family: $kendo-font-family !default;
|
|
20
|
-
|
|
40
|
+
|
|
41
|
+
/// The font size of the Button.
|
|
21
42
|
/// @group button
|
|
22
43
|
$kendo-button-font-size: $kendo-font-size-md !default;
|
|
44
|
+
/// The font size of the small Button.
|
|
45
|
+
/// @group button
|
|
46
|
+
$kendo-button-sm-font-size: $kendo-font-size-md !default;
|
|
47
|
+
/// The font size of the medium Button.
|
|
48
|
+
/// @group button
|
|
49
|
+
$kendo-button-md-font-size: $kendo-font-size-md !default;
|
|
50
|
+
/// The font size of the large Button.
|
|
51
|
+
/// @group button
|
|
52
|
+
$kendo-button-lg-font-size: $kendo-font-size-md !default;
|
|
53
|
+
|
|
23
54
|
/// Line heights used along with $kendo-font-size.
|
|
24
55
|
/// @group button
|
|
25
56
|
$kendo-button-line-height: k-math-div( 20, 14 ) !default;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
$kendo-button-sm-padding-y: k-map-get( $kendo-spacing, 1.5 ) !default;
|
|
29
|
-
$kendo-button-sm-font-size: $kendo-font-size-md !default;
|
|
57
|
+
/// The line height used along with the $kendo-font-size of the small Button.
|
|
58
|
+
/// @group button
|
|
30
59
|
$kendo-button-sm-line-height: k-math-div( 20, 14 ) !default;
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
$kendo-button-md-padding-y: k-map-get( $kendo-spacing, 2 ) !default;
|
|
34
|
-
$kendo-button-md-font-size: $kendo-font-size-md !default;
|
|
60
|
+
/// The line height used along with the $kendo-font-size of the medium Button.
|
|
61
|
+
/// @group button
|
|
35
62
|
$kendo-button-md-line-height: k-math-div( 20, 14 ) !default;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
$kendo-button-lg-padding-y: k-map-get( $kendo-spacing, 2.5 ) !default;
|
|
39
|
-
$kendo-button-lg-font-size: $kendo-font-size-md !default;
|
|
63
|
+
/// The line height used along with the $kendo-font-size of the large Button.
|
|
64
|
+
/// @group button
|
|
40
65
|
$kendo-button-lg-line-height: k-math-div( 20, 14 ) !default;
|
|
41
66
|
|
|
42
|
-
///
|
|
67
|
+
/// The calculated height of the Button.
|
|
43
68
|
/// @group button
|
|
44
69
|
$kendo-button-calc-size: calc( #{$kendo-button-line-height * 1em} + #{$kendo-button-padding-y * 2} + #{$kendo-button-border-width * 2} ) !default;
|
|
45
70
|
$kendo-button-sm-calc-size: calc( #{$kendo-button-sm-line-height * 1em} + #{$kendo-button-sm-padding-y * 2} + #{$kendo-button-border-width * 2} ) !default;
|
|
46
71
|
$kendo-button-md-calc-size: calc( #{$kendo-button-md-line-height * 1em} + #{$kendo-button-md-padding-y * 2} + #{$kendo-button-border-width * 2} ) !default;
|
|
47
72
|
$kendo-button-lg-calc-size: calc( #{$kendo-button-lg-line-height * 1em} + #{$kendo-button-lg-padding-y * 2} + #{$kendo-button-border-width * 2} ) !default;
|
|
48
73
|
|
|
49
|
-
///
|
|
74
|
+
/// The calculated inner height of the Button excluding the border width.
|
|
50
75
|
/// @group button
|
|
51
76
|
$kendo-button-inner-calc-size: calc( #{$kendo-button-line-height * 1em} + #{$kendo-button-padding-y * 2} ) !default;
|
|
52
77
|
$kendo-button-sm-inner-calc-size: calc( #{$kendo-button-sm-line-height * 1em} + #{$kendo-button-sm-padding-y * 2} ) !default;
|
|
53
78
|
$kendo-button-md-inner-calc-size: calc( #{$kendo-button-md-line-height * 1em} + #{$kendo-button-md-padding-y * 2} ) !default;
|
|
54
79
|
$kendo-button-lg-inner-calc-size: calc( #{$kendo-button-lg-line-height * 1em} + #{$kendo-button-lg-padding-y * 2} ) !default;
|
|
55
80
|
|
|
81
|
+
/// The sizes map for the Button.
|
|
82
|
+
/// @group button
|
|
56
83
|
$kendo-button-sizes: (
|
|
57
84
|
sm: (
|
|
58
85
|
padding-x: $kendo-button-sm-padding-x,
|
|
@@ -74,110 +101,110 @@ $kendo-button-sizes: (
|
|
|
74
101
|
)
|
|
75
102
|
) !default;
|
|
76
103
|
|
|
77
|
-
///
|
|
104
|
+
/// The theme colors map for the Button.
|
|
78
105
|
/// @group button
|
|
79
106
|
$kendo-button-theme-colors: k-map-merge(
|
|
80
107
|
$kendo-theme-colors,
|
|
81
108
|
( "base": $kendo-base-bg )
|
|
82
109
|
) !default;
|
|
83
110
|
|
|
84
|
-
/// The base background of the
|
|
111
|
+
/// The base background of the Button.
|
|
85
112
|
/// @group button
|
|
86
113
|
$kendo-button-bg: $kendo-base-bg !default;
|
|
87
|
-
/// The base text color of the
|
|
114
|
+
/// The base text color of the Button.
|
|
88
115
|
/// @group button
|
|
89
116
|
$kendo-button-text: $kendo-base-text !default;
|
|
90
|
-
/// The base border color of the
|
|
117
|
+
/// The base border color of the Button.
|
|
91
118
|
/// @group button
|
|
92
119
|
$kendo-button-border: $kendo-button-bg !default;
|
|
93
|
-
/// The base background gradient of the
|
|
120
|
+
/// The base background gradient of the Button.
|
|
94
121
|
/// @group button
|
|
95
122
|
$kendo-button-gradient: null !default;
|
|
96
|
-
/// The base shadow of the
|
|
123
|
+
/// The base shadow of the Button.
|
|
97
124
|
/// @group button
|
|
98
125
|
$kendo-button-shadow: $box-shadow-depth-2 !default;
|
|
99
126
|
|
|
100
|
-
/// The base background of hovered
|
|
127
|
+
/// The base background of the hovered Button.
|
|
101
128
|
/// @group button
|
|
102
129
|
$kendo-button-hover-bg: null !default;
|
|
103
|
-
/// The base text color of hovered
|
|
130
|
+
/// The base text color of the hovered Button.
|
|
104
131
|
/// @group button
|
|
105
132
|
$kendo-button-hover-text: null !default;
|
|
106
|
-
/// The base border color of hovered
|
|
133
|
+
/// The base border color of the hovered Button.
|
|
107
134
|
/// @group button
|
|
108
135
|
$kendo-button-hover-border: null !default;
|
|
109
|
-
/// The base background gradient of hovered
|
|
136
|
+
/// The base background gradient of the hovered Button.
|
|
110
137
|
/// @group button
|
|
111
138
|
$kendo-button-hover-gradient: null !default;
|
|
112
|
-
/// The base shadow of hovered
|
|
139
|
+
/// The base shadow of the hovered Button.
|
|
113
140
|
/// @group button
|
|
114
141
|
$kendo-button-hover-shadow: null !default;
|
|
115
142
|
|
|
116
|
-
/// The base background color of active
|
|
143
|
+
/// The base background color of the active Button.
|
|
117
144
|
/// @group button
|
|
118
145
|
$kendo-button-active-bg: null !default;
|
|
119
|
-
/// The base text color of active
|
|
146
|
+
/// The base text color of the active Button.
|
|
120
147
|
/// @group button
|
|
121
148
|
$kendo-button-active-text: null !default;
|
|
122
|
-
/// The base border color of active
|
|
149
|
+
/// The base border color of the active Button.
|
|
123
150
|
/// @group button
|
|
124
151
|
$kendo-button-active-border: null !default;
|
|
125
|
-
/// The base background gradient of active
|
|
152
|
+
/// The base background gradient of the active Button.
|
|
126
153
|
/// @group button
|
|
127
154
|
$kendo-button-active-gradient: null !default;
|
|
128
|
-
/// The base shadow of active
|
|
155
|
+
/// The base shadow of the active Button.
|
|
129
156
|
/// @group button
|
|
130
157
|
$kendo-button-active-shadow: $box-shadow-depth-3 !default;
|
|
131
158
|
|
|
132
|
-
/// The base background color of selected
|
|
159
|
+
/// The base background color of the selected Button.
|
|
133
160
|
/// @group button
|
|
134
161
|
$kendo-button-selected-bg: $kendo-button-active-bg !default;
|
|
135
|
-
/// The base text color of selected
|
|
162
|
+
/// The base text color of the selected Button.
|
|
136
163
|
/// @group button
|
|
137
164
|
$kendo-button-selected-text: $kendo-button-active-text !default;
|
|
138
|
-
/// The base border color of selected
|
|
165
|
+
/// The base border color of the selected Button.
|
|
139
166
|
/// @group button
|
|
140
167
|
$kendo-button-selected-border: $kendo-button-active-bg !default;
|
|
141
|
-
/// The base background gradient of selected
|
|
168
|
+
/// The base background gradient of the selected Button.
|
|
142
169
|
/// @group button
|
|
143
170
|
$kendo-button-selected-gradient: null !default;
|
|
144
|
-
/// The base shadow of selected
|
|
171
|
+
/// The base shadow of the selected Button.
|
|
145
172
|
/// @group button
|
|
146
173
|
$kendo-button-selected-shadow: null !default;
|
|
147
174
|
|
|
148
|
-
/// The base background of focused
|
|
175
|
+
/// The base background of the focused Button.
|
|
149
176
|
/// @group button
|
|
150
177
|
$kendo-button-focus-bg: null !default;
|
|
151
|
-
/// The base text color of focused
|
|
178
|
+
/// The base text color of the focused Button.
|
|
152
179
|
/// @group button
|
|
153
180
|
$kendo-button-focus-text: null !default;
|
|
154
|
-
/// The base border color of focused
|
|
181
|
+
/// The base border color of the focused Button.
|
|
155
182
|
/// @group button
|
|
156
183
|
$kendo-button-focus-border: null !default;
|
|
157
|
-
/// The base background gradient of focused
|
|
184
|
+
/// The base background gradient of focused Button.
|
|
158
185
|
/// @group button
|
|
159
186
|
$kendo-button-focus-gradient: null !default;
|
|
160
|
-
/// The base shadow of focused
|
|
187
|
+
/// The base shadow of the focused Button.
|
|
161
188
|
/// @group button
|
|
162
189
|
$kendo-button-focus-shadow: null !default;
|
|
163
190
|
|
|
164
|
-
/// The base background color of disabled
|
|
191
|
+
/// The base background color of the disabled Button.
|
|
165
192
|
/// @group button
|
|
166
193
|
$kendo-button-disabled-bg: k-try-shade( $kendo-body-bg, 12% ) !default;
|
|
167
|
-
/// The base text color of disabled
|
|
194
|
+
/// The base text color of the disabled Button.
|
|
168
195
|
/// @group button
|
|
169
196
|
$kendo-button-disabled-text: $kendo-disabled-text !default;
|
|
170
|
-
/// The base border color of disabled
|
|
197
|
+
/// The base border color of the disabled Button.
|
|
171
198
|
/// @group button
|
|
172
199
|
$kendo-button-disabled-border: $kendo-button-disabled-bg !default;
|
|
173
|
-
/// The base background gradient of disabled
|
|
200
|
+
/// The base background gradient of the disabled Button.
|
|
174
201
|
/// @group button
|
|
175
202
|
$kendo-button-disabled-gradient: null !default;
|
|
176
|
-
/// The base shadow of disabled
|
|
203
|
+
/// The base shadow of the disabled Button.
|
|
177
204
|
/// @group button
|
|
178
205
|
$kendo-button-disabled-shadow: none !default;
|
|
179
206
|
|
|
180
|
-
// Solid
|
|
207
|
+
// Solid Button
|
|
181
208
|
$kendo-solid-button-gradient: null !default;
|
|
182
209
|
$kendo-solid-button-shade-function: "k-try-shade" !default;
|
|
183
210
|
$kendo-solid-button-shade-text-amount: null !default;
|
|
@@ -194,37 +221,37 @@ $kendo-solid-button-shadow-blur: null !default;
|
|
|
194
221
|
$kendo-solid-button-shadow-spread: null !default;
|
|
195
222
|
$kendo-solid-button-shadow-opacity: null !default;
|
|
196
223
|
|
|
197
|
-
// Outline
|
|
224
|
+
// Outline Button
|
|
198
225
|
$kendo-outline-button-shadow: null !default;
|
|
199
226
|
$kendo-outline-button-shadow-blur: null !default;
|
|
200
227
|
$kendo-outline-button-shadow-spread: null !default;
|
|
201
228
|
$kendo-outline-button-shadow-opacity: null !default;
|
|
202
229
|
|
|
203
|
-
//
|
|
230
|
+
// Link Button
|
|
204
231
|
$kendo-link-button-shadow: null !default;
|
|
205
232
|
$kendo-link-button-shadow-blur: null !default;
|
|
206
233
|
$kendo-link-button-shadow-spread: null !default;
|
|
207
234
|
$kendo-link-button-shadow-opacity: null !default;
|
|
208
235
|
|
|
209
|
-
// Clear
|
|
236
|
+
// Clear Button
|
|
210
237
|
$kendo-clear-button-focus-opacity: .155 !default; // equal to 10% of black
|
|
211
238
|
|
|
212
|
-
/// The overlay opacity of hovered flat
|
|
239
|
+
/// The overlay opacity of the hovered flat Button. Used to create a background for the flat Button.
|
|
213
240
|
/// @group button
|
|
214
241
|
$kendo-flat-button-hover-opacity: .08 !default;
|
|
215
|
-
/// The overlay opacity of focused flat
|
|
242
|
+
/// The overlay opacity of the focused flat Button. Used to create a background for the flat Button.
|
|
216
243
|
/// @group button
|
|
217
244
|
$kendo-flat-button-focus-opacity: .12 !default;
|
|
218
|
-
/// The overlay opacity of active flat
|
|
245
|
+
/// The overlay opacity of the active flat Button. Used to create a background for the flat Button.
|
|
219
246
|
/// @group button
|
|
220
247
|
$kendo-flat-button-active-opacity: .16 !default;
|
|
221
|
-
/// The overlay opacity of selected flat
|
|
248
|
+
/// The overlay opacity of the selected flat Button. Used to create a background for the flat Button.
|
|
222
249
|
/// @group button
|
|
223
250
|
$kendo-flat-button-selected-opacity: .22 !default;
|
|
224
|
-
/// The opacity of the flat
|
|
251
|
+
/// The opacity of the flat Button focus ring. Used to create a border for the flat Button.
|
|
225
252
|
/// @group button
|
|
226
253
|
$kendo-flat-button-focus-ring-opacity: null !default;
|
|
227
254
|
|
|
228
|
-
/// The transition of the
|
|
255
|
+
/// The box-shadow transition of the Button.
|
|
229
256
|
/// @group button
|
|
230
257
|
$kendo-button-transition: box-shadow 280ms cubic-bezier( .4, 0, .2, 1 ) !default;
|
|
@@ -1,166 +1,196 @@
|
|
|
1
1
|
@import "../list/_variables.scss";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
//
|
|
4
|
+
// CheckBox
|
|
5
5
|
|
|
6
|
-
///
|
|
6
|
+
/// The border width of the CheckBox.
|
|
7
7
|
/// @group checkbox
|
|
8
8
|
$kendo-checkbox-border-width: 2px !default;
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
/// The size of a small CheckBox.
|
|
11
|
+
/// @group checkbox
|
|
12
|
+
$kendo-checkbox-sm-size: k-map-get( $kendo-spacing, 3 ) !default;
|
|
13
|
+
/// The size of a medium CheckBox.
|
|
14
|
+
/// @group checkbox
|
|
15
|
+
$kendo-checkbox-md-size: k-map-get( $kendo-spacing, 4 ) !default;
|
|
16
|
+
/// The size of a large CheckBox.
|
|
17
|
+
/// @group checkbox
|
|
18
|
+
$kendo-checkbox-lg-size: k-map-get( $kendo-spacing, 5 ) !default;
|
|
19
|
+
|
|
20
|
+
/// The glyph size of a small CheckBox.
|
|
21
|
+
/// @group checkbox
|
|
22
|
+
$kendo-checkbox-sm-glyph-size: k-map-get( $kendo-spacing, 2.5 ) !default;
|
|
23
|
+
/// The glyph size of a medium CheckBox.
|
|
24
|
+
/// @group checkbox
|
|
25
|
+
$kendo-checkbox-md-glyph-size: k-map-get( $kendo-spacing, 3.5 ) !default;
|
|
26
|
+
/// The glyph size of a large CheckBox.
|
|
27
|
+
/// @group checkbox
|
|
28
|
+
$kendo-checkbox-lg-glyph-size: k-map-get( $kendo-spacing, 4.5 ) !default;
|
|
29
|
+
|
|
30
|
+
/// The ripple size of a small CheckBox.
|
|
31
|
+
/// @group checkbox
|
|
32
|
+
$kendo-checkbox-sm-ripple-size: 300% !default;
|
|
33
|
+
/// The ripple size of a medium CheckBox.
|
|
34
|
+
/// @group checkbox
|
|
35
|
+
$kendo-checkbox-md-ripple-size: 300% !default;
|
|
36
|
+
/// The ripple size of a large CheckBox.
|
|
37
|
+
/// @group checkbox
|
|
38
|
+
$kendo-checkbox-lg-ripple-size: 300% !default;
|
|
39
|
+
|
|
40
|
+
// A map with the different CheckBox sizes.
|
|
11
41
|
$kendo-checkbox-sizes: (
|
|
12
42
|
sm: (
|
|
13
|
-
size:
|
|
14
|
-
glyph-size:
|
|
15
|
-
ripple-size:
|
|
43
|
+
size: $kendo-checkbox-sm-size,
|
|
44
|
+
glyph-size: $kendo-checkbox-sm-glyph-size,
|
|
45
|
+
ripple-size: $kendo-checkbox-sm-ripple-size
|
|
16
46
|
),
|
|
17
47
|
md: (
|
|
18
|
-
size:
|
|
19
|
-
glyph-size:
|
|
20
|
-
ripple-size:
|
|
48
|
+
size: $kendo-checkbox-md-size,
|
|
49
|
+
glyph-size: $kendo-checkbox-md-glyph-size,
|
|
50
|
+
ripple-size: $kendo-checkbox-md-ripple-size
|
|
21
51
|
),
|
|
22
52
|
lg: (
|
|
23
|
-
size:
|
|
24
|
-
glyph-size:
|
|
25
|
-
ripple-size:
|
|
53
|
+
size: $kendo-checkbox-lg-size,
|
|
54
|
+
glyph-size: $kendo-checkbox-lg-glyph-size,
|
|
55
|
+
ripple-size: $kendo-checkbox-lg-ripple-size
|
|
26
56
|
)
|
|
27
57
|
) !default;
|
|
28
58
|
|
|
29
|
-
///
|
|
59
|
+
/// The background color of the CheckBox.
|
|
30
60
|
/// @group checkbox
|
|
31
61
|
$kendo-checkbox-bg: null !default;
|
|
32
|
-
///
|
|
62
|
+
/// The text color of the CheckBox.
|
|
33
63
|
/// @group checkbox
|
|
34
64
|
$kendo-checkbox-text: null !default;
|
|
35
|
-
///
|
|
65
|
+
/// The border color of the CheckBox.
|
|
36
66
|
/// @group checkbox
|
|
37
67
|
$kendo-checkbox-border: rgba( if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black ), .54 ) !default;
|
|
38
68
|
|
|
39
|
-
///
|
|
69
|
+
/// The background color of the hovered CheckBox.
|
|
40
70
|
/// @group checkbox
|
|
41
71
|
$kendo-checkbox-hover-bg: null !default;
|
|
42
|
-
///
|
|
72
|
+
/// The text color of the hovered CheckBox.
|
|
43
73
|
/// @group checkbox
|
|
44
74
|
$kendo-checkbox-hover-text: null !default;
|
|
45
|
-
///
|
|
75
|
+
/// The border color of the hovered CheckBox.
|
|
46
76
|
/// @group checkbox
|
|
47
77
|
$kendo-checkbox-hover-border: null !default;
|
|
48
78
|
|
|
49
|
-
///
|
|
79
|
+
/// The background color of the checked CheckBox.
|
|
50
80
|
/// @group checkbox
|
|
51
81
|
$kendo-checkbox-checked-bg: $kendo-color-primary !default;
|
|
52
|
-
///
|
|
82
|
+
/// The text color of the checked CheckBox.
|
|
53
83
|
/// @group checkbox
|
|
54
84
|
$kendo-checkbox-checked-text: k-contrast-color( $kendo-checkbox-checked-bg ) !default;
|
|
55
|
-
///
|
|
85
|
+
/// The border color of the checked CheckBox.
|
|
56
86
|
/// @group checkbox
|
|
57
87
|
$kendo-checkbox-checked-border: $kendo-checkbox-checked-bg !default;
|
|
58
88
|
|
|
59
|
-
///
|
|
89
|
+
/// The background color of the indeterminate CheckBox.
|
|
60
90
|
/// @group checkbox
|
|
61
91
|
$kendo-checkbox-indeterminate-bg: $kendo-checkbox-checked-bg !default;
|
|
62
|
-
///
|
|
92
|
+
/// The text color of the indeterminate CheckBox.
|
|
63
93
|
/// @group checkbox
|
|
64
94
|
$kendo-checkbox-indeterminate-text: $kendo-checkbox-checked-text !default;
|
|
65
|
-
///
|
|
95
|
+
/// The border color of the indeterminate CheckBox.
|
|
66
96
|
/// @group checkbox
|
|
67
97
|
$kendo-checkbox-indeterminate-border: $kendo-checkbox-checked-border !default;
|
|
68
98
|
|
|
69
|
-
///
|
|
99
|
+
/// The border color of the focused CheckBox.
|
|
70
100
|
/// @group checkbox
|
|
71
101
|
$kendo-checkbox-focus-border: null !default;
|
|
72
|
-
///
|
|
102
|
+
/// The box shadow of the focused CheckBox.
|
|
73
103
|
/// @group checkbox
|
|
74
104
|
$kendo-checkbox-focus-shadow: null !default;
|
|
75
|
-
///
|
|
105
|
+
/// The border color of the focused and checked CheckBox.
|
|
76
106
|
/// @group checkbox
|
|
77
107
|
$kendo-checkbox-focus-checked-border: null !default;
|
|
78
|
-
///
|
|
108
|
+
/// The box shadow of the focused and checked CheckBox.
|
|
79
109
|
/// @group checkbox
|
|
80
110
|
$kendo-checkbox-focus-checked-shadow: null !default;
|
|
81
111
|
|
|
82
|
-
///
|
|
112
|
+
/// The background color of the disabled CheckBox.
|
|
83
113
|
/// @group checkbox
|
|
84
114
|
$kendo-checkbox-disabled-bg: null !default;
|
|
85
|
-
///
|
|
115
|
+
/// The text color of the disabled CheckBox.
|
|
86
116
|
/// @group checkbox
|
|
87
117
|
$kendo-checkbox-disabled-text: null !default;
|
|
88
|
-
///
|
|
118
|
+
/// The border color of the disabled CheckBox.
|
|
89
119
|
/// @group checkbox
|
|
90
120
|
$kendo-checkbox-disabled-border: k-try-shade( $kendo-component-bg, 4 ) !default;
|
|
91
121
|
|
|
92
122
|
|
|
93
|
-
///
|
|
123
|
+
/// The background color of the disabled and checked CheckBox.
|
|
94
124
|
/// @group checkbox
|
|
95
125
|
$kendo-checkbox-disabled-checked-bg: $kendo-checkbox-disabled-border !default;
|
|
96
|
-
///
|
|
126
|
+
/// The text color of the disabled and checked CheckBox.
|
|
97
127
|
/// @group checkbox
|
|
98
128
|
$kendo-checkbox-disabled-checked-text: k-contrast-color( $kendo-checkbox-disabled-checked-bg ) !default;
|
|
99
|
-
///
|
|
129
|
+
/// The border color of the disabled and checked CheckBox.
|
|
100
130
|
/// @group checkbox
|
|
101
131
|
$kendo-checkbox-disabled-checked-border: $kendo-checkbox-disabled-checked-bg !default;
|
|
102
132
|
|
|
103
|
-
///
|
|
133
|
+
/// The background color of an invalid CheckBox.
|
|
104
134
|
/// @group checkbox
|
|
105
135
|
$kendo-checkbox-invalid-bg: null !default;
|
|
106
|
-
///
|
|
136
|
+
/// The text color of an invalid CheckBox.
|
|
107
137
|
/// @group checkbox
|
|
108
138
|
$kendo-checkbox-invalid-text: $kendo-invalid-text !default;
|
|
109
|
-
///
|
|
139
|
+
/// The border color of an invalid CheckBox.
|
|
110
140
|
/// @group checkbox
|
|
111
141
|
$kendo-checkbox-invalid-border: $kendo-invalid-border !default;
|
|
112
142
|
|
|
113
143
|
|
|
114
|
-
//
|
|
144
|
+
// CheckBox indicator
|
|
115
145
|
|
|
116
|
-
///
|
|
146
|
+
/// The type of the CheckBox indicator.
|
|
117
147
|
/// @group checkbox
|
|
118
148
|
$kendo-checkbox-indicator-type: image !default;
|
|
119
149
|
|
|
120
|
-
///
|
|
150
|
+
/// The font family of the CheckBox indicator glyph.
|
|
121
151
|
/// @group checkbox
|
|
122
152
|
$kendo-checkbox-glyph-font-family: "WebComponentsIcons", monospace !default;
|
|
123
153
|
$kendo-checkbox-glyph-size: 10px !default;
|
|
124
|
-
///
|
|
154
|
+
/// The glyph of the CheckBox indicator.
|
|
125
155
|
/// @group checkbox
|
|
126
156
|
$kendo-checkbox-checked-glyph: "\e118" !default;
|
|
127
|
-
///
|
|
157
|
+
/// The glyph of the indeterminate CheckBox indicator.
|
|
128
158
|
/// @group checkbox
|
|
129
159
|
$kendo-checkbox-indeterminate-glyph: "\e121" !default;
|
|
130
160
|
|
|
131
|
-
///
|
|
161
|
+
/// The image for a checked CheckBox indicator.
|
|
132
162
|
/// @group checkbox
|
|
133
163
|
$kendo-checkbox-checked-image: k-escape-svg( url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='#{$kendo-checkbox-checked-text}' stroke-width='3' d='M4.1,12.7 9,17.6 20.3,6.3'/></svg>") ) !default;
|
|
134
|
-
///
|
|
164
|
+
/// The image for a indeterminate CheckBox indicator.
|
|
135
165
|
/// @group checkbox
|
|
136
166
|
$kendo-checkbox-indeterminate-image: k-escape-svg( url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='none' stroke='#{$kendo-checkbox-indeterminate-text}' stroke-width='3' d='M4 10h12'/></svg>") ) !default;
|
|
137
167
|
|
|
138
168
|
|
|
139
|
-
//
|
|
169
|
+
// CheckBox label
|
|
140
170
|
|
|
141
|
-
/// The horizontal margin of the
|
|
171
|
+
/// The horizontal margin of the CheckBox inside a label.
|
|
142
172
|
/// @group checkbox
|
|
143
173
|
$kendo-checkbox-label-margin-x: k-map-get( $kendo-spacing, 1 ) !default;
|
|
144
174
|
|
|
145
175
|
|
|
146
|
-
//
|
|
176
|
+
// CheckBox list
|
|
147
177
|
|
|
148
|
-
///
|
|
178
|
+
/// The spacing between the items in a horizontal CheckBox list.
|
|
149
179
|
/// @group checkbox
|
|
150
180
|
$kendo-checkbox-list-spacing: k-map-get( $kendo-spacing, 4 ) !default;
|
|
151
|
-
///
|
|
181
|
+
/// The horizontal padding of the CheckBox list items.
|
|
152
182
|
/// @group checkbox
|
|
153
183
|
$kendo-checkbox-list-item-padding-x: 0px !default;
|
|
154
|
-
///
|
|
184
|
+
/// The vertical padding of the CheckBox list items.
|
|
155
185
|
/// @group checkbox
|
|
156
186
|
$kendo-checkbox-list-item-padding-y: $kendo-list-md-item-padding-y !default;
|
|
157
187
|
|
|
158
188
|
|
|
159
|
-
//
|
|
189
|
+
// CheckBox ripple
|
|
160
190
|
|
|
161
|
-
///
|
|
191
|
+
/// The background color of the CheckBox' ripple.
|
|
162
192
|
/// @group checkbox
|
|
163
193
|
$kendo-checkbox-ripple-bg: $kendo-color-primary !default;
|
|
164
|
-
///
|
|
194
|
+
/// The opacity of the CheckBox' ripple.
|
|
165
195
|
/// @group checkbox
|
|
166
196
|
$kendo-checkbox-ripple-opacity: .2 !default;
|