igniteui-theming 1.4.7 → 1.4.9
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/package.json +1 -1
- package/sass/themes/_functions.scss +5 -2
- package/sass/themes/schemas/components/light/_action-strip.scss +24 -8
- package/sass/themes/schemas/components/light/_avatar.scss +2 -2
- package/sass/themes/schemas/components/light/_badge.scss +2 -2
- package/sass/themes/schemas/components/light/_button-group.scss +18 -7
- package/sass/themes/schemas/components/light/_button.scss +90 -34
- package/sass/themes/schemas/components/light/_calendar.scss +60 -22
- package/sass/themes/schemas/components/light/_card.scss +18 -7
- package/sass/themes/schemas/components/light/_carousel.scss +12 -6
- package/sass/themes/schemas/components/light/_checkbox.scss +48 -16
- package/sass/themes/schemas/components/light/_chip.scss +12 -6
- package/sass/themes/schemas/components/light/_combo.scss +13 -18
- package/sass/themes/schemas/components/light/_dialog.scss +18 -7
- package/sass/themes/schemas/components/light/_drop-down.scss +30 -13
- package/sass/themes/schemas/components/light/_expansion-panel.scss +12 -5
- package/sass/themes/schemas/components/light/_grid.scss +20 -9
- package/sass/themes/schemas/components/light/_input-group.scss +54 -21
- package/sass/themes/schemas/components/light/_list.scss +24 -10
- package/sass/themes/schemas/components/light/_navdrawer.scss +18 -7
- package/sass/themes/schemas/components/light/_progress.scss +13 -7
- package/sass/themes/schemas/components/light/_select.scss +12 -24
- package/sass/themes/schemas/components/light/_snackbar.scss +18 -6
- package/sass/themes/schemas/components/light/_splitter.scss +6 -2
- package/sass/themes/schemas/components/light/_stepper.scss +28 -14
- package/sass/themes/schemas/components/light/_switch.scss +42 -15
- package/sass/themes/schemas/components/light/_tabs.scss +12 -4
- package/sass/themes/schemas/components/light/_time-picker.scss +42 -15
- package/sass/themes/schemas/components/light/_toast.scss +24 -8
- package/sass/themes/schemas/components/light/_tooltip.scss +18 -7
- package/sass/themes/schemas/components/light/_watermark.scss +24 -8
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
/// @prop {Map} text-color [contrast-color: ('gray', 900)] - The text color used in the snackbar.
|
|
15
15
|
/// @prop {Map} button-color [color: ('secondary', 500)] - The button color used in the snackbar.
|
|
16
16
|
/// @prop {Number} elevation [4] - The elevation level, between 0-24, to be used in the snackbar.
|
|
17
|
-
/// @prop {
|
|
17
|
+
/// @prop {List} border-radius [(rem(4px), rem(0), rem(24px))] - The border radius used for snackbar.
|
|
18
18
|
/// @requires {Map} $default-elevation-snackbar
|
|
19
19
|
$light-snackbar: extend(
|
|
20
20
|
$default-elevation-snackbar,
|
|
@@ -41,19 +41,27 @@ $light-snackbar: extend(
|
|
|
41
41
|
),
|
|
42
42
|
),
|
|
43
43
|
|
|
44
|
-
border-radius:
|
|
44
|
+
border-radius: (
|
|
45
|
+
rem(4px),
|
|
46
|
+
rem(0),
|
|
47
|
+
rem(24px),
|
|
48
|
+
),
|
|
45
49
|
)
|
|
46
50
|
);
|
|
47
51
|
|
|
48
52
|
/// Generates a fluent snackbar schema.
|
|
49
53
|
/// @type {Map}
|
|
50
|
-
/// @prop {
|
|
54
|
+
/// @prop {List} border-radius [(rem(2px), rem(0), rem(24px))] - The border radius used for snackbar.
|
|
51
55
|
///
|
|
52
56
|
/// @requires $light-snackbar
|
|
53
57
|
$fluent-snackbar: extend(
|
|
54
58
|
$light-snackbar,
|
|
55
59
|
(
|
|
56
|
-
border-radius:
|
|
60
|
+
border-radius: (
|
|
61
|
+
rem(2px),
|
|
62
|
+
rem(0),
|
|
63
|
+
rem(24px),
|
|
64
|
+
),
|
|
57
65
|
)
|
|
58
66
|
);
|
|
59
67
|
|
|
@@ -97,7 +105,7 @@ $bootstrap-snackbar: extend(
|
|
|
97
105
|
/// @prop {Map} background [color: ('gray', 700, .9)] - The background color used in the snackbar.
|
|
98
106
|
/// @prop {Map} text-color [contrast-color: ('gray', 700)] - The text color used in the snackbar.
|
|
99
107
|
/// @prop {Map} button-color [contrast-color: ('gray', 700)] - The button color used in the snackbar.
|
|
100
|
-
/// @prop {
|
|
108
|
+
/// @prop {List} border-radius [(rem(6px), rem(0), rem(24px))] - The border radius used for snackbar.
|
|
101
109
|
///
|
|
102
110
|
///
|
|
103
111
|
/// @requires $light-snackbar
|
|
@@ -126,6 +134,10 @@ $indigo-snackbar: extend(
|
|
|
126
134
|
),
|
|
127
135
|
),
|
|
128
136
|
|
|
129
|
-
border-radius:
|
|
137
|
+
border-radius: (
|
|
138
|
+
rem(6px),
|
|
139
|
+
rem(0),
|
|
140
|
+
rem(24px),
|
|
141
|
+
),
|
|
130
142
|
)
|
|
131
143
|
);
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
/// @prop {Map} bar-color [color: ('gray', 200)] - The background color of the bar.
|
|
13
13
|
/// @prop {Map} handle-color [color: ('gray', 400)] - The color for the bar drag handle.
|
|
14
14
|
/// @prop {Map} expander-color [color: ('gray', 400)] - The color for the arrow expander's.
|
|
15
|
-
/// @prop {
|
|
15
|
+
/// @prop {List} border-radius [(rem(2px), rem(0), rem(2px))] - The border radius used for splitter.
|
|
16
16
|
/// @prop {Map} focus-color [color: ('secondary', 500)] - The color used for focused splitter bar.
|
|
17
17
|
/// @prop {Number} size [4px] - The size of the splitter, it's width for vertical and height for horizontal splitter.
|
|
18
18
|
$light-splitter: (
|
|
@@ -46,7 +46,11 @@ $light-splitter: (
|
|
|
46
46
|
|
|
47
47
|
size: 4px,
|
|
48
48
|
|
|
49
|
-
border-radius:
|
|
49
|
+
border-radius: (
|
|
50
|
+
rem(2px),
|
|
51
|
+
rem(0),
|
|
52
|
+
rem(2px),
|
|
53
|
+
),
|
|
50
54
|
);
|
|
51
55
|
|
|
52
56
|
/// Generates a fluent splitter schema.
|
|
@@ -66,8 +66,8 @@
|
|
|
66
66
|
/// @prop {Map} complete-step-separator-color [color: ('gray', 900)] - The separator border-color between the completed steps.
|
|
67
67
|
/// @prop {String} step-separator-style ['dashed'] - The separator border-style of between the steps.
|
|
68
68
|
/// @prop {String} complete-step-separator-style ['solid'] - The separator border-style between the completed steps.
|
|
69
|
-
/// @prop {
|
|
70
|
-
/// @prop {
|
|
69
|
+
/// @prop {List} border-radius-indicator [(rem(100px), rem(0), rem(100px))] - The indicator border radius.
|
|
70
|
+
/// @prop {List} border-radius-step-header [(rem(0), rem(0), rem(100px))] - The header border radius.
|
|
71
71
|
$light-stepper: (
|
|
72
72
|
// Step incomplete
|
|
73
73
|
step-background: transparent,
|
|
@@ -400,8 +400,8 @@ $light-stepper: (
|
|
|
400
400
|
),
|
|
401
401
|
step-separator-style: 'dashed',
|
|
402
402
|
complete-step-separator-style: 'solid',
|
|
403
|
-
border-radius-indicator: rem(100px),
|
|
404
|
-
border-radius-step-header: rem(0)
|
|
403
|
+
border-radius-indicator: (rem(100px), rem(0), rem(100px)),
|
|
404
|
+
border-radius-step-header: (rem(0), rem(0), rem(100px))
|
|
405
405
|
);
|
|
406
406
|
|
|
407
407
|
/// Generates a fluent stepper schema.
|
|
@@ -415,8 +415,8 @@ $light-stepper: (
|
|
|
415
415
|
/// @prop {Map} complete-step-separator-color [color: ('primary', 500)] - The separator border-color between the completed steps.
|
|
416
416
|
/// @prop {Color} disabled-indicator-background [transparent] - The background color of the disabled step indicator.
|
|
417
417
|
/// @prop {Color} disabled-indicator-outline [transparent] - The outline color of the disabled step indicator.
|
|
418
|
-
/// @prop {
|
|
419
|
-
/// @prop {
|
|
418
|
+
/// @prop {List} border-radius-indicator [(rem(2px), rem(0), rem(100px))] - The indicator border radius.
|
|
419
|
+
/// @prop {List} border-radius-step-header [(rem(2px), rem(0), rem(100px))] - The header border radius.
|
|
420
420
|
/// @requires {Map} $light-stepper
|
|
421
421
|
$fluent-stepper: extend(
|
|
422
422
|
$light-stepper,
|
|
@@ -455,8 +455,16 @@ $fluent-stepper: extend(
|
|
|
455
455
|
// Disabled
|
|
456
456
|
disabled-indicator-background: transparent,
|
|
457
457
|
disabled-indicator-outline: transparent,
|
|
458
|
-
border-radius-indicator:
|
|
459
|
-
|
|
458
|
+
border-radius-indicator: (
|
|
459
|
+
rem(2px),
|
|
460
|
+
rem(0),
|
|
461
|
+
rem(100px),
|
|
462
|
+
),
|
|
463
|
+
border-radius-step-header: (
|
|
464
|
+
rem(2px),
|
|
465
|
+
rem(0),
|
|
466
|
+
rem(100px),
|
|
467
|
+
),
|
|
460
468
|
)
|
|
461
469
|
);
|
|
462
470
|
|
|
@@ -482,8 +490,8 @@ $fluent-stepper: extend(
|
|
|
482
490
|
/// @prop {Map} invalid-step-focus-background [color: ('gray', 300, .5)] - The background of the invalid step header on hover.
|
|
483
491
|
/// @prop {Map} current-step-focus-background [color: ('gray', 300, .5)] - The background of the current step header on hover.
|
|
484
492
|
/// @prop {Map} complete-step-focus-background [color: ('gray', 300, .5)] - The background of the complete step header on hover.
|
|
485
|
-
/// @prop {
|
|
486
|
-
/// @prop {
|
|
493
|
+
/// @prop {List} border-radius-indicator [(rem(2px), rem(0), rem(100px))] - The indicator border radius.
|
|
494
|
+
/// @prop {List} border-radius-step-header [(rem(2px), rem(0), rem(100px))] - The header border radius.
|
|
487
495
|
/// @requires {Map} $light-stepper
|
|
488
496
|
$bootstrap-stepper: extend(
|
|
489
497
|
$light-stepper,
|
|
@@ -606,8 +614,16 @@ $bootstrap-stepper: extend(
|
|
|
606
614
|
),
|
|
607
615
|
step-separator-style: 'solid',
|
|
608
616
|
complete-step-separator-style: 'solid',
|
|
609
|
-
border-radius-indicator:
|
|
610
|
-
|
|
617
|
+
border-radius-indicator: (
|
|
618
|
+
rem(2px),
|
|
619
|
+
rem(0),
|
|
620
|
+
rem(100px),
|
|
621
|
+
),
|
|
622
|
+
border-radius-step-header: (
|
|
623
|
+
rem(2px),
|
|
624
|
+
rem(0),
|
|
625
|
+
rem(100px),
|
|
626
|
+
),
|
|
611
627
|
)
|
|
612
628
|
);
|
|
613
629
|
|
|
@@ -625,8 +641,6 @@ $bootstrap-stepper: extend(
|
|
|
625
641
|
/// @prop {Map} complete-step-separator-color [color: ('primary', 500)] - The separator border-color between the completed steps.
|
|
626
642
|
/// @prop {String} step-separator-style ['solid'] - The separator border-style of between the steps.
|
|
627
643
|
/// @prop {String} complete-step-separator-style ['solid'] - The separator border-style between the completed steps.
|
|
628
|
-
/// @prop {Number} border-radius-indicator [100px] - The border radius. Can be a fraction between 0 and 1, pixels, or percent.
|
|
629
|
-
/// @prop {Number} border-radius-step-header [0] - The border radius. Can be a fraction between 0 and 1, pixels, or percent.
|
|
630
644
|
/// @requires $light-stepper
|
|
631
645
|
$indigo-stepper: extend(
|
|
632
646
|
$light-stepper,
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
/// @prop {Number} resting-elevation [2] - The elevation level, between 0-24, to be used for the resting state.
|
|
26
26
|
/// @prop {Number} hover-elevation [3] - The elevation level, between 0-24, to be used for the hover state.
|
|
27
27
|
/// @prop {Number} disabled-elevation [1] - The elevation level, between 0-24, to be used for the disabled state.
|
|
28
|
-
/// @prop {
|
|
29
|
-
/// @prop {
|
|
30
|
-
/// @prop {
|
|
28
|
+
/// @prop {List} border-radius-track [(rem(7px), rem(0), rem(7px))] - The border radius used for switch track.
|
|
29
|
+
/// @prop {List} border-radius-thumb [(rem(10px), rem(0), rem(10px))] - The border radius used for switch thumb.
|
|
30
|
+
/// @prop {List} border-radius-ripple [(rem(24px), rem(0), rem(24px))] - The border radius used for switch ripple.
|
|
31
31
|
/// @prop {Color} border-color [transparent] - The border color of the switch.
|
|
32
32
|
/// @prop {Color} border-hover-color [transparent] - The border color of the switch on hover.
|
|
33
33
|
/// @prop {Color} border-disabled-color [transparent] - The border color of the disabled switch.
|
|
@@ -137,9 +137,21 @@ $light-switch: extend(
|
|
|
137
137
|
500,
|
|
138
138
|
),
|
|
139
139
|
),
|
|
140
|
-
border-radius-track:
|
|
141
|
-
|
|
142
|
-
|
|
140
|
+
border-radius-track: (
|
|
141
|
+
rem(7px),
|
|
142
|
+
rem(0),
|
|
143
|
+
rem(7px),
|
|
144
|
+
),
|
|
145
|
+
border-radius-thumb: (
|
|
146
|
+
rem(10px),
|
|
147
|
+
rem(0),
|
|
148
|
+
rem(10px),
|
|
149
|
+
),
|
|
150
|
+
border-radius-ripple: (
|
|
151
|
+
rem(24px),
|
|
152
|
+
rem(0),
|
|
153
|
+
rem(24px),
|
|
154
|
+
),
|
|
143
155
|
)
|
|
144
156
|
);
|
|
145
157
|
|
|
@@ -166,7 +178,7 @@ $light-switch: extend(
|
|
|
166
178
|
/// @prop {Map} error-color-hover [color: ('gray', 800)] - The border and thumb color in invalid state on hover.
|
|
167
179
|
/// @prop {Map} thumb-on-error-color [color: ('gray', 50)] - The color of the thumb when the switch is on and invalid.
|
|
168
180
|
///
|
|
169
|
-
/// @prop {
|
|
181
|
+
/// @prop {List} border-radius-track [(rem(10px), rem(0), rem(10px))] - The border radius used for switch track.
|
|
170
182
|
///
|
|
171
183
|
///
|
|
172
184
|
/// @requires {Map} $light-switch
|
|
@@ -271,7 +283,11 @@ $fluent-switch: extend(
|
|
|
271
283
|
),
|
|
272
284
|
),
|
|
273
285
|
track-disabled-color: transparent,
|
|
274
|
-
border-radius-track:
|
|
286
|
+
border-radius-track: (
|
|
287
|
+
rem(10px),
|
|
288
|
+
rem(0),
|
|
289
|
+
rem(10px),
|
|
290
|
+
),
|
|
275
291
|
)
|
|
276
292
|
);
|
|
277
293
|
|
|
@@ -289,8 +305,8 @@ $fluent-switch: extend(
|
|
|
289
305
|
/// @prop {Color} track-disabled-color [transparent] - The color of the track when the switch is disabled.
|
|
290
306
|
/// @prop {Map} error-color [color: ('gray', 400)] - The border and thumb color in invalid state.
|
|
291
307
|
/// @prop {Map} error-color-hover [color: ('primary', 200)] - The border and thumb color in invalid state on hover.
|
|
292
|
-
/// @prop {
|
|
293
|
-
/// @prop {
|
|
308
|
+
/// @prop {List} border-radius-track [(rem(32px), rem(0), rem(32px))] - The border radius used for switch track.
|
|
309
|
+
/// @prop {List} border-radius-thumb [(rem(32px), rem(0), rem(32px))] - The border radius used for switch thumb.
|
|
294
310
|
///
|
|
295
311
|
///
|
|
296
312
|
/// @requires {Map} $fluent-switch
|
|
@@ -363,8 +379,16 @@ $bootstrap-switch: extend(
|
|
|
363
379
|
200,
|
|
364
380
|
),
|
|
365
381
|
),
|
|
366
|
-
border-radius-track:
|
|
367
|
-
|
|
382
|
+
border-radius-track: (
|
|
383
|
+
rem(32px),
|
|
384
|
+
rem(0),
|
|
385
|
+
rem(32px),
|
|
386
|
+
),
|
|
387
|
+
border-radius-thumb: (
|
|
388
|
+
rem(32px),
|
|
389
|
+
rem(0),
|
|
390
|
+
rem(32px),
|
|
391
|
+
),
|
|
368
392
|
)
|
|
369
393
|
);
|
|
370
394
|
|
|
@@ -387,8 +411,7 @@ $bootstrap-switch: extend(
|
|
|
387
411
|
/// @prop {Map} thumb-on-error-color [color: ('gray', 50)] - The color of the thumb when the switch is on and invalid.
|
|
388
412
|
/// @prop {Map} error-color [color: ('gray', 500)] - The border and thumb color in invalid state.
|
|
389
413
|
/// @prop {Map} error-color-hover [color: ('gray', 300)] - The border and thumb color in invalid state on hover.
|
|
390
|
-
/// @prop {
|
|
391
|
-
/// @prop {Number} border-radius-thumb [10px] - The border radius used for switch thumb. Can be a fraction between 0 and 1, pixels, or percent.
|
|
414
|
+
/// @prop {List} border-radius-track [(rem(8px), rem(0), rem(8px))] - The border radius used for switch track.
|
|
392
415
|
/// @prop {Map} focus-outline-color [color: ('gray', 300)] - The focus outlined color.
|
|
393
416
|
/// @prop {Map} focus-outline-color-focused [color: ('primary', 200)] - The focus outlined color for focused state.
|
|
394
417
|
///
|
|
@@ -489,6 +512,10 @@ $indigo-switch: extend(
|
|
|
489
512
|
300,
|
|
490
513
|
),
|
|
491
514
|
),
|
|
492
|
-
border-radius-track:
|
|
515
|
+
border-radius-track: (
|
|
516
|
+
rem(8px),
|
|
517
|
+
rem(0),
|
|
518
|
+
rem(8px),
|
|
519
|
+
),
|
|
493
520
|
)
|
|
494
521
|
);
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
/// @prop {Map} border-color--hover [transparent] - The color used for the tab items bottom border on hover.
|
|
33
33
|
/// @prop {Map} tab-ripple-color [color: ('gray', 100)] - The color used for the button background.
|
|
34
34
|
/// @prop {Map} button-ripple-color [color: ('gray', 100)] - The color used for the button background on hover.
|
|
35
|
-
/// @prop {
|
|
35
|
+
/// @prop {List} border-radius [(rem(0), rem(0), rem(6px))] - The border radius used for tabs.
|
|
36
36
|
$light-tabs: (
|
|
37
37
|
item-text-color: (
|
|
38
38
|
color: (
|
|
@@ -148,7 +148,11 @@ $light-tabs: (
|
|
|
148
148
|
),
|
|
149
149
|
border-color: transparent,
|
|
150
150
|
border-color--hover: transparent,
|
|
151
|
-
border-radius:
|
|
151
|
+
border-radius: (
|
|
152
|
+
rem(0),
|
|
153
|
+
rem(0),
|
|
154
|
+
rem(6px),
|
|
155
|
+
),
|
|
152
156
|
);
|
|
153
157
|
|
|
154
158
|
/// Generates a fluent tabs schema.
|
|
@@ -228,7 +232,7 @@ $fluent-tabs: extend(
|
|
|
228
232
|
/// @prop {map} item-active-background [color: ('surface')] - The color used for the active/focused tab background.
|
|
229
233
|
/// @prop {map} border-color [color: ('gray', 300)] - The color used for the tab items border.
|
|
230
234
|
/// @prop {map} border-color--hover [color: ('gray', 200)] - The color used for the tab items border on hover.
|
|
231
|
-
/// @prop {
|
|
235
|
+
/// @prop {List} border-radius [(rem(4px), rem(0), rem(6px))] - The border radius used for tabs.
|
|
232
236
|
/// @requires {Map} $light-tabs
|
|
233
237
|
$bootstrap-tabs: extend(
|
|
234
238
|
$light-tabs,
|
|
@@ -334,7 +338,11 @@ $bootstrap-tabs: extend(
|
|
|
334
338
|
0.5,
|
|
335
339
|
),
|
|
336
340
|
),
|
|
337
|
-
border-radius:
|
|
341
|
+
border-radius: (
|
|
342
|
+
rem(4px),
|
|
343
|
+
rem(0),
|
|
344
|
+
rem(6px),
|
|
345
|
+
),
|
|
338
346
|
)
|
|
339
347
|
);
|
|
340
348
|
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
/// @prop {Map} background-color [color: 'surface'] - The time-picker panel background color.
|
|
23
23
|
/// @prop {Number} modal-elevation [24] - The elevation level, between 0-24, to be used for the time picker in modal mode.
|
|
24
24
|
/// @prop {Number} dropdown-elevation [8] - The elevation level, between 0-24, to be used for the time picker in dropdown mode.
|
|
25
|
-
/// @prop {
|
|
26
|
-
/// @prop {
|
|
25
|
+
/// @prop {List} border-radius [(rem(4px), rem(0), rem(20px))] - The border radius used for the overall shape of the time-picker.
|
|
26
|
+
/// @prop {List} active-item-border-radius [(rem(15px), rem(0), rem(20px))] - The border radius used for the highlight of the active item in the time-picker.
|
|
27
27
|
/// @requires {Map} $default-elevation-time-picker
|
|
28
28
|
/// @see $default-palette
|
|
29
29
|
$light-time-picker: extend(
|
|
@@ -91,22 +91,38 @@ $light-time-picker: extend(
|
|
|
91
91
|
color: 'surface',
|
|
92
92
|
),
|
|
93
93
|
|
|
94
|
-
border-radius:
|
|
95
|
-
|
|
94
|
+
border-radius: (
|
|
95
|
+
rem(4px),
|
|
96
|
+
rem(0),
|
|
97
|
+
rem(20px),
|
|
98
|
+
),
|
|
99
|
+
active-item-border-radius: (
|
|
100
|
+
rem(15px),
|
|
101
|
+
rem(0),
|
|
102
|
+
rem(20px),
|
|
103
|
+
),
|
|
96
104
|
)
|
|
97
105
|
);
|
|
98
106
|
|
|
99
107
|
/// Generates a fluent time-picker schema.
|
|
100
108
|
/// @type {Map}
|
|
101
|
-
/// @prop {
|
|
102
|
-
/// @prop {
|
|
109
|
+
/// @prop {List} border-radius [(rem(2px), rem(0), rem(20px))] - The border radius used for the overall shape of the time-picker.
|
|
110
|
+
/// @prop {List} active-item-border-radius [(rem(2px), rem(0), rem(20px))] - The border radius used for the highlight of the active item in the time-picker.
|
|
103
111
|
///
|
|
104
112
|
/// @requires $light-time-picker
|
|
105
113
|
$fluent-time-picker: extend(
|
|
106
114
|
$light-time-picker,
|
|
107
115
|
(
|
|
108
|
-
border-radius:
|
|
109
|
-
|
|
116
|
+
border-radius: (
|
|
117
|
+
rem(2px),
|
|
118
|
+
rem(0),
|
|
119
|
+
rem(20px),
|
|
120
|
+
),
|
|
121
|
+
active-item-border-radius: (
|
|
122
|
+
rem(2px),
|
|
123
|
+
rem(0),
|
|
124
|
+
rem(20px),
|
|
125
|
+
),
|
|
110
126
|
)
|
|
111
127
|
);
|
|
112
128
|
|
|
@@ -115,8 +131,7 @@ $fluent-time-picker: extend(
|
|
|
115
131
|
/// @prop {Map} selected-text-color [color: ('primary', 500)] - The text color of a selected item in time picker.
|
|
116
132
|
/// @prop {Map} hover-text-color [color: ('primary', 600)] - The hover text color of an open time picker.
|
|
117
133
|
/// @prop {Map} header-background [color: ('primary', 500)] - The header background color of a time picker.
|
|
118
|
-
/// @prop {
|
|
119
|
-
/// @prop {Number} active-item-border-radius [4px] - The border radius used for the highlight of the active item in the time-picker. Can be a fraction between 0 and 1, pixels, or percent.
|
|
134
|
+
/// @prop {List} active-item-border-radius [(rem(4px), rem(0), rem(20px))] - The border radius used for the highlight of the active item in the time-picker.
|
|
120
135
|
///
|
|
121
136
|
/// @requires $light-time-picker
|
|
122
137
|
$bootstrap-time-picker: extend(
|
|
@@ -143,7 +158,11 @@ $bootstrap-time-picker: extend(
|
|
|
143
158
|
),
|
|
144
159
|
),
|
|
145
160
|
|
|
146
|
-
active-item-border-radius:
|
|
161
|
+
active-item-border-radius: (
|
|
162
|
+
rem(4px),
|
|
163
|
+
rem(0),
|
|
164
|
+
rem(20px),
|
|
165
|
+
),
|
|
147
166
|
)
|
|
148
167
|
);
|
|
149
168
|
|
|
@@ -155,8 +174,8 @@ $bootstrap-time-picker: extend(
|
|
|
155
174
|
/// @prop {Map} header-background [color: ('primary', 500)] - The header background color of a time picker.
|
|
156
175
|
/// @prop {Map} header-hour-text-color [contrast-color: ('primary', 500)] - The header hour text color of a time picker.
|
|
157
176
|
/// @prop {Map} header-time-period-color [contrast-color: ('primary', 500)] - The header AM/PM text color of a time picker.
|
|
158
|
-
/// @prop {
|
|
159
|
-
/// @prop {
|
|
177
|
+
/// @prop {List} border-radius [(rem(3px), rem(0), rem(20px))] - The border radius used for the overall shape of the time-picker.
|
|
178
|
+
/// @prop {List} active-item-border-radius [(rem(20px), rem(0), rem(20px))] - The border radius used for the highlight of the active item in the time-picker.
|
|
160
179
|
///
|
|
161
180
|
/// @requires $light-time-picker
|
|
162
181
|
$indigo-time-picker: extend(
|
|
@@ -204,7 +223,15 @@ $indigo-time-picker: extend(
|
|
|
204
223
|
),
|
|
205
224
|
),
|
|
206
225
|
|
|
207
|
-
border-radius:
|
|
208
|
-
|
|
226
|
+
border-radius: (
|
|
227
|
+
rem(3px),
|
|
228
|
+
rem(0),
|
|
229
|
+
rem(20px),
|
|
230
|
+
),
|
|
231
|
+
active-item-border-radius: (
|
|
232
|
+
rem(20px),
|
|
233
|
+
rem(0),
|
|
234
|
+
rem(20px),
|
|
235
|
+
),
|
|
209
236
|
)
|
|
210
237
|
);
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
/// @prop {Map} background [color: ('gray', 700, .9)] - The background color used for the toast.
|
|
14
14
|
/// @prop {Map} text-color [contrast-color: ('gray', 700)] - The text-color used for the toast.
|
|
15
15
|
/// @prop {Number} elevation [0] - The elevation level, between 0-24, to be used for the toast.
|
|
16
|
-
/// @prop {
|
|
16
|
+
/// @prop {List} border-radius [(rem(26px), rem(0), rem(26px))] - The border radius used for toast.
|
|
17
17
|
/// @requires {Map} $default-elevation-toast
|
|
18
18
|
$light-toast: extend(
|
|
19
19
|
$default-elevation-toast,
|
|
@@ -33,18 +33,26 @@ $light-toast: extend(
|
|
|
33
33
|
),
|
|
34
34
|
),
|
|
35
35
|
|
|
36
|
-
border-radius:
|
|
36
|
+
border-radius: (
|
|
37
|
+
rem(26px),
|
|
38
|
+
rem(0),
|
|
39
|
+
rem(26px),
|
|
40
|
+
),
|
|
37
41
|
)
|
|
38
42
|
);
|
|
39
43
|
|
|
40
44
|
/// Generates a fluent toast schema.
|
|
41
45
|
/// @type {Map}
|
|
42
|
-
/// @prop {
|
|
46
|
+
/// @prop {List} border-radius [(rem(2px), rem(0), rem(26px))] - The border radius used for toast.
|
|
43
47
|
/// @requires $light-toast
|
|
44
48
|
$fluent-toast: extend(
|
|
45
49
|
$light-toast,
|
|
46
50
|
(
|
|
47
|
-
border-radius:
|
|
51
|
+
border-radius: (
|
|
52
|
+
rem(2px),
|
|
53
|
+
rem(0),
|
|
54
|
+
rem(26px),
|
|
55
|
+
),
|
|
48
56
|
)
|
|
49
57
|
);
|
|
50
58
|
|
|
@@ -53,7 +61,7 @@ $fluent-toast: extend(
|
|
|
53
61
|
/// @prop {Map} background [color: (color: ('surface')] - The background color used for the toast.
|
|
54
62
|
/// @prop {Map} text-color [color: ('gray', 600)] - The text-color used for the toast.
|
|
55
63
|
/// @prop {Number} elevation [10] - The elevation level, between 0-24, to be used for the toast.
|
|
56
|
-
/// @prop {
|
|
64
|
+
/// @prop {List} border-radius [(rem(4px), rem(0), rem(26px))] - The border radius used for toast.
|
|
57
65
|
/// @requires {Map} $light-toast
|
|
58
66
|
/// @requires {Map} $bootstrap-elevation-toast
|
|
59
67
|
$bootstrap-toast: extend(
|
|
@@ -73,17 +81,25 @@ $bootstrap-toast: extend(
|
|
|
73
81
|
),
|
|
74
82
|
),
|
|
75
83
|
|
|
76
|
-
border-radius:
|
|
84
|
+
border-radius: (
|
|
85
|
+
rem(4px),
|
|
86
|
+
rem(0),
|
|
87
|
+
rem(26px),
|
|
88
|
+
),
|
|
77
89
|
)
|
|
78
90
|
);
|
|
79
91
|
|
|
80
92
|
/// Generates an indigo toast schema.
|
|
81
93
|
/// @type {Map}
|
|
82
|
-
/// @prop {
|
|
94
|
+
/// @prop {List} border-radius [(rem(24px), rem(0), rem(26px))] - The border radius used for toast.
|
|
83
95
|
/// @requires {Map} $light-toast
|
|
84
96
|
$indigo-toast: extend(
|
|
85
97
|
$light-toast,
|
|
86
98
|
(
|
|
87
|
-
border-radius:
|
|
99
|
+
border-radius: (
|
|
100
|
+
rem(24px),
|
|
101
|
+
rem(0),
|
|
102
|
+
rem(26px),
|
|
103
|
+
),
|
|
88
104
|
)
|
|
89
105
|
);
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
/// @type {Map}
|
|
12
12
|
/// @prop {Map} background [color: ('gray', 700, .9),] - The background color of the tooltip.
|
|
13
13
|
/// @prop {Map} text-color [contrast-color: ('gray', 700)] - The text color of the tooltip.
|
|
14
|
-
/// @prop {
|
|
14
|
+
/// @prop {List} border-radius [(rem(4px), rem(0), rem(16px))] - The border radius used for tooltip.
|
|
15
15
|
$light-tooltip: (
|
|
16
16
|
background: (
|
|
17
17
|
color: (
|
|
@@ -28,14 +28,18 @@ $light-tooltip: (
|
|
|
28
28
|
),
|
|
29
29
|
),
|
|
30
30
|
|
|
31
|
-
border-radius:
|
|
31
|
+
border-radius: (
|
|
32
|
+
rem(4px),
|
|
33
|
+
rem(0),
|
|
34
|
+
rem(16px),
|
|
35
|
+
),
|
|
32
36
|
);
|
|
33
37
|
|
|
34
38
|
/// Generates a light fluent tooltip schema.
|
|
35
39
|
/// @type {Map}
|
|
36
40
|
/// @prop {Map} background [color: ('gray', 900, .8)] - The background color of the tooltip.
|
|
37
41
|
/// @prop {Map} text-color [contrast-color: ('gray', 900)] - The text color of the tooltip.
|
|
38
|
-
/// @prop {
|
|
42
|
+
/// @prop {List} border-radius [(rem(2px), rem(0), rem(16px))] - The border radius used for tooltip.
|
|
39
43
|
/// @requires {Map} $light-tooltip
|
|
40
44
|
$fluent-tooltip: extend(
|
|
41
45
|
$light-tooltip,
|
|
@@ -55,7 +59,11 @@ $fluent-tooltip: extend(
|
|
|
55
59
|
),
|
|
56
60
|
),
|
|
57
61
|
|
|
58
|
-
border-radius:
|
|
62
|
+
border-radius: (
|
|
63
|
+
rem(2px),
|
|
64
|
+
rem(0),
|
|
65
|
+
rem(16px),
|
|
66
|
+
),
|
|
59
67
|
)
|
|
60
68
|
);
|
|
61
69
|
|
|
@@ -63,7 +71,6 @@ $fluent-tooltip: extend(
|
|
|
63
71
|
/// @type {Map}
|
|
64
72
|
/// @prop {Map} background [color: ('gray', 900, .8)] - The background color of the tooltip.
|
|
65
73
|
/// @prop {Map} text-color [contrast-color: ('gray', 900)] - The text color of the tooltip.
|
|
66
|
-
/// @prop {Number} border-radius [4px] - The border radius used for tooltip. Can be a fraction between 0 and 1, pixels, or percent.
|
|
67
74
|
/// @requires $light-tooltip
|
|
68
75
|
$bootstrap-tooltip: extend(
|
|
69
76
|
$light-tooltip,
|
|
@@ -86,11 +93,15 @@ $bootstrap-tooltip: extend(
|
|
|
86
93
|
|
|
87
94
|
/// Generates an indigo tooltip schema.
|
|
88
95
|
/// @type {Map}
|
|
89
|
-
/// @prop {
|
|
96
|
+
/// @prop {List} border-radius [(rem(3px), rem(0), rem(16px))] - The border radius used for tooltip.
|
|
90
97
|
/// @requires {Map} $light-tooltip
|
|
91
98
|
$indigo-tooltip: extend(
|
|
92
99
|
$light-tooltip,
|
|
93
100
|
(
|
|
94
|
-
border-radius:
|
|
101
|
+
border-radius: (
|
|
102
|
+
rem(3px),
|
|
103
|
+
rem(0),
|
|
104
|
+
rem(16px),
|
|
105
|
+
),
|
|
95
106
|
)
|
|
96
107
|
);
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
/// @prop {Map} link-background [color: ('primary')] - The background color used for the link.
|
|
16
16
|
/// @prop {Map} color [contrast-color: ('primary', 800)] - The color used for the link text.
|
|
17
17
|
/// @prop {Map} border-color [color: ('primary')] - The border color used for the link.
|
|
18
|
-
/// @prop {
|
|
18
|
+
/// @prop {List} border-radius [(rem(0), rem(0), rem(16px))] - The border radius used for watermark.
|
|
19
19
|
$light-watermark: extend(
|
|
20
20
|
(
|
|
21
21
|
base-color: (
|
|
@@ -31,36 +31,48 @@ $light-watermark: extend(
|
|
|
31
31
|
),
|
|
32
32
|
),
|
|
33
33
|
|
|
34
|
-
border-radius:
|
|
34
|
+
border-radius: (
|
|
35
|
+
rem(0),
|
|
36
|
+
rem(0),
|
|
37
|
+
rem(16px),
|
|
38
|
+
),
|
|
35
39
|
)
|
|
36
40
|
);
|
|
37
41
|
|
|
38
42
|
/// Generates a light fluent watermark schema.
|
|
39
43
|
/// @type {Map}
|
|
40
|
-
/// @prop {
|
|
44
|
+
/// @prop {List} border-radius [(rem(2px), rem(0), rem(16px))] - The border radius used for watermark.
|
|
41
45
|
/// @requires {Map} $light-watermark
|
|
42
46
|
$fluent-watermark: extend(
|
|
43
47
|
$light-watermark,
|
|
44
48
|
(
|
|
45
|
-
border-radius:
|
|
49
|
+
border-radius: (
|
|
50
|
+
rem(2px),
|
|
51
|
+
rem(0),
|
|
52
|
+
rem(16px),
|
|
53
|
+
),
|
|
46
54
|
)
|
|
47
55
|
);
|
|
48
56
|
|
|
49
57
|
/// Generates a bootstrap watermark schema.
|
|
50
58
|
/// @type {Map}
|
|
51
|
-
/// @prop {
|
|
59
|
+
/// @prop {List} border-radius [(rem(4px), rem(0), rem(16px))] - The border radius used for watermark.
|
|
52
60
|
/// @requires {Map} $light-watermark
|
|
53
61
|
$bootstrap-watermark: extend(
|
|
54
62
|
$light-watermark,
|
|
55
63
|
(
|
|
56
|
-
border-radius:
|
|
64
|
+
border-radius: (
|
|
65
|
+
rem(4px),
|
|
66
|
+
rem(0),
|
|
67
|
+
rem(16px),
|
|
68
|
+
),
|
|
57
69
|
)
|
|
58
70
|
);
|
|
59
71
|
|
|
60
72
|
/// Generates an indigo watermark schema.
|
|
61
73
|
/// @type {Map}
|
|
62
74
|
/// @prop {Map} border-color [color: ('primary', 300)] - The border color for the link.
|
|
63
|
-
/// @prop {
|
|
75
|
+
/// @prop {List} border-radius [(rem(16px), rem(0), rem(16px))] - The border radius used for watermark.
|
|
64
76
|
/// @requires {Map} $light-watermark
|
|
65
77
|
$indigo-watermark: extend(
|
|
66
78
|
$light-watermark,
|
|
@@ -72,6 +84,10 @@ $indigo-watermark: extend(
|
|
|
72
84
|
),
|
|
73
85
|
),
|
|
74
86
|
|
|
75
|
-
border-radius:
|
|
87
|
+
border-radius: (
|
|
88
|
+
rem(16px),
|
|
89
|
+
rem(0),
|
|
90
|
+
rem(16px),
|
|
91
|
+
),
|
|
76
92
|
)
|
|
77
93
|
);
|