@progress/kendo-theme-fluent 6.2.1-dev.0 → 6.2.1-dev.151
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 +4420 -232
- package/dist/meta/sassdoc-data.json +5200 -2550
- package/dist/meta/sassdoc-raw-data.json +2576 -1251
- package/lib/swatches/all.json +1 -1
- package/lib/swatches/fluent-main.json +1 -1
- package/package.json +5 -5
- package/scss/button/_variables.scss +49 -30
- package/scss/calendar/_layout.scss +2 -0
- package/scss/checkbox/_variables.scss +53 -53
- package/scss/chip/_variables.scss +44 -28
- package/scss/core/color-system/_variables.scss +23 -21
- package/scss/core/module-system/_components.scss +0 -1
- package/scss/datetimepicker/_layout.scss +5 -5
- package/scss/dropdowntree/_layout.scss +3 -1
- package/scss/editor/_layout.scss +0 -1
- package/scss/fab/_layout.scss +16 -2
- package/scss/grid/_layout.scss +9 -0
- package/scss/grid/_theme.scss +12 -0
- package/scss/grid/_variables.scss +7 -0
- package/scss/input/_variables.scss +153 -109
- package/scss/list/_variables.scss +49 -48
- package/scss/radio/_variables.scss +43 -40
- package/scss/split-button/_variables.scss +14 -6
- package/scss/spreadsheet/_layout.scss +1 -4
- package/scss/switch/_variables.scss +50 -49
package/lib/swatches/all.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-theme-fluent",
|
|
3
3
|
"description": "A css variables based theme for Kendo UI that follows the Fluent design system guidelines.",
|
|
4
|
-
"version": "6.2.1-dev.
|
|
4
|
+
"version": "6.2.1-dev.151+d6d7eb1c2",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"keywords": [
|
|
@@ -49,9 +49,9 @@
|
|
|
49
49
|
"postpublish": "echo 'no postpublish for the Fluent theme'"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@progress/kendo-font-icons": "1.4.
|
|
53
|
-
"@progress/kendo-theme-core": "6.2.1-dev.
|
|
54
|
-
"@progress/kendo-theme-utils": "6.2.1-dev.
|
|
52
|
+
"@progress/kendo-font-icons": "1.4.2",
|
|
53
|
+
"@progress/kendo-theme-core": "6.2.1-dev.151+d6d7eb1c2",
|
|
54
|
+
"@progress/kendo-theme-utils": "6.2.1-dev.151+d6d7eb1c2"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "d6d7eb1c2046ac5f9c3bfe3b423b037cbaa7fa23"
|
|
57
57
|
}
|
|
@@ -2,55 +2,73 @@
|
|
|
2
2
|
@use "sass:map";
|
|
3
3
|
@use "../core/" as *;
|
|
4
4
|
|
|
5
|
-
///
|
|
5
|
+
/// The width of the border around the Button.
|
|
6
6
|
/// @group button
|
|
7
7
|
$kendo-button-border-width: 1px !default;
|
|
8
8
|
|
|
9
|
-
///
|
|
9
|
+
/// The horizontal padding of the small Button.
|
|
10
10
|
/// @group button
|
|
11
11
|
$kendo-button-sm-padding-x: map.get( $kendo-spacing, 5 ) !default;
|
|
12
|
+
/// The horizontal padding of the medium Button.
|
|
13
|
+
/// @group button
|
|
12
14
|
$kendo-button-md-padding-x: map.get( $kendo-spacing, 5 ) !default;
|
|
15
|
+
/// The horizontal padding of the large Button.
|
|
16
|
+
/// @group button
|
|
13
17
|
$kendo-button-lg-padding-x: map.get( $kendo-spacing, 5 ) !default;
|
|
14
18
|
|
|
15
|
-
///
|
|
19
|
+
/// The vertical padding of the small Button.
|
|
16
20
|
/// @group button
|
|
17
21
|
$kendo-button-sm-padding-y: map.get( $kendo-spacing, 1 ) !default;
|
|
22
|
+
/// The vertical padding of the medium Button.
|
|
23
|
+
/// @group button
|
|
18
24
|
$kendo-button-md-padding-y: map.get( $kendo-spacing, 1.5 ) !default;
|
|
25
|
+
/// The vertical padding of the large Button.
|
|
26
|
+
/// @group button
|
|
19
27
|
$kendo-button-lg-padding-y: map.get( $kendo-spacing, 2 ) !default;
|
|
20
28
|
|
|
21
|
-
///
|
|
29
|
+
/// The font size of the small Button.
|
|
22
30
|
/// @group button
|
|
23
31
|
$kendo-button-sm-font-size: var( --kendo-font-size, inherit ) !default;
|
|
32
|
+
/// The font size of the medium Button.
|
|
33
|
+
/// @group button
|
|
24
34
|
$kendo-button-md-font-size: var( --kendo-font-size, inherit ) !default;
|
|
35
|
+
/// The font size of the large Button.
|
|
36
|
+
/// @group button
|
|
25
37
|
$kendo-button-lg-font-size: var( --kendo-font-size, inherit ) !default;
|
|
26
38
|
|
|
27
|
-
///
|
|
39
|
+
/// The line height used along with the $kendo-font-size of the small Button.
|
|
28
40
|
/// @group button
|
|
29
41
|
$kendo-button-sm-line-height: var( --kendo-line-height, normal ) !default;
|
|
42
|
+
/// The line height used along with the $kendo-font-size of the medium Button.
|
|
43
|
+
/// @group button
|
|
30
44
|
$kendo-button-md-line-height: var( --kendo-line-height, normal ) !default;
|
|
45
|
+
/// The line height used along with the $kendo-font-size of the large Button.
|
|
46
|
+
/// @group button
|
|
31
47
|
$kendo-button-lg-line-height: var( --kendo-line-height, normal ) !default;
|
|
32
48
|
|
|
33
|
-
|
|
49
|
+
/// The font family of the Button.
|
|
50
|
+
/// @group button
|
|
34
51
|
$kendo-button-font-family: var( --kendo-font-family, inherit ) !default;
|
|
35
52
|
|
|
36
|
-
|
|
53
|
+
/// The font weight of the Button.
|
|
54
|
+
/// @group button
|
|
37
55
|
$kendo-button-font-weight: var( --kendo-font-weight-bold, normal ) !default;
|
|
38
56
|
|
|
39
|
-
///
|
|
57
|
+
/// The calculated height of the Button.
|
|
40
58
|
/// @group button
|
|
41
59
|
$kendo-button-calc-size: calc( ( #{$kendo-button-md-line-height} * 1em ) + ( #{$kendo-button-md-padding-y} * 2 ) + ( #{$kendo-button-border-width} * 2 ) ) !default;
|
|
42
60
|
$kendo-button-sm-calc-size: calc( ( #{$kendo-button-sm-line-height} * 1em ) + ( #{$kendo-button-sm-padding-y} * 2 ) + ( #{$kendo-button-border-width} * 2 ) ) !default;
|
|
43
61
|
$kendo-button-md-calc-size: calc( ( #{$kendo-button-md-line-height} * 1em ) + ( #{$kendo-button-md-padding-y} * 2 ) + ( #{$kendo-button-border-width} * 2 ) ) !default;
|
|
44
62
|
$kendo-button-lg-calc-size: calc( ( #{$kendo-button-lg-line-height} * 1em ) + ( #{$kendo-button-lg-padding-y} * 2 ) + ( #{$kendo-button-border-width} * 2 ) ) !default;
|
|
45
63
|
|
|
46
|
-
///
|
|
64
|
+
/// The calculated inner height of the Button excluding the border width.
|
|
47
65
|
/// @group button
|
|
48
66
|
$kendo-button-inner-calc-size: calc( ( #{$kendo-button-md-line-height} * 1em ) + ( #{$kendo-button-md-padding-y} * 2 ) ) !default;
|
|
49
67
|
$kendo-button-sm-inner-calc-size: calc( ( #{$kendo-button-sm-line-height} * 1em ) + ( #{$kendo-button-sm-padding-y} * 2 ) ) !default;
|
|
50
68
|
$kendo-button-md-inner-calc-size: calc( ( #{$kendo-button-md-line-height} * 1em ) + ( #{$kendo-button-md-padding-y} * 2 ) ) !default;
|
|
51
69
|
$kendo-button-lg-inner-calc-size: calc( ( #{$kendo-button-lg-line-height} * 1em ) + ( #{$kendo-button-lg-padding-y} * 2 ) ) !default;
|
|
52
70
|
|
|
53
|
-
///
|
|
71
|
+
/// The sizes map for the Button.
|
|
54
72
|
/// @group button
|
|
55
73
|
$kendo-button-sizes: (
|
|
56
74
|
sm: (
|
|
@@ -73,35 +91,35 @@ $kendo-button-sizes: (
|
|
|
73
91
|
)
|
|
74
92
|
) !default;
|
|
75
93
|
|
|
76
|
-
///
|
|
94
|
+
/// The content spacing of the Button.
|
|
77
95
|
/// @group button
|
|
78
96
|
$kendo-button-spacing: map.get( $kendo-spacing, 2 ) !default;
|
|
79
97
|
|
|
80
|
-
///
|
|
98
|
+
/// The offset of the focused Button.
|
|
81
99
|
/// @group button
|
|
82
100
|
$kendo-button-focus-offset: map.get( $kendo-spacing, 0.5 ) !default; // sass-lint:disable-line leading-zero
|
|
83
|
-
/// Outline width of the focused
|
|
101
|
+
/// The Outline width of the focused Button.
|
|
84
102
|
/// @group button
|
|
85
103
|
$kendo-button-focus-outline-width: 1px !default;
|
|
86
|
-
///
|
|
104
|
+
/// The outline style of the focused Button.
|
|
87
105
|
/// @group button
|
|
88
106
|
$kendo-button-focus-outline-style: solid !default;
|
|
89
107
|
|
|
90
|
-
///
|
|
108
|
+
/// The offset of the flat focused Button.
|
|
91
109
|
/// @group button
|
|
92
110
|
$kendo-button-flat-focus-offset: 1px !default;
|
|
93
|
-
///
|
|
111
|
+
/// The outline width of the flat focused Button.
|
|
94
112
|
/// @group button
|
|
95
113
|
$kendo-button-flat-focus-outline-width: map.get( $kendo-spacing, 0.5 ) !default; // sass-lint:disable-line leading-zero
|
|
96
114
|
|
|
97
|
-
///
|
|
115
|
+
/// The offset of the link focused Button.
|
|
98
116
|
/// @group button
|
|
99
117
|
$kendo-button-link-focus-offset: 0 !default;
|
|
100
|
-
///
|
|
118
|
+
/// The outline width of the flat focused Button.
|
|
101
119
|
/// @group button
|
|
102
120
|
$kendo-button-link-focus-outline-width: 1px !default;
|
|
103
121
|
|
|
104
|
-
//
|
|
122
|
+
// The theme variations for the Button.
|
|
105
123
|
|
|
106
124
|
$kendo-button-brand-colors: (
|
|
107
125
|
primary: primary,
|
|
@@ -115,7 +133,7 @@ $kendo-button-brand-colors: (
|
|
|
115
133
|
|
|
116
134
|
// Matrices with theme colors in the order: bg, color, border, outline
|
|
117
135
|
|
|
118
|
-
//
|
|
136
|
+
// The color matrix for the base Button
|
|
119
137
|
$_tc-base-matrix: (
|
|
120
138
|
solid: (
|
|
121
139
|
normal: ($kendo-color-white, 160, 110),
|
|
@@ -155,7 +173,7 @@ $_tc-base-matrix: (
|
|
|
155
173
|
)
|
|
156
174
|
) !default;
|
|
157
175
|
|
|
158
|
-
//
|
|
176
|
+
// The color matrix for primary, error, success, info, secondary, tertiary Buttons
|
|
159
177
|
$_tc-brand-matrix: (
|
|
160
178
|
solid: (
|
|
161
179
|
normal: (100, $kendo-color-white, 100),
|
|
@@ -204,7 +222,7 @@ $_tc-brand-matrix: (
|
|
|
204
222
|
)
|
|
205
223
|
) !default;
|
|
206
224
|
|
|
207
|
-
//
|
|
225
|
+
// The color matrix for warning Buttons
|
|
208
226
|
$_tc-warning-matrix: (
|
|
209
227
|
solid: (
|
|
210
228
|
normal: (100, get-theme-color-var( neutral-160 ), 100),
|
|
@@ -253,7 +271,7 @@ $_tc-warning-matrix: (
|
|
|
253
271
|
)
|
|
254
272
|
) !default;
|
|
255
273
|
|
|
256
|
-
//
|
|
274
|
+
// The color matrix for dark Buttons
|
|
257
275
|
$_tc-dark-matrix: (
|
|
258
276
|
solid: (
|
|
259
277
|
normal: (160, $kendo-color-white, 160),
|
|
@@ -302,7 +320,7 @@ $_tc-dark-matrix: (
|
|
|
302
320
|
)
|
|
303
321
|
) !default;
|
|
304
322
|
|
|
305
|
-
//
|
|
323
|
+
// The color matrix for light Buttons
|
|
306
324
|
$_tc-light-matrix: (
|
|
307
325
|
solid: (
|
|
308
326
|
normal: (50, 160, 50),
|
|
@@ -351,10 +369,11 @@ $_tc-light-matrix: (
|
|
|
351
369
|
)
|
|
352
370
|
) !default;
|
|
353
371
|
|
|
354
|
-
///
|
|
372
|
+
/// The theme colors map for the Button.
|
|
373
|
+
/// @group button
|
|
355
374
|
$kendo-button-theme-colors: () !default;
|
|
356
375
|
|
|
357
|
-
//
|
|
376
|
+
// The map for the base theme color
|
|
358
377
|
@each $fill-mode, $ui-states in $_tc-base-matrix {
|
|
359
378
|
$kendo-button-theme-colors: map.deep-merge(
|
|
360
379
|
$kendo-button-theme-colors,
|
|
@@ -362,7 +381,7 @@ $kendo-button-theme-colors: () !default;
|
|
|
362
381
|
);
|
|
363
382
|
}
|
|
364
383
|
|
|
365
|
-
//
|
|
384
|
+
// The map for the brand theme colors
|
|
366
385
|
@each $fill-mode, $ui-states in $_tc-brand-matrix {
|
|
367
386
|
@each $brand-color, $palette in $kendo-button-brand-colors {
|
|
368
387
|
$kendo-button-theme-colors: map.deep-merge(
|
|
@@ -372,7 +391,7 @@ $kendo-button-theme-colors: () !default;
|
|
|
372
391
|
}
|
|
373
392
|
}
|
|
374
393
|
|
|
375
|
-
//
|
|
394
|
+
// The map for the warning theme colors
|
|
376
395
|
@each $fill-mode, $ui-states in $_tc-warning-matrix {
|
|
377
396
|
$kendo-button-theme-colors: map.deep-merge(
|
|
378
397
|
$kendo-button-theme-colors,
|
|
@@ -380,7 +399,7 @@ $kendo-button-theme-colors: () !default;
|
|
|
380
399
|
);
|
|
381
400
|
}
|
|
382
401
|
|
|
383
|
-
//
|
|
402
|
+
// The map for the dark theme colors
|
|
384
403
|
@each $fill-mode, $ui-states in $_tc-dark-matrix {
|
|
385
404
|
$kendo-button-theme-colors: map.deep-merge(
|
|
386
405
|
$kendo-button-theme-colors,
|
|
@@ -388,7 +407,7 @@ $kendo-button-theme-colors: () !default;
|
|
|
388
407
|
);
|
|
389
408
|
}
|
|
390
409
|
|
|
391
|
-
//
|
|
410
|
+
// The map for the light theme colors
|
|
392
411
|
@each $fill-mode, $ui-states in $_tc-light-matrix {
|
|
393
412
|
$kendo-button-theme-colors: map.deep-merge(
|
|
394
413
|
$kendo-button-theme-colors,
|
|
@@ -4,15 +4,15 @@
|
|
|
4
4
|
|
|
5
5
|
// Checkbox
|
|
6
6
|
|
|
7
|
-
///
|
|
7
|
+
/// The border radius of the CheckBox.
|
|
8
8
|
/// @group checkbox
|
|
9
9
|
$kendo-checkbox-border-radius: null !default;
|
|
10
10
|
|
|
11
|
-
///
|
|
11
|
+
/// The border width of the CheckBox.
|
|
12
12
|
/// @group checkbox
|
|
13
13
|
$kendo-checkbox-border-width: 1px !default;
|
|
14
14
|
|
|
15
|
-
//
|
|
15
|
+
// A map with the different CheckBox sizes.
|
|
16
16
|
$kendo-checkbox-sizes: (
|
|
17
17
|
sm: (
|
|
18
18
|
size: map.get( $kendo-spacing, 4 ),
|
|
@@ -37,182 +37,182 @@ $kendo-checkbox-sizes: (
|
|
|
37
37
|
)
|
|
38
38
|
) !default;
|
|
39
39
|
|
|
40
|
-
///
|
|
40
|
+
/// The background color of the CheckBox.
|
|
41
41
|
/// @group checkbox
|
|
42
42
|
$kendo-checkbox-bg: $kendo-component-bg !default;
|
|
43
|
-
///
|
|
43
|
+
/// The text color of the CheckBox.
|
|
44
44
|
/// @group checkbox
|
|
45
45
|
$kendo-checkbox-text: transparent !default;
|
|
46
|
-
///
|
|
46
|
+
/// The border color of the CheckBox.
|
|
47
47
|
/// @group checkbox
|
|
48
48
|
$kendo-checkbox-border: get-theme-color-var( neutral-160 ) !default;
|
|
49
49
|
|
|
50
|
-
///
|
|
50
|
+
/// The background color of the hovered CheckBox.
|
|
51
51
|
/// @group checkbox
|
|
52
52
|
$kendo-checkbox-hover-bg: $kendo-checkbox-bg !default;
|
|
53
|
-
///
|
|
53
|
+
/// The text color of the hovered CheckBox.
|
|
54
54
|
/// @group checkbox
|
|
55
55
|
$kendo-checkbox-hover-text: get-theme-color( neutral, 130 ) !default;
|
|
56
|
-
///
|
|
56
|
+
/// The border color of the hovered CheckBox.
|
|
57
57
|
/// @group checkbox
|
|
58
58
|
$kendo-checkbox-hover-border: $kendo-checkbox-border !default;
|
|
59
59
|
|
|
60
|
-
///
|
|
60
|
+
/// The background color of the checked CheckBox.
|
|
61
61
|
/// @group checkbox
|
|
62
62
|
$kendo-checkbox-checked-bg: get-theme-color-var( primary-100 ) !default;
|
|
63
|
-
///
|
|
63
|
+
/// The text color of the checked CheckBox.
|
|
64
64
|
/// @group checkbox
|
|
65
65
|
$kendo-checkbox-checked-text: $kendo-color-white !default;
|
|
66
|
-
///
|
|
66
|
+
/// The border color of the checked CheckBox.
|
|
67
67
|
/// @group checkbox
|
|
68
68
|
$kendo-checkbox-checked-border: $kendo-checkbox-checked-bg !default;
|
|
69
69
|
|
|
70
|
-
///
|
|
70
|
+
/// The background of the hovered and checked CheckBox.
|
|
71
71
|
/// @group checkbox
|
|
72
72
|
$kendo-checkbox-hover-checked-bg: get-theme-color-var( primary-110 ) !default;
|
|
73
|
-
///
|
|
73
|
+
/// The text color of the hovered and checked CheckBox.
|
|
74
74
|
/// @group checkbox
|
|
75
75
|
$kendo-checkbox-hover-checked-text: $kendo-color-white !default;
|
|
76
|
-
///
|
|
76
|
+
/// The border color of the hovered and checked CheckBox.
|
|
77
77
|
/// @group checkbox
|
|
78
78
|
$kendo-checkbox-hover-checked-border: $kendo-checkbox-hover-checked-bg !default;
|
|
79
79
|
|
|
80
|
-
///
|
|
80
|
+
/// The border color of the focused CheckBox.
|
|
81
81
|
/// @group checkbox
|
|
82
82
|
$kendo-checkbox-focus-border: null !default;
|
|
83
|
-
///
|
|
83
|
+
/// The box shadow of the focused CheckBox.
|
|
84
84
|
/// @group checkbox
|
|
85
85
|
$kendo-checkbox-focus-shadow: null !default;
|
|
86
|
-
/// The outline of
|
|
86
|
+
/// The outline of the focused CheckBox.
|
|
87
87
|
/// @group checkbox
|
|
88
88
|
$kendo-checkbox-focus-outline: 1px solid get-theme-color-var( neutral-130 ) !default;
|
|
89
89
|
$kendo-checkbox-focus-outline-offset: 2px !default;
|
|
90
90
|
|
|
91
|
-
///
|
|
91
|
+
/// The background color of the indeterminate CheckBox.
|
|
92
92
|
/// @group checkbox
|
|
93
93
|
$kendo-checkbox-indeterminate-bg: $kendo-checkbox-bg !default;
|
|
94
|
-
///
|
|
94
|
+
/// The text color of the indeterminate CheckBox.
|
|
95
95
|
/// @group checkbox
|
|
96
96
|
$kendo-checkbox-indeterminate-text: get-theme-color( primary, 100 ) !default;
|
|
97
|
-
///
|
|
97
|
+
/// The border color of the indeterminate CheckBox.
|
|
98
98
|
/// @group checkbox
|
|
99
99
|
$kendo-checkbox-indeterminate-border: get-theme-color-var( primary-100 ) !default;
|
|
100
100
|
|
|
101
|
-
///
|
|
101
|
+
/// The background color of the hovered and indeterminate CheckBox.
|
|
102
102
|
/// @group checkbox
|
|
103
103
|
$kendo-checkbox-hover-indeterminate-bg: $kendo-checkbox-bg !default;
|
|
104
|
-
///
|
|
104
|
+
/// The text color of the hovered and indeterminate CheckBox.
|
|
105
105
|
/// @group checkbox
|
|
106
106
|
$kendo-checkbox-hover-indeterminate-text: get-theme-color( primary, 110 ) !default;
|
|
107
|
-
///
|
|
107
|
+
/// The border color of the hovered and indeterminate CheckBox.
|
|
108
108
|
/// @group checkbox
|
|
109
109
|
$kendo-checkbox-hover-indeterminate-border: get-theme-color-var( primary-110 ) !default;
|
|
110
110
|
|
|
111
|
-
///
|
|
111
|
+
/// The background color of the disabled CheckBox.
|
|
112
112
|
/// @group checkbox
|
|
113
113
|
$kendo-checkbox-disabled-bg: $kendo-checkbox-bg !default;
|
|
114
|
-
///
|
|
114
|
+
/// The text color of the disabled CheckBox.
|
|
115
115
|
/// @group checkbox
|
|
116
116
|
$kendo-checkbox-disabled-text: get-theme-color-var( neutral-60 ) !default;
|
|
117
|
-
///
|
|
117
|
+
/// The border color of the disabled CheckBox.
|
|
118
118
|
/// @group checkbox
|
|
119
119
|
$kendo-checkbox-disabled-border: get-theme-color-var( neutral-60 ) !default;
|
|
120
120
|
|
|
121
|
-
///
|
|
121
|
+
/// The background color of the disabled and checked CheckBox.
|
|
122
122
|
/// @group checkbox
|
|
123
123
|
$kendo-checkbox-disabled-checked-bg: get-theme-color-var( neutral-60 ) !default;
|
|
124
|
-
///
|
|
124
|
+
/// The text color of the disabled and checked CheckBox.
|
|
125
125
|
/// @group checkbox
|
|
126
126
|
$kendo-checkbox-disabled-checked-text: $kendo-color-white !default;
|
|
127
|
-
///
|
|
127
|
+
/// The border color of the disabled and checked CheckBox.
|
|
128
128
|
/// @group checkbox
|
|
129
129
|
$kendo-checkbox-disabled-checked-border: get-theme-color-var( neutral-60 ) !default;
|
|
130
130
|
|
|
131
|
-
///
|
|
131
|
+
/// The background color of the disabled and indeterminate CheckBox.
|
|
132
132
|
/// @group checkbox
|
|
133
133
|
$kendo-checkbox-disabled-indeterminate-bg: $kendo-checkbox-bg !default;
|
|
134
|
-
///
|
|
134
|
+
/// The border color of the disabled and indeterminate CheckBox.
|
|
135
135
|
/// @group checkbox
|
|
136
136
|
$kendo-checkbox-disabled-indeterminate-text: get-theme-color( neutral, 60 ) !default;
|
|
137
|
-
///
|
|
137
|
+
/// The border color of the disabled and indeterminate CheckBox.
|
|
138
138
|
/// @group checkbox
|
|
139
139
|
$kendo-checkbox-disabled-indeterminate-border: get-theme-color-var( neutral-60 ) !default;
|
|
140
140
|
|
|
141
|
-
///
|
|
141
|
+
/// The background color of an invalid CheckBox.
|
|
142
142
|
/// @group checkbox
|
|
143
143
|
$kendo-checkbox-invalid-bg: $kendo-checkbox-bg !default;
|
|
144
|
-
///
|
|
144
|
+
/// The text color of an invalid CheckBox.
|
|
145
145
|
/// @group checkbox
|
|
146
146
|
$kendo-checkbox-invalid-text: $kendo-invalid-text !default;
|
|
147
|
-
///
|
|
147
|
+
/// The border color of an invalid CheckBox.
|
|
148
148
|
/// @group checkbox
|
|
149
149
|
$kendo-checkbox-invalid-border: $kendo-invalid-border !default;
|
|
150
150
|
|
|
151
151
|
|
|
152
152
|
// Checkbox indicator
|
|
153
153
|
|
|
154
|
-
///
|
|
154
|
+
/// The type of the CheckBox indicator.
|
|
155
155
|
/// @group checkbox
|
|
156
156
|
$kendo-checkbox-indicator-type: image !default;
|
|
157
157
|
|
|
158
|
-
///
|
|
158
|
+
/// The font family of the CheckBox indicator glyph.
|
|
159
159
|
/// @group checkbox
|
|
160
160
|
$kendo-checkbox-glyph-font-family: "WebComponentsIcons", monospace !default;
|
|
161
|
-
///
|
|
161
|
+
/// The glyph of the CheckBox indicator.
|
|
162
162
|
/// @group checkbox
|
|
163
163
|
$kendo-checkbox-checked-glyph: "\e118" !default;
|
|
164
|
-
///
|
|
164
|
+
/// The glyph of the indeterminate CheckBox indicator.
|
|
165
165
|
/// @group checkbox
|
|
166
166
|
$kendo-checkbox-indeterminate-glyph: "\e121" !default;
|
|
167
167
|
|
|
168
|
-
///
|
|
168
|
+
/// The image of the hovered CheckBox indicator.
|
|
169
169
|
/// @group checkbox
|
|
170
170
|
$kendo-checkbox-hover-image: 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-hover-text}' stroke-linecap='square' stroke-linejoin='square' stroke-width='2' d='M3,8 l3,3 l7-7'/></svg>") ) !default;
|
|
171
|
-
///
|
|
171
|
+
/// The image of the checked CheckBox indicator.
|
|
172
172
|
/// @group checkbox
|
|
173
173
|
$kendo-checkbox-checked-image: 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;
|
|
174
|
-
///
|
|
174
|
+
/// The image of the indeterminate CheckBox indicator.
|
|
175
175
|
/// @group checkbox
|
|
176
176
|
$kendo-checkbox-indeterminate-image: escape-svg( url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><rect x='3' y='3' width='10' height='10' rx='2' fill='#{$kendo-checkbox-indeterminate-text}'/></svg>") ) !default;
|
|
177
|
-
///
|
|
177
|
+
/// The image of the hovered and checked CheckBox indicator.
|
|
178
178
|
/// @group checkbox
|
|
179
179
|
$kendo-checkbox-hover-checked-image: 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-hover-checked-text}' stroke-linecap='square' stroke-linejoin='square' stroke-width='2' d='M3,8 l3,3 l7-7'/></svg>") ) !default;
|
|
180
|
-
///
|
|
180
|
+
/// The image of the hovered and indeterminate CheckBox indicator.
|
|
181
181
|
/// @group checkbox
|
|
182
182
|
$kendo-checkbox-hover-indeterminate-image: escape-svg( url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><rect x='3' y='3' width='10' height='10' rx='2' fill='#{$kendo-checkbox-hover-indeterminate-text}'/></svg>") ) !default;
|
|
183
|
-
///
|
|
183
|
+
/// The image of the checked CheckBox indicator.
|
|
184
184
|
/// @group checkbox
|
|
185
185
|
$kendo-checkbox-disabled-checked-image: 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-disabled-checked-text}' stroke-linecap='square' stroke-linejoin='square' stroke-width='2' d='M3,8 l3,3 l7-7'/></svg>") ) !default;
|
|
186
|
-
///
|
|
186
|
+
/// The image of the indeterminate CheckBox indicator.
|
|
187
187
|
/// @group checkbox
|
|
188
188
|
$kendo-checkbox-disabled-indeterminate-image: escape-svg( url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><rect x='3' y='3' width='10' height='10' rx='2' fill='#{$kendo-checkbox-disabled-indeterminate-text}'/></svg>") ) !default;
|
|
189
189
|
|
|
190
190
|
|
|
191
191
|
// Checkbox label
|
|
192
192
|
|
|
193
|
-
/// The horizontal margin of the
|
|
193
|
+
/// The horizontal margin of the CheckBox inside a label.
|
|
194
194
|
/// @group checkbox
|
|
195
195
|
$kendo-checkbox-label-margin-x: map.get( $kendo-spacing, 2 ) !default;
|
|
196
196
|
|
|
197
197
|
|
|
198
198
|
// Checkbox list
|
|
199
199
|
|
|
200
|
-
///
|
|
200
|
+
/// The spacing between the items in a horizontal CheckBox list.
|
|
201
201
|
/// @group checkbox
|
|
202
202
|
$kendo-checkbox-list-spacing: map.get( $kendo-spacing, 4 ) !default;
|
|
203
|
-
///
|
|
203
|
+
/// The horizontal padding of the CheckBox list items.
|
|
204
204
|
/// @group checkbox
|
|
205
205
|
$kendo-checkbox-list-item-padding-x: 0px !default;
|
|
206
|
-
///
|
|
206
|
+
/// The vertical padding of the CheckBox list items.
|
|
207
207
|
/// @group checkbox
|
|
208
208
|
$kendo-checkbox-list-item-padding-y: $kendo-list-md-item-padding-y !default;
|
|
209
209
|
|
|
210
210
|
|
|
211
211
|
// Checkbox ripple
|
|
212
212
|
|
|
213
|
-
///
|
|
213
|
+
/// The background color of the CheckBox' ripple.
|
|
214
214
|
/// @group checkbox
|
|
215
215
|
$kendo-checkbox-ripple-bg: get-theme-color-var( primary-100 ) !default;
|
|
216
|
-
///
|
|
216
|
+
/// The opacity of the CheckBox' ripple.
|
|
217
217
|
/// @group checkbox
|
|
218
218
|
$kendo-checkbox-ripple-opacity: .25 !default;
|