@progress/kendo-theme-material 5.0.0-next.4 → 5.0.2-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/README.md +5 -8
- package/dist/all.css +13810 -14911
- package/dist/all.scss +16868 -18431
- package/dist/material-dataviz-v4.scss +8 -0
- package/lib/swatches/material-dataviz-v4.json +51 -0
- package/package.json +3 -3
- package/scss/_variables.scss +2 -19
- package/scss/action-buttons/_layout.scss +14 -0
- package/scss/action-buttons/_theme.scss +5 -3
- package/scss/adaptive/_layout.scss +0 -11
- package/scss/all.scss +1 -150
- package/scss/appbar/_variables.scss +1 -1
- package/scss/autocomplete/_index.scss +1 -0
- package/scss/autocomplete/_layout.scss +0 -16
- package/scss/autocomplete/_variables.scss +0 -24
- package/scss/avatar/_variables.scss +18 -8
- package/scss/avatar/index.md +0 -0
- package/scss/breadcrumb/_variables.scss +1 -1
- package/scss/button/_index.scss +3 -1
- package/scss/button/_layout.scss +39 -17
- package/scss/button/_theme.scss +72 -126
- package/scss/button/_variables.scss +202 -130
- package/scss/button/index.md +0 -0
- package/scss/calendar/_index.scss +1 -0
- package/scss/calendar/_variables.scss +1 -1
- package/scss/chat/_variables.scss +4 -19
- package/scss/checkbox/_index.scss +2 -0
- package/scss/checkbox/_theme.scss +2 -9
- package/scss/checkbox/_variables.scss +148 -58
- package/scss/checkbox/index.md +0 -0
- package/scss/chip/_index.scss +1 -0
- package/scss/chip/_theme.scss +44 -0
- package/scss/chip/_variables.scss +142 -190
- package/scss/chip/index.md +0 -0
- package/scss/color-preview/_index.scss +11 -0
- package/scss/color-preview/_layout.scss +1 -0
- package/scss/color-preview/_theme.scss +1 -0
- package/scss/color-preview/_variables.scss +14 -0
- package/scss/coloreditor/_index.scss +14 -0
- package/scss/coloreditor/_layout.scss +1 -0
- package/scss/coloreditor/_theme.scss +1 -0
- package/scss/coloreditor/_variables.scss +27 -0
- package/scss/colorgradient/_index.scss +19 -0
- package/scss/colorgradient/_layout.scss +1 -0
- package/scss/colorgradient/_theme.scss +1 -0
- package/scss/colorgradient/_variables.scss +51 -0
- package/scss/colorgradient/images/alpha-slider-bgr.png +0 -0
- package/scss/colorgradient/images/alpha-slider-bgr.scss +3 -0
- package/scss/colorpalette/_index.scss +12 -0
- package/scss/colorpalette/_layout.scss +1 -0
- package/scss/colorpalette/_theme.scss +1 -0
- package/scss/colorpalette/_variables.scss +10 -0
- package/scss/colorpicker/_index.scss +3 -6
- package/scss/colorpicker/_layout.scss +0 -61
- package/scss/colorpicker/_theme.scss +0 -37
- package/scss/colorpicker/_variables.scss +1 -44
- package/scss/combobox/_index.scss +1 -0
- package/scss/combobox/_layout.scss +0 -16
- package/scss/combobox/_variables.scss +1 -33
- package/scss/dataviz/_index.scss +1 -0
- package/scss/dataviz/_variables.scss +4 -4
- package/scss/dateinput/_index.scss +11 -0
- package/scss/dateinput/_layout.scss +1 -0
- package/scss/dateinput/_theme.scss +1 -0
- package/scss/dateinput/_variables.scss +1 -0
- package/scss/datepicker/_index.scss +13 -0
- package/scss/datepicker/_layout.scss +1 -0
- package/scss/datepicker/_theme.scss +1 -0
- package/scss/datepicker/_variables.scss +1 -0
- package/scss/{datetime → daterangepicker}/_index.scss +1 -2
- package/scss/daterangepicker/_layout.scss +1 -0
- package/scss/daterangepicker/_theme.scss +1 -0
- package/scss/daterangepicker/_variables.scss +2 -0
- package/scss/datetimepicker/_index.scss +17 -0
- package/scss/datetimepicker/_layout.scss +1 -0
- package/scss/datetimepicker/_theme.scss +1 -0
- package/scss/datetimepicker/_variables.scss +2 -0
- package/scss/dialog/_layout.scss +0 -8
- package/scss/drawer/_index.scss +1 -0
- package/scss/dropdowngrid/_layout.scss +0 -14
- package/scss/dropdowngrid/_theme.scss +0 -8
- package/scss/dropdowngrid/index.md +0 -0
- package/scss/dropdownlist/_index.scss +1 -0
- package/scss/dropdownlist/_layout.scss +0 -24
- package/scss/dropdownlist/_theme.scss +0 -31
- package/scss/dropdownlist/_variables.scss +7 -7
- package/scss/dropdowntree/_variables.scss +2 -4
- package/scss/editor/_layout.scss +1 -12
- package/scss/editor/_theme.scss +9 -0
- package/scss/editor/_variables.scss +10 -2
- package/scss/expansion-panel/_index.scss +1 -0
- package/scss/fab/_layout.scss +8 -0
- package/scss/fab/_theme.scss +52 -68
- package/scss/fab/_variables.scss +129 -71
- package/scss/fab/index.md +0 -0
- package/scss/filemanager/_variables.scss +1 -1
- package/scss/filter/_index.scss +1 -1
- package/scss/filter/_layout.scss +0 -23
- package/scss/filter/_variables.scss +1 -1
- package/scss/floating-label/_layout.scss +0 -1
- package/scss/floating-label/_theme.scss +0 -1
- package/scss/floating-label/_variables.scss +3 -3
- package/scss/forms/_index.scss +1 -1
- package/scss/forms/_layout.scss +0 -37
- package/scss/gantt/_index.scss +1 -1
- package/scss/grid/_index.scss +2 -1
- package/scss/grid/_layout.scss +7 -26
- package/scss/grid/_theme.scss +6 -6
- package/scss/grid/_variables.scss +11 -13
- package/scss/imageeditor/_variables.scss +1 -0
- package/scss/index.scss +157 -0
- package/scss/input/_index.scss +1 -1
- package/scss/input/_layout.scss +30 -1
- package/scss/input/_variables.scss +118 -92
- package/scss/list/_index.scss +12 -0
- package/scss/list/_layout.scss +1 -0
- package/scss/list/_theme.scss +1 -0
- package/scss/list/_variables.scss +248 -0
- package/scss/list/index.md +0 -0
- package/scss/listbox/_index.scss +2 -0
- package/scss/listbox/_variables.scss +5 -5
- package/scss/map/_variables.scss +1 -1
- package/scss/menu/_index.scss +2 -0
- package/scss/menu/_theme.scss +8 -8
- package/scss/menu/_variables.scss +125 -36
- package/scss/multiselect/_index.scss +2 -0
- package/scss/multiselect/_layout.scss +0 -60
- package/scss/multiselect/_theme.scss +0 -47
- package/scss/multiselect/_variables.scss +0 -44
- package/scss/numerictextbox/_layout.scss +0 -24
- package/scss/numerictextbox/_variables.scss +0 -31
- package/scss/orgchart/_variables.scss +2 -2
- package/scss/pager/_index.scss +1 -0
- package/scss/pager/_variables.scss +3 -3
- package/scss/panelbar/_index.scss +1 -0
- package/scss/panelbar/_variables.scss +5 -0
- package/scss/pdf-viewer/_variables.scss +3 -6
- package/scss/pivotgrid/_index.scss +1 -0
- package/scss/pivotgrid/_layout.scss +0 -54
- package/scss/pivotgrid/_theme.scss +0 -140
- package/scss/pivotgrid/_variables.scss +7 -10
- package/scss/popup/_index.scss +0 -4
- package/scss/popup/_layout.scss +0 -50
- package/scss/popup/_theme.scss +0 -56
- package/scss/popup/_variables.scss +2 -7
- package/scss/radio/_index.scss +2 -0
- package/scss/radio/_theme.scss +2 -9
- package/scss/radio/_variables.scss +134 -52
- package/scss/radio/index.md +0 -0
- package/scss/scheduler/_index.scss +1 -1
- package/scss/scheduler/_layout.scss +0 -29
- package/scss/scheduler/_variables.scss +2 -2
- package/scss/scrollview/_variables.scss +4 -4
- package/scss/searchbox/_layout.scss +0 -9
- package/scss/searchbox/_variables.scss +0 -20
- package/scss/slider/_theme.scss +0 -9
- package/scss/slider/_variables.scss +9 -9
- package/scss/spreadsheet/_index.scss +2 -1
- package/scss/spreadsheet/_layout.scss +0 -13
- package/scss/spreadsheet/_theme.scss +18 -18
- package/scss/switch/_index.scss +0 -2
- package/scss/switch/_layout.scss +7 -7
- package/scss/switch/_theme.scss +6 -2
- package/scss/switch/_variables.scss +191 -83
- package/scss/switch/index.md +0 -0
- package/scss/table/_index.scss +19 -0
- package/scss/table/_layout.scss +1 -0
- package/scss/table/_theme.scss +1 -0
- package/scss/table/_variables.scss +141 -0
- package/scss/tabstrip/_index.scss +1 -0
- package/scss/tabstrip/_variables.scss +3 -3
- package/scss/taskboard/_variables.scss +0 -2
- package/scss/textarea/_layout.scss +0 -112
- package/scss/textarea/_variables.scss +0 -53
- package/scss/textbox/_layout.scss +0 -14
- package/scss/textbox/_variables.scss +0 -1
- package/scss/timeline/_layout.scss +2 -2
- package/scss/timeline/_variables.scss +5 -5
- package/scss/timepicker/_index.scss +15 -0
- package/scss/timepicker/_layout.scss +1 -0
- package/scss/timepicker/_theme.scss +1 -0
- package/scss/timepicker/_variables.scss +1 -0
- package/scss/timeselector/_index.scss +13 -0
- package/scss/timeselector/_layout.scss +1 -0
- package/scss/timeselector/_theme.scss +19 -0
- package/scss/timeselector/_variables.scss +32 -0
- package/scss/toolbar/_index.scss +1 -0
- package/scss/toolbar/_layout.scss +17 -6
- package/scss/toolbar/_theme.scss +3 -13
- package/scss/toolbar/_variables.scss +3 -1
- package/scss/treeview/_theme.scss +32 -27
- package/scss/treeview/_variables.scss +125 -46
- package/scss/utils/_border.scss +9 -0
- package/scss/virtual-scroller/_index.scss +10 -0
- package/scss/virtual-scroller/_layout.scss +1 -0
- package/scss/virtual-scroller/_theme.scss +1 -0
- package/scss/virtual-scroller/_variables.scss +1 -0
- package/scss/colorpicker/images/alpha-slider-bgr-reversed.png +0 -0
- package/scss/colorpicker/images/alpha-slider-bgr-reversed.scss +0 -3
- package/scss/colorpicker/images/alpha-slider-bgr.png +0 -0
- package/scss/colorpicker/images/alpha-slider-bgr.scss +0 -3
- package/scss/datetime/_layout.scss +0 -74
- package/scss/datetime/_theme.scss +0 -64
- package/scss/datetime/_variables.scss +0 -53
|
@@ -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;
|
package/scss/slider/_theme.scss
CHANGED
|
@@ -18,19 +18,19 @@ $slider-draghandle-border-width: 0px !default;
|
|
|
18
18
|
$slider-draghandle-active-scale: 1 !default;
|
|
19
19
|
$slider-draghandle-active-size: 20px !default;
|
|
20
20
|
|
|
21
|
-
$slider-draghandle-bg: $primary
|
|
22
|
-
$slider-draghandle-text: $primary-
|
|
23
|
-
$slider-draghandle-border: $primary
|
|
21
|
+
$slider-draghandle-bg: $primary !default;
|
|
22
|
+
$slider-draghandle-text: $primary-contrast !default;
|
|
23
|
+
$slider-draghandle-border: $primary !default;
|
|
24
24
|
$slider-draghandle-gradient: null !default;
|
|
25
25
|
|
|
26
|
-
$slider-draghandle-hovered-bg:
|
|
27
|
-
$slider-draghandle-hovered-text:
|
|
28
|
-
$slider-draghandle-hovered-border:
|
|
26
|
+
$slider-draghandle-hovered-bg: null !default;
|
|
27
|
+
$slider-draghandle-hovered-text: null !default;
|
|
28
|
+
$slider-draghandle-hovered-border: null !default;
|
|
29
29
|
$slider-draghandle-hovered-gradient: null !default;
|
|
30
30
|
|
|
31
|
-
$slider-draghandle-pressed-bg:
|
|
32
|
-
$slider-draghandle-pressed-text:
|
|
33
|
-
$slider-draghandle-pressed-border:
|
|
31
|
+
$slider-draghandle-pressed-bg: null !default;
|
|
32
|
+
$slider-draghandle-pressed-text: null !default;
|
|
33
|
+
$slider-draghandle-pressed-border: null !default;
|
|
34
34
|
$slider-draghandle-pressed-gradient: null !default;
|
|
35
35
|
|
|
36
36
|
$slider-draghandle-focused-shadow: 0 0 0 11px rgba($primary, .25) !default;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
@import "../radio/_index.scss";
|
|
9
9
|
@import "../colorpicker/_index.scss";
|
|
10
10
|
@import "../combobox/_index.scss";
|
|
11
|
-
@import "../
|
|
11
|
+
@import "../datetimepicker/_index.scss";
|
|
12
12
|
@import "../dropdownlist/_index.scss";
|
|
13
13
|
@import "../toolbar/_index.scss";
|
|
14
14
|
@import "../upload/_index.scss";
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
@import "../tabstrip/_index.scss";
|
|
18
18
|
@import "../treeview/_index.scss";
|
|
19
19
|
@import "../icons/_index.scss";
|
|
20
|
+
@import "../list/_index.scss";
|
|
20
21
|
|
|
21
22
|
|
|
22
23
|
// Component
|
|
@@ -57,22 +57,9 @@
|
|
|
57
57
|
width: auto;
|
|
58
58
|
box-sizing: border-box;
|
|
59
59
|
|
|
60
|
-
.k-edit-buttons,
|
|
61
60
|
.k-actions {
|
|
62
61
|
margin: $spacer (-$window-inner-padding-x) (-$window-inner-padding-y);
|
|
63
62
|
}
|
|
64
63
|
}
|
|
65
64
|
|
|
66
65
|
}
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
@include exports( "spreadsheet/popup/layout/material" ) {
|
|
72
|
-
|
|
73
|
-
.k-spreadsheet-popup {
|
|
74
|
-
.k-separator {
|
|
75
|
-
margin: 0;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
}
|
|
@@ -156,29 +156,29 @@
|
|
|
156
156
|
}
|
|
157
157
|
.k-spreadsheet-filter {
|
|
158
158
|
@include fill(
|
|
159
|
-
$button-text,
|
|
160
|
-
$button-bg,
|
|
161
|
-
$button-border,
|
|
162
|
-
$button-gradient
|
|
159
|
+
$kendo-button-text,
|
|
160
|
+
$kendo-button-bg,
|
|
161
|
+
$kendo-button-border,
|
|
162
|
+
$kendo-button-gradient
|
|
163
163
|
);
|
|
164
|
-
box-shadow: inset 0 0 0 1px $button-border;
|
|
164
|
+
box-shadow: inset 0 0 0 1px $kendo-button-border;
|
|
165
165
|
|
|
166
166
|
&.k-state-active {
|
|
167
167
|
@include fill(
|
|
168
|
-
$button-active-text,
|
|
169
|
-
$button-active-bg,
|
|
170
|
-
$button-active-border,
|
|
171
|
-
$button-active-gradient
|
|
168
|
+
$kendo-button-active-text,
|
|
169
|
+
$kendo-button-active-bg,
|
|
170
|
+
$kendo-button-active-border,
|
|
171
|
+
$kendo-button-active-gradient
|
|
172
172
|
);
|
|
173
|
-
@include box-shadow( $button-active-shadow );
|
|
173
|
+
@include box-shadow( $kendo-button-active-shadow );
|
|
174
174
|
}
|
|
175
175
|
|
|
176
176
|
&:hover {
|
|
177
177
|
@include fill(
|
|
178
|
-
$button-
|
|
179
|
-
$button-
|
|
180
|
-
$button-
|
|
181
|
-
$button-
|
|
178
|
+
$kendo-button-hover-text,
|
|
179
|
+
$kendo-button-hover-bg,
|
|
180
|
+
$kendo-button-hover-border,
|
|
181
|
+
$kendo-button-hover-gradient
|
|
182
182
|
);
|
|
183
183
|
}
|
|
184
184
|
}
|
|
@@ -249,16 +249,16 @@
|
|
|
249
249
|
.k-button:hover,
|
|
250
250
|
.k-button.k-state-hover {
|
|
251
251
|
@include fill(
|
|
252
|
-
$list-item-
|
|
253
|
-
$list-item-
|
|
252
|
+
$kendo-list-item-hover-text,
|
|
253
|
+
$kendo-list-item-hover-bg
|
|
254
254
|
);
|
|
255
255
|
}
|
|
256
256
|
.k-button:active,
|
|
257
257
|
.k-button.k-state-active,
|
|
258
258
|
.k-button.k-state-selected {
|
|
259
259
|
@include fill(
|
|
260
|
-
$list-item-selected-text,
|
|
261
|
-
$list-item-selected-bg
|
|
260
|
+
$kendo-list-item-selected-text,
|
|
261
|
+
$kendo-list-item-selected-bg
|
|
262
262
|
);
|
|
263
263
|
}
|
|
264
264
|
|
package/scss/switch/_index.scss
CHANGED
package/scss/switch/_layout.scss
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
.k-switch {
|
|
7
7
|
|
|
8
8
|
// Thumb ripple
|
|
9
|
-
.k-switch-
|
|
9
|
+
.k-switch-thumb::before {
|
|
10
10
|
content: "";
|
|
11
11
|
width: 200%;
|
|
12
12
|
height: 200%;
|
|
@@ -21,19 +21,19 @@
|
|
|
21
21
|
pointer-events: none;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
// Hover
|
|
24
|
+
// Hover
|
|
25
25
|
&:hover,
|
|
26
|
-
&.k-
|
|
27
|
-
.k-switch-
|
|
26
|
+
&.k-hover {
|
|
27
|
+
.k-switch-thumb::before {
|
|
28
28
|
display: block;
|
|
29
29
|
opacity: .04;
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
// Focus
|
|
33
|
+
// Focus
|
|
34
34
|
&:focus,
|
|
35
|
-
&.k-
|
|
36
|
-
.k-switch-
|
|
35
|
+
&.k-focus {
|
|
36
|
+
.k-switch-thumb::before {
|
|
37
37
|
display: block;
|
|
38
38
|
opacity: .12;
|
|
39
39
|
}
|
package/scss/switch/_theme.scss
CHANGED
|
@@ -5,11 +5,15 @@
|
|
|
5
5
|
// Switch
|
|
6
6
|
.k-switch {
|
|
7
7
|
|
|
8
|
+
.k-switch-thumb {
|
|
9
|
+
box-shadow: $box-shadow-depth-2;
|
|
10
|
+
}
|
|
11
|
+
|
|
8
12
|
// Thumb ripple
|
|
9
|
-
&.k-switch-on .k-switch-
|
|
13
|
+
&.k-switch-on .k-switch-thumb::before {
|
|
10
14
|
background-color: inherit;
|
|
11
15
|
}
|
|
12
|
-
&.k-switch-off .k-switch-
|
|
16
|
+
&.k-switch-off .k-switch-thumb::before {
|
|
13
17
|
background-color: if( $dark-theme == true, $white, $black );
|
|
14
18
|
}
|
|
15
19
|
}
|
|
@@ -1,84 +1,192 @@
|
|
|
1
1
|
// Switch
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
$switch-font-family:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
$switch-track-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
$switch-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
$switch-label-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
$switch-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
$switch-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
$switch-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
$switch-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
$switch-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
$switch-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
$switch-off-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
$switch-off-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
$switch-off-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
$switch-off-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
$switch-off-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
$switch-off-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
$switch-off-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
$switch-off-
|
|
2
|
+
|
|
3
|
+
/// Font family of the switch.
|
|
4
|
+
/// @group switch
|
|
5
|
+
$kendo-switch-font-family: null !default;
|
|
6
|
+
|
|
7
|
+
/// Border width of the switch track.
|
|
8
|
+
/// @group switch
|
|
9
|
+
$kendo-switch-track-border-width: null !default;
|
|
10
|
+
|
|
11
|
+
/// Border width of the switch thumb.
|
|
12
|
+
/// @group switch
|
|
13
|
+
$kendo-switch-thumb-border-width: null !default;
|
|
14
|
+
|
|
15
|
+
/// Text transform of the switch label.
|
|
16
|
+
/// @group switch
|
|
17
|
+
$kendo-switch-label-text-transform: null !default;
|
|
18
|
+
|
|
19
|
+
/// Display of the switch label.
|
|
20
|
+
/// @group switch
|
|
21
|
+
$kendo-switch-label-display: none !default;
|
|
22
|
+
|
|
23
|
+
/// Map with the different switch sizes.
|
|
24
|
+
/// @group switch
|
|
25
|
+
$kendo-switch-sizes: (
|
|
26
|
+
sm: ( font-size: null, track-width: 26px, track-height: 12px, thumb-width: 16px, thumb-height: 16px, thumb-offset: -2px, label-offset: 0px ),
|
|
27
|
+
md: ( font-size: null, track-width: 32px, track-height: 14px, thumb-width: 20px, thumb-height: 20px, thumb-offset: -3px, label-offset: 0px ),
|
|
28
|
+
lg: ( font-size: null, track-width: 38px, track-height: 16px, thumb-width: 24px, thumb-height: 24px, thumb-offset: -4px, label-offset: 0px )
|
|
29
|
+
) !default;
|
|
30
|
+
|
|
31
|
+
/// The background of the track when the switch is not checked.
|
|
32
|
+
/// @group switch
|
|
33
|
+
$kendo-switch-off-track-bg: rgba( if( $dark-theme, $white, $black ), .38 ) !default;
|
|
34
|
+
/// The text color of the track when the switch is not checked.
|
|
35
|
+
/// @group switch
|
|
36
|
+
$kendo-switch-off-track-text: null !default;
|
|
37
|
+
/// The border color of the track when the switch is not checked.
|
|
38
|
+
/// @group switch
|
|
39
|
+
$kendo-switch-off-track-border: null !default;
|
|
40
|
+
/// The background gradient of the track when the switch is not checked.
|
|
41
|
+
/// @group switch
|
|
42
|
+
$kendo-switch-off-track-gradient: null !default;
|
|
43
|
+
|
|
44
|
+
/// The background of the track when hovered switch is not checked.
|
|
45
|
+
/// @group switch
|
|
46
|
+
$kendo-switch-off-track-hover-bg: null !default;
|
|
47
|
+
/// The text color of the track when hovered switch is not checked.
|
|
48
|
+
/// @group switch
|
|
49
|
+
$kendo-switch-off-track-hover-text: null !default;
|
|
50
|
+
/// The border color of the track when hovered switch is not checked.
|
|
51
|
+
/// @group switch
|
|
52
|
+
$kendo-switch-off-track-hover-border: null !default;
|
|
53
|
+
/// The background gradient of the track when hovered switch is not checked.
|
|
54
|
+
/// @group switch
|
|
55
|
+
$kendo-switch-off-track-hover-gradient: null !default;
|
|
56
|
+
|
|
57
|
+
/// The background of the track when focused switch is not checked.
|
|
58
|
+
/// @group switch
|
|
59
|
+
$kendo-switch-off-track-focus-bg: null !default;
|
|
60
|
+
/// The text color of the track when focused switch is not checked.
|
|
61
|
+
/// @group switch
|
|
62
|
+
$kendo-switch-off-track-focus-text: null !default;
|
|
63
|
+
/// The border color of the track when focused switch is not checked.
|
|
64
|
+
/// @group switch
|
|
65
|
+
$kendo-switch-off-track-focus-border: null !default;
|
|
66
|
+
/// The background gradient of the track when focused switch is not checked.
|
|
67
|
+
/// @group switch
|
|
68
|
+
$kendo-switch-off-track-focus-gradient: null !default;
|
|
69
|
+
/// The ring around the track when focused switch is not checked.
|
|
70
|
+
/// @group switch
|
|
71
|
+
$kendo-switch-off-track-focus-ring: null !default;
|
|
72
|
+
|
|
73
|
+
/// The background of the track when disabled switch is not checked.
|
|
74
|
+
/// @group switch
|
|
75
|
+
$kendo-switch-off-track-disabled-bg: null !default;
|
|
76
|
+
/// The text color of the track when disabled switch is not checked.
|
|
77
|
+
/// @group switch
|
|
78
|
+
$kendo-switch-off-track-disabled-text: null !default;
|
|
79
|
+
/// The border color of the track when disabled switch is not checked.
|
|
80
|
+
/// @group switch
|
|
81
|
+
$kendo-switch-off-track-disabled-border: null !default;
|
|
82
|
+
/// The background gradient of the track when disabled switch is not checked.
|
|
83
|
+
/// @group switch
|
|
84
|
+
$kendo-switch-off-track-disabled-gradient: null !default;
|
|
85
|
+
|
|
86
|
+
/// The background of the thumb when the switch is not checked.
|
|
87
|
+
/// @group switch
|
|
88
|
+
$kendo-switch-off-thumb-bg: if( $dark-theme, $black, $white ) !default;
|
|
89
|
+
/// The text color of the thumb when the switch is not checked.
|
|
90
|
+
/// @group switch
|
|
91
|
+
$kendo-switch-off-thumb-text: null !default;
|
|
92
|
+
/// The border color of the thumb when the switch is not checked.
|
|
93
|
+
/// @group switch
|
|
94
|
+
$kendo-switch-off-thumb-border: null !default;
|
|
95
|
+
/// The background gradient of the thumb when the switch is not checked.
|
|
96
|
+
/// @group switch
|
|
97
|
+
$kendo-switch-off-thumb-gradient: null !default;
|
|
98
|
+
|
|
99
|
+
/// The background of the thumb when the hovered switch is not checked.
|
|
100
|
+
/// @group switch
|
|
101
|
+
$kendo-switch-off-thumb-hover-bg: null !default;
|
|
102
|
+
/// The text color of the thumb when the hovered switch is not checked.
|
|
103
|
+
/// @group switch
|
|
104
|
+
$kendo-switch-off-thumb-hover-text: null !default;
|
|
105
|
+
/// The border color of the thumb when the hovered switch is not checked.
|
|
106
|
+
/// @group switch
|
|
107
|
+
$kendo-switch-off-thumb-hover-border: null !default;
|
|
108
|
+
/// The background gradient of the thumb when the hovered switch is not checked.
|
|
109
|
+
/// @group switch
|
|
110
|
+
$kendo-switch-off-thumb-hover-gradient: null !default;
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
/// The background of the track when the switch is checked.
|
|
114
|
+
/// @group switch
|
|
115
|
+
$kendo-switch-on-track-bg: rgba( $primary, .54 ) !default;
|
|
116
|
+
/// The text color of the track when the switch is checked.
|
|
117
|
+
/// @group switch
|
|
118
|
+
$kendo-switch-on-track-text: null !default;
|
|
119
|
+
/// The border color of the track when the switch is checked.
|
|
120
|
+
/// @group switch
|
|
121
|
+
$kendo-switch-on-track-border: null !default;
|
|
122
|
+
/// The background gradient of the track when the switch is checked.
|
|
123
|
+
/// @group switch
|
|
124
|
+
$kendo-switch-on-track-gradient: null !default;
|
|
125
|
+
|
|
126
|
+
/// The background of the track when the hovered switch is checked.
|
|
127
|
+
/// @group switch
|
|
128
|
+
$kendo-switch-on-track-hover-bg: null !default;
|
|
129
|
+
/// The text color of the track when the hovered switch is checked.
|
|
130
|
+
/// @group switch
|
|
131
|
+
$kendo-switch-on-track-hover-text: null !default;
|
|
132
|
+
/// The border color of the track when the hovered switch is checked.
|
|
133
|
+
/// @group switch
|
|
134
|
+
$kendo-switch-on-track-hover-border: null !default;
|
|
135
|
+
/// The background gradient of the track when the hovered switch is checked.
|
|
136
|
+
/// @group switch
|
|
137
|
+
$kendo-switch-on-track-hover-gradient: null !default;
|
|
138
|
+
|
|
139
|
+
/// The background of the track when the focused switch is checked.
|
|
140
|
+
/// @group switch
|
|
141
|
+
$kendo-switch-on-track-focus-bg: null !default;
|
|
142
|
+
/// The text color of the track when the focused switch is checked.
|
|
143
|
+
/// @group switch
|
|
144
|
+
$kendo-switch-on-track-focus-text: null !default;
|
|
145
|
+
/// The border color of the track when the focused switch is checked.
|
|
146
|
+
/// @group switch
|
|
147
|
+
$kendo-switch-on-track-focus-border: null !default;
|
|
148
|
+
/// The background gradient of the track when the focused switch is checked.
|
|
149
|
+
/// @group switch
|
|
150
|
+
$kendo-switch-on-track-focus-gradient: null !default;
|
|
151
|
+
/// The ring around the track when the focused switch is checked.
|
|
152
|
+
/// @group switch
|
|
153
|
+
$kendo-switch-on-track-focus-ring: null !default;
|
|
154
|
+
|
|
155
|
+
/// The background of the track when the disabled switch is checked.
|
|
156
|
+
/// @group switch
|
|
157
|
+
$kendo-switch-on-track-disabled-bg: null !default;
|
|
158
|
+
/// The text color of the track when the disabled switch is checked.
|
|
159
|
+
/// @group switch
|
|
160
|
+
$kendo-switch-on-track-disabled-text: null !default;
|
|
161
|
+
/// The border color of the track when the disabled switch is checked.
|
|
162
|
+
/// @group switch
|
|
163
|
+
$kendo-switch-on-track-disabled-border: null !default;
|
|
164
|
+
/// The background gradient of the track when the disabled switch is checked.
|
|
165
|
+
/// @group switch
|
|
166
|
+
$kendo-switch-on-track-disabled-gradient: null !default;
|
|
167
|
+
|
|
168
|
+
/// The background of the thumb when the switch is checked.
|
|
169
|
+
/// @group switch
|
|
170
|
+
$kendo-switch-on-thumb-bg: $primary !default;
|
|
171
|
+
/// The text color of the thumb when the switch is checked.
|
|
172
|
+
/// @group switch
|
|
173
|
+
$kendo-switch-on-thumb-text: null !default;
|
|
174
|
+
/// The border color of the thumb when the switch is checked.
|
|
175
|
+
/// @group switch
|
|
176
|
+
$kendo-switch-on-thumb-border: null !default;
|
|
177
|
+
/// The background gradient of the thumb when the switch is checked.
|
|
178
|
+
/// @group switch
|
|
179
|
+
$kendo-switch-on-thumb-gradient: null !default;
|
|
180
|
+
|
|
181
|
+
/// The background of the thumb when the hovered switch is checked.
|
|
182
|
+
/// @group switch
|
|
183
|
+
$kendo-switch-on-thumb-hover-bg: null !default;
|
|
184
|
+
/// The text color of the thumb when the hovered switch is checked.
|
|
185
|
+
/// @group switch
|
|
186
|
+
$kendo-switch-on-thumb-hover-text: null !default;
|
|
187
|
+
/// The border color of the thumb when the hovered switch is checked.
|
|
188
|
+
/// @group switch
|
|
189
|
+
$kendo-switch-on-thumb-hover-border: null !default;
|
|
190
|
+
/// The background gradient of the thumb when the hovered switch is checked.
|
|
191
|
+
/// @group switch
|
|
192
|
+
$kendo-switch-on-thumb-hover-gradient: null !default;
|
|
File without changes
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
@import "../core/_index.scss";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
// Dependencies
|
|
5
|
+
@import "../common/_index.scss";
|
|
6
|
+
@import "../input/_index.scss";
|
|
7
|
+
@import "../floating-label/_index.scss";
|
|
8
|
+
@import "../combobox/_index.scss";
|
|
9
|
+
@import "../popup/_index.scss";
|
|
10
|
+
@import "../toolbar/_variables.scss";
|
|
11
|
+
@import "../menu/_variables.scss";
|
|
12
|
+
@import "../grid/_variables.scss";
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
// Component
|
|
16
|
+
@import "_variables.scss";
|
|
17
|
+
@import "_layout.scss";
|
|
18
|
+
@import "_theme.scss";
|
|
19
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "~@progress/kendo-theme-default/scss/table/_layout.scss";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "~@progress/kendo-theme-default/scss/table/_theme.scss";
|