@progress/kendo-theme-material 4.43.1-dev.3 → 4.43.1-dev.7
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/README.md +5 -8
- package/dist/all.css +2469 -1772
- package/dist/all.scss +2585 -2467
- package/modules/@progress/kendo-theme-default/package.json +2 -2
- package/modules/@progress/kendo-theme-default/scss/adaptive/_layout.scss +40 -86
- package/modules/@progress/kendo-theme-default/scss/adaptive/_theme.scss +0 -9
- package/modules/@progress/kendo-theme-default/scss/appbar/_layout.scss +13 -0
- package/modules/@progress/kendo-theme-default/scss/appbar/_variables.scss +1 -1
- package/modules/@progress/kendo-theme-default/scss/autocomplete/_layout.scss +4 -4
- package/modules/@progress/kendo-theme-default/scss/autocomplete/_theme.scss +20 -39
- package/modules/@progress/kendo-theme-default/scss/autocomplete/_variables.scss +0 -19
- package/modules/@progress/kendo-theme-default/scss/avatar/_variables.scss +11 -1
- package/modules/@progress/kendo-theme-default/scss/button/_layout.scss +77 -101
- package/modules/@progress/kendo-theme-default/scss/button/_theme.scss +177 -112
- package/modules/@progress/kendo-theme-default/scss/button/_variables.scss +77 -11
- package/modules/@progress/kendo-theme-default/scss/calendar/_layout.scss +2 -14
- package/modules/@progress/kendo-theme-default/scss/card/_variables.scss +4 -4
- package/modules/@progress/kendo-theme-default/scss/chat/_layout.scss +9 -9
- package/modules/@progress/kendo-theme-default/scss/chat/_theme.scss +0 -21
- package/modules/@progress/kendo-theme-default/scss/chat/_variables.scss +0 -7
- package/modules/@progress/kendo-theme-default/scss/checkbox/_index.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/checkbox/_layout.scss +80 -146
- package/modules/@progress/kendo-theme-default/scss/checkbox/_theme.scss +6 -2
- package/modules/@progress/kendo-theme-default/scss/checkbox/_variables.scss +87 -18
- package/modules/@progress/kendo-theme-default/scss/color-preview/_layout.scss +49 -7
- package/modules/@progress/kendo-theme-default/scss/color-preview/_theme.scss +0 -14
- package/modules/@progress/kendo-theme-default/scss/coloreditor/_layout.scss +5 -1
- package/modules/@progress/kendo-theme-default/scss/coloreditor/_variables.scss +3 -3
- package/modules/@progress/kendo-theme-default/scss/colorgradient/_layout.scss +0 -4
- package/modules/@progress/kendo-theme-default/scss/colorpicker/_layout.scss +6 -0
- package/modules/@progress/kendo-theme-default/scss/combobox/_layout.scss +22 -29
- package/modules/@progress/kendo-theme-default/scss/combobox/_theme.scss +59 -99
- package/modules/@progress/kendo-theme-default/scss/combobox/_variables.scss +1 -32
- package/modules/@progress/kendo-theme-default/scss/common/_loading.scss +1 -13
- package/modules/@progress/kendo-theme-default/scss/daterangepicker/_index.scss +10 -0
- package/modules/@progress/kendo-theme-default/scss/daterangepicker/_layout.scss +27 -0
- package/modules/@progress/kendo-theme-default/scss/daterangepicker/_theme.scss +3 -0
- package/modules/@progress/kendo-theme-default/scss/daterangepicker/_variables.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/dropdowngrid/_layout.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/dropdownlist/_layout.scss +37 -55
- package/modules/@progress/kendo-theme-default/scss/dropdownlist/_theme.scss +33 -75
- package/modules/@progress/kendo-theme-default/scss/editor/_layout.scss +7 -22
- package/modules/@progress/kendo-theme-default/scss/forms/_layout.scss +6 -12
- package/modules/@progress/kendo-theme-default/scss/gantt/_layout.scss +1 -1
- package/modules/@progress/kendo-theme-default/scss/grid/_layout.scss +128 -97
- package/modules/@progress/kendo-theme-default/scss/grid/_theme.scss +0 -6
- package/modules/@progress/kendo-theme-default/scss/grid/_variables.scss +7 -9
- package/modules/@progress/kendo-theme-default/scss/imageeditor/_layout.scss +4 -8
- package/modules/@progress/kendo-theme-default/scss/imageeditor/_variables.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/index.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/input/_layout.scss +1 -1
- package/modules/@progress/kendo-theme-default/scss/input/_variables.scss +5 -5
- package/modules/@progress/kendo-theme-default/scss/list/_index.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/list/_layout.scss +16 -51
- package/modules/@progress/kendo-theme-default/scss/list/_theme.scss +4 -3
- package/modules/@progress/kendo-theme-default/scss/list/_variables.scss +66 -6
- package/modules/@progress/kendo-theme-default/scss/listbox/_layout.scss +9 -0
- package/modules/@progress/kendo-theme-default/scss/listbox/_variables.scss +1 -1
- package/modules/@progress/kendo-theme-default/scss/listview/_layout.scss +2 -9
- package/modules/@progress/kendo-theme-default/scss/map/_layout.scss +7 -5
- package/modules/@progress/kendo-theme-default/scss/maskedtextbox/_layout.scss +17 -31
- package/modules/@progress/kendo-theme-default/scss/maskedtextbox/_theme.scss +44 -14
- package/modules/@progress/kendo-theme-default/scss/mediaplayer/_layout.scss +13 -1
- package/modules/@progress/kendo-theme-default/scss/menu/_layout.scss +48 -5
- package/modules/@progress/kendo-theme-default/scss/menu/_theme.scss +6 -2
- package/modules/@progress/kendo-theme-default/scss/menu/_variables.scss +1 -1
- package/modules/@progress/kendo-theme-default/scss/multiselect/_layout.scss +2 -2
- package/modules/@progress/kendo-theme-default/scss/numerictextbox/_layout.scss +9 -27
- package/modules/@progress/kendo-theme-default/scss/numerictextbox/_theme.scss +64 -84
- package/modules/@progress/kendo-theme-default/scss/numerictextbox/_variables.scss +0 -27
- package/modules/@progress/kendo-theme-default/scss/orgchart/_variables.scss +2 -2
- package/modules/@progress/kendo-theme-default/scss/pager/_variables.scss +1 -1
- package/modules/@progress/kendo-theme-default/scss/pdf-viewer/_layout.scss +20 -29
- package/modules/@progress/kendo-theme-default/scss/pdf-viewer/_variables.scss +2 -5
- package/modules/@progress/kendo-theme-default/scss/radio/_index.scss +1 -0
- package/modules/@progress/kendo-theme-default/scss/radio/_layout.scss +90 -136
- package/modules/@progress/kendo-theme-default/scss/radio/_theme.scss +2 -2
- package/modules/@progress/kendo-theme-default/scss/radio/_variables.scss +88 -26
- package/modules/@progress/kendo-theme-default/scss/scheduler/_layout.scss +26 -13
- package/modules/@progress/kendo-theme-default/scss/searchbox/_layout.scss +22 -8
- package/modules/@progress/kendo-theme-default/scss/searchbox/_theme.scss +16 -25
- package/modules/@progress/kendo-theme-default/scss/searchbox/_variables.scss +0 -20
- package/modules/@progress/kendo-theme-default/scss/skeleton/_layout.scss +1 -1
- package/modules/@progress/kendo-theme-default/scss/slider/_layout.scss +69 -146
- package/modules/@progress/kendo-theme-default/scss/slider/_theme.scss +0 -6
- package/modules/@progress/kendo-theme-default/scss/spreadsheet/_layout.scss +32 -23
- package/modules/@progress/kendo-theme-default/scss/table/_layout.scss +29 -6
- package/modules/@progress/kendo-theme-default/scss/table/_theme.scss +3 -2
- package/modules/@progress/kendo-theme-default/scss/table/_variables.scss +3 -3
- package/modules/@progress/kendo-theme-default/scss/tabstrip/_layout.scss +5 -1
- package/modules/@progress/kendo-theme-default/scss/textarea/_layout.scss +1 -1
- package/modules/@progress/kendo-theme-default/scss/timeselector/_layout.scss +3 -2
- package/modules/@progress/kendo-theme-default/scss/toolbar/_layout.scss +37 -2
- package/modules/@progress/kendo-theme-default/scss/toolbar/_theme.scss +35 -7
- package/modules/@progress/kendo-theme-default/scss/treelist/_layout.scss +4 -0
- package/modules/@progress/kendo-theme-default/scss/treeview/_layout.scss +130 -116
- package/modules/@progress/kendo-theme-default/scss/treeview/_theme.scss +36 -25
- package/modules/@progress/kendo-theme-default/scss/treeview/_variables.scss +67 -13
- package/modules/@progress/kendo-theme-default/scss/typography/_variables.scss +3 -3
- package/modules/@progress/kendo-theme-default/scss/window/_layout.scss +2 -2
- package/modules/@progress/kendo-theme-default/scss/window/_variables.scss +1 -1
- package/package.json +3 -3
- package/scss/action-buttons/_theme.scss +1 -2
- package/scss/appbar/_variables.scss +1 -1
- package/scss/autocomplete/_variables.scss +0 -19
- package/scss/avatar/_variables.scss +11 -1
- package/scss/button/_layout.scss +29 -4
- package/scss/button/_theme.scss +43 -56
- package/scss/button/_variables.scss +80 -14
- package/scss/chat/_variables.scss +0 -7
- package/scss/checkbox/_index.scss +1 -0
- package/scss/checkbox/_theme.scss +2 -9
- package/scss/checkbox/_variables.scss +89 -19
- package/scss/coloreditor/_variables.scss +3 -3
- package/scss/combobox/_layout.scss +4 -5
- package/scss/combobox/_variables.scss +1 -32
- package/scss/daterangepicker/_index.scss +10 -0
- package/scss/daterangepicker/_layout.scss +1 -0
- package/scss/daterangepicker/_theme.scss +1 -0
- package/scss/daterangepicker/_variables.scss +1 -0
- package/scss/dropdownlist/_layout.scss +2 -11
- package/scss/dropdownlist/_theme.scss +0 -31
- package/scss/fab/index.md +0 -0
- package/scss/filter/_variables.scss +1 -1
- package/scss/grid/_layout.scss +0 -8
- package/scss/grid/_variables.scss +7 -9
- package/scss/imageeditor/_variables.scss +1 -0
- package/scss/index.scss +1 -0
- package/scss/input/_variables.scss +7 -7
- package/scss/list/_index.scss +1 -0
- package/scss/list/_layout.scss +4 -10
- package/scss/list/_variables.scss +65 -5
- package/scss/listbox/_variables.scss +5 -5
- package/scss/maskedtextbox/_layout.scss +11 -0
- package/scss/menu/_theme.scss +2 -0
- package/scss/menu/_variables.scss +3 -3
- package/scss/numerictextbox/_layout.scss +4 -5
- package/scss/numerictextbox/_variables.scss +0 -27
- package/scss/orgchart/_variables.scss +2 -2
- package/scss/pager/_variables.scss +1 -1
- package/scss/pdf-viewer/_variables.scss +2 -5
- package/scss/radio/_index.scss +1 -0
- package/scss/radio/_theme.scss +2 -9
- package/scss/radio/_variables.scss +83 -23
- package/scss/scheduler/_layout.scss +0 -16
- package/scss/searchbox/_variables.scss +0 -20
- package/scss/table/_variables.scss +3 -3
- package/scss/toolbar/_layout.scss +7 -1
- package/scss/toolbar/_theme.scss +2 -4
- package/scss/treeview/_theme.scss +29 -22
- package/scss/treeview/_variables.scss +70 -16
|
@@ -1,54 +1,105 @@
|
|
|
1
1
|
// Radio button
|
|
2
|
+
|
|
2
3
|
$radio-size: map-get( $spacing, 4 ) !default;
|
|
4
|
+
/// Border radius of radio button.
|
|
5
|
+
/// @group radio
|
|
3
6
|
$radio-radius: 50% !default;
|
|
7
|
+
/// Border width of radio button.
|
|
8
|
+
/// @group radio
|
|
4
9
|
$radio-border-width: 2px !default;
|
|
5
|
-
$radio-line-height: calc(#{$radio-size} + #{$radio-border-width}) !default;
|
|
6
10
|
|
|
7
|
-
|
|
8
|
-
|
|
11
|
+
/// Background color of radio button.
|
|
12
|
+
/// @group radio
|
|
13
|
+
$radio-bg: $checkbox-bg !default;
|
|
14
|
+
/// Color of radio button.
|
|
15
|
+
/// @group radio
|
|
16
|
+
$radio-text: $checkbox-text !default;
|
|
17
|
+
/// Border color of radio button.
|
|
18
|
+
/// @group radio
|
|
9
19
|
$radio-border: $checkbox-border !default;
|
|
10
20
|
|
|
21
|
+
/// Background color of hovered radio button.
|
|
22
|
+
/// @group radio
|
|
11
23
|
$radio-hovered-bg: null !default;
|
|
24
|
+
/// Color of hovered radio button.
|
|
25
|
+
/// @group radio
|
|
12
26
|
$radio-hovered-text: null !default;
|
|
13
|
-
|
|
27
|
+
/// Border color of hovered radio button.
|
|
28
|
+
/// @group radio
|
|
29
|
+
$radio-hovered-border: null !default;
|
|
14
30
|
|
|
31
|
+
/// Background color of checked radio button.
|
|
32
|
+
/// @group radio
|
|
15
33
|
$radio-checked-bg: null !default;
|
|
34
|
+
/// Color of checked radio button.
|
|
35
|
+
/// @group radio
|
|
16
36
|
$radio-checked-text: $primary !default;
|
|
37
|
+
/// Border color of checked radio button.
|
|
38
|
+
/// @group radio
|
|
17
39
|
$radio-checked-border: $radio-checked-text !default;
|
|
18
40
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
$radio-
|
|
22
|
-
|
|
23
|
-
|
|
41
|
+
/// Border color of focused radio button.
|
|
42
|
+
/// @group radio
|
|
43
|
+
$radio-focused-border: $checkbox-hovered-border !default;
|
|
44
|
+
/// Box shadow of focused radio button.
|
|
45
|
+
/// @group radio
|
|
24
46
|
$radio-focused-shadow: $checkbox-focused-shadow !default;
|
|
47
|
+
/// Border color of focused and checked radio button.
|
|
48
|
+
/// @group radio
|
|
25
49
|
$radio-focused-checked-border: $checkbox-checked-border !default;
|
|
50
|
+
/// Box shadow of focused and checked radio button.
|
|
51
|
+
/// @group radio
|
|
26
52
|
$radio-focused-checked-shadow: $checkbox-focused-checked-shadow !default;
|
|
27
53
|
|
|
54
|
+
/// Background color of disabled radio button.
|
|
55
|
+
/// @group radio
|
|
28
56
|
$radio-disabled-bg: null !default;
|
|
57
|
+
/// Color of disabled radio button.
|
|
58
|
+
/// @group radio
|
|
29
59
|
$radio-disabled-text: null !default;
|
|
30
|
-
|
|
60
|
+
/// Border color of disabled radio button.
|
|
61
|
+
/// @group radio
|
|
62
|
+
$radio-disabled-border: $checkbox-disabled-border !default;
|
|
31
63
|
|
|
64
|
+
/// Background color of disabled and checked radio button.
|
|
65
|
+
/// @group radio
|
|
32
66
|
$radio-disabled-checked-bg: null !default;
|
|
67
|
+
/// Color of disabled and checked radio button.
|
|
68
|
+
/// @group radio
|
|
33
69
|
$radio-disabled-checked-text: $radio-disabled-border !default;
|
|
70
|
+
/// Border color of disabled and checked radio button.
|
|
71
|
+
/// @group radio
|
|
34
72
|
$radio-disabled-checked-border: $radio-disabled-border !default;
|
|
35
73
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
$radio-invalid-
|
|
74
|
+
/// Background color of invalid radio button.
|
|
75
|
+
/// @group radio
|
|
76
|
+
$radio-invalid-bg: $checkbox-invalid-bg !default;
|
|
77
|
+
/// Color of invalid radio button.
|
|
78
|
+
/// @group radio
|
|
79
|
+
$radio-invalid-text: $checkbox-invalid-text !default;
|
|
80
|
+
/// Border color of invalid radio button.
|
|
81
|
+
/// @group radio
|
|
82
|
+
$radio-invalid-border: $checkbox-invalid-border !default;
|
|
39
83
|
|
|
40
84
|
|
|
41
85
|
// Radio indicator
|
|
42
|
-
|
|
86
|
+
|
|
87
|
+
/// Type of radio button indicator.
|
|
88
|
+
/// @group radio
|
|
89
|
+
$radio-indicator-type: image !default;
|
|
43
90
|
|
|
44
91
|
$radio-glyph-font-family: "WebComponentsIcons", monospace !default;
|
|
45
92
|
$radio-glyph-size: 12px !default;
|
|
93
|
+
/// Glyph of radio button indicator.
|
|
94
|
+
/// @group radio
|
|
46
95
|
$radio-checked-glyph: "\e308" !default;
|
|
47
96
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
$radio-
|
|
51
|
-
|
|
97
|
+
/// Image of checked radio button indicator.
|
|
98
|
+
/// @group radio
|
|
99
|
+
$radio-checked-image: escape-svg( url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><circle cx='50%' cy='50%' r='4' fill='#{$radio-checked-text}'/></svg>") ) !default;
|
|
100
|
+
/// Image of disabled and checked radio button indicator.
|
|
101
|
+
/// @group radio
|
|
102
|
+
$radio-disabled-checked-image: escape-svg( url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><circle cx='50%' cy='50%' r='4' fill='#{$radio-disabled-checked-text}'/></svg>") ) !default;
|
|
52
103
|
|
|
53
104
|
|
|
54
105
|
// Radio label
|
|
@@ -56,14 +107,23 @@ $radio-label-margin-x: map-get( $spacing, 1 ) !default;
|
|
|
56
107
|
|
|
57
108
|
|
|
58
109
|
// Radio list
|
|
59
|
-
|
|
60
|
-
|
|
110
|
+
|
|
111
|
+
/// Spacing between items of horizontal radio button list.
|
|
112
|
+
/// @group radio
|
|
113
|
+
$radio-list-spacing: map-get( $spacing, 4 ) !default;
|
|
114
|
+
/// Horizontal padding of radio button list items.
|
|
115
|
+
/// @group radio
|
|
61
116
|
$radio-list-item-padding-x: 0px !default;
|
|
117
|
+
/// Vertical padding of radio button list items.
|
|
118
|
+
/// @group radio
|
|
62
119
|
$radio-list-item-padding-y: $list-item-padding-y !default;
|
|
63
|
-
$radio-list-horizontal-item-margin-x: 32px !default;
|
|
64
120
|
|
|
65
121
|
|
|
66
122
|
// Radio ripple
|
|
67
123
|
$radio-ripple-size: $radio-size * 3 !default;
|
|
68
|
-
|
|
69
|
-
|
|
124
|
+
/// Background color of radio button ripple.
|
|
125
|
+
/// @group radio
|
|
126
|
+
$radio-ripple-bg: $primary !default;
|
|
127
|
+
/// Opacity of radio button ripple.
|
|
128
|
+
/// @group radio
|
|
129
|
+
$radio-ripple-opacity: .2 !default;
|
|
@@ -199,8 +199,6 @@
|
|
|
199
199
|
|
|
200
200
|
.k-scheduler-edit-form {
|
|
201
201
|
|
|
202
|
-
.k-edit-form-container { width: 390px; }
|
|
203
|
-
|
|
204
202
|
.k-edit-label {
|
|
205
203
|
width: auto;
|
|
206
204
|
margin-bottom: .5em;
|
|
@@ -245,18 +243,4 @@
|
|
|
245
243
|
width: 45%;
|
|
246
244
|
}
|
|
247
245
|
|
|
248
|
-
|
|
249
|
-
// Recurrence editor
|
|
250
|
-
.k-edit-field .k-recur-interval,
|
|
251
|
-
.k-edit-field .k-recur-count,
|
|
252
|
-
.k-edit-field .k-recur-month,
|
|
253
|
-
.k-edit-field .k-recur-monthday,
|
|
254
|
-
.k-edit-field .k-recur-weekday-offset,
|
|
255
|
-
.k-edit-field .k-recur-weekday {
|
|
256
|
-
width: 28%;
|
|
257
|
-
}
|
|
258
|
-
.k-edit-field .k-recur-until {
|
|
259
|
-
width: 66%;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
246
|
}
|
|
@@ -1,21 +1 @@
|
|
|
1
1
|
// Searchbox
|
|
2
|
-
$searchbox-padding-x: $input-padding-x !default;
|
|
3
|
-
$searchbox-padding-y: $input-padding-y !default;
|
|
4
|
-
$searchbox-border-width: $input-border-width !default;
|
|
5
|
-
$searchbox-border-radius: $input-border-radius !default;
|
|
6
|
-
|
|
7
|
-
$searchbox-font-family: $input-font-family !default;
|
|
8
|
-
$searchbox-font-size: $input-font-size !default;
|
|
9
|
-
$searchbox-line-height: $input-line-height !default;
|
|
10
|
-
|
|
11
|
-
$searchbox-bg: $input-bg !default;
|
|
12
|
-
$searchbox-text: $input-text !default;
|
|
13
|
-
$searchbox-border: $input-border !default;
|
|
14
|
-
|
|
15
|
-
$searchbox-hover-bg: $input-hovered-bg !default;
|
|
16
|
-
$searchbox-hover-text: $input-hovered-text !default;
|
|
17
|
-
$searchbox-hover-border: $input-hovered-border !default;
|
|
18
|
-
|
|
19
|
-
$searchbox-focus-bg: $input-focused-bg !default;
|
|
20
|
-
$searchbox-focus-text: $input-focused-text !default;
|
|
21
|
-
$searchbox-focus-border: $input-focused-border !default;
|
|
@@ -58,13 +58,13 @@ $table-footer-border: $grid-footer-border !default;
|
|
|
58
58
|
|
|
59
59
|
/// Background color of group rows in table.
|
|
60
60
|
/// @group table
|
|
61
|
-
$table-group-row-bg: $
|
|
61
|
+
$table-group-row-bg: $table-header-bg !default;
|
|
62
62
|
/// Text color of group rows in table.
|
|
63
63
|
/// @group table
|
|
64
|
-
$table-group-row-text: $
|
|
64
|
+
$table-group-row-text: $table-header-text !default;
|
|
65
65
|
/// Border color of group rows in table.
|
|
66
66
|
/// @group table
|
|
67
|
-
$table-group-row-border:
|
|
67
|
+
$table-group-row-border: $table-header-border !default;
|
|
68
68
|
|
|
69
69
|
|
|
70
70
|
/// Background color of alternating rows in table.
|
package/scss/toolbar/_theme.scss
CHANGED
|
@@ -4,13 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
.k-toolbar {
|
|
6
6
|
|
|
7
|
-
.k-button
|
|
8
|
-
.k-button-secondary {
|
|
7
|
+
.k-button {
|
|
9
8
|
background-color: try-shade( $button-bg );
|
|
10
9
|
}
|
|
11
10
|
|
|
12
|
-
.k-button-primary
|
|
13
|
-
.k-button.k-primary {
|
|
11
|
+
.k-button-primary {
|
|
14
12
|
background-color: $primary-button-bg;
|
|
15
13
|
|
|
16
14
|
&:disabled,
|
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
@
|
|
1
|
+
@import "../../modules/@progress/kendo-theme-default/scss/treeview/_theme.scss";
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
.k-treeview {
|
|
5
|
-
@include fill(
|
|
6
|
-
$treeview-text,
|
|
7
|
-
$treeview-bg,
|
|
8
|
-
$treeview-border
|
|
9
|
-
);
|
|
3
|
+
@include exports( "treeview/theme/material" ) {
|
|
10
4
|
|
|
5
|
+
// Treeview
|
|
6
|
+
.k-treeview {}
|
|
11
7
|
|
|
12
|
-
// Item
|
|
13
|
-
.k-in {}
|
|
14
8
|
|
|
9
|
+
// Treeview item
|
|
10
|
+
.k-treeview-item {}
|
|
15
11
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
12
|
+
|
|
13
|
+
// Treeview leaf
|
|
14
|
+
.k-treeview-leaf,
|
|
15
|
+
.k-treeview .k-in {
|
|
16
|
+
|
|
17
|
+
// Hover state
|
|
18
|
+
&:hover,
|
|
19
|
+
&.k-state-hover {
|
|
19
20
|
@include fill(
|
|
20
21
|
$treeview-item-hovered-text,
|
|
21
22
|
$treeview-item-hovered-bg,
|
|
@@ -23,15 +24,11 @@
|
|
|
23
24
|
$treeview-item-hovered-gradient
|
|
24
25
|
);
|
|
25
26
|
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
$treeview-item-selected-gradient
|
|
32
|
-
);
|
|
33
|
-
}
|
|
34
|
-
.k-in.k-state-focused {
|
|
27
|
+
|
|
28
|
+
// Focus state
|
|
29
|
+
&:focus,
|
|
30
|
+
&.k-state-focus,
|
|
31
|
+
&.k-state-focused {
|
|
35
32
|
@include fill(
|
|
36
33
|
$treeview-item-hovered-text,
|
|
37
34
|
$treeview-item-hovered-bg,
|
|
@@ -39,6 +36,16 @@
|
|
|
39
36
|
$treeview-item-hovered-gradient
|
|
40
37
|
);
|
|
41
38
|
}
|
|
39
|
+
|
|
40
|
+
// Selected state
|
|
41
|
+
&.k-state-selected {
|
|
42
|
+
@include fill(
|
|
43
|
+
$treeview-item-selected-text,
|
|
44
|
+
$treeview-item-selected-bg,
|
|
45
|
+
$treeview-item-selected-border,
|
|
46
|
+
$treeview-item-selected-gradient
|
|
47
|
+
);
|
|
48
|
+
}
|
|
42
49
|
}
|
|
43
50
|
|
|
44
51
|
}
|
|
@@ -1,47 +1,101 @@
|
|
|
1
|
-
//
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
// TreeviewTreeview
|
|
2
|
+
|
|
3
|
+
/// Font family of the treeview component.
|
|
4
|
+
/// @group treeview
|
|
4
5
|
$treeview-font-family: $font-family !default;
|
|
5
|
-
|
|
6
|
-
|
|
6
|
+
/// Font size of the treeview component.
|
|
7
|
+
/// @group treeview
|
|
8
|
+
$treeview-font-size: 16px !default;
|
|
9
|
+
/// Line height of the treeview component.
|
|
10
|
+
/// @group treeview
|
|
11
|
+
$treeview-line-height: 1.25 !default;
|
|
7
12
|
|
|
13
|
+
/// Indentation of child groups in treeview component.
|
|
14
|
+
/// @group treeview
|
|
8
15
|
$treeview-indent: 16px !default;
|
|
9
16
|
|
|
10
|
-
|
|
11
|
-
|
|
17
|
+
/// Horizontal padding of treeview items.
|
|
18
|
+
/// @group treeview
|
|
19
|
+
$treeview-item-padding-x: map-get( $spacing, 4 ) !default;
|
|
20
|
+
/// Vertical padding of treeview items.
|
|
21
|
+
/// @group treeview
|
|
22
|
+
$treeview-item-padding-y: map-get( $spacing, 2 ) !default;
|
|
23
|
+
/// Border width of treeview items.
|
|
24
|
+
/// @group treeview
|
|
12
25
|
$treeview-item-border-width: 0px !default;
|
|
26
|
+
/// Border radius of treeview items.
|
|
27
|
+
/// @group treeview
|
|
13
28
|
$treeview-item-border-radius: null !default;
|
|
14
29
|
|
|
30
|
+
/// Background color of the treeview component.
|
|
31
|
+
/// @group treeview
|
|
15
32
|
$treeview-bg: null !default;
|
|
33
|
+
/// Text color of the treeview component.
|
|
34
|
+
/// @group treeview
|
|
16
35
|
$treeview-text: $component-text !default;
|
|
36
|
+
/// Border color of the treeview component.
|
|
37
|
+
/// @group treeview
|
|
17
38
|
$treeview-border: null !default;
|
|
18
39
|
|
|
40
|
+
/// Background color of hovered treeview items.
|
|
41
|
+
/// @group treeview
|
|
19
42
|
$treeview-item-hovered-bg: rgba( $treeview-text, .07 ) !default;
|
|
43
|
+
/// Text color of hovered treeview items.
|
|
44
|
+
/// @group treeview
|
|
20
45
|
$treeview-item-hovered-text: null !default;
|
|
46
|
+
/// Border color of hovered treeview items.
|
|
47
|
+
/// @group treeview
|
|
21
48
|
$treeview-item-hovered-border: null !default;
|
|
49
|
+
/// Background gradient of hovered treeview items.
|
|
50
|
+
/// @group treeview
|
|
22
51
|
$treeview-item-hovered-gradient: null !default;
|
|
23
52
|
|
|
53
|
+
/// Background color of selected treeview items.
|
|
54
|
+
/// @group treeview
|
|
24
55
|
$treeview-item-selected-bg: null !default;
|
|
56
|
+
/// Text color of selected treeview items.
|
|
57
|
+
/// @group treeview
|
|
25
58
|
$treeview-item-selected-text: $selected-bg !default;
|
|
59
|
+
/// Border color of selected treeview items.
|
|
60
|
+
/// @group treeview
|
|
26
61
|
$treeview-item-selected-border: null !default;
|
|
62
|
+
/// Background gradient of selected treeview items.
|
|
63
|
+
/// @group treeview
|
|
27
64
|
$treeview-item-selected-gradient: null !default;
|
|
28
65
|
|
|
66
|
+
/// Box shadow of focused treeview items.
|
|
67
|
+
/// @group treeview
|
|
29
68
|
$treeview-item-focused-shadow: null !default;
|
|
30
|
-
$treeview-item-selected-focused-shadow: null !default;
|
|
31
|
-
|
|
32
|
-
$treeview-loadmore-checkboxes-padding-x: calc( #{$icon-spacing} + #{$checkbox-size} + #{$treeview-indent} ) !default;
|
|
33
|
-
$treeview-loadmore-checkboxes-icon-indent: calc( -1 * (#{$icon-spacing} + #{$treeview-indent}) ) !default;
|
|
34
|
-
$treeview-loadmore-checkboxes-icon-margin-x: $icon-spacing !default;
|
|
35
69
|
|
|
70
|
+
/// Background color of load more.
|
|
71
|
+
/// @group treeview
|
|
36
72
|
$treeview-loadmore-bg: transparent !default;
|
|
37
|
-
|
|
73
|
+
/// Text color of load more.
|
|
74
|
+
/// @group treeview
|
|
75
|
+
$treeview-loadmore-text: inherit !default;
|
|
76
|
+
/// Border color of load more.
|
|
77
|
+
/// @group treeview
|
|
38
78
|
$treeview-loadmore-border: null !default;
|
|
39
79
|
|
|
80
|
+
/// Background color of a hovered load more.
|
|
81
|
+
/// @group treeview
|
|
40
82
|
$treeview-loadmore-hover-bg: transparent !default;
|
|
41
|
-
|
|
83
|
+
/// Text color of a hovered load more.
|
|
84
|
+
/// @group treeview
|
|
85
|
+
$treeview-loadmore-hover-text: inherit !default;
|
|
86
|
+
/// Border color of a hovered load more.
|
|
87
|
+
/// @group treeview
|
|
42
88
|
$treeview-loadmore-hover-border: null !default;
|
|
43
89
|
|
|
90
|
+
/// Background color of a focused load more.
|
|
91
|
+
/// @group treeview
|
|
44
92
|
$treeview-loadmore-focus-bg: transparent !default;
|
|
45
|
-
|
|
93
|
+
/// Text color of a focused load more.
|
|
94
|
+
/// @group treeview
|
|
95
|
+
$treeview-loadmore-focus-text: inherit !default;
|
|
96
|
+
/// Border color of a focused load more.
|
|
97
|
+
/// @group treeview
|
|
46
98
|
$treeview-loadmore-focus-border: null !default;
|
|
47
|
-
|
|
99
|
+
/// Box shadow of a focused load more.
|
|
100
|
+
/// @group treeview
|
|
101
|
+
$treeview-loadmore-focus-shadow: $treeview-item-focused-shadow !default;
|