-
Notifications
You must be signed in to change notification settings - Fork 66
/
_variables.scss
438 lines (399 loc) · 16.2 KB
/
_variables.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
// Input
/// The default width of the Input components.
/// @group input
$kendo-input-default-width: 100% !default;
/// The border width of the Input components.
/// @group input
$kendo-input-border-width: 1px !default;
$kendo-input-border-height: 1px !default;
/// The border radius of the Input components.
/// @group input
$kendo-input-border-radius: null !default;
/// The horizontal padding of the Input components.
/// @group input
$kendo-input-padding-x: k-map-get( $kendo-spacing, 4 ) !default;
/// The horizontal padding of the small Input components.
/// @group input
$kendo-input-sm-padding-x: k-map-get( $kendo-spacing, 4 ) !default;
/// The horizontal padding of the medium Input components.
/// @group input
$kendo-input-md-padding-x: k-map-get( $kendo-spacing, 4 ) !default;
/// The horizontal padding of the large Input components.
/// @group input
$kendo-input-lg-padding-x: k-map-get( $kendo-spacing, 4 ) !default;
/// The vertical padding of the Input components.
/// @group input
$kendo-input-padding-y: k-map-get( $kendo-spacing, 2 ) !default;
/// The vertical padding of the small Input components.
/// @group input
$kendo-input-sm-padding-y: k-map-get( $kendo-spacing, 1.5 ) !default;
/// The vertical padding of the medium Input components.
/// @group input
$kendo-input-md-padding-y: k-map-get( $kendo-spacing, 2 ) !default;
/// The vertical padding of the large Input components.
/// @group input
$kendo-input-lg-padding-y: k-map-get( $kendo-spacing, 2 ) !default;
/// The font family of the Input components.
/// @group input
$kendo-input-font-family: $kendo-font-family !default;
/// The font size of the Input components.
/// @group input
$kendo-input-font-size: $kendo-font-size-lg !default;
/// The font size of the small Input components.
/// @group input
$kendo-input-sm-font-size: $kendo-font-size-lg !default;
/// The font size of the medium Input components.
/// @group input
$kendo-input-md-font-size: $kendo-font-size-lg !default;
/// The font size of the large Input components.
/// @group input
$kendo-input-lg-font-size: $kendo-font-size-lg !default;
/// The line height of the Input components.
/// @group input
$kendo-input-line-height: 1.25 !default;
/// The line height of the small Input components.
/// @group input
$kendo-input-sm-line-height: 1.25 !default;
/// The line height of the medium Input components.
/// @group input
$kendo-input-md-line-height: 1.25 !default;
/// The line height of the large Input components.
/// @group input
$kendo-input-lg-line-height: 1.5 !default;
/// The sizes map for the Input components.
/// @group input
$kendo-input-sizes: (
sm: (
padding-x: $kendo-input-sm-padding-x,
padding-y: $kendo-input-sm-padding-y,
font-size: $kendo-input-sm-font-size,
line-height: $kendo-input-sm-line-height,
button-padding-x: k-map-get( $kendo-spacing, 1 ),
button-padding-y: k-map-get( $kendo-spacing, 1 )
),
md: (
padding-x: $kendo-input-md-padding-x,
padding-y: $kendo-input-md-padding-y,
font-size: $kendo-input-md-font-size,
line-height: $kendo-input-md-line-height,
button-padding-x: k-map-get( $kendo-spacing, 1 ),
button-padding-y: k-map-get( $kendo-spacing, 1 )
),
lg: (
padding-x: $kendo-input-lg-padding-x,
padding-y: $kendo-input-lg-padding-y,
font-size: $kendo-input-lg-font-size,
line-height: $kendo-input-lg-line-height,
button-padding-x: k-map-get( $kendo-spacing, 1 ),
button-padding-y: k-map-get( $kendo-spacing, 1 )
)
) !default;
/// The background color of the Input components.
/// @group input
$kendo-input-bg: k-try-shade( $kendo-component-bg, .5 ) !default;
/// The text color of the Input components.
/// @group input
$kendo-input-text: $kendo-component-text !default;
/// The border color of the Input components.
/// @group input
$kendo-input-border: rgba( $kendo-component-border, .38 ) !default;
/// The shadow of the Input components.
/// @group input
$kendo-input-shadow: null !default;
/// The background color of the hovered Input components.
/// @group input
$kendo-input-hover-bg: null !default;
/// The text color of the hovered Input components.
/// @group input
$kendo-input-hover-text: null !default;
/// The border color of the hovered Input components.
/// @group input
$kendo-input-hover-border: $kendo-input-text !default;
/// The shadow of the hovered Input components.
/// @group input
$kendo-input-hover-shadow: null !default;
/// The background color of the focused Input components.
/// @group input
$kendo-input-focus-bg: null !default;
/// The text color of the focused Input components.
/// @group input
$kendo-input-focus-text: null !default;
/// The border color of the focused Input components.
/// @group input
$kendo-input-focus-border: $kendo-color-primary !default;
/// The shadow of the focused Input components.
/// @group input
$kendo-input-focus-shadow: null !default;
/// The background color of the selected Input components.
/// @group input
$kendo-input-selected-bg: null !default;
/// The text color of the selected Input components.
/// @group input
$kendo-input-selected-text: null !default;
/// The background color of the disabled Input components.
/// @group input
$kendo-input-disabled-bg: k-try-shade( $kendo-component-bg, .25 ) !default;
/// The text color of the disabled Input components.
/// @group input
$kendo-input-disabled-text: $kendo-disabled-text !default;
/// The border color of the disabled Input components.
/// @group input
$kendo-input-disabled-border: rgba( $kendo-component-border, k-math-div( k-color-alpha( $kendo-component-border ), 2 ) ) !default;
/// The gradient of the disabled Input components.
/// @group input
$kendo-input-disabled-gradient: null !default;
/// The shadow of the disabled Input components.
/// @group input
$kendo-input-disabled-shadow: null !default;
/// The background color of the outline Input components.
/// @group input
$kendo-input-outline-bg: null !default;
/// The text color of the outline Input components.
/// @group input
$kendo-input-outline-text: $kendo-input-text !default;
/// The border color of the outline Input components.
/// @group input
$kendo-input-outline-border: $kendo-input-border !default;
/// The background color of the outline hovered Input components.
/// @group input
$kendo-input-outline-hover-bg: null !default;
/// The text color of the outline hovered Input components.
/// @group input
$kendo-input-outline-hover-text: null !default;
/// The border color of the outline hovered Input components.
/// @group input
$kendo-input-outline-hover-border: $kendo-input-hover-border !default;
/// The background color of the outline focused Input components.
/// @group input
$kendo-input-outline-focus-bg: null !default;
/// The text color of the outline focused Input components.
/// @group input
$kendo-input-outline-focus-text: null !default;
/// The border color of the outline focused Input components.
/// @group input
$kendo-input-outline-focus-border: $kendo-input-focus-border !default;
/// The shadow of the outline focused Input components.
/// @group input
$kendo-input-outline-focus-shadow: $kendo-input-focus-shadow !default;
/// The background color of the flat Input components.
/// @group input
$kendo-input-flat-bg: null !default;
/// The text color of the flat Input components.
/// @group input
$kendo-input-flat-text: $kendo-input-text !default;
/// The border color of the flat Input components.
/// @group input
$kendo-input-flat-border: $kendo-input-border !default;
/// The background color of the flat hovered Input components.
/// @group input
$kendo-input-flat-hover-bg: null !default;
/// The text color of the flat hovered Input components.
/// @group input
$kendo-input-flat-hover-text: null !default;
/// The border color of the flat hovered Input components.
/// @group input
$kendo-input-flat-hover-border: $kendo-input-hover-border !default;
/// The background color of the flat focused Input components.
/// @group input
$kendo-input-flat-focus-bg: null !default;
/// The text color of the flat focused Input components.
/// @group input
$kendo-input-flat-focus-text: null !default;
/// The border color of the flat focused Input components.
/// @group input
$kendo-input-flat-focus-border: $kendo-input-focus-border !default;
/// The shadow of the flat focused Input components.
/// @group input
$kendo-input-flat-focus-shadow: $kendo-input-focus-shadow !default;
/// The text color of the Input placeholder.
/// @group input
$kendo-input-placeholder-text: $kendo-subtle-text !default;
/// The opacity of the Input placeholder.
/// @group input
$kendo-input-placeholder-opacity: 1 !default;
/// The color of the Input clear value icon.
/// @group input
$kendo-input-clear-value-text: null !default;
/// The opacity of the Input clear value icon.
/// @group input
$kendo-input-clear-value-opacity: .5 !default;
/// The color of the hovered Input clear value icon.
/// @group input
$kendo-input-clear-value-hover-text: null !default;
/// The opacity of the hovered Input clear value icon.
/// @group input
$kendo-input-clear-value-hover-opacity: 1 !default;
/// The vertical margin of the clear value icon.
/// @group input
$kendo-input-values-margin-y: k-map-get( $kendo-spacing, 0.5 ) !default;
/// The horizontal margin of the clear value icon.
/// @group input
$kendo-input-values-margin-x: $kendo-input-values-margin-y !default;
/// The width of the Input button.
/// @group input
$kendo-input-button-width: null !default;
/// The border width of the Input button.
/// @group input
$kendo-input-button-border-width: 1px !default;
/// The width of the Input spinner button.
/// @group input
$kendo-input-spinner-width: null !default;
/// The icon offset of the Input spinner button.
/// @group input
$kendo-input-spinner-icon-offset: null !default;
/// The color of the Input separator.
/// @group input
$kendo-input-separator-color: $kendo-input-text !default;
/// The opacity of the Input separator.
/// @group input
$kendo-input-separator-opacity: .5 !default;
/// The border color of the invalid Input components.
/// @group input
$kendo-input-invalid-border: $kendo-invalid-border !default;
/// The shadow of the invalid Input components.
/// @group input
$kendo-input-invalid-shadow: $kendo-invalid-shadow !default;
/// The border color of the valid Input components.
/// @group input
$kendo-input-valid-border: $kendo-valid-border !default;
/// The shadow of the valid Input components.
/// @group input
$kendo-input-valid-shadow: $kendo-valid-shadow !default;
/// The background color of the Picker components.
/// @group picker
$kendo-picker-bg: $kendo-input-bg !default;
/// The text color of the Picker components.
/// @group picker
$kendo-picker-text: $kendo-input-text !default;
/// The border color of the Picker components.
/// @group picker
$kendo-picker-border: $kendo-input-border !default;
/// The gradient of the Picker components.
/// @group picker
$kendo-picker-gradient: null !default;
/// The shadow of the Picker components.
/// @group picker
$kendo-picker-shadow: $kendo-input-shadow !default;
/// The background color of the hovered Picker components.
/// @group picker
$kendo-picker-hover-bg: $kendo-input-hover-bg !default;
/// The text color of the hovered Picker components.
/// @group picker
$kendo-picker-hover-text: $kendo-input-hover-text !default;
/// The border color of the hovered Picker components.
/// @group picker
$kendo-picker-hover-border: $kendo-input-hover-border !default;
/// The gradient of the hovered Picker components.
/// @group picker
$kendo-picker-hover-gradient: null !default;
/// The shadow of the hovered Picker components.
/// @group picker
$kendo-picker-hover-shadow: $kendo-input-hover-shadow !default;
/// The background color of the focused Picker components.
/// @group picker
$kendo-picker-focus-bg: $kendo-input-focus-bg !default;
/// The text color of the focused Picker components.
/// @group picker
$kendo-picker-focus-text: $kendo-input-focus-text !default;
/// The border color of the focused Picker components.
/// @group picker
$kendo-picker-focus-border: $kendo-input-focus-border !default;
/// The gradient of the focused Picker components.
/// @group picker
$kendo-picker-focus-gradient: null !default;
/// The shadow of the focused Picker components.
/// @group picker
$kendo-picker-focus-shadow: $kendo-input-focus-shadow !default;
/// The background color of the disabled Picker components.
/// @group picker
$kendo-picker-disabled-bg: $kendo-input-disabled-bg !default;
/// The text color of the disabled Picker components.
/// @group picker
$kendo-picker-disabled-text: $kendo-input-disabled-text !default;
/// The border color of the disabled Picker components.
/// @group picker
$kendo-picker-disabled-border: $kendo-input-disabled-border !default;
/// The gradient of the disabled Picker components.
/// @group picker
$kendo-picker-disabled-gradient: null !default;
/// The shadow of the disabled Picker components.
/// @group picker
$kendo-picker-disabled-shadow: null !default;
/// The background color of the outline Picker components.
/// @group picker
$kendo-picker-outline-bg: null !default;
/// The text color of the outline Picker components.
/// @group picker
$kendo-picker-outline-text: $kendo-picker-text !default;
/// The border color of the outline Picker components.
/// @group picker
$kendo-picker-outline-border: $kendo-picker-border !default;
/// The background color of the outline hovered Picker components.
/// @group picker
$kendo-picker-outline-hover-bg: null !default;
/// The text color of the outline hovered Picker components.
/// @group picker
$kendo-picker-outline-hover-text: null !default;
/// The border color of the outline hovered Picker components.
/// @group picker
$kendo-picker-outline-hover-border: $kendo-picker-hover-border !default;
/// The background color of the outline focused Picker components.
/// @group picker
$kendo-picker-outline-focus-bg: nul !default;
/// The text color of the outline focused Picker components.
/// @group picker
$kendo-picker-outline-focus-text: null !default;
/// The border color of the outline focused Picker components.
/// @group picker
$kendo-picker-outline-focus-border: $kendo-picker-focus-border !default;
/// The shadow of the outline focused Picker components.
/// @group picker
$kendo-picker-outline-focus-shadow: null !default;
/// The background color of the outline hovered and focused Picker components.
/// @group picker
$kendo-picker-outline-hover-focus-bg: null !default;
/// The text color of the outline hovered and focused Picker components.
/// @group picker
$kendo-picker-outline-hover-focus-text: null !default;
/// The border color of the outline hovered and focused Picker components.
/// @group picker
$kendo-picker-outline-hover-focus-border: null !default;
/// The background color of the flat Picker components.
/// @group picker
$kendo-picker-flat-bg: null !default;
/// The text color of the flat Picker components.
/// @group picker
$kendo-picker-flat-text: $kendo-picker-text !default;
/// The border color of the flat Picker components.
/// @group picker
$kendo-picker-flat-border: $kendo-picker-border !default;
/// The background color of the flat hovered Picker components.
/// @group picker
$kendo-picker-flat-hover-bg: null !default;
/// The text color of the flat hovered Picker components.
/// @group picker
$kendo-picker-flat-hover-text: null !default;
/// The border color of the flat hovered Picker components.
/// @group pickers
$kendo-picker-flat-hover-border: $kendo-picker-hover-border !default;
/// The background color of the flat focused Picker components.
/// @group picker
$kendo-picker-flat-focus-bg: null !default;
/// The text color of the flat focused Picker components.
/// @group picker
$kendo-picker-flat-focus-text: null !default;
/// The border color of the flat focused Picker components.
/// @group picker
$kendo-picker-flat-focus-border: $kendo-picker-focus-border !default;
/// The shadow of the flat focused Picker components.
/// @group picker
$kendo-picker-flat-focus-shadow: null !default;
/// The background color of the flat hovered and focused Picker components.
/// @group picker
$kendo-picker-flat-hover-focus-bg: null !default;
/// The text color of the flat hovered and focused Picker components.
/// @group picker
$kendo-picker-flat-hover-focus-text: null !default;
/// The border color of the flat hovered and focused Picker components.
/// @group picker
$kendo-picker-flat-hover-focus-border: null !default;