@progress/kendo-theme-classic 4.43.1-dev.2 → 4.43.1-dev.6
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 +2123 -1534
- package/dist/all.scss +2434 -2299
- package/modules/@progress/kendo-theme-default/package.json +2 -2
- package/modules/@progress/kendo-theme-default/scss/_layout.scss +0 -0
- 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 +57 -100
- package/modules/@progress/kendo-theme-default/scss/button/_theme.scss +177 -112
- package/modules/@progress/kendo-theme-default/scss/button/_variables.scss +77 -14
- 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 +50 -8
- package/modules/@progress/kendo-theme-default/scss/color-preview/_theme.scss +0 -14
- package/modules/@progress/kendo-theme-default/scss/color-preview/_variables.scss +2 -2
- 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 +10 -14
- 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 +2 -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 -36
- 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 +35 -141
- 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 +6 -2
- package/modules/@progress/kendo-theme-default/scss/textarea/_layout.scss +1 -1
- package/modules/@progress/kendo-theme-default/scss/timeselector/_layout.scss +2 -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/utils/_flex.scss +11 -3
- package/modules/@progress/kendo-theme-default/scss/virtual-scroller/_index.scss +10 -0
- package/modules/@progress/kendo-theme-default/scss/virtual-scroller/_layout.scss +35 -0
- package/modules/@progress/kendo-theme-default/scss/virtual-scroller/_theme.scss +3 -0
- package/modules/@progress/kendo-theme-default/scss/virtual-scroller/_variables.scss +1 -0
- 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/appbar/_variables.scss +1 -1
- package/scss/autocomplete/_variables.scss +0 -19
- package/scss/avatar/_variables.scss +13 -2
- package/scss/button/_variables.scss +78 -15
- package/scss/card/_variables.scss +4 -4
- package/scss/chat/_variables.scss +0 -7
- package/scss/checkbox/_index.scss +1 -0
- package/scss/checkbox/_variables.scss +88 -19
- package/scss/color-preview/_variables.scss +2 -2
- package/scss/coloreditor/_variables.scss +3 -3
- 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/fab/index.md +0 -0
- package/scss/grid/_variables.scss +7 -9
- package/scss/imageeditor/_variables.scss +1 -0
- package/scss/index.scss +2 -0
- package/scss/input/_variables.scss +5 -5
- package/scss/list/_index.scss +1 -0
- package/scss/list/_variables.scss +66 -6
- package/scss/listbox/_variables.scss +1 -1
- package/scss/menu/_variables.scss +1 -1
- 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/_variables.scss +86 -27
- package/scss/searchbox/_variables.scss +0 -20
- package/scss/table/_variables.scss +3 -3
- package/scss/treeview/_variables.scss +70 -16
- package/scss/typography/_variables.scss +3 -3
- 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
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
@include exports( "button/theme" ) {
|
|
2
2
|
|
|
3
|
-
//
|
|
4
|
-
.k-button
|
|
5
|
-
.k-button-secondary {
|
|
3
|
+
// Solid button
|
|
4
|
+
.k-button {
|
|
6
5
|
@include fill(
|
|
7
6
|
$button-text,
|
|
8
7
|
$button-bg,
|
|
@@ -66,75 +65,70 @@
|
|
|
66
65
|
}
|
|
67
66
|
|
|
68
67
|
}
|
|
68
|
+
.k-button.k-primary {
|
|
69
|
+
@extend .k-button-solid-primary !optional;
|
|
70
|
+
}
|
|
69
71
|
|
|
72
|
+
$_shade-fn: get-function( $solid-button-shade-function );
|
|
70
73
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
$primary-button-bg,
|
|
76
|
-
$primary-button-border,
|
|
77
|
-
$primary-button-gradient
|
|
78
|
-
);
|
|
79
|
-
@include box-shadow( $primary-button-shadow );
|
|
74
|
+
@each $name, $color in $button-theme-colors {
|
|
75
|
+
$_button-text: contrast-wcag( $color );
|
|
76
|
+
$_button-bg: if( $solid-button-shade-bg-amount, call( $_shade-fn, $color, $solid-button-shade-bg-amount ), null );
|
|
77
|
+
$_button-border: if( $solid-button-shade-border-amount, call( $_shade-fn, $color, $solid-button-shade-border-amount ), null );
|
|
80
78
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
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
|
-
}
|
|
79
|
+
$_button-hover-text: null;
|
|
80
|
+
$_button-hover-bg: if( $solid-button-hover-shade-bg-amount, call( $_shade-fn, $color, $solid-button-hover-shade-bg-amount ), null );
|
|
81
|
+
$_button-hover-border: if( $solid-button-hover-shade-border-amount, call( $_shade-fn, $color, $solid-button-hover-shade-border-amount ), null );
|
|
92
82
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
&.k-state-focused {
|
|
97
|
-
@include box-shadow( $primary-button-focused-shadow );
|
|
98
|
-
}
|
|
83
|
+
$_button-active-text: null;
|
|
84
|
+
$_button-active-bg: if( $solid-button-active-shade-bg-amount, call( $_shade-fn, $color, $solid-button-active-shade-bg-amount ), null );
|
|
85
|
+
$_button-active-border: if( $solid-button-active-shade-border-amount, call( $_shade-fn, $color, $solid-button-active-shade-border-amount ), null );
|
|
99
86
|
|
|
100
|
-
|
|
101
|
-
&:active,
|
|
102
|
-
&.k-state-active {
|
|
87
|
+
.k-button-solid.k-button-solid-#{$name} {
|
|
103
88
|
@include fill(
|
|
104
|
-
$
|
|
105
|
-
$
|
|
106
|
-
$
|
|
107
|
-
$
|
|
89
|
+
$_button-text,
|
|
90
|
+
$_button-bg,
|
|
91
|
+
$_button-border,
|
|
92
|
+
$solid-button-gradient
|
|
108
93
|
);
|
|
109
|
-
@include box-shadow( $primary-button-active-shadow );
|
|
110
|
-
}
|
|
111
94
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
}
|
|
95
|
+
// Hover state
|
|
96
|
+
&:hover,
|
|
97
|
+
&.k-state-hover {
|
|
98
|
+
@include fill(
|
|
99
|
+
$_button-hover-text,
|
|
100
|
+
$_button-hover-bg,
|
|
101
|
+
$_button-hover-border
|
|
102
|
+
);
|
|
103
|
+
}
|
|
122
104
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
$button-disabled-gradient
|
|
131
|
-
);
|
|
132
|
-
@include box-shadow( $button-disabled-shadow );
|
|
133
|
-
}
|
|
105
|
+
// Focus state
|
|
106
|
+
&:focus,
|
|
107
|
+
&.k-state-focus {
|
|
108
|
+
@if ( $solid-button-shadow ) {
|
|
109
|
+
box-shadow: 0 0 $solid-button-shadow-blur $solid-button-shadow-spread rgba( $_button-border, $solid-button-shadow-opacity );
|
|
110
|
+
}
|
|
111
|
+
}
|
|
134
112
|
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
113
|
+
// Active state
|
|
114
|
+
&:active,
|
|
115
|
+
&.k-state-active {
|
|
116
|
+
@include fill(
|
|
117
|
+
$_button-active-text,
|
|
118
|
+
$_button-active-bg,
|
|
119
|
+
$_button-active-border
|
|
120
|
+
);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
// Selected
|
|
124
|
+
&.k-state-selected {
|
|
125
|
+
@include fill(
|
|
126
|
+
$_button-active-text,
|
|
127
|
+
$_button-active-bg,
|
|
128
|
+
$_button-active-border
|
|
129
|
+
);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
138
132
|
}
|
|
139
133
|
|
|
140
134
|
|
|
@@ -143,18 +137,7 @@
|
|
|
143
137
|
|
|
144
138
|
|
|
145
139
|
// Button group
|
|
146
|
-
.k-button-group {
|
|
147
|
-
|
|
148
|
-
.k-button:focus,
|
|
149
|
-
.k-button.k-state-focus,
|
|
150
|
-
.k-button.k-state-focused,
|
|
151
|
-
.k-button-outline:focus,
|
|
152
|
-
.k-button-outline.k-state-focus,
|
|
153
|
-
.k-button-outline.k-state-focused {
|
|
154
|
-
@include box-shadow( $button-group-focus-shadow );
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
}
|
|
140
|
+
.k-button-group {}
|
|
158
141
|
|
|
159
142
|
|
|
160
143
|
// Split button
|
|
@@ -176,62 +159,96 @@
|
|
|
176
159
|
@include box-shadow( none );
|
|
177
160
|
border-color: currentColor;
|
|
178
161
|
color: $button-text;
|
|
179
|
-
background:
|
|
162
|
+
background-color: transparent;
|
|
180
163
|
|
|
181
164
|
// Hover state
|
|
182
165
|
&:hover,
|
|
183
166
|
&.k-state-hover {
|
|
184
|
-
@include fill(
|
|
167
|
+
@include fill(
|
|
168
|
+
contrast-wcag( $button-text ),
|
|
169
|
+
$button-text,
|
|
170
|
+
$button-text
|
|
171
|
+
);
|
|
185
172
|
}
|
|
186
173
|
|
|
187
174
|
// Focused state
|
|
188
175
|
&:focus,
|
|
189
176
|
&.k-state-focus,
|
|
190
177
|
&.k-state-focused {
|
|
191
|
-
|
|
178
|
+
@if ($outline-button-shadow) {
|
|
179
|
+
box-shadow: 0 0 $outline-button-shadow-blur $outline-button-shadow-spread rgba( $button-text, $outline-button-shadow-opacity );
|
|
180
|
+
}
|
|
192
181
|
}
|
|
193
182
|
|
|
194
183
|
// Active state
|
|
195
184
|
&:active,
|
|
196
185
|
&.k-state-active {
|
|
197
|
-
@include fill(
|
|
186
|
+
@include fill(
|
|
187
|
+
contrast-wcag( $button-text ),
|
|
188
|
+
$button-text,
|
|
189
|
+
$button-text
|
|
190
|
+
);
|
|
198
191
|
}
|
|
199
192
|
|
|
200
193
|
// Selected state
|
|
201
194
|
&.k-state-selected {
|
|
202
|
-
@include fill(
|
|
195
|
+
@include fill(
|
|
196
|
+
contrast-wcag( $button-text ),
|
|
197
|
+
$button-text,
|
|
198
|
+
$button-text
|
|
199
|
+
);
|
|
203
200
|
}
|
|
204
201
|
}
|
|
205
202
|
.k-button-outline.k-primary {
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
background: none;
|
|
209
|
-
box-shadow: none;
|
|
203
|
+
@extend .k-button-outline-primary !optional;
|
|
204
|
+
}
|
|
210
205
|
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
206
|
+
@each $name, $color in $button-theme-colors {
|
|
207
|
+
.k-button-outline.k-button-outline-#{$name} {
|
|
208
|
+
@include box-shadow( none );
|
|
209
|
+
border-color: currentColor;
|
|
210
|
+
color: $color;
|
|
211
|
+
background-color: transparent;
|
|
212
|
+
|
|
213
|
+
// Hover state
|
|
214
|
+
&:hover,
|
|
215
|
+
&.k-state-hover {
|
|
216
|
+
@include fill(
|
|
217
|
+
contrast-wcag( $color ),
|
|
218
|
+
$color,
|
|
219
|
+
$color
|
|
220
|
+
);
|
|
221
|
+
}
|
|
216
222
|
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
+
// Focused state
|
|
224
|
+
&:focus,
|
|
225
|
+
&.k-state-focus,
|
|
226
|
+
&.k-state-focused {
|
|
227
|
+
@if ($outline-button-shadow) {
|
|
228
|
+
box-shadow: 0 0 $outline-button-shadow-blur $outline-button-shadow-spread rgba( $color, $outline-button-shadow-opacity );
|
|
229
|
+
}
|
|
230
|
+
}
|
|
223
231
|
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
232
|
+
// Active state
|
|
233
|
+
&:active,
|
|
234
|
+
&.k-state-active {
|
|
235
|
+
@include fill(
|
|
236
|
+
contrast-wcag( $color ),
|
|
237
|
+
$color,
|
|
238
|
+
$color
|
|
239
|
+
);
|
|
240
|
+
box-shadow: none;
|
|
241
|
+
}
|
|
230
242
|
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
243
|
+
// Selected state
|
|
244
|
+
&.k-state-selected {
|
|
245
|
+
@include fill(
|
|
246
|
+
contrast-wcag( $color ),
|
|
247
|
+
$color,
|
|
248
|
+
$color
|
|
249
|
+
);
|
|
250
|
+
box-shadow: none;
|
|
251
|
+
}
|
|
235
252
|
}
|
|
236
253
|
}
|
|
237
254
|
|
|
@@ -254,17 +271,65 @@
|
|
|
254
271
|
&.k-state-focus {
|
|
255
272
|
color: inherit;
|
|
256
273
|
}
|
|
274
|
+
|
|
275
|
+
// Disabled state
|
|
276
|
+
&:disabled,
|
|
277
|
+
&.k-state-disabled {
|
|
278
|
+
color: $button-disabled-text;
|
|
279
|
+
}
|
|
257
280
|
}
|
|
258
281
|
.k-button-flat.k-primary {
|
|
282
|
+
@extend .k-button-flat-primary !optional;
|
|
283
|
+
}
|
|
259
284
|
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
285
|
+
@each $name, $color in $button-theme-colors {
|
|
286
|
+
.k-button-flat.k-button-flat-#{$name} {
|
|
287
|
+
|
|
288
|
+
&,
|
|
289
|
+
&:hover,
|
|
290
|
+
&.k-state-hover,
|
|
291
|
+
&:active,
|
|
292
|
+
&.k-state-active,
|
|
293
|
+
&:focus,
|
|
294
|
+
&.k-state-focus {
|
|
295
|
+
color: $color;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
// Disabled state
|
|
299
|
+
&:disabled,
|
|
300
|
+
&.k-state-disabled {
|
|
301
|
+
color: $button-disabled-text;
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
@include exports( "link-button/theme" ) {
|
|
312
|
+
|
|
313
|
+
@each $name, $color in map-merge( $button-theme-colors, ( "base": $base-text ) ) {
|
|
314
|
+
.k-button-link.k-button-link-#{$name} {
|
|
315
|
+
@include box-shadow( none );
|
|
316
|
+
color: $color;
|
|
317
|
+
|
|
318
|
+
&:hover,
|
|
319
|
+
&.k-state-hover {
|
|
320
|
+
color: try-shade( $color, 2 );
|
|
321
|
+
}
|
|
322
|
+
&:focus,
|
|
323
|
+
&.k-state-focus {
|
|
324
|
+
@if ($link-button-shadow) {
|
|
325
|
+
box-shadow: 0 0 $link-button-shadow-blur $link-button-shadow-spread rgba( $color, $link-button-shadow-opacity );
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
&:active,
|
|
329
|
+
&.k-state-active,
|
|
330
|
+
&.k-state-selected {
|
|
331
|
+
color: try-shade( $color, 2 );
|
|
332
|
+
}
|
|
268
333
|
}
|
|
269
334
|
}
|
|
270
335
|
|
|
@@ -1,29 +1,68 @@
|
|
|
1
1
|
// Button
|
|
2
2
|
|
|
3
|
-
/// Width of border around
|
|
3
|
+
/// Width of the border around the button.
|
|
4
4
|
/// @group button
|
|
5
5
|
$button-border-width: 1px !default;
|
|
6
|
-
|
|
6
|
+
|
|
7
|
+
/// Border radius of the button.
|
|
7
8
|
/// @group button
|
|
8
9
|
$button-border-radius: $border-radius !default;
|
|
9
10
|
|
|
10
|
-
/// Horizontal padding of
|
|
11
|
+
/// Horizontal padding of the button.
|
|
12
|
+
/// @group button
|
|
13
|
+
$button-padding-x: map-get( $spacing, 2 ) !default;
|
|
14
|
+
$button-padding-x-sm: null !default;
|
|
15
|
+
$button-padding-x-md: null !default;
|
|
16
|
+
$button-padding-x-lg: null !default;
|
|
17
|
+
|
|
18
|
+
/// Vertical padding of the button.
|
|
11
19
|
/// @group button
|
|
12
|
-
$button-padding-
|
|
13
|
-
|
|
20
|
+
$button-padding-y: map-get( $spacing, 1 ) !default;
|
|
21
|
+
$button-padding-y-sm: null !default;
|
|
22
|
+
$button-padding-y-md: null !default;
|
|
23
|
+
$button-padding-y-lg: null !default;
|
|
24
|
+
|
|
25
|
+
/// Font family of the button.
|
|
14
26
|
/// @group button
|
|
15
|
-
$button-padding-y: $padding-y !default;
|
|
16
27
|
$button-font-family: $font-family !default;
|
|
28
|
+
|
|
29
|
+
/// Font size of the button.
|
|
30
|
+
/// @group button
|
|
17
31
|
$button-font-size: $font-size !default;
|
|
18
|
-
$button-
|
|
32
|
+
$button-font-size-sm: null !default;
|
|
33
|
+
$button-font-size-md: null !default;
|
|
34
|
+
$button-font-size-lg: null !default;
|
|
19
35
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
$button-line-height
|
|
36
|
+
/// Line height used along with $font-size.
|
|
37
|
+
/// @group button
|
|
38
|
+
$button-line-height: $line-height !default;
|
|
39
|
+
$button-line-height-sm: null !default;
|
|
40
|
+
$button-line-height-md: null !default;
|
|
41
|
+
$button-line-height-lg: null !default;
|
|
23
42
|
|
|
43
|
+
/// Calculated height of the button.
|
|
44
|
+
/// @group button
|
|
24
45
|
$button-calc-size: calc( #{$button-line-height * 1em} + #{$button-padding-y * 2} + #{$button-border-width * 2} ) !default;
|
|
46
|
+
|
|
47
|
+
/// Calculated inner height of the button. Without the border width.
|
|
48
|
+
/// @group button
|
|
25
49
|
$button-inner-calc-size: calc( #{$button-line-height * 1em} + #{$button-padding-y * 2} ) !default;
|
|
26
50
|
|
|
51
|
+
/// Theme colors map for the button.
|
|
52
|
+
/// @group button
|
|
53
|
+
$button-theme-colors: (
|
|
54
|
+
"primary": map-get( $theme-colors, primary ),
|
|
55
|
+
"secondary": map-get( $theme-colors, secondary ),
|
|
56
|
+
"tertiary": map-get( $theme-colors, tertiary ),
|
|
57
|
+
"info": map-get( $theme-colors, info ),
|
|
58
|
+
"success": map-get( $theme-colors, success ),
|
|
59
|
+
"warning": map-get( $theme-colors, warning ),
|
|
60
|
+
"error": map-get( $theme-colors, error ),
|
|
61
|
+
"dark": map-get( $theme-colors, dark ),
|
|
62
|
+
"light": map-get( $theme-colors, light ),
|
|
63
|
+
"inverse": map-get( $theme-colors, inverse )
|
|
64
|
+
) !default;
|
|
65
|
+
|
|
27
66
|
/// The background of the buttons.
|
|
28
67
|
/// @group button
|
|
29
68
|
$button-bg: #f5f5f5 !default;
|
|
@@ -68,13 +107,13 @@ $button-active-shadow: null !default;
|
|
|
68
107
|
|
|
69
108
|
/// The background color of selected buttons.
|
|
70
109
|
/// @group button
|
|
71
|
-
$button-selected-bg: $
|
|
110
|
+
$button-selected-bg: $button-active-bg !default;
|
|
72
111
|
/// The text color of selected buttons.
|
|
73
112
|
/// @group button
|
|
74
|
-
$button-selected-text:
|
|
113
|
+
$button-selected-text: $button-active-text !default;
|
|
75
114
|
/// The border color of selected buttons.
|
|
76
115
|
/// @group button
|
|
77
|
-
$button-selected-border: $button-
|
|
116
|
+
$button-selected-border: $button-active-border !default;
|
|
78
117
|
/// The background gradient of selected buttons.
|
|
79
118
|
/// @group button
|
|
80
119
|
$button-selected-gradient: null !default;
|
|
@@ -120,7 +159,31 @@ $primary-button-selected-shadow: null !default;
|
|
|
120
159
|
|
|
121
160
|
$primary-button-focused-shadow: 0 0 0 2px rgba( $primary-button-border, .3 ) !default;
|
|
122
161
|
|
|
123
|
-
$button-
|
|
162
|
+
$solid-button-gradient: rgba( black, 0 ), rgba( black, .02 ) !default;
|
|
163
|
+
$solid-button-shade-function: "try-shade";
|
|
164
|
+
$solid-button-shade-text-amount: 0 !default;
|
|
165
|
+
$solid-button-shade-bg-amount: 0 !default;
|
|
166
|
+
$solid-button-shade-border-amount: 0 !default;
|
|
167
|
+
$solid-button-hover-shade-text-amount: null !default;
|
|
168
|
+
$solid-button-hover-shade-bg-amount: .5 !default;
|
|
169
|
+
$solid-button-hover-shade-border-amount: .5 !default;
|
|
170
|
+
$solid-button-active-shade-text-amount: null !default;
|
|
171
|
+
$solid-button-active-shade-bg-amount: 1.5 !default;
|
|
172
|
+
$solid-button-active-shade-border-amount: 1.5 !default;
|
|
173
|
+
$solid-button-shadow: true !default;
|
|
174
|
+
$solid-button-shadow-blur: 0px !default;
|
|
175
|
+
$solid-button-shadow-spread: 2px !default;
|
|
176
|
+
$solid-button-shadow-opacity: .3 !default;
|
|
177
|
+
|
|
178
|
+
$outline-button-shadow: true !default;
|
|
179
|
+
$outline-button-shadow-blur: 0px !default;
|
|
180
|
+
$outline-button-shadow-spread: 2px !default;
|
|
181
|
+
$outline-button-shadow-opacity: .3 !default;
|
|
182
|
+
|
|
183
|
+
$link-button-shadow: true !default;
|
|
184
|
+
$link-button-shadow-blur: 0px !default;
|
|
185
|
+
$link-button-shadow-spread: 2px !default;
|
|
186
|
+
$link-button-shadow-opacity: .3 !default;
|
|
124
187
|
|
|
125
188
|
$flat-button-hover-opacity: .04 !default;
|
|
126
189
|
$flat-button-focus-opacity: null !default;
|
|
@@ -293,7 +293,7 @@
|
|
|
293
293
|
display: block;
|
|
294
294
|
position: absolute;
|
|
295
295
|
bottom: 0;
|
|
296
|
-
content: "
|
|
296
|
+
content: "\200b";
|
|
297
297
|
height: 0;
|
|
298
298
|
line-height: 0;
|
|
299
299
|
z-index: 1;
|
|
@@ -331,7 +331,7 @@
|
|
|
331
331
|
&::after {
|
|
332
332
|
display: block;
|
|
333
333
|
position: absolute;
|
|
334
|
-
content: "
|
|
334
|
+
content: "\200b";
|
|
335
335
|
height: 0;
|
|
336
336
|
line-height: 0;
|
|
337
337
|
z-index: 1;
|
|
@@ -430,18 +430,6 @@
|
|
|
430
430
|
|
|
431
431
|
|
|
432
432
|
|
|
433
|
-
|
|
434
|
-
@include exports("daterangepicker/layout") {
|
|
435
|
-
|
|
436
|
-
// jQuery DateRangePicker
|
|
437
|
-
.k-widget.k-daterangepicker {
|
|
438
|
-
border: 0;
|
|
439
|
-
}
|
|
440
|
-
|
|
441
|
-
}
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
433
|
@include exports("calendar/layout/rtl") {
|
|
446
434
|
|
|
447
435
|
.k-rtl .k-calendar,
|
|
@@ -38,15 +38,15 @@ $card-footer-text: $header-text !default;
|
|
|
38
38
|
$card-footer-border: $header-border !default;
|
|
39
39
|
|
|
40
40
|
$card-title-margin-bottom: map-get( $spacing, sm ) !default;
|
|
41
|
-
$card-title-font-size: $font-size
|
|
42
|
-
$card-title-font-family:
|
|
43
|
-
$card-title-line-height:
|
|
41
|
+
$card-title-font-size: $h5-font-size !default;
|
|
42
|
+
$card-title-font-family: null !default;
|
|
43
|
+
$card-title-line-height: 1.25 !default;
|
|
44
44
|
$card-title-font-weight: $font-weight-normal !default;
|
|
45
45
|
$card-title-letter-spacing: null !default;
|
|
46
46
|
|
|
47
47
|
$card-subtitle-margin-bottom: map-get( $spacing, sm ) !default;
|
|
48
48
|
$card-subtitle-font-size: $font-size-sm !default;
|
|
49
|
-
$card-subtitle-font-family:
|
|
49
|
+
$card-subtitle-font-family: null !default;
|
|
50
50
|
$card-subtitle-line-height: normal !default;
|
|
51
51
|
$card-subtitle-font-weight: $font-weight-normal !default;
|
|
52
52
|
$card-subtitle-letter-spacing: null !default;
|
|
@@ -271,7 +271,8 @@
|
|
|
271
271
|
box-sizing: border-box;
|
|
272
272
|
border-width: 1px 0 0;
|
|
273
273
|
border-style: solid;
|
|
274
|
-
border-
|
|
274
|
+
border-color: inherit !important; // sass-lint:disable-line no-important
|
|
275
|
+
border-radius: 0 !important; // sass-lint:disable-line no-important
|
|
275
276
|
flex: none;
|
|
276
277
|
display: flex;
|
|
277
278
|
flex-flow: row nowrap;
|
|
@@ -288,6 +289,7 @@
|
|
|
288
289
|
.k-input {}
|
|
289
290
|
|
|
290
291
|
.k-button {
|
|
292
|
+
border-width: 0;
|
|
291
293
|
flex-shrink: 0;
|
|
292
294
|
|
|
293
295
|
svg {
|
|
@@ -297,11 +299,6 @@
|
|
|
297
299
|
display: inline-block;
|
|
298
300
|
}
|
|
299
301
|
|
|
300
|
-
&::before,
|
|
301
|
-
&::after {
|
|
302
|
-
display: none;
|
|
303
|
-
}
|
|
304
|
-
|
|
305
302
|
.k-rtl &,
|
|
306
303
|
&[dir="rtl"] {
|
|
307
304
|
transform: scaleX(-1);
|
|
@@ -442,19 +439,22 @@
|
|
|
442
439
|
}
|
|
443
440
|
|
|
444
441
|
.k-button {
|
|
445
|
-
border-color: transparent;
|
|
446
|
-
color: inherit;
|
|
447
|
-
background: none;
|
|
448
442
|
flex: none;
|
|
449
443
|
}
|
|
450
444
|
|
|
451
445
|
|
|
452
446
|
.k-scroll-button {
|
|
453
447
|
height: 100%;
|
|
448
|
+
aspect-ratio: auto;
|
|
454
449
|
position: absolute;
|
|
455
450
|
z-index: 2;
|
|
456
451
|
top: 50%;
|
|
457
452
|
transform: translateY(-50%);
|
|
453
|
+
|
|
454
|
+
.k-button-icon {
|
|
455
|
+
min-width: auto;
|
|
456
|
+
min-height: auto;
|
|
457
|
+
}
|
|
458
458
|
}
|
|
459
459
|
.k-scroll-button-left {
|
|
460
460
|
left: 0;
|
|
@@ -74,19 +74,6 @@
|
|
|
74
74
|
);
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
-
|
|
78
|
-
// Message box
|
|
79
|
-
.k-message-box {
|
|
80
|
-
@include fill(
|
|
81
|
-
$chat-message-box-text,
|
|
82
|
-
$chat-message-box-bg,
|
|
83
|
-
$chat-message-box-border
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
.k-message-box.k-state-focused {
|
|
87
|
-
@include box-shadow( $chat-message-box-focus-shadow );
|
|
88
|
-
}
|
|
89
|
-
|
|
90
77
|
}
|
|
91
78
|
|
|
92
79
|
|
|
@@ -98,14 +85,6 @@
|
|
|
98
85
|
$chat-toolbar-bg,
|
|
99
86
|
$chat-toolbar-border
|
|
100
87
|
);
|
|
101
|
-
|
|
102
|
-
.k-scroll-button {
|
|
103
|
-
@include fill( $bg: $chat-bg );
|
|
104
|
-
@include box-shadow( $chat-toolbar-box-scroll-button-shadow );
|
|
105
|
-
}
|
|
106
|
-
.k-scroll-button:hover {
|
|
107
|
-
@include fill( $bg: $chat-bg );
|
|
108
|
-
}
|
|
109
88
|
}
|
|
110
89
|
|
|
111
90
|
}
|
|
@@ -70,10 +70,3 @@ $chat-quick-reply-border: $primary !default;
|
|
|
70
70
|
$chat-quick-reply-hover-bg: $primary !default;
|
|
71
71
|
$chat-quick-reply-hover-text: $primary-contrast !default;
|
|
72
72
|
$chat-quick-reply-hover-border: $primary !default;
|
|
73
|
-
|
|
74
|
-
$chat-message-box-bg: $input-bg !default;
|
|
75
|
-
$chat-message-box-text: $input-text !default;
|
|
76
|
-
$chat-message-box-border: inherit !default;
|
|
77
|
-
$chat-message-box-focus-shadow: 0 0 40px rgba( $input-text, .1 ) !default;
|
|
78
|
-
|
|
79
|
-
$chat-toolbar-box-scroll-button-shadow: 0 0 20px 5px $chat-bg !default;
|