@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/button/_theme.scss
CHANGED
|
@@ -1,140 +1,270 @@
|
|
|
1
1
|
@include exports( "button/theme" ) {
|
|
2
2
|
|
|
3
|
-
//
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
3
|
+
// Solid Buttons
|
|
4
|
+
@each $name, $color in $kendo-button-theme-colors {
|
|
5
|
+
.k-button-solid-#{$name} {
|
|
6
|
+
@if ($name == "base") {
|
|
7
|
+
@include fill(
|
|
8
|
+
$kendo-button-text,
|
|
9
|
+
$kendo-button-bg,
|
|
10
|
+
$kendo-button-border,
|
|
11
|
+
$kendo-button-gradient
|
|
12
|
+
);
|
|
13
|
+
@include box-shadow( $kendo-button-shadow );
|
|
14
|
+
|
|
15
|
+
// Hover state
|
|
16
|
+
&:hover,
|
|
17
|
+
&.k-hover {
|
|
18
|
+
@include fill(
|
|
19
|
+
$kendo-button-hover-text,
|
|
20
|
+
$kendo-button-hover-bg,
|
|
21
|
+
$kendo-button-hover-border,
|
|
22
|
+
$kendo-button-hover-gradient
|
|
23
|
+
);
|
|
24
|
+
@include box-shadow( $kendo-button-hover-shadow );
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
// Focus state
|
|
28
|
+
&:focus,
|
|
29
|
+
&.k-focus {
|
|
30
|
+
@include box-shadow( $kendo-button-focus-shadow );
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
// Active state
|
|
34
|
+
&:active,
|
|
35
|
+
&.k-active {
|
|
36
|
+
@include fill(
|
|
37
|
+
$kendo-button-active-text,
|
|
38
|
+
$kendo-button-active-bg,
|
|
39
|
+
$kendo-button-active-border,
|
|
40
|
+
$kendo-button-active-gradient
|
|
41
|
+
);
|
|
42
|
+
@include box-shadow( $kendo-button-active-shadow );
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
// Selected state
|
|
46
|
+
&.k-selected {
|
|
47
|
+
@include fill(
|
|
48
|
+
$kendo-button-selected-text,
|
|
49
|
+
$kendo-button-selected-bg,
|
|
50
|
+
$kendo-button-selected-border,
|
|
51
|
+
$kendo-button-selected-gradient
|
|
52
|
+
);
|
|
53
|
+
@include box-shadow( $kendo-button-selected-shadow );
|
|
54
|
+
}
|
|
55
|
+
} @else {
|
|
56
|
+
color: contrast-wcag( $color );
|
|
57
|
+
background-color: $color;
|
|
58
|
+
border-color: $color;
|
|
59
|
+
background-image: linear-gradient( rgba( black, 0 ), rgba( black, .04 ) );
|
|
60
|
+
|
|
61
|
+
// Hover state
|
|
62
|
+
&:hover,
|
|
63
|
+
&.k-hover {
|
|
64
|
+
background-color: try-shade( $color, .5 );
|
|
65
|
+
border-color: $color;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
// Focus state
|
|
69
|
+
&:focus,
|
|
70
|
+
&.k-focus {
|
|
71
|
+
box-shadow: 0 0 0 2px rgba( $color, .3 );
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
// Active state
|
|
75
|
+
&:active,
|
|
76
|
+
&.k-active {
|
|
77
|
+
background-color: try-shade( $color, 1.5 );
|
|
78
|
+
border-color: try-shade( $color, 1.5 );
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
// Selected
|
|
82
|
+
&.k-selected {
|
|
83
|
+
background-color: try-shade( $color, 1.5 );
|
|
84
|
+
border-color: try-shade( $color, 1.5 );
|
|
85
|
+
}
|
|
86
|
+
}
|
|
25
87
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
88
|
+
// Disabled state
|
|
89
|
+
&:disabled,
|
|
90
|
+
&.k-disabled {
|
|
91
|
+
@include fill(
|
|
92
|
+
$kendo-button-disabled-text,
|
|
93
|
+
$kendo-button-disabled-bg,
|
|
94
|
+
$kendo-button-disabled-border,
|
|
95
|
+
$kendo-button-disabled-gradient
|
|
96
|
+
);
|
|
97
|
+
@include box-shadow( $kendo-button-disabled-shadow );
|
|
98
|
+
}
|
|
31
99
|
}
|
|
100
|
+
}
|
|
32
101
|
|
|
33
|
-
// Active state
|
|
34
|
-
&:active,
|
|
35
|
-
&.k-state-active {
|
|
36
|
-
@include fill(
|
|
37
|
-
$button-active-text,
|
|
38
|
-
$button-active-bg,
|
|
39
|
-
$button-active-border,
|
|
40
|
-
$button-active-gradient
|
|
41
|
-
);
|
|
42
|
-
@include box-shadow( $button-active-shadow );
|
|
43
|
-
}
|
|
44
102
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
$button-selected-gradient
|
|
52
|
-
);
|
|
53
|
-
@include box-shadow( $button-selected-shadow );
|
|
54
|
-
}
|
|
103
|
+
// Outline Buttons
|
|
104
|
+
.k-button-outline {
|
|
105
|
+
@include box-shadow( none );
|
|
106
|
+
border-color: currentColor;
|
|
107
|
+
background: none;
|
|
108
|
+
}
|
|
55
109
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
110
|
+
@each $name, $color in $kendo-button-theme-colors {
|
|
111
|
+
.k-button-outline-#{$name} {
|
|
112
|
+
@if ($name == "base") {
|
|
113
|
+
color: $kendo-button-text;
|
|
114
|
+
|
|
115
|
+
// Hover state
|
|
116
|
+
&:hover,
|
|
117
|
+
&.k-hover {
|
|
118
|
+
@include fill(
|
|
119
|
+
contrast-wcag( $kendo-button-text ),
|
|
120
|
+
$kendo-button-text,
|
|
121
|
+
$kendo-button-text
|
|
122
|
+
);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
// Focus state
|
|
126
|
+
&:focus,
|
|
127
|
+
&.k-focus {
|
|
128
|
+
@include box-shadow( $kendo-button-focus-shadow );
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
// Active state
|
|
132
|
+
&:active,
|
|
133
|
+
&.k-active {
|
|
134
|
+
@include fill(
|
|
135
|
+
contrast-wcag( $kendo-button-text ),
|
|
136
|
+
$kendo-button-text,
|
|
137
|
+
$kendo-button-text
|
|
138
|
+
);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
// Selected state
|
|
142
|
+
&.k-selected {
|
|
143
|
+
@include fill(
|
|
144
|
+
contrast-wcag( $kendo-button-text ),
|
|
145
|
+
$kendo-button-text,
|
|
146
|
+
$kendo-button-text
|
|
147
|
+
);
|
|
148
|
+
}
|
|
149
|
+
} @else {
|
|
150
|
+
color: $color;
|
|
151
|
+
|
|
152
|
+
// Hover state
|
|
153
|
+
&:hover,
|
|
154
|
+
&.k-hover {
|
|
155
|
+
@include fill(
|
|
156
|
+
contrast-wcag( $color ),
|
|
157
|
+
$color,
|
|
158
|
+
$color
|
|
159
|
+
);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
// Focus state
|
|
163
|
+
&:focus,
|
|
164
|
+
&.k-focus {
|
|
165
|
+
box-shadow: 0 0 0 2px rgba( $color, .3 );
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
// Active state
|
|
169
|
+
&:active,
|
|
170
|
+
&.k-active {
|
|
171
|
+
@include fill(
|
|
172
|
+
contrast-wcag( $color ),
|
|
173
|
+
$color,
|
|
174
|
+
$color
|
|
175
|
+
);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
// Selected
|
|
179
|
+
&.k-selected {
|
|
180
|
+
@include fill(
|
|
181
|
+
contrast-wcag( $color ),
|
|
182
|
+
$color,
|
|
183
|
+
$color
|
|
184
|
+
);
|
|
185
|
+
}
|
|
186
|
+
}
|
|
67
187
|
|
|
188
|
+
// Disabled state
|
|
189
|
+
&:disabled,
|
|
190
|
+
&.k-disabled {
|
|
191
|
+
@include fill(
|
|
192
|
+
$kendo-button-disabled-text,
|
|
193
|
+
$kendo-button-disabled-bg,
|
|
194
|
+
$kendo-button-disabled-border,
|
|
195
|
+
$kendo-button-disabled-gradient
|
|
196
|
+
);
|
|
197
|
+
@include box-shadow( $kendo-button-disabled-shadow );
|
|
198
|
+
}
|
|
199
|
+
}
|
|
68
200
|
}
|
|
69
201
|
|
|
70
202
|
|
|
71
|
-
//
|
|
72
|
-
.k-button-
|
|
73
|
-
@include
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
$primary-button-border,
|
|
77
|
-
$primary-button-gradient
|
|
78
|
-
);
|
|
79
|
-
@include box-shadow( $primary-button-shadow );
|
|
80
|
-
|
|
81
|
-
// Hovoer state
|
|
82
|
-
&:hover,
|
|
83
|
-
&.k-state-hover {
|
|
84
|
-
@include fill(
|
|
85
|
-
$primary-button-hovered-text,
|
|
86
|
-
$primary-button-hovered-bg,
|
|
87
|
-
$primary-button-hovered-border,
|
|
88
|
-
$primary-button-hovered-gradient
|
|
89
|
-
);
|
|
90
|
-
@include box-shadow( $primary-button-hovered-shadow );
|
|
91
|
-
}
|
|
203
|
+
// Flat Buttons
|
|
204
|
+
.k-button-flat {
|
|
205
|
+
@include box-shadow( none );
|
|
206
|
+
border-color: transparent;
|
|
207
|
+
background: none;
|
|
92
208
|
|
|
93
|
-
//
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
&.k-state-focused {
|
|
97
|
-
@include box-shadow( $primary-button-focused-shadow );
|
|
209
|
+
// Focus ring
|
|
210
|
+
&::after {
|
|
211
|
+
box-shadow: inset 0 0 0 2px currentColor;
|
|
98
212
|
}
|
|
213
|
+
}
|
|
214
|
+
@each $name, $color in $kendo-button-theme-colors {
|
|
215
|
+
.k-button-flat-#{$name} {
|
|
216
|
+
@if ($name == "base") {
|
|
217
|
+
color: inherit;
|
|
218
|
+
} @else {
|
|
219
|
+
color: $color;
|
|
220
|
+
}
|
|
99
221
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
222
|
+
// Disabled state
|
|
223
|
+
&:disabled,
|
|
224
|
+
&.k-disabled {
|
|
225
|
+
@include fill(
|
|
226
|
+
$kendo-button-disabled-text,
|
|
227
|
+
$kendo-button-disabled-bg,
|
|
228
|
+
$kendo-button-disabled-border,
|
|
229
|
+
$kendo-button-disabled-gradient
|
|
230
|
+
);
|
|
231
|
+
@include box-shadow( $kendo-button-disabled-shadow );
|
|
232
|
+
}
|
|
110
233
|
}
|
|
234
|
+
}
|
|
111
235
|
|
|
112
|
-
// Selected state
|
|
113
|
-
&.k-state-selected {
|
|
114
|
-
@include fill(
|
|
115
|
-
$primary-button-selected-text,
|
|
116
|
-
$primary-button-selected-bg,
|
|
117
|
-
$primary-button-selected-border,
|
|
118
|
-
$primary-button-selected-gradient
|
|
119
|
-
);
|
|
120
|
-
@include box-shadow( $primary-button-selected-shadow );
|
|
121
|
-
}
|
|
122
236
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
$button-disabled-bg,
|
|
129
|
-
$button-disabled-border,
|
|
130
|
-
$button-disabled-gradient
|
|
131
|
-
);
|
|
132
|
-
@include box-shadow( $button-disabled-shadow );
|
|
133
|
-
}
|
|
237
|
+
// Link Buttons
|
|
238
|
+
.k-button-link {
|
|
239
|
+
@include box-shadow( none );
|
|
240
|
+
border-color: transparent;
|
|
241
|
+
background: none;
|
|
134
242
|
|
|
243
|
+
// Focus ring
|
|
244
|
+
&::after {
|
|
245
|
+
box-shadow: inset 0 0 0 2px currentColor;
|
|
246
|
+
}
|
|
135
247
|
}
|
|
136
|
-
|
|
137
|
-
|
|
248
|
+
@each $name, $color in $kendo-button-theme-colors {
|
|
249
|
+
.k-button-link-#{$name} {
|
|
250
|
+
@if ($name == "base") {
|
|
251
|
+
color: inherit;
|
|
252
|
+
} @else {
|
|
253
|
+
color: $color;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
// Disabled state
|
|
257
|
+
&:disabled,
|
|
258
|
+
&.k-disabled {
|
|
259
|
+
@include fill(
|
|
260
|
+
$kendo-button-disabled-text,
|
|
261
|
+
$kendo-button-disabled-bg,
|
|
262
|
+
$kendo-button-disabled-border,
|
|
263
|
+
$kendo-button-disabled-gradient
|
|
264
|
+
);
|
|
265
|
+
@include box-shadow( $kendo-button-disabled-shadow );
|
|
266
|
+
}
|
|
267
|
+
}
|
|
138
268
|
}
|
|
139
269
|
|
|
140
270
|
|
|
@@ -146,12 +276,10 @@
|
|
|
146
276
|
.k-button-group {
|
|
147
277
|
|
|
148
278
|
.k-button:focus,
|
|
149
|
-
.k-button.k-
|
|
150
|
-
.k-button.k-state-focused,
|
|
279
|
+
.k-button.k-focus,
|
|
151
280
|
.k-button-outline:focus,
|
|
152
|
-
.k-button-outline.k-
|
|
153
|
-
|
|
154
|
-
@include box-shadow( $button-group-focus-shadow );
|
|
281
|
+
.k-button-outline.k-focus {
|
|
282
|
+
@include box-shadow( $kendo-button-group-focus-shadow );
|
|
155
283
|
}
|
|
156
284
|
|
|
157
285
|
}
|
|
@@ -159,147 +287,8 @@
|
|
|
159
287
|
|
|
160
288
|
// Split button
|
|
161
289
|
.k-split-button:focus,
|
|
162
|
-
.k-split-button.k-
|
|
163
|
-
|
|
164
|
-
@include box-shadow( $button-focused-shadow );
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
@include exports( "outline-button/theme" ) {
|
|
173
|
-
|
|
174
|
-
// Outline button
|
|
175
|
-
.k-button-outline {
|
|
176
|
-
@include box-shadow( none );
|
|
177
|
-
border-color: currentColor;
|
|
178
|
-
color: $button-text;
|
|
179
|
-
background: none;
|
|
180
|
-
|
|
181
|
-
// Hover state
|
|
182
|
-
&:hover,
|
|
183
|
-
&.k-state-hover {
|
|
184
|
-
@include fill( contrast-wcag( $button-text ), $button-text, $button-text, none );
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
// Focused state
|
|
188
|
-
&:focus,
|
|
189
|
-
&.k-state-focus,
|
|
190
|
-
&.k-state-focused {
|
|
191
|
-
box-shadow: $button-focused-shadow;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
// Active state
|
|
195
|
-
&:active,
|
|
196
|
-
&.k-state-active {
|
|
197
|
-
@include fill( contrast-wcag( $button-text ), $button-text, $button-text, none );
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
// Selected state
|
|
201
|
-
&.k-state-selected {
|
|
202
|
-
@include fill( contrast-wcag( $button-text ), $button-text, $button-text, none );
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
.k-button-outline.k-primary {
|
|
206
|
-
border-color: currentColor;
|
|
207
|
-
color: $primary-button-bg;
|
|
208
|
-
background: none;
|
|
209
|
-
box-shadow: none;
|
|
210
|
-
|
|
211
|
-
// Hover state
|
|
212
|
-
&:hover,
|
|
213
|
-
&.k-state-hover {
|
|
214
|
-
@include fill( contrast-wcag( $primary-button-bg ), $primary-button-bg, $primary-button-bg, none );
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
// Focused state
|
|
218
|
-
&:focus,
|
|
219
|
-
&.k-state-focus,
|
|
220
|
-
&.k-state-focused {
|
|
221
|
-
box-shadow: $primary-button-focused-shadow;
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
// Actove state
|
|
225
|
-
&:active,
|
|
226
|
-
&.k-state-active {
|
|
227
|
-
@include fill( contrast-wcag( $primary-button-bg ), $primary-button-bg, $primary-button-bg, none );
|
|
228
|
-
box-shadow: none;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
// Selected state
|
|
232
|
-
&.k-state-selected {
|
|
233
|
-
@include fill( contrast-wcag( $primary-button-bg ), $primary-button-bg, $primary-button-bg, none );
|
|
234
|
-
box-shadow: none;
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
@include exports( "flat-button/theme" ) {
|
|
244
|
-
|
|
245
|
-
// Flat button
|
|
246
|
-
.k-button-flat {
|
|
247
|
-
|
|
248
|
-
&,
|
|
249
|
-
&:hover,
|
|
250
|
-
&.k-state-hover,
|
|
251
|
-
&:active,
|
|
252
|
-
&.k-state-active,
|
|
253
|
-
&:focus,
|
|
254
|
-
&.k-state-focus {
|
|
255
|
-
color: inherit;
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
.k-button-flat.k-primary {
|
|
259
|
-
|
|
260
|
-
&,
|
|
261
|
-
&:hover,
|
|
262
|
-
&.k-state-hover,
|
|
263
|
-
&:active,
|
|
264
|
-
&.k-state-active,
|
|
265
|
-
&:focus,
|
|
266
|
-
&.k-state-focus {
|
|
267
|
-
color: $primary;
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
@include exports( "clear-button/theme" ) {
|
|
277
|
-
|
|
278
|
-
.k-button-clear {
|
|
279
|
-
color: $clear-button-text;
|
|
280
|
-
|
|
281
|
-
&:hover,
|
|
282
|
-
&.k-state-hover,
|
|
283
|
-
&:active,
|
|
284
|
-
&.k-state-active,
|
|
285
|
-
&.k-state-selected,
|
|
286
|
-
&:focus,
|
|
287
|
-
&.k-state-focus,
|
|
288
|
-
&.k-state-focused {
|
|
289
|
-
color: $clear-button-hover-text;
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
&:focus,
|
|
293
|
-
&.k-state-focus,
|
|
294
|
-
&.k-state-focused,
|
|
295
|
-
&.k-state-focused:active {
|
|
296
|
-
&::after {
|
|
297
|
-
background-color: currentColor;
|
|
298
|
-
opacity: $clear-button-focused-opacity;
|
|
299
|
-
display: block;
|
|
300
|
-
}
|
|
301
|
-
}
|
|
302
|
-
|
|
290
|
+
.k-split-button.k-focus {
|
|
291
|
+
@include box-shadow( $kendo-button-focus-shadow );
|
|
303
292
|
}
|
|
304
293
|
|
|
305
294
|
}
|