@progress/kendo-theme-default 4.42.1-dev.2 → 5.0.0-alpha.2
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 +1337 -2580
- package/dist/all.scss +2214 -4062
- package/package.json +4 -4
- package/scss/_variables.scss +2 -0
- package/scss/adaptive/_layout.scss +0 -16
- package/scss/all.scss +5 -0
- package/scss/autocomplete/_layout.scss +1 -34
- package/scss/autocomplete/_theme.scss +2 -74
- package/scss/autocomplete/_variables.scss +12 -12
- package/scss/breadcrumb/_layout.scss +0 -5
- package/scss/button/_layout.scss +108 -116
- package/scss/button/_theme.scss +253 -264
- package/scss/button/_variables.scss +170 -130
- package/scss/button/index.md +3 -0
- package/scss/calendar/_layout.scss +0 -12
- package/scss/calendar/_theme.scss +0 -17
- package/scss/captcha/_layout.scss +0 -5
- package/scss/card/_layout.scss +0 -4
- package/scss/card/_variables.scss +1 -1
- package/scss/chat/_variables.scss +5 -5
- package/scss/checkbox/_layout.scss +87 -91
- package/scss/checkbox/_theme.scss +33 -39
- package/scss/checkbox/_variables.scss +153 -56
- package/scss/colorgradient/_layout.scss +0 -4
- package/scss/colorpicker/_layout.scss +2 -130
- package/scss/colorpicker/_theme.scss +2 -64
- package/scss/colorpicker/_variables.scss +9 -9
- package/scss/combobox/_layout.scss +2 -61
- package/scss/combobox/_theme.scss +2 -123
- package/scss/combobox/_variables.scss +23 -23
- package/scss/common/_base.scss +1 -2
- package/scss/core/_normalize.scss +11 -0
- package/scss/core/mixins/_input-ripple.scss +1 -1
- package/scss/dataviz/_theme.scss +8 -8
- package/scss/dataviz/_variables.scss +6 -6
- package/scss/dateinput/_index.scss +15 -0
- package/scss/dateinput/_layout.scss +6 -0
- package/scss/dateinput/_theme.scss +6 -0
- package/scss/dateinput/_variables.scss +1 -0
- package/scss/datepicker/_index.scss +15 -0
- package/scss/datepicker/_layout.scss +6 -0
- package/scss/datepicker/_theme.scss +6 -0
- package/scss/datepicker/_variables.scss +1 -0
- package/scss/daterangepicker/_index.scss +15 -0
- package/scss/daterangepicker/_layout.scss +3 -0
- package/scss/daterangepicker/_theme.scss +3 -0
- package/scss/daterangepicker/_variables.scss +1 -0
- package/scss/datetime/_layout.scss +2 -263
- package/scss/datetime/_theme.scss +0 -227
- package/scss/datetime/_variables.scss +27 -27
- package/scss/datetimepicker/_index.scss +15 -0
- package/scss/datetimepicker/_layout.scss +6 -0
- package/scss/datetimepicker/_theme.scss +6 -0
- package/scss/datetimepicker/_variables.scss +1 -0
- package/scss/dropdowngrid/_layout.scss +4 -0
- package/scss/dropdowngrid/_theme.scss +3 -0
- package/scss/dropdownlist/_layout.scss +3 -98
- package/scss/dropdownlist/_theme.scss +3 -91
- package/scss/dropdownlist/_variables.scss +9 -9
- package/scss/dropdowntree/_layout.scss +2 -25
- package/scss/dropdowntree/_theme.scss +2 -1
- package/scss/editor/_layout.scss +10 -48
- package/scss/editor/_variables.scss +2 -2
- package/scss/fab/_variables.scss +3 -3
- package/scss/filter/_layout.scss +0 -4
- package/scss/floating-label/_layout.scss +0 -3
- package/scss/floating-label/_theme.scss +0 -2
- package/scss/floating-label/_variables.scss +4 -4
- package/scss/forms/_layout.scss +8 -33
- package/scss/gantt/_layout.scss +3 -3
- package/scss/grid/_layout.scss +20 -65
- package/scss/grid/_theme.scss +2 -2
- package/scss/grid/_variables.scss +0 -2
- package/scss/input/_layout.scss +101 -89
- package/scss/input/_theme.scss +74 -16
- package/scss/input/_variables.scss +66 -67
- package/scss/map/_layout.scss +0 -21
- package/scss/map/_theme.scss +5 -5
- package/scss/map/_variables.scss +1 -1
- package/scss/maskedtextbox/_layout.scss +2 -46
- package/scss/maskedtextbox/_theme.scss +2 -20
- package/scss/multiselect/_layout.scss +15 -15
- package/scss/multiselect/_variables.scss +16 -16
- package/scss/no-flexbox.scss +0 -34
- package/scss/numerictextbox/_layout.scss +2 -93
- package/scss/numerictextbox/_theme.scss +2 -95
- package/scss/numerictextbox/_variables.scss +1 -32
- package/scss/pager/_layout.scss +7 -12
- package/scss/pager/_variables.scss +1 -1
- package/scss/pdf-viewer/_layout.scss +0 -16
- package/scss/pdf-viewer/_variables.scss +1 -1
- package/scss/pivotgrid/_layout.scss +7 -7
- package/scss/pivotgrid/_theme.scss +13 -13
- package/scss/popup/_layout.scss +0 -30
- package/scss/popup/_theme.scss +4 -4
- package/scss/popup/_variables.scss +1 -1
- package/scss/radio/_layout.scss +78 -63
- package/scss/radio/_theme.scss +23 -23
- package/scss/radio/_variables.scss +154 -51
- package/scss/scheduler/_layout.scss +9 -228
- package/scss/scheduler/_theme.scss +5 -86
- package/scss/scrollview/_variables.scss +4 -4
- package/scss/searchbox/_layout.scss +1 -19
- package/scss/searchbox/_theme.scss +1 -46
- package/scss/searchbox/_variables.scss +0 -20
- package/scss/slider/_layout.scss +0 -19
- package/scss/slider/_theme.scss +0 -4
- package/scss/slider/_variables.scss +10 -10
- package/scss/spreadsheet/_layout.scss +4 -36
- package/scss/spreadsheet/_theme.scss +13 -13
- package/scss/switch/_index.scss +0 -2
- package/scss/switch/_layout.scss +91 -92
- package/scss/switch/_theme.scss +91 -93
- package/scss/switch/_variables.scss +193 -83
- package/scss/taskboard/_layout.scss +0 -4
- package/scss/taskboard/_variables.scss +1 -1
- package/scss/textarea/_layout.scss +1 -91
- package/scss/textarea/_theme.scss +1 -66
- package/scss/textarea/_variables.scss +0 -53
- package/scss/textbox/_layout.scss +1 -73
- package/scss/textbox/_theme.scss +1 -70
- package/scss/textbox/_variables.scss +1 -2
- package/scss/timeline/_variables.scss +7 -7
- package/scss/timepicker/_index.scss +15 -0
- package/scss/timepicker/_layout.scss +6 -0
- package/scss/timepicker/_theme.scss +6 -0
- package/scss/timepicker/_variables.scss +1 -0
- package/scss/toolbar/_layout.scss +2 -2
- package/scss/toolbar/_variables.scss +1 -1
- package/scss/treeview/_variables.scss +1 -1
- package/scss/upload/_layout.scss +2 -2
- package/scss/window/_layout.scss +0 -11
package/scss/switch/_theme.scss
CHANGED
|
@@ -1,158 +1,156 @@
|
|
|
1
1
|
@include exports("switch/theme") {
|
|
2
2
|
|
|
3
3
|
// Switch
|
|
4
|
-
.k-switch {
|
|
4
|
+
.k-switch {}
|
|
5
5
|
|
|
6
|
-
&:hover,
|
|
7
|
-
&.k-state-hover {
|
|
8
6
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
&:focus,
|
|
15
|
-
&.k-state-focused {
|
|
16
|
-
|
|
17
|
-
.k-switch-container {
|
|
18
|
-
outline: none;
|
|
19
|
-
@include box-shadow( $switch-container-focused-shadow );
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
// Switch track
|
|
26
|
-
.k-switch-container {
|
|
27
|
-
@include box-shadow( $switch-container-shadow );
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
// Switch ON
|
|
32
|
-
.k-switch-on {
|
|
7
|
+
// Switch OFF
|
|
8
|
+
.k-switch-off {
|
|
33
9
|
|
|
34
10
|
// Normal state
|
|
35
|
-
.k-switch-
|
|
11
|
+
.k-switch-track {
|
|
36
12
|
@include fill(
|
|
37
|
-
$switch-
|
|
38
|
-
$switch-
|
|
39
|
-
$switch-
|
|
40
|
-
$switch-
|
|
13
|
+
$kendo-switch-off-track-text,
|
|
14
|
+
$kendo-switch-off-track-bg,
|
|
15
|
+
$kendo-switch-off-track-border,
|
|
16
|
+
$kendo-switch-off-track-gradient
|
|
41
17
|
);
|
|
42
18
|
}
|
|
43
|
-
.k-switch-
|
|
19
|
+
.k-switch-thumb {
|
|
44
20
|
@include fill(
|
|
45
|
-
$switch-
|
|
46
|
-
$switch-
|
|
47
|
-
$switch-
|
|
48
|
-
$switch-
|
|
21
|
+
$kendo-switch-off-thumb-text,
|
|
22
|
+
$kendo-switch-off-thumb-bg,
|
|
23
|
+
$kendo-switch-off-thumb-border,
|
|
24
|
+
$kendo-switch-off-thumb-gradient
|
|
49
25
|
);
|
|
50
|
-
@include box-shadow( $switch-on-handle-shadow );
|
|
51
26
|
}
|
|
52
27
|
|
|
53
|
-
// Hover
|
|
28
|
+
// Hover
|
|
54
29
|
&:hover,
|
|
55
|
-
&.k-
|
|
56
|
-
.k-switch-
|
|
30
|
+
&.k-hover {
|
|
31
|
+
.k-switch-track {
|
|
57
32
|
@include fill(
|
|
58
|
-
$switch-
|
|
59
|
-
$switch-
|
|
60
|
-
$switch-
|
|
61
|
-
$switch-
|
|
33
|
+
$kendo-switch-off-track-hover-text,
|
|
34
|
+
$kendo-switch-off-track-hover-bg,
|
|
35
|
+
$kendo-switch-off-track-hover-border,
|
|
36
|
+
$kendo-switch-off-track-hover-gradient
|
|
62
37
|
);
|
|
63
38
|
}
|
|
64
39
|
|
|
65
|
-
.k-switch-
|
|
40
|
+
.k-switch-thumb {
|
|
66
41
|
@include fill(
|
|
67
|
-
$switch-
|
|
68
|
-
$switch-
|
|
69
|
-
$switch-
|
|
70
|
-
$switch-
|
|
42
|
+
$kendo-switch-off-thumb-hover-text,
|
|
43
|
+
$kendo-switch-off-thumb-hover-bg,
|
|
44
|
+
$kendo-switch-off-thumb-hover-border,
|
|
45
|
+
$kendo-switch-off-thumb-hover-gradient
|
|
71
46
|
);
|
|
72
47
|
}
|
|
73
48
|
}
|
|
74
49
|
|
|
75
|
-
// Focus
|
|
50
|
+
// Focus
|
|
76
51
|
&:focus,
|
|
77
|
-
&.k-
|
|
78
|
-
|
|
52
|
+
&.k-focus {
|
|
53
|
+
.k-switch-track {
|
|
54
|
+
@include fill(
|
|
55
|
+
$kendo-switch-off-track-focus-text,
|
|
56
|
+
$kendo-switch-off-track-focus-bg,
|
|
57
|
+
$kendo-switch-off-track-focus-border,
|
|
58
|
+
$kendo-switch-off-track-focus-gradient
|
|
59
|
+
);
|
|
60
|
+
outline: $kendo-switch-off-track-focus-ring;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
79
63
|
|
|
80
|
-
|
|
64
|
+
// Disabled
|
|
65
|
+
&:disabled,
|
|
66
|
+
&.k-disabled {
|
|
67
|
+
.k-switch-track {
|
|
81
68
|
@include fill(
|
|
82
|
-
$switch-
|
|
83
|
-
$switch-
|
|
84
|
-
$switch-
|
|
85
|
-
$switch-
|
|
69
|
+
$kendo-switch-off-track-disabled-text,
|
|
70
|
+
$kendo-switch-off-track-disabled-bg,
|
|
71
|
+
$kendo-switch-off-track-disabled-border,
|
|
72
|
+
$kendo-switch-off-track-disabled-gradient
|
|
86
73
|
);
|
|
87
74
|
}
|
|
88
75
|
}
|
|
89
76
|
|
|
90
|
-
.k-switch-label-
|
|
77
|
+
.k-switch-label-on {
|
|
91
78
|
color: transparent;
|
|
92
79
|
}
|
|
93
80
|
}
|
|
94
81
|
|
|
95
82
|
|
|
96
|
-
// Switch
|
|
97
|
-
.k-switch-
|
|
83
|
+
// Switch ON
|
|
84
|
+
.k-switch-on {
|
|
98
85
|
|
|
99
86
|
// Normal state
|
|
100
|
-
.k-switch-
|
|
87
|
+
.k-switch-track {
|
|
101
88
|
@include fill(
|
|
102
|
-
$switch-
|
|
103
|
-
$switch-
|
|
104
|
-
$switch-
|
|
105
|
-
$switch-
|
|
89
|
+
$kendo-switch-on-track-text,
|
|
90
|
+
$kendo-switch-on-track-bg,
|
|
91
|
+
$kendo-switch-on-track-border,
|
|
92
|
+
$kendo-switch-on-track-gradient
|
|
106
93
|
);
|
|
107
94
|
}
|
|
108
|
-
.k-switch-
|
|
95
|
+
.k-switch-thumb {
|
|
109
96
|
@include fill(
|
|
110
|
-
$switch-
|
|
111
|
-
$switch-
|
|
112
|
-
$switch-
|
|
113
|
-
$switch-
|
|
97
|
+
$kendo-switch-on-thumb-text,
|
|
98
|
+
$kendo-switch-on-thumb-bg,
|
|
99
|
+
$kendo-switch-on-thumb-border,
|
|
100
|
+
$kendo-switch-on-thumb-gradient
|
|
114
101
|
);
|
|
115
|
-
@include box-shadow( $switch-off-handle-shadow );
|
|
116
102
|
}
|
|
117
103
|
|
|
118
|
-
// Hover
|
|
104
|
+
// Hover
|
|
119
105
|
&:hover,
|
|
120
|
-
&.k-
|
|
121
|
-
.k-switch-
|
|
106
|
+
&.k-hover {
|
|
107
|
+
.k-switch-track {
|
|
122
108
|
@include fill(
|
|
123
|
-
$switch-
|
|
124
|
-
$switch-
|
|
125
|
-
$switch-
|
|
126
|
-
$switch-
|
|
109
|
+
$kendo-switch-on-track-hover-text,
|
|
110
|
+
$kendo-switch-on-track-hover-bg,
|
|
111
|
+
$kendo-switch-on-track-hover-border,
|
|
112
|
+
$kendo-switch-on-track-hover-gradient
|
|
127
113
|
);
|
|
128
114
|
}
|
|
129
115
|
|
|
130
|
-
.k-switch-
|
|
116
|
+
.k-switch-thumb {
|
|
131
117
|
@include fill(
|
|
132
|
-
$switch-
|
|
133
|
-
$switch-
|
|
134
|
-
$switch-
|
|
135
|
-
$switch-
|
|
118
|
+
$kendo-switch-on-thumb-hover-text,
|
|
119
|
+
$kendo-switch-on-thumb-hover-bg,
|
|
120
|
+
$kendo-switch-on-thumb-hover-border,
|
|
121
|
+
$kendo-switch-on-thumb-hover-gradient
|
|
136
122
|
);
|
|
137
123
|
}
|
|
138
124
|
}
|
|
139
125
|
|
|
140
|
-
// Focus
|
|
126
|
+
// Focus
|
|
141
127
|
&:focus,
|
|
142
|
-
&.k-
|
|
143
|
-
|
|
128
|
+
&.k-focus {
|
|
129
|
+
.k-switch-track {
|
|
130
|
+
@include fill(
|
|
131
|
+
$kendo-switch-on-track-focus-text,
|
|
132
|
+
$kendo-switch-on-track-focus-bg,
|
|
133
|
+
$kendo-switch-on-track-focus-border,
|
|
134
|
+
$kendo-switch-on-track-focus-gradient
|
|
135
|
+
);
|
|
136
|
+
outline: $kendo-switch-on-track-focus-ring;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
144
139
|
|
|
145
|
-
|
|
140
|
+
// Disabled
|
|
141
|
+
&:disabled,
|
|
142
|
+
&.k-disabled {
|
|
143
|
+
.k-switch-track {
|
|
146
144
|
@include fill(
|
|
147
|
-
$switch-
|
|
148
|
-
$switch-
|
|
149
|
-
$switch-
|
|
150
|
-
$switch-
|
|
145
|
+
$kendo-switch-on-track-disabled-text,
|
|
146
|
+
$kendo-switch-on-track-disabled-bg,
|
|
147
|
+
$kendo-switch-on-track-disabled-border,
|
|
148
|
+
$kendo-switch-on-track-disabled-gradient
|
|
151
149
|
);
|
|
152
150
|
}
|
|
153
151
|
}
|
|
154
152
|
|
|
155
|
-
.k-switch-label-
|
|
153
|
+
.k-switch-label-off {
|
|
156
154
|
color: transparent;
|
|
157
155
|
}
|
|
158
156
|
}
|
|
@@ -1,84 +1,194 @@
|
|
|
1
1
|
// Switch
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
$switch-font-family:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
$switch-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
$switch-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
$switch-label-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
$switch-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
$switch-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
$switch-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
$switch-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
$switch-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
$switch-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
$switch-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
$switch-off-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
$switch-off-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
$switch-off-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
$switch-off-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
$switch-off-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
$switch-off-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
$switch-off-
|
|
84
|
-
|
|
2
|
+
|
|
3
|
+
/// Font family of the switch.
|
|
4
|
+
/// @group switch
|
|
5
|
+
$kendo-switch-font-family: null !default;
|
|
6
|
+
/// Line height of the switch.
|
|
7
|
+
/// @group switch
|
|
8
|
+
$kendo-switch-line-height: null !default;
|
|
9
|
+
|
|
10
|
+
/// Border width of the switch track.
|
|
11
|
+
/// @group switch
|
|
12
|
+
$kendo-switch-track-border-width: 1px !default;
|
|
13
|
+
|
|
14
|
+
/// Border width of the switch thumb.
|
|
15
|
+
/// @group switch
|
|
16
|
+
$kendo-switch-thumb-border-width: 1px !default;
|
|
17
|
+
|
|
18
|
+
/// Text transform of the switch label.
|
|
19
|
+
/// @group switch
|
|
20
|
+
$kendo-switch-label-text-transform: uppercase !default;
|
|
21
|
+
/// Display of the switch label.
|
|
22
|
+
/// @group switch
|
|
23
|
+
$kendo-switch-label-display: inline !default;
|
|
24
|
+
|
|
25
|
+
/// Map with the different switch sizes.
|
|
26
|
+
/// @group switch
|
|
27
|
+
$kendo-switch-sizes: (
|
|
28
|
+
sm: ( font-size: 8px, track-width: 40px, track-height: 20px, thumb-width: 20px, thumb-height: 20px, thumb-offset: 0px, label-offset: 5px ),
|
|
29
|
+
md: ( font-size: 10px, track-width: 60px, track-height: 30px, thumb-width: 30px, thumb-height: 30px, thumb-offset: 0px, label-offset: 8px ),
|
|
30
|
+
lg: ( font-size: 12px, track-width: 80px, track-height: 40px, thumb-width: 40px, thumb-height: 40px, thumb-offset: 0px, label-offset: 10px )
|
|
31
|
+
) !default;
|
|
32
|
+
|
|
33
|
+
/// The background of the track when the switch is not checked.
|
|
34
|
+
/// @group switch
|
|
35
|
+
$kendo-switch-off-track-bg: $component-bg !default;
|
|
36
|
+
/// The text color of the track when the switch is not checked.
|
|
37
|
+
/// @group switch
|
|
38
|
+
$kendo-switch-off-track-text: $component-text !default;
|
|
39
|
+
/// The border color of the track when the switch is not checked.
|
|
40
|
+
/// @group switch
|
|
41
|
+
$kendo-switch-off-track-border: try-shade( $kendo-switch-off-track-bg, 8% ) !default;
|
|
42
|
+
/// The background gradient of the track when the switch is not checked.
|
|
43
|
+
/// @group switch
|
|
44
|
+
$kendo-switch-off-track-gradient: null !default;
|
|
45
|
+
|
|
46
|
+
/// The background of the track when the hovered switch is not checked.
|
|
47
|
+
/// @group switch
|
|
48
|
+
$kendo-switch-off-track-hover-bg: null !default;
|
|
49
|
+
/// The text color of the track when the hovered switch is not checked.
|
|
50
|
+
/// @group switch
|
|
51
|
+
$kendo-switch-off-track-hover-text: null !default;
|
|
52
|
+
/// The border color of the track when the hovered switch is not checked.
|
|
53
|
+
/// @group switch
|
|
54
|
+
$kendo-switch-off-track-hover-border: null !default;
|
|
55
|
+
/// The background gradient of the track when the hovered switch is not checked.
|
|
56
|
+
/// @group switch
|
|
57
|
+
$kendo-switch-off-track-hover-gradient: null !default;
|
|
58
|
+
|
|
59
|
+
/// The background of the track when the focused switch is not checked.
|
|
60
|
+
/// @group switch
|
|
61
|
+
$kendo-switch-off-track-focus-bg: null !default;
|
|
62
|
+
/// The text color of the track when the focused switch is not checked.
|
|
63
|
+
/// @group switch
|
|
64
|
+
$kendo-switch-off-track-focus-text: null !default;
|
|
65
|
+
/// The border color of the track when the focused switch is not checked.
|
|
66
|
+
/// @group switch
|
|
67
|
+
$kendo-switch-off-track-focus-border: null !default;
|
|
68
|
+
/// The background gradient of the track when the focused switch is not checked.
|
|
69
|
+
/// @group switch
|
|
70
|
+
$kendo-switch-off-track-focus-gradient: null !default;
|
|
71
|
+
/// The ring around the track when the focused switch is not checked.
|
|
72
|
+
/// @group switch
|
|
73
|
+
$kendo-switch-off-track-focus-ring: 2px solid rgba( if( $dark-theme, $white, $black ) , .08 ) !default;
|
|
74
|
+
|
|
75
|
+
/// The background of the track when the disabled switch is not checked.
|
|
76
|
+
/// @group switch
|
|
77
|
+
$kendo-switch-off-track-disabled-bg: null !default;
|
|
78
|
+
/// The text color of the track when the disabled switch is not checked.
|
|
79
|
+
/// @group switch
|
|
80
|
+
$kendo-switch-off-track-disabled-text: null !default;
|
|
81
|
+
/// The border color of the track when the disabled switch is not checked.
|
|
82
|
+
/// @group switch
|
|
83
|
+
$kendo-switch-off-track-disabled-border: null !default;
|
|
84
|
+
/// The background gradient of the track when the disabled switch is not checked.
|
|
85
|
+
/// @group switch
|
|
86
|
+
$kendo-switch-off-track-disabled-gradient: null !default;
|
|
87
|
+
|
|
88
|
+
/// The background of the thumb when the switch is not checked.
|
|
89
|
+
/// @group switch
|
|
90
|
+
$kendo-switch-off-thumb-bg: $base-bg !default;
|
|
91
|
+
/// The text color of the thumb when the switch is not checked.
|
|
92
|
+
/// @group switch
|
|
93
|
+
$kendo-switch-off-thumb-text: $base-text !default;
|
|
94
|
+
/// The border color of the thumb when the switch is not checked.
|
|
95
|
+
/// @group switch
|
|
96
|
+
$kendo-switch-off-thumb-border: $base-border !default;
|
|
97
|
+
/// The background gradient of the thumb when the switch is not checked.
|
|
98
|
+
/// @group switch
|
|
99
|
+
$kendo-switch-off-thumb-gradient: null !default;
|
|
100
|
+
|
|
101
|
+
/// The background of the thumb when the hovered switch is not checked.
|
|
102
|
+
/// @group switch
|
|
103
|
+
$kendo-switch-off-thumb-hover-bg: null !default;
|
|
104
|
+
/// The text color of the thumb when the hovered switch is not checked.
|
|
105
|
+
/// @group switch
|
|
106
|
+
$kendo-switch-off-thumb-hover-text: null !default;
|
|
107
|
+
/// The border color of the thumb when the hovered switch is not checked.
|
|
108
|
+
/// @group switch
|
|
109
|
+
$kendo-switch-off-thumb-hover-border: null !default;
|
|
110
|
+
/// The background gradient of the thumb when the hovered switch is not checked.
|
|
111
|
+
/// @group switch
|
|
112
|
+
$kendo-switch-off-thumb-hover-gradient: null !default;
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
/// The background of the track when the switch is checked.
|
|
116
|
+
/// @group switch
|
|
117
|
+
$kendo-switch-on-track-bg: $primary !default;
|
|
118
|
+
/// The text color of the track when the switch is checked.
|
|
119
|
+
/// @group switch
|
|
120
|
+
$kendo-switch-on-track-text: contrast-wcag( $kendo-switch-on-track-bg ) !default;
|
|
121
|
+
/// The border color of the track when the switch is checked.
|
|
122
|
+
/// @group switch
|
|
123
|
+
$kendo-switch-on-track-border: $kendo-switch-on-track-bg !default;
|
|
124
|
+
/// The background gradient of the track when the switch is checked.
|
|
125
|
+
/// @group switch
|
|
126
|
+
$kendo-switch-on-track-gradient: null !default;
|
|
127
|
+
|
|
128
|
+
/// The background of the track when the hovered switch is checked.
|
|
129
|
+
/// @group switch
|
|
130
|
+
$kendo-switch-on-track-hover-bg: null !default;
|
|
131
|
+
/// The text color of the track when the hovered switch is checked.
|
|
132
|
+
/// @group switch
|
|
133
|
+
$kendo-switch-on-track-hover-text: null !default;
|
|
134
|
+
/// The border color of the track when the hovered switch is checked.
|
|
135
|
+
/// @group switch
|
|
136
|
+
$kendo-switch-on-track-hover-border: null !default;
|
|
137
|
+
/// The background gradient of the track when the hovered switch is checked.
|
|
138
|
+
/// @group switch
|
|
139
|
+
$kendo-switch-on-track-hover-gradient: null !default;
|
|
140
|
+
|
|
141
|
+
/// The background of the track when the focused switch is checked.
|
|
142
|
+
/// @group switch
|
|
143
|
+
$kendo-switch-on-track-focus-bg: null !default;
|
|
144
|
+
/// The text color of the track when the focused switch is checked.
|
|
145
|
+
/// @group switch
|
|
146
|
+
$kendo-switch-on-track-focus-text: null !default;
|
|
147
|
+
/// The border color of the track when the focused switch is checked.
|
|
148
|
+
/// @group switch
|
|
149
|
+
$kendo-switch-on-track-focus-border: null !default;
|
|
150
|
+
/// The background gradient of the track when the focused switch is checked.
|
|
151
|
+
/// @group switch
|
|
152
|
+
$kendo-switch-on-track-focus-gradient: null !default;
|
|
153
|
+
/// The ring around the track when the focused switch is checked.
|
|
154
|
+
/// @group switch
|
|
155
|
+
$kendo-switch-on-track-focus-ring: 2px solid rgba( $kendo-switch-on-track-border, .25 ) !default;
|
|
156
|
+
|
|
157
|
+
/// The background of the track when the disabled switch is checked.
|
|
158
|
+
/// @group switch
|
|
159
|
+
$kendo-switch-on-track-disabled-bg: null !default;
|
|
160
|
+
/// The text color of the track when the disabled switch is checked.
|
|
161
|
+
/// @group switch
|
|
162
|
+
$kendo-switch-on-track-disabled-text: null !default;
|
|
163
|
+
/// The border color of the track when the disabled switch is checked.
|
|
164
|
+
/// @group switch
|
|
165
|
+
$kendo-switch-on-track-disabled-border: null !default;
|
|
166
|
+
/// The background gradient of the track when the disabled switch is checked.
|
|
167
|
+
/// @group switch
|
|
168
|
+
$kendo-switch-on-track-disabled-gradient: null !default;
|
|
169
|
+
|
|
170
|
+
/// The background of the thumb when the switch is checked.
|
|
171
|
+
/// @group switch
|
|
172
|
+
$kendo-switch-on-thumb-bg: $base-bg !default;
|
|
173
|
+
/// The text color of the thumb when the switch is checked.
|
|
174
|
+
/// @group switch
|
|
175
|
+
$kendo-switch-on-thumb-text: $base-text !default;
|
|
176
|
+
/// The border color of the thumb when the switch is checked.
|
|
177
|
+
/// @group switch
|
|
178
|
+
$kendo-switch-on-thumb-border: $base-border !default;
|
|
179
|
+
/// The background gradient of the thumb when the switch is checked.
|
|
180
|
+
/// @group switch
|
|
181
|
+
$kendo-switch-on-thumb-gradient: null !default;
|
|
182
|
+
|
|
183
|
+
/// The background of the thumb when the hovered switch is checked.
|
|
184
|
+
/// @group switch
|
|
185
|
+
$kendo-switch-on-thumb-hover-bg: null !default;
|
|
186
|
+
/// The text color of the thumb when the hovered switch is checked.
|
|
187
|
+
/// @group switch
|
|
188
|
+
$kendo-switch-on-thumb-hover-text: null !default;
|
|
189
|
+
/// The border color of the thumb when the hovered switch is checked.
|
|
190
|
+
/// @group switch
|
|
191
|
+
$kendo-switch-on-thumb-hover-border: null !default;
|
|
192
|
+
/// The background gradient of the thumb when the hovered switch is checked.
|
|
193
|
+
/// @group switch
|
|
194
|
+
$kendo-switch-on-thumb-hover-gradient: null !default;
|
|
@@ -46,7 +46,7 @@ $taskboard-column-cards-padding-y: null !default;
|
|
|
46
46
|
$taskboard-column-cards-padding-x: null !default;
|
|
47
47
|
$taskboard-column-cards-gap: ( $taskboard-spacer / 2 ) !default;
|
|
48
48
|
|
|
49
|
-
$taskboard-column-new-calc-height: calc( #{$input-calc-height} + #{$taskboard-column-header-padding-y * 2} ) !default;
|
|
49
|
+
$taskboard-column-new-calc-height: calc( #{$kendo-input-calc-height} + #{$taskboard-column-header-padding-y * 2} ) !default;
|
|
50
50
|
|
|
51
51
|
$taskboard-pane-width: $taskboard-column-width !default;
|
|
52
52
|
$taskboard-pane-padding-y: null !default;
|
|
@@ -1,96 +1,6 @@
|
|
|
1
1
|
@include exports( "textarea/layout" ) {
|
|
2
2
|
|
|
3
3
|
// Textarea
|
|
4
|
-
.k-textarea {
|
|
5
|
-
@include border-radius( $textarea-border-radius );
|
|
6
|
-
margin: 0;
|
|
7
|
-
padding: 0;
|
|
8
|
-
width: $textarea-default-width;
|
|
9
|
-
border-width: $textarea-border-width;
|
|
10
|
-
border-style: solid;
|
|
11
|
-
outline: 0;
|
|
12
|
-
font-family: $textarea-font-family;
|
|
13
|
-
font-size: $textarea-font-size;
|
|
14
|
-
line-height: $textarea-line-height;
|
|
15
|
-
box-sizing: border-box;
|
|
16
|
-
// Targets https://github.com/telerik/kendo-react/issues/638.
|
|
17
|
-
box-shadow: none;
|
|
18
|
-
background: none;
|
|
19
|
-
display: inline-flex;
|
|
20
|
-
flex-wrap: nowrap;
|
|
21
|
-
vertical-align: middle;
|
|
22
|
-
position: relative;
|
|
23
|
-
-webkit-appearance: none;
|
|
4
|
+
.k-textarea {}
|
|
24
5
|
|
|
25
|
-
// Hide clear icon
|
|
26
|
-
&::-ms-clear { display: none; }
|
|
27
|
-
|
|
28
|
-
// Placeholder text
|
|
29
|
-
&::placeholder {
|
|
30
|
-
color: $input-placeholder-text;
|
|
31
|
-
opacity: $input-placeholder-opacity;
|
|
32
|
-
user-select: none;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
> .k-input {
|
|
36
|
-
padding: $textarea-padding-y $textarea-padding-x;
|
|
37
|
-
height: auto;
|
|
38
|
-
min-height: $textarea-calc-height;
|
|
39
|
-
overflow-y: auto;
|
|
40
|
-
resize: vertical;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
// Disabled state
|
|
44
|
-
&:disabled,
|
|
45
|
-
&[disabled],
|
|
46
|
-
&.k-state-disabled {
|
|
47
|
-
@include disabled( $disabled-styling );
|
|
48
|
-
|
|
49
|
-
// Disabled selection
|
|
50
|
-
&::selection {
|
|
51
|
-
@include fill (
|
|
52
|
-
$color: $input-text,
|
|
53
|
-
$bg: transparent
|
|
54
|
-
// $bg: rgba( contrast-wcag( $input-bg ), .1 )
|
|
55
|
-
);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.k-textarea-suffix {
|
|
61
|
-
flex-shrink: 0;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
// Textarea old rendering
|
|
65
|
-
textarea.k-textarea {
|
|
66
|
-
padding: $textarea-padding-y $textarea-padding-x;
|
|
67
|
-
min-height: $textarea-calc-height;
|
|
68
|
-
display: inline-block;
|
|
69
|
-
resize: both;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
// Floating label
|
|
73
|
-
.k-textbox-container,
|
|
74
|
-
.k-floating-label-container {
|
|
75
|
-
> .k-textarea {
|
|
76
|
-
flex: 1 1 auto;
|
|
77
|
-
width: 100%;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
@include exports("textarea/layout/IE") {
|
|
86
|
-
// TODO: Remove once we drop IE support
|
|
87
|
-
|
|
88
|
-
.k-ie {
|
|
89
|
-
.k-textarea {
|
|
90
|
-
:-ms-input-placeholder,
|
|
91
|
-
&:-ms-input-placeholder {
|
|
92
|
-
color: $input-placeholder-text;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
6
|
}
|