@progress/kendo-theme-classic 6.2.1-dev.0 → 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 +4682 -407
- package/dist/all.scss +1208 -420
- package/dist/meta/sassdoc-data.json +18261 -9345
- package/dist/meta/sassdoc-raw-data.json +7891 -3766
- package/dist/meta/variables.json +201 -129
- package/lib/swatches/classic-green-dark.json +1 -1
- package/lib/swatches/classic-green.json +1 -1
- package/lib/swatches/classic-lavender-dark.json +1 -1
- package/lib/swatches/classic-lavender.json +1 -1
- package/lib/swatches/classic-main-dark.json +1 -1
- package/lib/swatches/classic-main.json +1 -1
- package/lib/swatches/classic-metro-dark.json +1 -1
- package/lib/swatches/classic-metro.json +1 -1
- package/lib/swatches/classic-moonlight.json +1 -1
- package/lib/swatches/classic-opal-dark.json +1 -1
- package/lib/swatches/classic-opal.json +1 -1
- package/lib/swatches/classic-silver-dark.json +1 -1
- package/lib/swatches/classic-silver.json +1 -1
- package/lib/swatches/classic-uniform.json +1 -1
- package/package.json +5 -5
- package/scss/button/_variables.scss +89 -62
- package/scss/checkbox/_variables.scss +83 -53
- package/scss/chip/_variables.scss +54 -30
- package/scss/input/_variables.scss +276 -46
- 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 +57 -56
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-theme-classic",
|
|
3
3
|
"description": "Sass port of less based themes for Kendo UI theme",
|
|
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": [
|
|
@@ -49,9 +49,9 @@
|
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@progress/kendo-font-icons": "1.4.0",
|
|
52
|
-
"@progress/kendo-theme-core": "6.2.1-dev.
|
|
53
|
-
"@progress/kendo-theme-default": "6.2.1-dev.
|
|
54
|
-
"@progress/kendo-theme-utils": "6.2.1-dev.
|
|
52
|
+
"@progress/kendo-theme-core": "6.2.1-dev.8+79dd700c6",
|
|
53
|
+
"@progress/kendo-theme-default": "6.2.1-dev.8+79dd700c6",
|
|
54
|
+
"@progress/kendo-theme-utils": "6.2.1-dev.8+79dd700c6"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "79dd700c627f9d132a97c8fa78f2478d9b204c60"
|
|
57
57
|
}
|
|
@@ -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, 2 ) !default;
|
|
14
|
-
///
|
|
14
|
+
/// The horizontal padding of the small Button.
|
|
15
|
+
/// @group button
|
|
16
|
+
$kendo-button-sm-padding-x: k-map-get( $kendo-spacing, 2 ) !default;
|
|
17
|
+
/// The horizontal padding of the medium Button.
|
|
18
|
+
/// @group button
|
|
19
|
+
$kendo-button-md-padding-x: k-map-get( $kendo-spacing, 2 ) !default;
|
|
20
|
+
/// The horizontal padding of the large Button.
|
|
21
|
+
/// @group button
|
|
22
|
+
$kendo-button-lg-padding-x: k-map-get( $kendo-spacing, 3 ) !default;
|
|
23
|
+
|
|
24
|
+
/// The vertical padding of the Button.
|
|
15
25
|
/// @group button
|
|
16
26
|
$kendo-button-padding-y: k-map-get( $kendo-spacing, 1 ) !default;
|
|
17
|
-
///
|
|
27
|
+
/// The vertical padding of the small Button.
|
|
28
|
+
/// @group button
|
|
29
|
+
$kendo-button-sm-padding-y: k-map-get( $kendo-spacing, 0.5 ) !default; // sass-lint:disable-line leading-zero
|
|
30
|
+
/// The vertical padding of the medium Button.
|
|
31
|
+
/// @group button
|
|
32
|
+
$kendo-button-md-padding-y: k-map-get( $kendo-spacing, 1 ) !default;
|
|
33
|
+
/// The vertical padding of the large Button.
|
|
34
|
+
/// @group button
|
|
35
|
+
$kendo-button-lg-padding-y: k-map-get( $kendo-spacing, 2 ) !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;
|
|
23
|
-
///
|
|
44
|
+
/// The font size of the small Button.
|
|
24
45
|
/// @group button
|
|
25
|
-
$kendo-button-line-height: $kendo-line-height-md !default;
|
|
26
|
-
|
|
27
|
-
$kendo-button-sm-padding-x: k-map-get( $kendo-spacing, 2 ) !default;
|
|
28
|
-
$kendo-button-sm-padding-y: k-map-get( $kendo-spacing, 0.5 ) !default; // sass-lint:disable-line leading-zero
|
|
29
46
|
$kendo-button-sm-font-size: $kendo-font-size-md !default;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
$kendo-button-md-padding-x: k-map-get( $kendo-spacing, 2 ) !default;
|
|
33
|
-
$kendo-button-md-padding-y: k-map-get( $kendo-spacing, 1 ) !default;
|
|
47
|
+
/// The font size of the medium Button.
|
|
48
|
+
/// @group button
|
|
34
49
|
$kendo-button-md-font-size: $kendo-font-size-md !default;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
$kendo-button-lg-padding-x: k-map-get( $kendo-spacing, 3 ) !default;
|
|
38
|
-
$kendo-button-lg-padding-y: k-map-get( $kendo-spacing, 2 ) !default;
|
|
50
|
+
/// The font size of the large Button.
|
|
51
|
+
/// @group button
|
|
39
52
|
$kendo-button-lg-font-size: $kendo-font-size-lg !default;
|
|
53
|
+
|
|
54
|
+
/// The line height used along with $kendo-font-size.
|
|
55
|
+
/// @group button
|
|
56
|
+
$kendo-button-line-height: $kendo-line-height-md !default;
|
|
57
|
+
/// The line height used along with the $kendo-font-size of the small Button.
|
|
58
|
+
/// @group button
|
|
59
|
+
$kendo-button-sm-line-height: $kendo-line-height-md !default;
|
|
60
|
+
/// The line height used along with the $kendo-font-size of the medium Button.
|
|
61
|
+
/// @group button
|
|
62
|
+
$kendo-button-md-line-height: $kendo-line-height-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: $kendo-line-height-lg !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: k-try-shade( $kendo-button-bg, 2 ) !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: $kendo-base-gradient !default;
|
|
96
|
-
/// The base shadow of the
|
|
123
|
+
/// The base shadow of the Button.
|
|
97
124
|
/// @group button
|
|
98
125
|
$kendo-button-shadow: null !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: k-try-shade( $kendo-button-bg, 1 ) !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: k-try-shade( $kendo-button-bg, 3 ) !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: k-try-shade( $kendo-button-bg, 2 ) !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: k-try-shade( $kendo-button-bg, 4 ) !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: null !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-color-primary !default;
|
|
135
|
-
/// The text color of selected
|
|
162
|
+
/// The text color of the selected Button.
|
|
136
163
|
/// @group button
|
|
137
164
|
$kendo-button-selected-text: k-contrast-legacy( $kendo-button-selected-bg ) !default;
|
|
138
|
-
/// The border color of selected
|
|
165
|
+
/// The border color of the selected Button.
|
|
139
166
|
/// @group button
|
|
140
167
|
$kendo-button-selected-border: $kendo-button-selected-bg !default;
|
|
141
|
-
/// The background gradient of selected
|
|
168
|
+
/// The background gradient of the selected Button.
|
|
142
169
|
/// @group button
|
|
143
170
|
$kendo-button-selected-gradient: $kendo-button-active-gradient !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: $kendo-button-active-shadow !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 the 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: 0 0 4px 0 rgba( $kendo-button-border, .75 ) !default;
|
|
163
190
|
|
|
164
|
-
/// The base background of disabled
|
|
191
|
+
/// The base background of the disabled Button.
|
|
165
192
|
/// @group button
|
|
166
193
|
$kendo-button-disabled-bg: null !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: null !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: null !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: null !default;
|
|
179
206
|
|
|
180
|
-
// Solid
|
|
207
|
+
// Solid Button
|
|
181
208
|
$kendo-solid-button-gradient: $kendo-base-gradient !default;
|
|
182
209
|
$kendo-solid-button-shade-function: "k-try-shade" !default;
|
|
183
210
|
$kendo-solid-button-shade-text-amount: 0 !default;
|
|
@@ -194,37 +221,37 @@ $kendo-solid-button-shadow-blur: 4px !default;
|
|
|
194
221
|
$kendo-solid-button-shadow-spread: 0px !default;
|
|
195
222
|
$kendo-solid-button-shadow-opacity: .75 !default;
|
|
196
223
|
|
|
197
|
-
// Outline
|
|
224
|
+
// Outline Button
|
|
198
225
|
$kendo-outline-button-shadow: true !default;
|
|
199
226
|
$kendo-outline-button-shadow-blur: 4px !default;
|
|
200
227
|
$kendo-outline-button-shadow-spread: 0px !default;
|
|
201
228
|
$kendo-outline-button-shadow-opacity: .75 !default;
|
|
202
229
|
|
|
203
|
-
// Link
|
|
230
|
+
// Link Button
|
|
204
231
|
$kendo-link-button-shadow: true !default;
|
|
205
232
|
$kendo-link-button-shadow-blur: 4px !default;
|
|
206
233
|
$kendo-link-button-shadow-spread: 0px !default;
|
|
207
234
|
$kendo-link-button-shadow-opacity: .75 !default;
|
|
208
235
|
|
|
209
|
-
// Clear
|
|
236
|
+
// Clear Button
|
|
210
237
|
$kendo-clear-button-focus-opacity: .1 !default;
|
|
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 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 background for the flat Button.
|
|
222
249
|
/// @group button
|
|
223
250
|
$kendo-flat-button-selected-opacity: .2 !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: .12 !default;
|
|
227
254
|
|
|
228
|
-
/// The color transition of the flat
|
|
255
|
+
/// The color transition of the flat Button.
|
|
229
256
|
/// @group button
|
|
230
257
|
$kendo-button-transition: color .2s ease-in-out !default;
|
|
@@ -1,164 +1,194 @@
|
|
|
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: 1px !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: $kendo-component-bg !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: $kendo-component-border !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-legacy( $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-bg !default;
|
|
62
|
-
///
|
|
92
|
+
/// The text color of the indeterminate CheckBox.
|
|
63
93
|
/// @group checkbox
|
|
64
94
|
$kendo-checkbox-indeterminate-text: $kendo-checkbox-checked-bg !default;
|
|
65
|
-
///
|
|
95
|
+
/// The border color of the indeterminate CheckBox.
|
|
66
96
|
/// @group checkbox
|
|
67
97
|
$kendo-checkbox-indeterminate-border: $kendo-checkbox-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: 0 0 0 2px rgba( black, .06 ) !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: 0 0 0 2px rgba( $kendo-color-primary, .3 ) !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: null !default;
|
|
91
121
|
|
|
92
|
-
///
|
|
122
|
+
/// The background color of the disabled and checked CheckBox.
|
|
93
123
|
/// @group checkbox
|
|
94
124
|
$kendo-checkbox-disabled-checked-bg: null !default;
|
|
95
|
-
///
|
|
125
|
+
/// The text color of the disabled and checked CheckBox.
|
|
96
126
|
/// @group checkbox
|
|
97
127
|
$kendo-checkbox-disabled-checked-text: null !default;
|
|
98
|
-
///
|
|
128
|
+
/// The border color of the disabled and checked CheckBox.
|
|
99
129
|
/// @group checkbox
|
|
100
130
|
$kendo-checkbox-disabled-checked-border: null !default;
|
|
101
131
|
|
|
102
|
-
///
|
|
132
|
+
/// The background color of an invalid CheckBox.
|
|
103
133
|
/// @group checkbox
|
|
104
134
|
$kendo-checkbox-invalid-bg: null !default;
|
|
105
|
-
///
|
|
135
|
+
/// The text color of an invalid CheckBox.
|
|
106
136
|
/// @group checkbox
|
|
107
137
|
$kendo-checkbox-invalid-text: $kendo-invalid-text !default;
|
|
108
|
-
///
|
|
138
|
+
/// The border color of an invalid CheckBox.
|
|
109
139
|
/// @group checkbox
|
|
110
140
|
$kendo-checkbox-invalid-border: $kendo-invalid-border !default;
|
|
111
141
|
|
|
112
142
|
|
|
113
|
-
//
|
|
143
|
+
// CheckBox indicator
|
|
114
144
|
|
|
115
|
-
///
|
|
145
|
+
/// The type of the CheckBox indicator.
|
|
116
146
|
/// @group checkbox
|
|
117
147
|
$kendo-checkbox-indicator-type: image !default;
|
|
118
148
|
|
|
119
|
-
///
|
|
149
|
+
/// The font family of the CheckBox indicator glyph.
|
|
120
150
|
/// @group checkbox
|
|
121
151
|
$kendo-checkbox-glyph-font-family: "WebComponentsIcons", monospace !default;
|
|
122
|
-
///
|
|
152
|
+
/// The glyph of the CheckBox indicator.
|
|
123
153
|
/// @group checkbox
|
|
124
154
|
$kendo-checkbox-checked-glyph: "\e118" !default;
|
|
125
|
-
///
|
|
155
|
+
/// The glyph of the indeterminate CheckBox indicator.
|
|
126
156
|
/// @group checkbox
|
|
127
157
|
$kendo-checkbox-indeterminate-glyph: "\e121" !default;
|
|
128
158
|
|
|
129
|
-
///
|
|
159
|
+
/// The image for a checked CheckBox indicator.
|
|
130
160
|
/// @group checkbox
|
|
131
161
|
$kendo-checkbox-checked-image: k-escape-svg( url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='#{$kendo-checkbox-checked-text}' stroke-linecap='square' stroke-linejoin='square' stroke-width='2' d='M3,8 l3,3 l7-7'/></svg>") ) !default;
|
|
132
|
-
///
|
|
162
|
+
/// The image for a indeterminate CheckBox indicator.
|
|
133
163
|
/// @group checkbox
|
|
134
164
|
$kendo-checkbox-indeterminate-image: k-escape-svg( url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='#{$kendo-checkbox-indeterminate-text}' stroke-linecap='square' stroke-linejoin='square' stroke-width='2' d='M4,8 h8'/></svg>") ) !default;
|
|
135
165
|
|
|
136
166
|
|
|
137
|
-
//
|
|
167
|
+
// CheckBox label
|
|
138
168
|
|
|
139
|
-
/// The horizontal margin of the
|
|
169
|
+
/// The horizontal margin of the CheckBox inside a label.
|
|
140
170
|
/// @group checkbox
|
|
141
171
|
$kendo-checkbox-label-margin-x: k-map-get( $kendo-spacing, 1 ) !default;
|
|
142
172
|
|
|
143
173
|
|
|
144
|
-
//
|
|
174
|
+
// CheckBox list
|
|
145
175
|
|
|
146
|
-
///
|
|
176
|
+
/// The spacing between the items in a horizontal CheckBox list.
|
|
147
177
|
/// @group checkbox
|
|
148
178
|
$kendo-checkbox-list-spacing: k-map-get( $kendo-spacing, 4 ) !default;
|
|
149
|
-
///
|
|
179
|
+
/// The horizontal padding of the CheckBox list items.
|
|
150
180
|
/// @group checkbox
|
|
151
181
|
$kendo-checkbox-list-item-padding-x: 0px !default;
|
|
152
|
-
///
|
|
182
|
+
/// The vertical padding of the CheckBox list items.
|
|
153
183
|
/// @group checkbox
|
|
154
184
|
$kendo-checkbox-list-item-padding-y: $kendo-list-md-item-padding-y !default;
|
|
155
185
|
|
|
156
186
|
|
|
157
|
-
//
|
|
187
|
+
// CheckBox ripple
|
|
158
188
|
|
|
159
|
-
///
|
|
189
|
+
/// The background color of the CheckBox' ripple.
|
|
160
190
|
/// @group checkbox
|
|
161
191
|
$kendo-checkbox-ripple-bg: $kendo-checkbox-checked-bg !default;
|
|
162
|
-
///
|
|
192
|
+
/// The opacity of the CheckBox' ripple.
|
|
163
193
|
/// @group checkbox
|
|
164
194
|
$kendo-checkbox-ripple-opacity: .25 !default;
|