@progress/kendo-theme-fluent 11.2.1-dev.0 → 11.3.0-dev.0
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 +1 -1
- package/dist/fluent-main-dark.css +1 -1
- package/dist/fluent-main.css +1 -1
- package/dist/meta/sassdoc-data.json +24099 -27323
- package/dist/meta/sassdoc-raw-data.json +8421 -7718
- package/dist/meta/variables.json +7880 -8036
- package/lib/swatches/all.json +1 -1
- package/lib/swatches/fluent-main-dark.json +1 -1
- package/lib/swatches/fluent-main.json +1 -1
- package/package.json +4 -4
- package/scss/action-buttons/_layout.scss +2 -55
- package/scss/action-buttons/_theme.scss +2 -11
- package/scss/action-buttons/_variables.scss +17 -7
- package/scss/action-sheet/_layout.scss +11 -399
- package/scss/action-sheet/_theme.scss +14 -69
- package/scss/action-sheet/_variables.scss +129 -66
- package/scss/adaptive/_index.scss +0 -3
- package/scss/adaptive/_layout.scss +2 -457
- package/scss/adaptive/_theme.scss +2 -75
- package/scss/adaptive/_variables.scss +39 -18
- package/scss/appbar/_layout.scss +2 -114
- package/scss/appbar/_theme.scss +9 -20
- package/scss/appbar/_variables.scss +38 -71
- package/scss/avatar/_layout.scss +2 -73
- package/scss/avatar/_theme.scss +2 -16
- package/scss/avatar/_variables.scss +24 -82
- package/scss/badge/_layout.scss +3 -146
- package/scss/badge/_theme.scss +8 -21
- package/scss/badge/_variables.scss +41 -88
- package/scss/bottom-navigation/_layout.scss +5 -108
- package/scss/bottom-navigation/_theme.scss +73 -74
- package/scss/bottom-navigation/_variables.scss +58 -117
- package/scss/breadcrumb/_layout.scss +8 -132
- package/scss/breadcrumb/_theme.scss +15 -71
- package/scss/breadcrumb/_variables.scss +133 -71
- package/scss/button/_layout.scss +18 -182
- package/scss/button/_theme.scss +132 -113
- package/scss/button/_variables.scss +156 -301
- package/scss/calendar/_layout.scss +27 -383
- package/scss/calendar/_theme.scss +55 -127
- package/scss/calendar/_variables.scss +185 -100
- package/scss/captcha/_layout.scss +2 -59
- package/scss/captcha/_theme.scss +2 -9
- package/scss/captcha/_variables.scss +25 -9
- package/scss/card/_layout.scss +9 -314
- package/scss/card/_theme.scss +3 -103
- package/scss/card/_variables.scss +110 -60
- package/scss/chart-wizard/_layout.scss +2 -38
- package/scss/chart-wizard/_theme.scss +2 -28
- package/scss/chart-wizard/_variables.scss +25 -11
- package/scss/chat/_index.scss +0 -3
- package/scss/chat/_layout.scss +26 -450
- package/scss/chat/_theme.scss +9 -80
- package/scss/chat/_variables.scss +143 -71
- package/scss/checkbox/_layout.scss +14 -191
- package/scss/checkbox/_theme.scss +11 -100
- package/scss/checkbox/_variables.scss +165 -78
- package/scss/chip/_layout.scss +11 -137
- package/scss/chip/_theme.scss +56 -57
- package/scss/chip/_variables.scss +99 -94
- package/scss/color-preview/_layout.scss +4 -64
- package/scss/color-preview/_theme.scss +2 -27
- package/scss/color-preview/_variables.scss +23 -9
- package/scss/coloreditor/_layout.scss +21 -109
- package/scss/coloreditor/_theme.scss +3 -24
- package/scss/coloreditor/_variables.scss +92 -57
- package/scss/colorgradient/_layout.scss +12 -196
- package/scss/colorgradient/_theme.scss +27 -65
- package/scss/colorgradient/_variables.scss +134 -76
- package/scss/colorpalette/_layout.scss +6 -40
- package/scss/colorpalette/_theme.scss +10 -20
- package/scss/colorpalette/_variables.scss +39 -21
- package/scss/colorpicker/_layout.scss +2 -11
- package/scss/colorpicker/_theme.scss +2 -1
- package/scss/column-menu/_layout.scss +5 -56
- package/scss/column-menu/_theme.scss +1 -24
- package/scss/column-menu/_variables.scss +38 -17
- package/scss/combobox/_layout.scss +4 -2
- package/scss/combobox/_theme.scss +4 -2
- package/scss/core/functions/index.import.scss +1 -0
- package/scss/dataviz/_layout.scss +6 -543
- package/scss/dataviz/_theme.scss +12 -76
- package/scss/dataviz/_variables.scss +152 -33
- package/scss/daterangepicker/_layout.scss +2 -37
- package/scss/daterangepicker/_theme.scss +16 -7
- package/scss/daterangepicker/_variables.scss +9 -0
- package/scss/datetimepicker/_layout.scss +3 -41
- package/scss/datetimepicker/_theme.scss +3 -2
- package/scss/datetimepicker/_variables.scss +5 -1
- package/scss/dialog/_layout.scss +8 -53
- package/scss/dialog/_theme.scss +5 -25
- package/scss/dialog/_variables.scss +31 -60
- package/scss/dock-manager/_layout.scss +9 -193
- package/scss/dock-manager/_theme.scss +6 -28
- package/scss/dock-manager/_variables.scss +74 -36
- package/scss/draggable/_layout.scss +13 -59
- package/scss/draggable/_theme.scss +10 -15
- package/scss/draggable/_variables.scss +45 -23
- package/scss/drawer/_layout.scss +7 -198
- package/scss/drawer/_theme.scss +25 -52
- package/scss/drawer/_variables.scss +73 -45
- package/scss/dropdowngrid/_layout.scss +3 -11
- package/scss/dropdowngrid/_theme.scss +3 -3
- package/scss/dropdownlist/_layout.scss +4 -28
- package/scss/dropdownlist/_theme.scss +3 -7
- package/scss/dropdowntree/_layout.scss +2 -35
- package/scss/dropdowntree/_theme.scss +3 -4
- package/scss/dropdowntree/_variables.scss +4 -3
- package/scss/dropzone/_layout.scss +7 -31
- package/scss/dropzone/_theme.scss +2 -30
- package/scss/dropzone/_variables.scss +43 -21
- package/scss/editor/_layout.scss +3 -588
- package/scss/editor/_theme.scss +12 -78
- package/scss/editor/_variables.scss +45 -26
- package/scss/expansion-panel/_layout.scss +22 -57
- package/scss/expansion-panel/_theme.scss +13 -36
- package/scss/expansion-panel/_variables.scss +49 -28
- package/scss/fab/_layout.scss +11 -134
- package/scss/fab/_theme.scss +37 -126
- package/scss/fab/_variables.scss +104 -56
- package/scss/filemanager/_layout.scss +2 -240
- package/scss/filemanager/_theme.scss +8 -89
- package/scss/filemanager/_variables.scss +109 -56
- package/scss/filter/_layout.scss +8 -71
- package/scss/filter/_theme.scss +5 -14
- package/scss/filter/_variables.scss +20 -10
- package/scss/floating-label/_layout.scss +3 -75
- package/scss/floating-label/_theme.scss +4 -20
- package/scss/floating-label/_variables.scss +35 -17
- package/scss/forms/_index.scss +0 -1
- package/scss/forms/_layout.scss +5 -302
- package/scss/forms/_theme.scss +5 -24
- package/scss/forms/_variables.scss +73 -39
- package/scss/gantt/_layout.scss +5 -801
- package/scss/gantt/_theme.scss +17 -236
- package/scss/gantt/_variables.scss +142 -73
- package/scss/grid/_layout.scss +60 -1276
- package/scss/grid/_theme.scss +35 -343
- package/scss/grid/_variables.scss +306 -183
- package/scss/gridlayout/_layout.scss +1 -6
- package/scss/gridlayout/_theme.scss +1 -6
- package/scss/icons/_layout.scss +4 -33
- package/scss/icons/_theme.scss +7 -1
- package/scss/icons/_variables.scss +35 -9
- package/scss/imageeditor/_layout.scss +2 -152
- package/scss/imageeditor/_theme.scss +5 -42
- package/scss/imageeditor/_variables.scss +66 -32
- package/scss/index.scss +2 -1
- package/scss/input/_layout.scss +36 -468
- package/scss/input/_theme.scss +52 -128
- package/scss/input/_variables.scss +153 -208
- package/scss/list/_layout.scss +3 -252
- package/scss/list/_theme.scss +10 -81
- package/scss/list/_variables.scss +176 -92
- package/scss/listbox/_layout.scss +2 -80
- package/scss/listbox/_theme.scss +5 -8
- package/scss/listbox/_variables.scss +28 -13
- package/scss/listgroup/_layout.scss +2 -174
- package/scss/listgroup/_theme.scss +2 -8
- package/scss/listgroup/_variables.scss +23 -10
- package/scss/listview/_layout.scss +6 -133
- package/scss/listview/_theme.scss +8 -37
- package/scss/listview/_variables.scss +66 -39
- package/scss/loader/_layout.scss +15 -572
- package/scss/loader/_theme.scss +2 -14
- package/scss/loader/_variables.scss +90 -92
- package/scss/map/_layout.scss +7 -121
- package/scss/map/_theme.scss +5 -17
- package/scss/map/_variables.scss +40 -22
- package/scss/maskedtextbox/_layout.scss +3 -3
- package/scss/maskedtextbox/_theme.scss +3 -3
- package/scss/mediaplayer/_layout.scss +5 -72
- package/scss/mediaplayer/_theme.scss +5 -15
- package/scss/mediaplayer/_variables.scss +27 -14
- package/scss/menu/_layout.scss +25 -267
- package/scss/menu/_theme.scss +14 -73
- package/scss/menu/_variables.scss +135 -76
- package/scss/menu-button/_layout.scss +9 -14
- package/scss/menu-button/_theme.scss +5 -1
- package/scss/menu-button/_variables.scss +10 -0
- package/scss/messagebox/_layout.scss +2 -18
- package/scss/messagebox/_theme.scss +4 -19
- package/scss/messagebox/_variables.scss +33 -37
- package/scss/multiselect/_layout.scss +3 -4
- package/scss/multiselect/_theme.scss +3 -4
- package/scss/no-data/_layout.scss +2 -17
- package/scss/no-data/_theme.scss +2 -5
- package/scss/no-data/_variables.scss +7 -2
- package/scss/notification/_functions.scss +17 -0
- package/scss/notification/_layout.scss +2 -68
- package/scss/notification/_theme.scss +4 -28
- package/scss/notification/_variables.scss +50 -91
- package/scss/numerictextbox/_layout.scss +3 -7
- package/scss/numerictextbox/_theme.scss +3 -3
- package/scss/orgchart/_layout.scss +8 -99
- package/scss/orgchart/_theme.scss +4 -45
- package/scss/orgchart/_variables.scss +87 -45
- package/scss/otp/_layout.scss +1 -34
- package/scss/otp/_theme.scss +1 -7
- package/scss/otp/_variables.scss +25 -12
- package/scss/overlay/_layout.scss +2 -11
- package/scss/overlay/_theme.scss +4 -3
- package/scss/overlay/_variables.scss +7 -3
- package/scss/pager/_layout.scss +11 -145
- package/scss/pager/_theme.scss +7 -15
- package/scss/pager/_variables.scss +49 -26
- package/scss/panel/_layout.scss +2 -24
- package/scss/panel/_theme.scss +10 -13
- package/scss/panel/_variables.scss +23 -10
- package/scss/panelbar/_layout.scss +17 -95
- package/scss/panelbar/_theme.scss +15 -164
- package/scss/panelbar/_variables.scss +134 -68
- package/scss/pdf-viewer/_layout.scss +3 -327
- package/scss/pdf-viewer/_theme.scss +2 -80
- package/scss/pdf-viewer/_variables.scss +75 -36
- package/scss/pivotgrid/_index.scss +0 -6
- package/scss/pivotgrid/_layout.scss +44 -579
- package/scss/pivotgrid/_theme.scss +5 -192
- package/scss/pivotgrid/_variables.scss +144 -70
- package/scss/popover/_layout.scss +6 -73
- package/scss/popover/_theme.scss +2 -36
- package/scss/popover/_variables.scss +54 -27
- package/scss/popup/_layout.scss +5 -70
- package/scss/popup/_theme.scss +2 -9
- package/scss/popup/_variables.scss +25 -12
- package/scss/progressbar/_layout.scss +10 -196
- package/scss/progressbar/_theme.scss +11 -46
- package/scss/progressbar/_variables.scss +57 -34
- package/scss/prompt/_layout.scss +2 -75
- package/scss/prompt/_theme.scss +2 -35
- package/scss/prompt/_variables.scss +43 -20
- package/scss/radio/_layout.scss +12 -178
- package/scss/radio/_theme.scss +7 -75
- package/scss/radio/_variables.scss +72 -36
- package/scss/rating/_layout.scss +11 -57
- package/scss/rating/_theme.scss +8 -6
- package/scss/rating/_variables.scss +21 -13
- package/scss/responsivepanel/_layout.scss +2 -45
- package/scss/responsivepanel/_theme.scss +3 -3
- package/scss/ripple/_layout.scss +2 -50
- package/scss/ripple/_theme.scss +2 -2
- package/scss/scheduler/_layout.scss +11 -773
- package/scss/scheduler/_theme.scss +32 -167
- package/scss/scheduler/_variables.scss +149 -77
- package/scss/scroller/_layout.scss +2 -80
- package/scss/scroller/_theme.scss +2 -5
- package/scss/scrollview/_layout.scss +2 -159
- package/scss/scrollview/_theme.scss +11 -35
- package/scss/scrollview/_variables.scss +52 -29
- package/scss/searchbox/_layout.scss +2 -0
- package/scss/searchbox/_theme.scss +4 -1
- package/scss/searchbox/_variables.scss +1 -1
- package/scss/signature/_layout.scss +3 -67
- package/scss/signature/_theme.scss +3 -8
- package/scss/signature/_variables.scss +46 -25
- package/scss/skeleton/_layout.scss +2 -79
- package/scss/skeleton/_theme.scss +2 -17
- package/scss/skeleton/_variables.scss +15 -6
- package/scss/slider/_layout.scss +18 -203
- package/scss/slider/_theme.scss +31 -40
- package/scss/slider/_variables.scss +58 -41
- package/scss/speech-to-text-button/_layout.scss +1 -9
- package/scss/speech-to-text-button/_theme.scss +1 -3
- package/scss/split-button/_layout.scss +22 -18
- package/scss/split-button/_theme.scss +2 -1
- package/scss/split-button/_variables.scss +18 -9
- package/scss/splitter/_layout.scss +8 -171
- package/scss/splitter/_theme.scss +2 -31
- package/scss/splitter/_variables.scss +42 -20
- package/scss/spreadsheet/_layout.scss +50 -724
- package/scss/spreadsheet/_theme.scss +14 -182
- package/scss/spreadsheet/_variables.scss +172 -99
- package/scss/stacklayout/_layout.scss +1 -5
- package/scss/stacklayout/_theme.scss +1 -5
- package/scss/stepper/_layout.scss +9 -255
- package/scss/stepper/_theme.scss +4 -186
- package/scss/stepper/_variables.scss +125 -60
- package/scss/suggestion/_layout.scss +2 -38
- package/scss/suggestion/_theme.scss +3 -66
- package/scss/suggestion/_variables.scss +42 -19
- package/scss/switch/_layout.scss +2 -138
- package/scss/switch/_theme.scss +2 -136
- package/scss/switch/_variables.scss +99 -49
- package/scss/table/_layout.scss +6 -249
- package/scss/table/_theme.scss +9 -95
- package/scss/table/_variables.scss +100 -64
- package/scss/tabstrip/_layout.scss +2 -421
- package/scss/tabstrip/_theme.scss +12 -123
- package/scss/tabstrip/_variables.scss +113 -61
- package/scss/taskboard/_layout.scss +28 -178
- package/scss/taskboard/_theme.scss +20 -55
- package/scss/taskboard/_variables.scss +122 -63
- package/scss/textarea/_layout.scss +3 -6
- package/scss/textarea/_theme.scss +3 -4
- package/scss/textbox/_layout.scss +3 -4
- package/scss/textbox/_theme.scss +3 -4
- package/scss/tilelayout/_layout.scss +2 -36
- package/scss/tilelayout/_theme.scss +13 -10
- package/scss/tilelayout/_variables.scss +19 -8
- package/scss/time-marker/_layout.scss +2 -15
- package/scss/time-marker/_theme.scss +2 -17
- package/scss/time-marker/_variables.scss +7 -2
- package/scss/timedurationpicker/_layout.scss +3 -4
- package/scss/timedurationpicker/_theme.scss +3 -4
- package/scss/timeline/_layout.scss +8 -423
- package/scss/timeline/_theme.scss +11 -34
- package/scss/timeline/_variables.scss +108 -61
- package/scss/timepicker/_layout.scss +7 -3
- package/scss/timepicker/_theme.scss +3 -4
- package/scss/timeselector/_layout.scss +3 -223
- package/scss/timeselector/_theme.scss +5 -55
- package/scss/timeselector/_variables.scss +84 -41
- package/scss/toolbar/_layout.scss +11 -297
- package/scss/toolbar/_theme.scss +3 -167
- package/scss/toolbar/_variables.scss +65 -32
- package/scss/tooltip/_functions.scss +17 -0
- package/scss/tooltip/_layout.scss +13 -74
- package/scss/tooltip/_theme.scss +17 -23
- package/scss/tooltip/_variables.scss +50 -72
- package/scss/treelist/_layout.scss +3 -82
- package/scss/treelist/_theme.scss +4 -6
- package/scss/treelist/_variables.scss +7 -2
- package/scss/treeview/_layout.scss +8 -137
- package/scss/treeview/_theme.scss +20 -65
- package/scss/treeview/_variables.scss +88 -48
- package/scss/typography/_layout.scss +3 -113
- package/scss/typography/_theme.scss +2 -17
- package/scss/typography/_variables.scss +84 -3
- package/scss/upload/_layout.scss +7 -219
- package/scss/upload/_theme.scss +4 -90
- package/scss/upload/_variables.scss +66 -29
- package/scss/validator/_layout.scss +2 -16
- package/scss/validator/_theme.scss +2 -2
- package/scss/virtual-scroller/_layout.scss +2 -34
- package/scss/virtual-scroller/_theme.scss +2 -2
- package/scss/window/_layout.scss +9 -141
- package/scss/window/_theme.scss +7 -35
- package/scss/window/_variables.scss +65 -70
- package/scss/wizard/_layout.scss +8 -95
- package/scss/wizard/_theme.scss +4 -7
- package/scss/wizard/_variables.scss +24 -11
|
@@ -7,72 +7,102 @@
|
|
|
7
7
|
|
|
8
8
|
/// The border width of the CheckBox.
|
|
9
9
|
/// @group checkbox
|
|
10
|
-
$kendo-checkbox-border-width: 1px !default;
|
|
10
|
+
$kendo-checkbox-border-width: var( --kendo-checkbox-border-width, 1px ) !default;
|
|
11
|
+
|
|
12
|
+
/// The size of a small CheckBox.
|
|
13
|
+
/// @group checkbox
|
|
14
|
+
$kendo-checkbox-sm-size: var( --kendo-checkbox-sm-size, k-spacing(4) ) !default;
|
|
15
|
+
/// The size of a medium CheckBox.
|
|
16
|
+
/// @group checkbox
|
|
17
|
+
$kendo-checkbox-md-size: var( --kendo-checkbox-md-size, k-spacing(5) ) !default;
|
|
18
|
+
/// The size of a large CheckBox.
|
|
19
|
+
/// @group checkbox
|
|
20
|
+
$kendo-checkbox-lg-size: var( --kendo-checkbox-lg-size, k-spacing(6) ) !default;
|
|
21
|
+
|
|
22
|
+
/// The glyph size of a small CheckBox.
|
|
23
|
+
/// @group checkbox
|
|
24
|
+
$kendo-checkbox-sm-glyph-size: var( --kendo-checkbox-sm-glyph-size, k-spacing(3.5) ) !default;
|
|
25
|
+
/// The glyph size of a medium CheckBox.
|
|
26
|
+
/// @group checkbox
|
|
27
|
+
$kendo-checkbox-md-glyph-size: var( --kendo-checkbox-md-glyph-size, k-spacing(4.5) ) !default;
|
|
28
|
+
/// The glyph size of a large CheckBox.
|
|
29
|
+
/// @group checkbox
|
|
30
|
+
$kendo-checkbox-lg-glyph-size: var( --kendo-checkbox-lg-glyph-size, k-spacing(5.5) ) !default;
|
|
31
|
+
|
|
32
|
+
/// The ripple size of a small CheckBox.
|
|
33
|
+
/// @group checkbox
|
|
34
|
+
$kendo-checkbox-sm-ripple-size: var( --kendo-checkbox-sm-ripple-size, 300% ) !default;
|
|
35
|
+
/// The ripple size of a medium CheckBox.
|
|
36
|
+
/// @group checkbox
|
|
37
|
+
$kendo-checkbox-md-ripple-size: var( --kendo-checkbox-md-ripple-size, 300% ) !default;
|
|
38
|
+
/// The ripple size of a large CheckBox.
|
|
39
|
+
/// @group checkbox
|
|
40
|
+
$kendo-checkbox-lg-ripple-size: var( --kendo-checkbox-lg-ripple-size, 300% ) !default;
|
|
11
41
|
|
|
12
42
|
// A map with the different CheckBox sizes.
|
|
13
43
|
$kendo-checkbox-sizes: (
|
|
14
44
|
sm: (
|
|
15
|
-
size:
|
|
16
|
-
glyph-size:
|
|
45
|
+
size: $kendo-checkbox-sm-size,
|
|
46
|
+
glyph-size: $kendo-checkbox-sm-glyph-size,
|
|
47
|
+
ripple-size: $kendo-checkbox-sm-ripple-size,
|
|
17
48
|
indicator-size: k-spacing(4),
|
|
18
49
|
indeterminate-size: k-spacing(3),
|
|
19
|
-
ripple-size: 300%
|
|
20
50
|
),
|
|
21
51
|
md: (
|
|
22
|
-
size:
|
|
23
|
-
glyph-size:
|
|
52
|
+
size: $kendo-checkbox-md-size,
|
|
53
|
+
glyph-size: $kendo-checkbox-md-glyph-size,
|
|
54
|
+
ripple-size: $kendo-checkbox-md-ripple-size,
|
|
24
55
|
indicator-size: k-spacing(4),
|
|
25
56
|
indeterminate-size: k-spacing(4),
|
|
26
|
-
ripple-size: 300%
|
|
27
57
|
),
|
|
28
58
|
lg: (
|
|
29
|
-
size:
|
|
30
|
-
glyph-size:
|
|
59
|
+
size: $kendo-checkbox-lg-size,
|
|
60
|
+
glyph-size: $kendo-checkbox-lg-glyph-size,
|
|
61
|
+
ripple-size: $kendo-checkbox-lg-ripple-size,
|
|
31
62
|
indicator-size: k-spacing(4),
|
|
32
63
|
indeterminate-size: k-spacing(5),
|
|
33
|
-
ripple-size: 300%
|
|
34
64
|
)
|
|
35
65
|
) !default;
|
|
36
66
|
|
|
37
67
|
/// The background color of the CheckBox.
|
|
38
68
|
/// @group checkbox
|
|
39
|
-
$kendo-checkbox-bg: k-color(surface-alt) !default;
|
|
69
|
+
$kendo-checkbox-bg: var( --kendo-checkbox-bg, k-color(surface-alt) ) !default;
|
|
40
70
|
/// The text color of the CheckBox.
|
|
41
71
|
/// @group checkbox
|
|
42
|
-
$kendo-checkbox-text: transparent !default;
|
|
72
|
+
$kendo-checkbox-text: var( --kendo-checkbox-text, transparent ) !default;
|
|
43
73
|
/// The border color of the CheckBox.
|
|
44
74
|
/// @group checkbox
|
|
45
|
-
$kendo-checkbox-border: k-color(border-alt) !default;
|
|
75
|
+
$kendo-checkbox-border: var( --kendo-checkbox-border, k-color(border-alt) ) !default;
|
|
46
76
|
|
|
47
77
|
/// The background color of the hovered CheckBox.
|
|
48
78
|
/// @group checkbox
|
|
49
|
-
$kendo-checkbox-hover-bg: $kendo-checkbox-bg !default;
|
|
79
|
+
$kendo-checkbox-hover-bg: var( --kendo-checkbox-hover-bg, $kendo-checkbox-bg ) !default;
|
|
50
80
|
/// The text color of the hovered CheckBox.
|
|
51
81
|
/// @group checkbox
|
|
52
|
-
$kendo-checkbox-hover-text: k-color(on-app-surface) !default;
|
|
82
|
+
$kendo-checkbox-hover-text: var( --kendo-checkbox-hover-text, k-color(on-app-surface) ) !default;
|
|
53
83
|
/// The border color of the hovered CheckBox.
|
|
54
84
|
/// @group checkbox
|
|
55
|
-
$kendo-checkbox-hover-border: $kendo-checkbox-border !default;
|
|
85
|
+
$kendo-checkbox-hover-border: var( --kendo-checkbox-hover-border, $kendo-checkbox-border ) !default;
|
|
56
86
|
|
|
57
87
|
/// The background color of the checked CheckBox.
|
|
58
88
|
/// @group checkbox
|
|
59
|
-
$kendo-checkbox-checked-bg: k-color(primary) !default;
|
|
89
|
+
$kendo-checkbox-checked-bg: var( --kendo-checkbox-checked-bg, k-color(primary) ) !default;
|
|
60
90
|
/// The text color of the checked CheckBox.
|
|
61
91
|
/// @group checkbox
|
|
62
|
-
$kendo-checkbox-checked-text: k-color(app-surface) !default;
|
|
92
|
+
$kendo-checkbox-checked-text: var( --kendo-checkbox-checked-text, k-color(app-surface) ) !default;
|
|
63
93
|
/// The border color of the checked CheckBox.
|
|
64
94
|
/// @group checkbox
|
|
65
|
-
$kendo-checkbox-checked-border: $kendo-checkbox-checked-bg !default;
|
|
95
|
+
$kendo-checkbox-checked-border: var( --kendo-checkbox-checked-border, $kendo-checkbox-checked-bg ) !default;
|
|
66
96
|
|
|
67
|
-
/// The background of the
|
|
97
|
+
/// The background color of the indeterminate CheckBox.
|
|
68
98
|
/// @group checkbox
|
|
69
|
-
$kendo-checkbox-
|
|
70
|
-
/// The text color of the
|
|
99
|
+
$kendo-checkbox-indeterminate-bg: var( --kendo-checkbox-indeterminate-bg, $kendo-checkbox-bg ) !default;
|
|
100
|
+
/// The text color of the indeterminate CheckBox.
|
|
71
101
|
/// @group checkbox
|
|
72
|
-
$kendo-checkbox-
|
|
73
|
-
/// The border color of the
|
|
102
|
+
$kendo-checkbox-indeterminate-text: var( --kendo-checkbox-indeterminate-text, k-color(primary) ) !default;
|
|
103
|
+
/// The border color of the indeterminate CheckBox.
|
|
74
104
|
/// @group checkbox
|
|
75
|
-
$kendo-checkbox-
|
|
105
|
+
$kendo-checkbox-indeterminate-border: var( --kendo-checkbox-indeterminate-border, k-color(primary) ) !default;
|
|
76
106
|
|
|
77
107
|
/// The border color of the focused CheckBox.
|
|
78
108
|
/// @group checkbox
|
|
@@ -80,68 +110,75 @@ $kendo-checkbox-focus-border: null !default;
|
|
|
80
110
|
/// The box shadow of the focused CheckBox.
|
|
81
111
|
/// @group checkbox
|
|
82
112
|
$kendo-checkbox-focus-shadow: null !default;
|
|
113
|
+
/// The border color of the focused and checked CheckBox.
|
|
114
|
+
/// @group checkbox
|
|
115
|
+
$kendo-checkbox-focus-checked-border: null !default;
|
|
116
|
+
/// The box shadow of the focused and checked CheckBox.
|
|
117
|
+
/// @group checkbox
|
|
118
|
+
$kendo-checkbox-focus-checked-shadow: null !default;
|
|
83
119
|
/// The outline of the focused CheckBox.
|
|
84
120
|
/// @group checkbox
|
|
85
121
|
$kendo-checkbox-focus-outline: 1px solid k-color(base-emphasis) !default;
|
|
122
|
+
/// The outline offset of the focused CheckBox.
|
|
123
|
+
/// @group checkbox
|
|
86
124
|
$kendo-checkbox-focus-outline-offset: 2px !default;
|
|
87
125
|
|
|
88
|
-
/// The background color of the
|
|
126
|
+
/// The background color of the disabled CheckBox.
|
|
89
127
|
/// @group checkbox
|
|
90
|
-
$kendo-checkbox-
|
|
91
|
-
/// The text color of the
|
|
128
|
+
$kendo-checkbox-disabled-bg: var( --kendo-checkbox-disabled-bg, $kendo-checkbox-bg ) !default;
|
|
129
|
+
/// The text color of the disabled CheckBox.
|
|
92
130
|
/// @group checkbox
|
|
93
|
-
$kendo-checkbox-
|
|
94
|
-
/// The border color of the
|
|
131
|
+
$kendo-checkbox-disabled-text: var( --kendo-checkbox-disabled-text, color-mix(in srgb, k-color(on-app-surface) 28%, transparent) ) !default;
|
|
132
|
+
/// The border color of the disabled CheckBox.
|
|
95
133
|
/// @group checkbox
|
|
96
|
-
$kendo-checkbox-
|
|
134
|
+
$kendo-checkbox-disabled-border: var( --kendo-checkbox-disabled-border, color-mix(in srgb, k-color(on-app-surface) 28%, transparent) ) !default;
|
|
97
135
|
|
|
98
|
-
/// The background color of the
|
|
136
|
+
/// The background color of the disabled and checked CheckBox.
|
|
99
137
|
/// @group checkbox
|
|
100
|
-
$kendo-checkbox-
|
|
101
|
-
/// The text color of the
|
|
138
|
+
$kendo-checkbox-disabled-checked-bg: var( --kendo-checkbox-disabled-checked-bg, $kendo-checkbox-disabled-border ) !default;
|
|
139
|
+
/// The text color of the disabled and checked CheckBox.
|
|
102
140
|
/// @group checkbox
|
|
103
|
-
$kendo-checkbox-
|
|
104
|
-
/// The border color of the
|
|
141
|
+
$kendo-checkbox-disabled-checked-text: var( --kendo-checkbox-disabled-checked-text, k-color(app-surface) ) !default;
|
|
142
|
+
/// The border color of the disabled and checked CheckBox.
|
|
105
143
|
/// @group checkbox
|
|
106
|
-
$kendo-checkbox-
|
|
144
|
+
$kendo-checkbox-disabled-checked-border: var( --kendo-checkbox-disabled-checked-border, transparent ) !default;
|
|
107
145
|
|
|
108
|
-
/// The
|
|
146
|
+
/// The text color of an invalid CheckBox.
|
|
109
147
|
/// @group checkbox
|
|
110
|
-
$kendo-checkbox-
|
|
111
|
-
/// The
|
|
148
|
+
$kendo-checkbox-invalid-text: var( --kendo-checkbox-invalid-text, k-color(error-on-surface) ) !default;
|
|
149
|
+
/// The border color of an invalid CheckBox.
|
|
112
150
|
/// @group checkbox
|
|
113
|
-
$kendo-checkbox-
|
|
114
|
-
|
|
151
|
+
$kendo-checkbox-invalid-border: var( --kendo-checkbox-invalid-border, k-color(error-emphasis) ) !default;
|
|
152
|
+
|
|
153
|
+
/// The background of the hovered and checked CheckBox.
|
|
115
154
|
/// @group checkbox
|
|
116
|
-
$kendo-checkbox-
|
|
155
|
+
$kendo-checkbox-hover-checked-bg: var( --kendo-checkbox-hover-checked-bg, k-color(primary-hover) ) !default;
|
|
156
|
+
/// The text color of the hovered and checked CheckBox.
|
|
157
|
+
/// @group checkbox
|
|
158
|
+
$kendo-checkbox-hover-checked-text: var( --kendo-checkbox-hover-checked-text, k-color(app-surface) ) !default;
|
|
159
|
+
/// The border color of the hovered and checked CheckBox.
|
|
160
|
+
/// @group checkbox
|
|
161
|
+
$kendo-checkbox-hover-checked-border: var( --kendo-checkbox-hover-checked-border, $kendo-checkbox-hover-checked-bg ) !default;
|
|
117
162
|
|
|
118
|
-
/// The background color of the
|
|
163
|
+
/// The background color of the hovered and indeterminate CheckBox.
|
|
119
164
|
/// @group checkbox
|
|
120
|
-
$kendo-checkbox-
|
|
121
|
-
/// The text color of the
|
|
165
|
+
$kendo-checkbox-hover-indeterminate-bg: var( --kendo-checkbox-hover-indeterminate-bg, $kendo-checkbox-bg ) !default;
|
|
166
|
+
/// The text color of the hovered and indeterminate CheckBox.
|
|
122
167
|
/// @group checkbox
|
|
123
|
-
$kendo-checkbox-
|
|
124
|
-
/// The border color of the
|
|
168
|
+
$kendo-checkbox-hover-indeterminate-text: var( --kendo-checkbox-hover-indeterminate-text, k-color(primary-hover) ) !default;
|
|
169
|
+
/// The border color of the hovered and indeterminate CheckBox.
|
|
125
170
|
/// @group checkbox
|
|
126
|
-
$kendo-checkbox-
|
|
171
|
+
$kendo-checkbox-hover-indeterminate-border: var( --kendo-checkbox-hover-indeterminate-border, k-color(primary-hover) ) !default;
|
|
127
172
|
|
|
128
173
|
/// The background color of the disabled and indeterminate CheckBox.
|
|
129
174
|
/// @group checkbox
|
|
130
|
-
$kendo-checkbox-disabled-indeterminate-bg: $kendo-checkbox-bg !default;
|
|
175
|
+
$kendo-checkbox-disabled-indeterminate-bg: var( --kendo-checkbox-disabled-indeterminate-bg, $kendo-checkbox-bg ) !default;
|
|
131
176
|
/// The border color of the disabled and indeterminate CheckBox.
|
|
132
177
|
/// @group checkbox
|
|
133
|
-
$kendo-checkbox-disabled-indeterminate-text:
|
|
178
|
+
$kendo-checkbox-disabled-indeterminate-text: var( --kendo-checkbox-disabled-indeterminate-text, $kendo-checkbox-disabled-text ) !default;
|
|
134
179
|
/// The border color of the disabled and indeterminate CheckBox.
|
|
135
180
|
/// @group checkbox
|
|
136
|
-
$kendo-checkbox-disabled-indeterminate-border:
|
|
137
|
-
|
|
138
|
-
/// The text color of an invalid CheckBox.
|
|
139
|
-
/// @group checkbox
|
|
140
|
-
$kendo-checkbox-invalid-text: k-color(error-on-surface) !default;
|
|
141
|
-
/// The border color of an invalid CheckBox.
|
|
142
|
-
/// @group checkbox
|
|
143
|
-
$kendo-checkbox-invalid-border: k-color(error-emphasis) !default;
|
|
144
|
-
|
|
181
|
+
$kendo-checkbox-disabled-indeterminate-border: var( --kendo-checkbox-disabled-indeterminate-border, $kendo-checkbox-disabled-border ) !default;
|
|
145
182
|
|
|
146
183
|
// Checkbox indicator
|
|
147
184
|
|
|
@@ -151,59 +188,109 @@ $kendo-checkbox-indicator-type: image !default;
|
|
|
151
188
|
|
|
152
189
|
/// The font family of the CheckBox indicator glyph.
|
|
153
190
|
/// @group checkbox
|
|
154
|
-
$kendo-checkbox-glyph-font-family: "WebComponentsIcons", monospace !default;
|
|
191
|
+
$kendo-checkbox-glyph-font-family: var( --kendo-checkbox-glyph-font-family, "WebComponentsIcons", monospace ) !default;
|
|
155
192
|
/// The glyph of the CheckBox indicator.
|
|
156
193
|
/// @group checkbox
|
|
157
|
-
$kendo-checkbox-checked-glyph: "\e118" !default;
|
|
194
|
+
$kendo-checkbox-checked-glyph: var( --kendo-checkbox-checked-glyph, "\e118" ) !default;
|
|
158
195
|
/// The glyph of the indeterminate CheckBox indicator.
|
|
159
196
|
/// @group checkbox
|
|
160
|
-
$kendo-checkbox-indeterminate-glyph: "\e121" !default;
|
|
197
|
+
$kendo-checkbox-indeterminate-glyph: var( --kendo-checkbox-indeterminate-glyph, "\e121" ) !default;
|
|
161
198
|
|
|
162
|
-
/// The image of the hovered CheckBox indicator.
|
|
163
|
-
/// @group checkbox
|
|
164
|
-
$kendo-checkbox-hover-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='#323130' stroke-linecap='square' stroke-linejoin='square' stroke-width='2' d='M3,8 l3,3 l7-7'/></svg>") ) !default;
|
|
165
199
|
/// The image of the checked CheckBox indicator.
|
|
166
200
|
/// @group checkbox
|
|
167
|
-
$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='#ffffff' stroke-linecap='square' stroke-linejoin='square' stroke-width='2' d='M3,8 l3,3 l7-7'/></svg>") ) !default;
|
|
201
|
+
$kendo-checkbox-checked-image: var( --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='#ffffff' stroke-linecap='square' stroke-linejoin='square' stroke-width='2' d='M3,8 l3,3 l7-7'/></svg>") )} ) !default;
|
|
168
202
|
/// The image of the indeterminate CheckBox indicator.
|
|
169
203
|
/// @group checkbox
|
|
170
|
-
$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'><rect x='3' y='3' width='10' height='10' rx='2' fill='#0078d4'/></svg>") ) !default;
|
|
204
|
+
$kendo-checkbox-indeterminate-image: var( --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'><rect x='3' y='3' width='10' height='10' rx='2' fill='#0078d4'/></svg>") )} ) !default;
|
|
205
|
+
|
|
206
|
+
/// The image of the hovered CheckBox indicator.
|
|
207
|
+
/// @group checkbox
|
|
208
|
+
$kendo-checkbox-hover-image: var( --kendo-checkbox-hover-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='#323130' stroke-linecap='square' stroke-linejoin='square' stroke-width='2' d='M3,8 l3,3 l7-7'/></svg>") )} ) !default;
|
|
171
209
|
/// The image of the hovered and indeterminate CheckBox indicator.
|
|
172
210
|
/// @group checkbox
|
|
173
|
-
$kendo-checkbox-hover-indeterminate-image: k-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='#106ebe'/></svg>") ) !default;
|
|
211
|
+
$kendo-checkbox-hover-indeterminate-image: var( --kendo-checkbox-hover-indeterminate-image, #{ k-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='#106ebe'/></svg>") )} ) !default;
|
|
174
212
|
/// The image of the checked CheckBox indicator.
|
|
175
213
|
/// @group checkbox
|
|
176
|
-
$kendo-checkbox-disabled-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='#ffffff' stroke-linecap='square' stroke-linejoin='square' stroke-width='2' d='M3,8 l3,3 l7-7'/></svg>") ) !default;
|
|
214
|
+
$kendo-checkbox-disabled-checked-image: var( --kendo-checkbox-disabled-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='#ffffff' stroke-linecap='square' stroke-linejoin='square' stroke-width='2' d='M3,8 l3,3 l7-7'/></svg>") ) }) !default;
|
|
177
215
|
/// The image of the indeterminate CheckBox indicator.
|
|
178
216
|
/// @group checkbox
|
|
179
|
-
$kendo-checkbox-disabled-indeterminate-image: k-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='#323130'/></svg>") ) !default;
|
|
180
|
-
|
|
217
|
+
$kendo-checkbox-disabled-indeterminate-image: var( --kendo-checkbox-disabled-indeterminate-image, #{ k-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='#323130'/></svg>") )} ) !default;
|
|
181
218
|
|
|
182
219
|
// Checkbox label
|
|
183
220
|
|
|
184
221
|
/// The horizontal margin of the CheckBox inside a label.
|
|
185
222
|
/// @group checkbox
|
|
186
|
-
$kendo-checkbox-label-margin-x: k-spacing(2) !default;
|
|
223
|
+
$kendo-checkbox-label-margin-x: var( --kendo-checkbox-label-margin-x, k-spacing(2) ) !default;
|
|
187
224
|
|
|
188
225
|
|
|
189
226
|
// Checkbox list
|
|
190
227
|
|
|
191
228
|
/// The spacing between the items in a horizontal CheckBox list.
|
|
192
229
|
/// @group checkbox
|
|
193
|
-
$kendo-checkbox-list-spacing: k-spacing(4) !default;
|
|
230
|
+
$kendo-checkbox-list-spacing: var( --kendo-checkbox-list-spacing, k-spacing(4) ) !default;
|
|
194
231
|
/// The horizontal padding of the CheckBox list items.
|
|
195
232
|
/// @group checkbox
|
|
196
|
-
$kendo-checkbox-list-item-padding-x: k-spacing(0) !default;
|
|
233
|
+
$kendo-checkbox-list-item-padding-x: var( --kendo-checkbox-list-item-padding-x, k-spacing(0) ) !default;
|
|
197
234
|
/// The vertical padding of the CheckBox list items.
|
|
198
235
|
/// @group checkbox
|
|
199
|
-
$kendo-checkbox-list-item-padding-y:
|
|
236
|
+
$kendo-checkbox-list-item-padding-y: var( --kendo-checkbox-list-item-padding-y, k-spacing(2) )!default;
|
|
200
237
|
|
|
201
238
|
|
|
202
239
|
// Checkbox ripple
|
|
203
240
|
|
|
204
241
|
/// The background color of the CheckBox' ripple.
|
|
205
242
|
/// @group checkbox
|
|
206
|
-
$kendo-checkbox-ripple-bg: k-color(primary) !default;
|
|
243
|
+
$kendo-checkbox-ripple-bg: var( --kendo-checkbox-ripple-bg, k-color(primary) ) !default;
|
|
207
244
|
/// The opacity of the CheckBox' ripple.
|
|
208
245
|
/// @group checkbox
|
|
209
|
-
$kendo-checkbox-ripple-opacity: .25 !default;
|
|
246
|
+
$kendo-checkbox-ripple-opacity: var( --kendo-checkbox-ripple-opacity, .25 ) !default;
|
|
247
|
+
|
|
248
|
+
@forward "@progress/kendo-theme-core/scss/components/checkbox/_variables.scss" with (
|
|
249
|
+
$kendo-checkbox-border-width: $kendo-checkbox-border-width,
|
|
250
|
+
$kendo-checkbox-sm-size: $kendo-checkbox-sm-size,
|
|
251
|
+
$kendo-checkbox-md-size: $kendo-checkbox-md-size,
|
|
252
|
+
$kendo-checkbox-lg-size: $kendo-checkbox-lg-size,
|
|
253
|
+
$kendo-checkbox-sm-glyph-size: $kendo-checkbox-sm-glyph-size,
|
|
254
|
+
$kendo-checkbox-md-glyph-size: $kendo-checkbox-md-glyph-size,
|
|
255
|
+
$kendo-checkbox-lg-glyph-size: $kendo-checkbox-lg-glyph-size,
|
|
256
|
+
$kendo-checkbox-sm-ripple-size: $kendo-checkbox-sm-ripple-size,
|
|
257
|
+
$kendo-checkbox-md-ripple-size: $kendo-checkbox-md-ripple-size,
|
|
258
|
+
$kendo-checkbox-lg-ripple-size: $kendo-checkbox-lg-ripple-size,
|
|
259
|
+
$kendo-checkbox-sizes: $kendo-checkbox-sizes,
|
|
260
|
+
$kendo-checkbox-bg: $kendo-checkbox-bg,
|
|
261
|
+
$kendo-checkbox-text: $kendo-checkbox-text,
|
|
262
|
+
$kendo-checkbox-border: $kendo-checkbox-border,
|
|
263
|
+
$kendo-checkbox-hover-bg: $kendo-checkbox-hover-bg,
|
|
264
|
+
$kendo-checkbox-hover-text: $kendo-checkbox-hover-text,
|
|
265
|
+
$kendo-checkbox-hover-border: $kendo-checkbox-hover-border,
|
|
266
|
+
$kendo-checkbox-checked-bg: $kendo-checkbox-checked-bg,
|
|
267
|
+
$kendo-checkbox-checked-text: $kendo-checkbox-checked-text,
|
|
268
|
+
$kendo-checkbox-checked-border: $kendo-checkbox-checked-border,
|
|
269
|
+
$kendo-checkbox-indeterminate-bg: $kendo-checkbox-indeterminate-bg,
|
|
270
|
+
$kendo-checkbox-indeterminate-text: $kendo-checkbox-indeterminate-text,
|
|
271
|
+
$kendo-checkbox-indeterminate-border: $kendo-checkbox-indeterminate-border,
|
|
272
|
+
$kendo-checkbox-focus-border: $kendo-checkbox-focus-border,
|
|
273
|
+
$kendo-checkbox-focus-shadow: $kendo-checkbox-focus-shadow,
|
|
274
|
+
$kendo-checkbox-focus-checked-border: $kendo-checkbox-focus-checked-border,
|
|
275
|
+
$kendo-checkbox-focus-checked-shadow: $kendo-checkbox-focus-checked-shadow,
|
|
276
|
+
$kendo-checkbox-disabled-bg: $kendo-checkbox-disabled-bg,
|
|
277
|
+
$kendo-checkbox-disabled-text: $kendo-checkbox-disabled-text,
|
|
278
|
+
$kendo-checkbox-disabled-border: $kendo-checkbox-disabled-border,
|
|
279
|
+
$kendo-checkbox-disabled-checked-bg: $kendo-checkbox-disabled-checked-bg,
|
|
280
|
+
$kendo-checkbox-disabled-checked-text: $kendo-checkbox-disabled-checked-text,
|
|
281
|
+
$kendo-checkbox-disabled-checked-border: $kendo-checkbox-disabled-checked-border,
|
|
282
|
+
$kendo-checkbox-invalid-text: $kendo-checkbox-invalid-text,
|
|
283
|
+
$kendo-checkbox-invalid-border: $kendo-checkbox-invalid-border,
|
|
284
|
+
$kendo-checkbox-indicator-type: $kendo-checkbox-indicator-type,
|
|
285
|
+
$kendo-checkbox-glyph-font-family: $kendo-checkbox-glyph-font-family,
|
|
286
|
+
$kendo-checkbox-checked-glyph: $kendo-checkbox-checked-glyph,
|
|
287
|
+
$kendo-checkbox-indeterminate-glyph: $kendo-checkbox-indeterminate-glyph,
|
|
288
|
+
$kendo-checkbox-checked-image: $kendo-checkbox-checked-image,
|
|
289
|
+
$kendo-checkbox-indeterminate-image: $kendo-checkbox-indeterminate-image,
|
|
290
|
+
$kendo-checkbox-label-margin-x: $kendo-checkbox-label-margin-x,
|
|
291
|
+
$kendo-checkbox-list-spacing: $kendo-checkbox-list-spacing,
|
|
292
|
+
$kendo-checkbox-list-item-padding-x: $kendo-checkbox-list-item-padding-x,
|
|
293
|
+
$kendo-checkbox-list-item-padding-y: $kendo-checkbox-list-item-padding-y,
|
|
294
|
+
$kendo-checkbox-ripple-bg: $kendo-checkbox-ripple-bg,
|
|
295
|
+
$kendo-checkbox-ripple-opacity: $kendo-checkbox-ripple-opacity
|
|
296
|
+
);
|
package/scss/chip/_layout.scss
CHANGED
|
@@ -1,39 +1,16 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
2
|
@use "../core/_index.scss" as *;
|
|
3
3
|
@use "./_variables.scss" as *;
|
|
4
|
+
@use "@progress/kendo-theme-core/scss/components/chip/_layout.scss" as *;
|
|
4
5
|
|
|
5
6
|
@mixin kendo-chip--layout() {
|
|
6
7
|
|
|
8
|
+
@include kendo-chip--layout-base();
|
|
9
|
+
|
|
7
10
|
// Chip
|
|
8
11
|
.k-chip {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
border-width: var( --kendo-chip-border-width, #{ $kendo-chip-border-width } );
|
|
12
|
-
border-style: solid;
|
|
13
|
-
outline: 0;
|
|
14
|
-
font-family: var( --kendo-chip-font-family, #{ $kendo-chip-font-family } );
|
|
15
|
-
font-weight: var( --kendo-chip-font-weight, #{ $kendo-chip-font-weight } ) ;
|
|
16
|
-
font-size: var( --kendo-chip-font-size, 1rem );
|
|
17
|
-
line-height: var( --kendo-chip-line-height, normal );
|
|
18
|
-
display: inline-flex;
|
|
19
|
-
flex-flow: row nowrap;
|
|
20
|
-
align-items: center;
|
|
21
|
-
justify-content: center;
|
|
22
|
-
gap: var( --kendo-chip-spacing, #{ $kendo-chip-spacing } );
|
|
23
|
-
position: relative;
|
|
24
|
-
overflow: hidden;
|
|
25
|
-
cursor: pointer;
|
|
26
|
-
user-select: none;
|
|
27
|
-
|
|
28
|
-
*,
|
|
29
|
-
*::before,
|
|
30
|
-
*::after {
|
|
31
|
-
box-sizing: border-box;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.k-selected-icon-wrapper {
|
|
35
|
-
display: none !important; // stylelint-disable-line declaration-no-important
|
|
36
|
-
}
|
|
12
|
+
// TODO: Decide wether to define the same variable for the rest of the themes, or remove it
|
|
13
|
+
font-family: $kendo-chip-font-family;
|
|
37
14
|
|
|
38
15
|
&:hover,
|
|
39
16
|
&:focus {
|
|
@@ -46,122 +23,19 @@
|
|
|
46
23
|
content: '';
|
|
47
24
|
position: absolute;
|
|
48
25
|
border: medium none;
|
|
49
|
-
inset:
|
|
50
|
-
outline-width:
|
|
51
|
-
outline-style:
|
|
26
|
+
inset: $kendo-chip-focus-offset;
|
|
27
|
+
outline-width: $kendo-chip-focus-outline-width;
|
|
28
|
+
outline-style: $kendo-chip-focus-outline-style;
|
|
52
29
|
z-index: 1;
|
|
53
30
|
}
|
|
54
31
|
}
|
|
55
32
|
|
|
56
33
|
|
|
57
|
-
// Chip content
|
|
58
|
-
.k-chip-content {
|
|
59
|
-
min-width: 0;
|
|
60
|
-
display: flex;
|
|
61
|
-
flex-flow: row nowrap;
|
|
62
|
-
align-items: center;
|
|
63
|
-
flex: 1 1 auto;
|
|
64
|
-
|
|
65
|
-
// Adjustment for kendo-icon-wrapper
|
|
66
|
-
.k-icon-wrapper-host {
|
|
67
|
-
display: initial;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.k-chip-content:first-child {
|
|
72
|
-
margin-inline-start: var( --kendo-chip-spacing, #{ $kendo-chip-spacing } );
|
|
73
|
-
}
|
|
74
|
-
.k-chip-content:last-child {
|
|
75
|
-
margin-inline-end: var( --kendo-chip-spacing, #{ $kendo-chip-spacing } );
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
// Chip text
|
|
79
|
-
.k-chip-text,
|
|
80
|
-
.k-chip-label {
|
|
81
|
-
padding-block: .5em;
|
|
82
|
-
padding-inline: 0;
|
|
83
|
-
margin-block: -.5em;
|
|
84
|
-
margin-inline: 0;
|
|
85
|
-
white-space: nowrap;
|
|
86
|
-
text-overflow: ellipsis;
|
|
87
|
-
overflow: hidden;
|
|
88
|
-
flex: 1 1 auto;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
|
|
92
34
|
// Chip avatar
|
|
93
35
|
.k-chip-avatar {
|
|
94
|
-
width:
|
|
95
|
-
height:
|
|
96
|
-
flex-basis:
|
|
97
|
-
border-radius: 50%;
|
|
98
|
-
background-size: cover;
|
|
99
|
-
background-position: center;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
// Chip icon
|
|
104
|
-
.k-chip-icon {
|
|
105
|
-
display: flex;
|
|
106
|
-
align-items: center;
|
|
107
|
-
justify-content: center;
|
|
108
|
-
flex: none;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
// Actions
|
|
113
|
-
.k-chip-actions {
|
|
114
|
-
margin-block: -5em;
|
|
115
|
-
margin-inline: 0;
|
|
116
|
-
flex: none;
|
|
117
|
-
display: flex;
|
|
118
|
-
flex-flow: row nowrap;
|
|
119
|
-
align-items: center;
|
|
120
|
-
align-self: center;
|
|
121
|
-
}
|
|
122
|
-
.k-chip-action {
|
|
123
|
-
flex: none;
|
|
124
|
-
display: flex;
|
|
125
|
-
flex-flow: row nowrap;
|
|
126
|
-
align-items: center;
|
|
127
|
-
align-self: center;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
// Chip list
|
|
132
|
-
.k-chip-list {
|
|
133
|
-
min-width: 0px;
|
|
134
|
-
display: inline-flex;
|
|
135
|
-
flex-wrap: wrap;
|
|
136
|
-
align-items: center;
|
|
137
|
-
position: relative;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
// Sizes
|
|
142
|
-
@each $size, $size-props in $kendo-chip-sizes {
|
|
143
|
-
$_padding-x: map.get( $size-props, padding-x );
|
|
144
|
-
$_padding-y: map.get( $size-props, padding-y );
|
|
145
|
-
$_font-size: map.get( $size-props, font-size );
|
|
146
|
-
$_line-height: map.get( $size-props, line-height );
|
|
147
|
-
|
|
148
|
-
.k-chip-#{$size} {
|
|
149
|
-
--kendo-chip-padding-x: #{ $_padding-x };
|
|
150
|
-
--kendo-chip-padding-y: #{ $_padding-y };
|
|
151
|
-
--kendo-chip-font-size: #{ $_font-size };
|
|
152
|
-
--kendo-chip-line-height: #{ $_line-height };
|
|
153
|
-
|
|
154
|
-
.k-chip-action {
|
|
155
|
-
padding: $_padding-y;
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
// Sizes
|
|
161
|
-
@each $name, $size in $kendo-chip-list-sizes {
|
|
162
|
-
.k-chip-list-#{$name} {
|
|
163
|
-
gap: $size;
|
|
164
|
-
}
|
|
36
|
+
width: $kendo-chip-avatar-width;
|
|
37
|
+
height: $kendo-chip-avatar-height;
|
|
38
|
+
flex-basis: $kendo-chip-avatar-flex-basis;
|
|
165
39
|
}
|
|
166
40
|
|
|
167
41
|
}
|