igniteui-theming 3.3.2 → 4.0.0-beta.1
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/schemas/components/dark/_button.scss +36 -123
- package/sass/themes/schemas/components/dark/_calendar.scss +1 -47
- package/sass/themes/schemas/components/dark/_icon-button.scss +16 -2
- package/sass/themes/schemas/components/dark/_index.scss +5 -0
- package/sass/themes/schemas/components/elevation/_button.scss +1 -13
- package/sass/themes/schemas/components/light/_button.scss +78 -481
- package/sass/themes/schemas/components/light/_calendar.scss +267 -90
- package/sass/themes/schemas/components/light/_icon-button.scss +288 -35
- package/sass/themes/schemas/components/light/_index.scss +5 -0
|
@@ -12,31 +12,61 @@
|
|
|
12
12
|
/// Generates a base material icon button schema.
|
|
13
13
|
/// @type {Map}
|
|
14
14
|
/// @prop {Color} background [transparent] - The background color of the material icon button.
|
|
15
|
-
/// @prop {Color} border-color [transparent] - The border color of the material icon button.
|
|
16
15
|
/// @prop {Map} foreground [color: ('gray', 900)] - The idle text color of the material icon button.
|
|
16
|
+
/// @prop {Color} hover-background [transparent] - The hover background color of the material icon button.
|
|
17
|
+
/// @prop {Map} hover-foreground [color: ('gray', 900)] - The hover text color of the material icon button.
|
|
17
18
|
/// @prop {Map} focus-background [color: ('gray', 200)] - The focus background color of the material icon button.
|
|
19
|
+
/// @prop {Map} focus-foreground [color: ('gray', 900)] - The focus text color of the material icon button.
|
|
20
|
+
/// @prop {Map} active-background [color: ('gray', 200)] - The active background color of the material icon button.
|
|
21
|
+
/// @prop {Map} active-foreground [color: ('gray', 900)] - The active text color of the material icon button.
|
|
22
|
+
/// @prop {Color} border-color [transparent] - The border color of the material icon button.
|
|
18
23
|
/// @prop {Map} focus-border-color [color: ('gray', 400)] - The focus border color of the material icon button.
|
|
19
24
|
/// @prop {Map} disabled-background [color: ('gray', 100)] - The disabled background color of the material icon button.
|
|
20
|
-
/// @prop {Color} disabled-border-color [transparent] - The disabled border color of the material icon button.
|
|
21
25
|
/// @prop {Map} disabled-foreground [color: ('gray', 500)] - The disabled foreground color of the material icon button.
|
|
26
|
+
/// @prop {Map} disabled-border-color [color: ('gray', 100)] - The disabled border color of the material icon button.
|
|
22
27
|
/// @prop {List} border-radius [(rem(20px), rem(0), rem(20px))] - The border radius used for the material icon button.
|
|
23
28
|
/// @prop {List} size [(rem(24px), rem(30px), rem(36px))] - The size used for the material icon button.
|
|
24
29
|
/// @prop {Number} default-size [2] - The default size used for the icon button.
|
|
25
30
|
$material-base-icon-button: (
|
|
26
31
|
background: transparent,
|
|
27
|
-
border-color: transparent,
|
|
28
32
|
foreground: (
|
|
29
33
|
color: (
|
|
30
34
|
'gray',
|
|
31
35
|
900,
|
|
32
36
|
),
|
|
33
37
|
),
|
|
38
|
+
hover-background: transparent,
|
|
39
|
+
hover-foreground: (
|
|
40
|
+
color: (
|
|
41
|
+
'gray',
|
|
42
|
+
900,
|
|
43
|
+
),
|
|
44
|
+
),
|
|
34
45
|
focus-background: (
|
|
35
46
|
color: (
|
|
36
47
|
'gray',
|
|
37
48
|
200,
|
|
38
49
|
),
|
|
39
50
|
),
|
|
51
|
+
focus-foreground: (
|
|
52
|
+
color: (
|
|
53
|
+
'gray',
|
|
54
|
+
900,
|
|
55
|
+
),
|
|
56
|
+
),
|
|
57
|
+
active-background: (
|
|
58
|
+
color: (
|
|
59
|
+
'gray',
|
|
60
|
+
200,
|
|
61
|
+
),
|
|
62
|
+
),
|
|
63
|
+
active-foreground: (
|
|
64
|
+
color: (
|
|
65
|
+
'gray',
|
|
66
|
+
900,
|
|
67
|
+
),
|
|
68
|
+
),
|
|
69
|
+
border-color: transparent,
|
|
40
70
|
focus-border-color: (
|
|
41
71
|
color: (
|
|
42
72
|
'gray',
|
|
@@ -49,13 +79,18 @@ $material-base-icon-button: (
|
|
|
49
79
|
100,
|
|
50
80
|
),
|
|
51
81
|
),
|
|
52
|
-
disabled-border-color: transparent,
|
|
53
82
|
disabled-foreground: (
|
|
54
83
|
color: (
|
|
55
84
|
'gray',
|
|
56
85
|
500,
|
|
57
86
|
),
|
|
58
87
|
),
|
|
88
|
+
disabled-border-color: (
|
|
89
|
+
color: (
|
|
90
|
+
'gray',
|
|
91
|
+
100,
|
|
92
|
+
),
|
|
93
|
+
),
|
|
59
94
|
border-radius: (
|
|
60
95
|
border-radius: (
|
|
61
96
|
rem(20px),
|
|
@@ -76,34 +111,52 @@ $material-base-icon-button: (
|
|
|
76
111
|
/// Generates a material flat icon button schema.
|
|
77
112
|
/// @type {Map}
|
|
78
113
|
/// @prop {Color} disabled-background [transparent] - The disabled background color the material flat icon button.
|
|
114
|
+
/// @prop {Color} disabled-border-color [transparent] - The disabled border color of the material flat icon button.
|
|
79
115
|
/// @requires {Map} $material-base-icon-button
|
|
80
116
|
$material-flat-icon-button: extend(
|
|
81
117
|
$material-base-icon-button,
|
|
82
118
|
(
|
|
119
|
+
selector: '[igxIconButton="flat"], .igx-icon-button--flat',
|
|
83
120
|
disabled-background: transparent,
|
|
121
|
+
disabled-border-color: transparent,
|
|
84
122
|
)
|
|
85
123
|
);
|
|
86
124
|
|
|
87
125
|
/// Generates a material contained icon button schema.
|
|
88
126
|
/// @type {Map}
|
|
89
127
|
/// @prop {Map} background [color: ('gray', 200)] - The background color of the material contained icon button.
|
|
128
|
+
/// @prop {Map} hover-background [color: ('gray', 200)] - The hover background color of the material contained icon button.
|
|
90
129
|
/// @prop {Map} focus-background [color: ('gray', 300)] - The focus background color of the material contained icon button.
|
|
130
|
+
/// @prop {Map} active-background [color: ('gray', 300)] - The active background color of the material contained icon button.
|
|
91
131
|
/// @requires {Map} $material-base-icon-button
|
|
92
132
|
$material-contained-icon-button: extend(
|
|
93
133
|
$material-base-icon-button,
|
|
94
134
|
(
|
|
135
|
+
selector: '[igxIconButton="contained"], .igx-icon-button--contained',
|
|
95
136
|
background: (
|
|
96
137
|
color: (
|
|
97
138
|
'gray',
|
|
98
139
|
200,
|
|
99
140
|
),
|
|
100
141
|
),
|
|
142
|
+
hover-background: (
|
|
143
|
+
color: (
|
|
144
|
+
'gray',
|
|
145
|
+
200,
|
|
146
|
+
),
|
|
147
|
+
),
|
|
101
148
|
focus-background: (
|
|
102
149
|
color: (
|
|
103
150
|
'gray',
|
|
104
151
|
300,
|
|
105
152
|
),
|
|
106
153
|
),
|
|
154
|
+
active-background: (
|
|
155
|
+
color: (
|
|
156
|
+
'gray',
|
|
157
|
+
300,
|
|
158
|
+
),
|
|
159
|
+
),
|
|
107
160
|
)
|
|
108
161
|
);
|
|
109
162
|
|
|
@@ -115,6 +168,7 @@ $material-contained-icon-button: extend(
|
|
|
115
168
|
$material-outlined-icon-button: extend(
|
|
116
169
|
$material-base-icon-button,
|
|
117
170
|
(
|
|
171
|
+
selector: '[igxIconButton="outlined"], .igx-icon-button--outlined',
|
|
118
172
|
border-color: (
|
|
119
173
|
color: (
|
|
120
174
|
'gray',
|
|
@@ -148,11 +202,16 @@ $light-icon-button: (
|
|
|
148
202
|
/// @prop {Color} background [transparent] - The background color of the fluent icon button.
|
|
149
203
|
/// @prop {Map} foreground [color: ('primary', 500)] - The idle text color of the fluent icon button.
|
|
150
204
|
/// @prop {Map} hover-background [color: ('gray', 200)] - The hover background color of the fluent icon button.
|
|
205
|
+
/// @prop {Map} hover-foreground [color: ('primary', 500)] - The hover text color of the fluent icon button.
|
|
151
206
|
/// @prop {Map} focus-background [color: ('gray', 200)] - The focus background color of the fluent icon button.
|
|
207
|
+
/// @prop {Map} focus-foreground [color: ('primary', 500)] - The focus text color of the fluent icon button.
|
|
152
208
|
/// @prop {Map} active-background [color: ('gray', 300)] - The active background color of the fluent icon button.
|
|
209
|
+
/// @prop {Map} active-foreground [color: ('primary', 500)] - The active text color of the fluent icon button.
|
|
210
|
+
/// @prop {Color} border-color [transparent] - The border color of the fluent icon button.
|
|
153
211
|
/// @prop {Map} focus-border-color [color: ('gray', 500)] - The focus border color of the fluent icon button.
|
|
154
212
|
/// @prop {Map} disabled-background [color: ('gray', 100)] - The disabled background color of the fluent icon button.
|
|
155
213
|
/// @prop {Map} disabled-foreground [color: ('gray', 400)] - The disabled foreground color of the fluent icon button.
|
|
214
|
+
/// @prop {Color} disabled-border-color [transparent] - The disabled border color of the fluent icon button.
|
|
156
215
|
/// @prop {List} border-radius [(rem(0), rem(0), rem(20px))] - The border radius used for the fluent flat icon button.
|
|
157
216
|
/// @prop {List} size [(rem(24px), rem(32px), rem(38px))] - The size used for the fluent icon button.
|
|
158
217
|
/// @prop {Number} default-size [2] - The default size used for the icon button.
|
|
@@ -170,18 +229,37 @@ $fluent-base-icon-button: (
|
|
|
170
229
|
200,
|
|
171
230
|
),
|
|
172
231
|
),
|
|
232
|
+
hover-foreground: (
|
|
233
|
+
color: (
|
|
234
|
+
'primary',
|
|
235
|
+
500,
|
|
236
|
+
),
|
|
237
|
+
),
|
|
173
238
|
focus-background: (
|
|
174
239
|
color: (
|
|
175
240
|
'gray',
|
|
176
241
|
200,
|
|
177
242
|
),
|
|
178
243
|
),
|
|
244
|
+
focus-foreground: (
|
|
245
|
+
color: (
|
|
246
|
+
'primary',
|
|
247
|
+
500,
|
|
248
|
+
),
|
|
249
|
+
),
|
|
179
250
|
active-background: (
|
|
180
251
|
color: (
|
|
181
252
|
'gray',
|
|
182
253
|
300,
|
|
183
254
|
),
|
|
184
255
|
),
|
|
256
|
+
active-foreground: (
|
|
257
|
+
color: (
|
|
258
|
+
'primary',
|
|
259
|
+
500,
|
|
260
|
+
),
|
|
261
|
+
),
|
|
262
|
+
border-color: transparent,
|
|
185
263
|
focus-border-color: (
|
|
186
264
|
color: (
|
|
187
265
|
'gray',
|
|
@@ -200,6 +278,7 @@ $fluent-base-icon-button: (
|
|
|
200
278
|
400,
|
|
201
279
|
),
|
|
202
280
|
),
|
|
281
|
+
disabled-border-color: transparent,
|
|
203
282
|
border-radius: (
|
|
204
283
|
border-radius: (
|
|
205
284
|
rem(0),
|
|
@@ -220,14 +299,21 @@ $fluent-base-icon-button: (
|
|
|
220
299
|
/// Generates a fluent flat icon button schema.
|
|
221
300
|
/// @type {Map}
|
|
222
301
|
/// @requires {Map} $fluent-base-icon-button
|
|
223
|
-
$fluent-flat-icon-button: extend(
|
|
302
|
+
$fluent-flat-icon-button: extend(
|
|
303
|
+
$fluent-base-icon-button,
|
|
304
|
+
(
|
|
305
|
+
selector: '[igxIconButton="flat"], .igx-icon-button--flat',
|
|
306
|
+
)
|
|
307
|
+
);
|
|
224
308
|
|
|
225
309
|
/// Generates a fluent contained icon button schema.
|
|
226
310
|
/// @type {Map}
|
|
227
311
|
/// @prop {Map} background [color: ('primary', 500)] - The background color of the fluent contained icon button.
|
|
228
312
|
/// @prop {Map} foreground [contrast-color: ('primary', 600)] - The idle text color of the fluent contained icon button.
|
|
229
313
|
/// @prop {Map} hover-background [color: ('primary', 600)] - The hover background color of the fluent contained icon button.
|
|
314
|
+
/// @prop {Map} hover-foreground [contrast-color: ('primary', 600)] - The hover text color of the fluent contained icon button.
|
|
230
315
|
/// @prop {Map} focus-background [color: ('primary', 600)] - The focus background color of the fluent contained icon button.
|
|
316
|
+
/// @prop {Map} focus-foreground [contrast-color: ('primary', 600)] - The focus text color of the fluent contained icon button.
|
|
231
317
|
/// @prop {Map} active-background [color: ('primary', 800)] - The active background color of the fluent contained icon button.
|
|
232
318
|
/// @prop {Map} active-foreground [contrast-color: ('primary', 800)] - The active text color of the fluent contained icon button.
|
|
233
319
|
/// @prop {Map} focus-border-color [contrast-color: ('primary', 600)] - The focus border color of the fluent contained icon button.
|
|
@@ -235,6 +321,7 @@ $fluent-flat-icon-button: extend($fluent-base-icon-button);
|
|
|
235
321
|
$fluent-contained-icon-button: extend(
|
|
236
322
|
$fluent-base-icon-button,
|
|
237
323
|
(
|
|
324
|
+
selector: '[igxIconButton="contained"], .igx-icon-button--contained',
|
|
238
325
|
background: (
|
|
239
326
|
color: (
|
|
240
327
|
'primary',
|
|
@@ -253,12 +340,24 @@ $fluent-contained-icon-button: extend(
|
|
|
253
340
|
600,
|
|
254
341
|
),
|
|
255
342
|
),
|
|
343
|
+
hover-foreground: (
|
|
344
|
+
contrast-color: (
|
|
345
|
+
'primary',
|
|
346
|
+
600,
|
|
347
|
+
),
|
|
348
|
+
),
|
|
256
349
|
focus-background: (
|
|
257
350
|
color: (
|
|
258
351
|
'primary',
|
|
259
352
|
600,
|
|
260
353
|
),
|
|
261
354
|
),
|
|
355
|
+
focus-foreground: (
|
|
356
|
+
contrast-color: (
|
|
357
|
+
'primary',
|
|
358
|
+
600,
|
|
359
|
+
),
|
|
360
|
+
),
|
|
262
361
|
active-background: (
|
|
263
362
|
color: (
|
|
264
363
|
'primary',
|
|
@@ -284,14 +383,18 @@ $fluent-contained-icon-button: extend(
|
|
|
284
383
|
/// @type {Map}
|
|
285
384
|
/// @prop {Map} foreground [color: ('gray', 900)] - The idle text color of the fluent outlined icon button.
|
|
286
385
|
/// @prop {Map} border-color [color: ('gray', 700)] - The border color of the fluent outlined icon button.
|
|
287
|
-
/// @prop {
|
|
386
|
+
/// @prop {Map} hover-foreground [color: ('gray', 900)] - The hover text color of the fluent outlined icon button.
|
|
288
387
|
/// @prop {Color} focus-background [transparent] - The focus background color of the fluent outlined icon button.
|
|
289
|
-
/// @prop {Map}
|
|
290
|
-
/// @prop {Map}
|
|
388
|
+
/// @prop {Map} focus-foreground [color: ('gray', 900)] - The focus text color of the fluent outlined icon button.
|
|
389
|
+
/// @prop {Map} active-background [color: ('gray', 200)] - The active background color of the fluent outlined icon button.
|
|
390
|
+
/// @prop {Map} active-foreground [color: ('gray', 900)] - The active text color of the fluent outlined icon button.
|
|
391
|
+
/// @prop {Map} focus-border-color [color: ('gray', 700)] - The focus border color of the fluent outlined icon button.
|
|
392
|
+
/// @prop {Map} disabled-border-color [color: ('gray', 700)] - The disabled border color of the fluent outlined icon button.
|
|
291
393
|
/// @requires {Map} $fluent-base-icon-button
|
|
292
394
|
$fluent-outlined-icon-button: extend(
|
|
293
395
|
$fluent-base-icon-button,
|
|
294
396
|
(
|
|
397
|
+
selector: '[igxIconButton="outlined"], .igx-icon-button--outlined',
|
|
295
398
|
foreground: (
|
|
296
399
|
color: (
|
|
297
400
|
'gray',
|
|
@@ -304,20 +407,43 @@ $fluent-outlined-icon-button: extend(
|
|
|
304
407
|
700,
|
|
305
408
|
),
|
|
306
409
|
),
|
|
307
|
-
hover-
|
|
410
|
+
hover-foreground: (
|
|
411
|
+
color: (
|
|
412
|
+
'gray',
|
|
413
|
+
900,
|
|
414
|
+
),
|
|
415
|
+
),
|
|
308
416
|
focus-background: transparent,
|
|
417
|
+
focus-foreground: (
|
|
418
|
+
color: (
|
|
419
|
+
'gray',
|
|
420
|
+
900,
|
|
421
|
+
),
|
|
422
|
+
),
|
|
309
423
|
active-background: (
|
|
310
424
|
color: (
|
|
311
425
|
'gray',
|
|
312
426
|
200,
|
|
313
427
|
),
|
|
314
428
|
),
|
|
315
|
-
|
|
429
|
+
active-foreground: (
|
|
316
430
|
color: (
|
|
317
431
|
'gray',
|
|
318
432
|
900,
|
|
319
433
|
),
|
|
320
434
|
),
|
|
435
|
+
focus-border-color: (
|
|
436
|
+
color: (
|
|
437
|
+
'gray',
|
|
438
|
+
700,
|
|
439
|
+
),
|
|
440
|
+
),
|
|
441
|
+
disabled-border-color: (
|
|
442
|
+
color: (
|
|
443
|
+
'gray',
|
|
444
|
+
700,
|
|
445
|
+
),
|
|
446
|
+
),
|
|
321
447
|
)
|
|
322
448
|
);
|
|
323
449
|
|
|
@@ -338,9 +464,17 @@ $fluent-icon-button: (
|
|
|
338
464
|
/// @type {Map}
|
|
339
465
|
/// @prop {Color} background [transparent] - The background color of the bootstrap icon button.
|
|
340
466
|
/// @prop {Map} foreground [color: ('primary', 500)] - The idle text color of the bootstrap icon button.
|
|
341
|
-
/// @prop {Map}
|
|
467
|
+
/// @prop {Map} hover-background [color: ('primary', 600)] - The hover background color of the bootstrap icon button.
|
|
468
|
+
/// @prop {Map} hover-foreground [contrast-color: ('primary', 600)] - The hover text color of the bootstrap icon button.
|
|
469
|
+
/// @prop {Map} focus-background [color: ('primary', 600)] - The focus background color of the bootstrap icon button.
|
|
470
|
+
/// @prop {Map} focus-foreground [contrast-color: ('primary', 600)] - The focus text color of the bootstrap icon button.
|
|
471
|
+
/// @prop {Map} active-background [color: ('primary', 600)] - The active background color of the bootstrap icon button.
|
|
472
|
+
/// @prop {Map} active-foreground [contrast-color: ('primary', 600)] - The active text color of the bootstrap icon button.
|
|
473
|
+
/// @prop {Color} border-color [transparent] - The border color of the bootstrap icon button.
|
|
474
|
+
/// @prop {Color} focus-border-color [transparent] - The focus border color of the bootstrap icon button.
|
|
342
475
|
/// @prop {Color} disabled-background [transparent] - The disabled background color of the bootstrap icon button.
|
|
343
476
|
/// @prop {Map} disabled-foreground [color: ('primary', 100)] - The disabled foreground color of the bootstrap icon button.
|
|
477
|
+
/// @prop {Color} disabled-border-color [transparent] - The disabled border color of the bootstrap icon button.
|
|
344
478
|
/// @prop {List} border-radius [(rem(4px), rem(0), rem(20px))] - The border radius used for the bootstrap icon button.
|
|
345
479
|
/// @prop {List} size [(rem(31px), rem(38px), rem(48px))] - The size used for the bootstrap icon button.
|
|
346
480
|
/// @prop {Number} default-size [2] - The default size used for the icon button
|
|
@@ -352,12 +486,44 @@ $bootstrap-base-icon-button: (
|
|
|
352
486
|
500,
|
|
353
487
|
),
|
|
354
488
|
),
|
|
489
|
+
hover-background: (
|
|
490
|
+
color: (
|
|
491
|
+
'primary',
|
|
492
|
+
600,
|
|
493
|
+
),
|
|
494
|
+
),
|
|
495
|
+
hover-foreground: (
|
|
496
|
+
contrast-color: (
|
|
497
|
+
'primary',
|
|
498
|
+
600,
|
|
499
|
+
),
|
|
500
|
+
),
|
|
355
501
|
focus-background: (
|
|
356
502
|
color: (
|
|
357
|
-
'
|
|
358
|
-
|
|
503
|
+
'primary',
|
|
504
|
+
600,
|
|
505
|
+
),
|
|
506
|
+
),
|
|
507
|
+
focus-foreground: (
|
|
508
|
+
contrast-color: (
|
|
509
|
+
'primary',
|
|
510
|
+
600,
|
|
359
511
|
),
|
|
360
512
|
),
|
|
513
|
+
active-background: (
|
|
514
|
+
color: (
|
|
515
|
+
'primary',
|
|
516
|
+
600,
|
|
517
|
+
),
|
|
518
|
+
),
|
|
519
|
+
active-foreground: (
|
|
520
|
+
contrast-color: (
|
|
521
|
+
'primary',
|
|
522
|
+
600,
|
|
523
|
+
),
|
|
524
|
+
),
|
|
525
|
+
border-color: transparent,
|
|
526
|
+
focus-border-color: transparent,
|
|
361
527
|
disabled-background: transparent,
|
|
362
528
|
disabled-foreground: (
|
|
363
529
|
color: (
|
|
@@ -365,6 +531,7 @@ $bootstrap-base-icon-button: (
|
|
|
365
531
|
100,
|
|
366
532
|
),
|
|
367
533
|
),
|
|
534
|
+
disabled-border-color: transparent,
|
|
368
535
|
border-radius: (
|
|
369
536
|
border-radius: (
|
|
370
537
|
rem(4px),
|
|
@@ -384,24 +551,48 @@ $bootstrap-base-icon-button: (
|
|
|
384
551
|
|
|
385
552
|
/// Generates a bootstrap flat icon button schema.
|
|
386
553
|
/// @type {Map}
|
|
387
|
-
/// @prop {
|
|
388
|
-
/// @prop {Map}
|
|
554
|
+
/// @prop {Color} hover-background [transparent] - The hover background color of the bootstrap flat icon button.
|
|
555
|
+
/// @prop {Map} hover-foreground [color: ('primary', 800)] - The hover text color of the bootstrap flat icon button.
|
|
556
|
+
/// @prop {Map} focus-background [color: ('gray', 100)] - The focus background color of the bootstrap flat icon button.
|
|
557
|
+
/// @prop {Map} focus-foreground [color: ('primary', 600)] - The focus text color of the bootstrap flat icon button.
|
|
558
|
+
/// @prop {Map} active-background [color: ('gray', 100)] - The active background color of the bootstrap flat icon button.
|
|
559
|
+
/// @prop {Map} active-foreground [color: ('primary', 600)] - The active text color of the bootstrap flat icon button.
|
|
389
560
|
/// @requires {Map} $bootstrap-base-icon-button
|
|
390
561
|
$bootstrap-flat-icon-button: extend(
|
|
391
562
|
$bootstrap-base-icon-button,
|
|
392
563
|
(
|
|
564
|
+
selector: '[igxIconButton="flat"], .igx-icon-button--flat',
|
|
565
|
+
hover-background: transparent,
|
|
393
566
|
hover-foreground: (
|
|
394
567
|
color: (
|
|
395
568
|
'primary',
|
|
396
569
|
800,
|
|
397
570
|
),
|
|
398
571
|
),
|
|
572
|
+
focus-background: (
|
|
573
|
+
color: (
|
|
574
|
+
'gray',
|
|
575
|
+
100,
|
|
576
|
+
),
|
|
577
|
+
),
|
|
399
578
|
focus-foreground: (
|
|
400
579
|
color: (
|
|
401
580
|
'primary',
|
|
402
581
|
600,
|
|
403
582
|
),
|
|
404
583
|
),
|
|
584
|
+
active-background: (
|
|
585
|
+
color: (
|
|
586
|
+
'gray',
|
|
587
|
+
100,
|
|
588
|
+
),
|
|
589
|
+
),
|
|
590
|
+
active-foreground: (
|
|
591
|
+
color: (
|
|
592
|
+
'primary',
|
|
593
|
+
600,
|
|
594
|
+
),
|
|
595
|
+
),
|
|
405
596
|
)
|
|
406
597
|
);
|
|
407
598
|
|
|
@@ -409,7 +600,6 @@ $bootstrap-flat-icon-button: extend(
|
|
|
409
600
|
/// @type {Map}
|
|
410
601
|
/// @prop {Map} background [color: ('primary', 500)] - The background color of the bootstrap contained icon button.
|
|
411
602
|
/// @prop {Map} foreground [contrast-color: ('primary', 600)] - The idle text color of the bootstrap contained icon button.
|
|
412
|
-
/// @prop {Map} focus-background [color: ('primary', 600)] - The focus background color of the bootstrap contained icon button.
|
|
413
603
|
/// @prop {Map} focus-border-color [color: ('primary', 200, .5)] - The focus border color of the bootstrap contained icon button.
|
|
414
604
|
/// @prop {Map} disabled-background [color: ('primary', 100)] - The disabled background color of the bootstrap contained icon button.
|
|
415
605
|
/// @prop {Map} disabled-foreground [color: ('primary', 300)] - The disabled foreground color of the bootstrap contained icon button.
|
|
@@ -417,6 +607,7 @@ $bootstrap-flat-icon-button: extend(
|
|
|
417
607
|
$bootstrap-contained-icon-button: extend(
|
|
418
608
|
$bootstrap-base-icon-button,
|
|
419
609
|
(
|
|
610
|
+
selector: '[igxIconButton="contained"], .igx-icon-button--contained',
|
|
420
611
|
background: (
|
|
421
612
|
color: (
|
|
422
613
|
'primary',
|
|
@@ -429,12 +620,6 @@ $bootstrap-contained-icon-button: extend(
|
|
|
429
620
|
600,
|
|
430
621
|
),
|
|
431
622
|
),
|
|
432
|
-
focus-background: (
|
|
433
|
-
color: (
|
|
434
|
-
'primary',
|
|
435
|
-
600,
|
|
436
|
-
),
|
|
437
|
-
),
|
|
438
623
|
focus-border-color: (
|
|
439
624
|
color: (
|
|
440
625
|
'primary',
|
|
@@ -464,12 +649,12 @@ $bootstrap-contained-icon-button: extend(
|
|
|
464
649
|
/// @prop {Map} hover-foreground [contrast-color: ('primary', 600)] - The hover text color of the bootstrap outlined icon button.
|
|
465
650
|
/// @prop {Map} focus-foreground [contrast-color: ('primary', 600)] - The focus text color of the bootstrap outlined icon button.
|
|
466
651
|
/// @prop {Map} focus-border-color [color: ('primary', 200, .5)] - The focus border color of the bootstrap outlined icon button.
|
|
467
|
-
/// @prop {Map} disabled-foreground [color: ('primary', 100)] - The disabled foreground color of the bootstrap outlined icon button.
|
|
468
652
|
/// @prop {Map} disabled-border-color [color: ('primary', 100)] - The disabled border color of the bootstrap outlined icon button.
|
|
469
653
|
/// @requires {Map} $bootstrap-base-icon-button
|
|
470
654
|
$bootstrap-outlined-icon-button: extend(
|
|
471
655
|
$bootstrap-base-icon-button,
|
|
472
656
|
(
|
|
657
|
+
selector: '[igxIconButton="outlined"], .igx-icon-button--outlined',
|
|
473
658
|
border-color: (
|
|
474
659
|
color: (
|
|
475
660
|
'primary',
|
|
@@ -507,12 +692,6 @@ $bootstrap-outlined-icon-button: extend(
|
|
|
507
692
|
100,
|
|
508
693
|
),
|
|
509
694
|
),
|
|
510
|
-
disabled-foreground: (
|
|
511
|
-
color: (
|
|
512
|
-
'primary',
|
|
513
|
-
100,
|
|
514
|
-
),
|
|
515
|
-
),
|
|
516
695
|
)
|
|
517
696
|
);
|
|
518
697
|
|
|
@@ -533,10 +712,17 @@ $bootstrap-icon-button: (
|
|
|
533
712
|
/// @type {Map}
|
|
534
713
|
/// @prop {Color} background [transparent] - The background color of the indigo icon button.
|
|
535
714
|
/// @prop {Map} foreground [color: ('gray', 700)] - The idle text color of the indigo icon button.
|
|
715
|
+
/// @prop {Color} hover-background [transparent] - The hover background color of the indigo icon button.
|
|
716
|
+
/// @prop {Map} hover-foreground [color: ('gray', 900)] - The hover text color of the indigo icon button.
|
|
536
717
|
/// @prop {Color} focus-background [transparent] - The focus background color of the indigo icon button.
|
|
718
|
+
/// @prop {Map} focus-foreground [color: ('gray', 900)] - The focus text color of the indigo icon button.
|
|
719
|
+
/// @prop {Color} active-background [transparent] - The active background color of the indigo icon button.
|
|
720
|
+
/// @prop {Map} active-foreground [color: ('gray', 900)] - The active text color of the indigo icon button.
|
|
721
|
+
/// @prop {Color} border-color [transparent] - The border color of the indigo icon button.
|
|
537
722
|
/// @prop {Map} focus-border-color [color: ('gray', 300)] - The focus border color of the indigo icon button.
|
|
538
723
|
/// @prop {Color} disabled-background [transparent] - The disabled background color of the indigo icon button.
|
|
539
724
|
/// @prop {Map} disabled-foreground [color: ('gray', 400)] - The disabled foreground color of the indigo icon button.
|
|
725
|
+
/// @prop {Color} disabled-border-color [transparent] - The disabled border color of the indigo icon button.
|
|
540
726
|
/// @prop {List} border-radius [(rem(20px), rem(0), rem(20px))] - The border radius used for the indigo icon button.
|
|
541
727
|
/// @prop {List} size [(rem(28px), rem(32px), rem(36px))] - The size used for the indigo icon button.
|
|
542
728
|
/// @prop {Number} default-size [2] - The default size used for the icon button.
|
|
@@ -548,7 +734,28 @@ $indigo-base-icon-button: (
|
|
|
548
734
|
700,
|
|
549
735
|
),
|
|
550
736
|
),
|
|
737
|
+
hover-background: transparent,
|
|
738
|
+
hover-foreground: (
|
|
739
|
+
color: (
|
|
740
|
+
'gray',
|
|
741
|
+
900,
|
|
742
|
+
),
|
|
743
|
+
),
|
|
551
744
|
focus-background: transparent,
|
|
745
|
+
focus-foreground: (
|
|
746
|
+
color: (
|
|
747
|
+
'gray',
|
|
748
|
+
900,
|
|
749
|
+
),
|
|
750
|
+
),
|
|
751
|
+
active-background: transparent,
|
|
752
|
+
active-foreground: (
|
|
753
|
+
color: (
|
|
754
|
+
'gray',
|
|
755
|
+
900,
|
|
756
|
+
),
|
|
757
|
+
),
|
|
758
|
+
border-color: transparent,
|
|
552
759
|
focus-border-color: (
|
|
553
760
|
color: (
|
|
554
761
|
'gray',
|
|
@@ -562,6 +769,7 @@ $indigo-base-icon-button: (
|
|
|
562
769
|
400,
|
|
563
770
|
),
|
|
564
771
|
),
|
|
772
|
+
disabled-border-color: transparent,
|
|
565
773
|
border-radius: (
|
|
566
774
|
border-radius: (
|
|
567
775
|
rem(20px),
|
|
@@ -586,6 +794,7 @@ $indigo-base-icon-button: (
|
|
|
586
794
|
$indigo-flat-icon-button: extend(
|
|
587
795
|
$indigo-base-icon-button,
|
|
588
796
|
(
|
|
797
|
+
selector: '[igxIconButton="flat"], .igx-icon-button--flat',
|
|
589
798
|
focus-foreground: (
|
|
590
799
|
color: (
|
|
591
800
|
'gray',
|
|
@@ -599,13 +808,19 @@ $indigo-flat-icon-button: extend(
|
|
|
599
808
|
/// @type {Map}
|
|
600
809
|
/// @prop {Map} background [color: ('primary', 500)] - The background color of the indigo contained icon button.
|
|
601
810
|
/// @prop {Map} foreground [contrast-color: ('primary', 600)] - The idle text color of the indigo contained icon button.
|
|
602
|
-
/// @prop {Map}
|
|
811
|
+
/// @prop {Map} hover-background [color: ('primary', 400)] - The hover background color of the indigo contained icon button.
|
|
812
|
+
/// @prop {Map} hover-foreground [contrast-color: ('primary', 600)] - The hover text color of the indigo contained icon button.
|
|
813
|
+
/// @prop {Map} focus-background [color: ('primary', 400)] - The focus background color of the indigo contained icon button.
|
|
814
|
+
/// @prop {Map} focus-foreground [contrast-color: ('primary', 600)] - The focus background color of the indigo contained icon button.
|
|
815
|
+
/// @prop {Map} active-background [color: ('primary', 400)] - The active background color of the indigo contained icon button.
|
|
816
|
+
/// @prop {Map} active-foreground [contrast-color: ('primary', 600)] - The active background color of the indigo contained icon button.
|
|
603
817
|
/// @prop {Map} focus-border-color [color: ('primary', 200, .5)] - The focus border color of the indigo contained icon button.
|
|
604
818
|
/// @prop {Map} disabled-background [color: ('primary', 100)] - The disabled background color of the indigo contained icon button.
|
|
605
819
|
/// @requires {Map} $indigo-base-icon-button
|
|
606
820
|
$indigo-contained-icon-button: extend(
|
|
607
821
|
$indigo-base-icon-button,
|
|
608
822
|
(
|
|
823
|
+
selector: '[igxIconButton="contained"], .igx-icon-button--contained',
|
|
609
824
|
background: (
|
|
610
825
|
color: (
|
|
611
826
|
'primary',
|
|
@@ -618,12 +833,42 @@ $indigo-contained-icon-button: extend(
|
|
|
618
833
|
600,
|
|
619
834
|
),
|
|
620
835
|
),
|
|
836
|
+
hover-background: (
|
|
837
|
+
color: (
|
|
838
|
+
'primary',
|
|
839
|
+
400,
|
|
840
|
+
),
|
|
841
|
+
),
|
|
842
|
+
hover-foreground: (
|
|
843
|
+
contrast-color: (
|
|
844
|
+
'primary',
|
|
845
|
+
600,
|
|
846
|
+
),
|
|
847
|
+
),
|
|
621
848
|
focus-background: (
|
|
622
849
|
color: (
|
|
623
850
|
'primary',
|
|
624
851
|
400,
|
|
625
852
|
),
|
|
626
853
|
),
|
|
854
|
+
focus-foreground: (
|
|
855
|
+
contrast-color: (
|
|
856
|
+
'primary',
|
|
857
|
+
600,
|
|
858
|
+
),
|
|
859
|
+
),
|
|
860
|
+
active-background: (
|
|
861
|
+
color: (
|
|
862
|
+
'primary',
|
|
863
|
+
400,
|
|
864
|
+
),
|
|
865
|
+
),
|
|
866
|
+
active-foreground: (
|
|
867
|
+
contrast-color: (
|
|
868
|
+
'primary',
|
|
869
|
+
600,
|
|
870
|
+
),
|
|
871
|
+
),
|
|
627
872
|
focus-border-color: (
|
|
628
873
|
color: (
|
|
629
874
|
'primary',
|
|
@@ -642,26 +887,28 @@ $indigo-contained-icon-button: extend(
|
|
|
642
887
|
/// Generates an indigo outlined icon button schema.
|
|
643
888
|
/// @type {Map}
|
|
644
889
|
/// @prop {Map} border-color [color: ('gray', 500)] - The border color of the indigo outlined icon button.
|
|
645
|
-
/// @prop {Map}
|
|
646
|
-
/// @prop {Map}
|
|
890
|
+
/// @prop {Map} hover-background [color: ('gray', 100)] - The hover background color of the indigo outlined icon button.
|
|
891
|
+
/// @prop {Map} active-background [color: ('gray', 100)] - The active background color of the indigo outlined icon button.
|
|
647
892
|
/// @prop {Map} focus-border-color [color: ('gray', 300)] - The focus border color of the indigo outlined icon button.
|
|
893
|
+
/// @prop {Map} disabled-border-color [color: ('gray', 500)] - The disabled border color of the indigo outlined icon button.
|
|
648
894
|
/// @requires {Map} $indigo-base-icon-button
|
|
649
895
|
$indigo-outlined-icon-button: extend(
|
|
650
896
|
$indigo-base-icon-button,
|
|
651
897
|
(
|
|
898
|
+
selector: '[igxIconButton="outlined"], .igx-icon-button--outlined',
|
|
652
899
|
border-color: (
|
|
653
900
|
color: (
|
|
654
901
|
'gray',
|
|
655
902
|
500,
|
|
656
903
|
),
|
|
657
904
|
),
|
|
658
|
-
|
|
905
|
+
hover-background: (
|
|
659
906
|
color: (
|
|
660
907
|
'gray',
|
|
661
|
-
|
|
908
|
+
100,
|
|
662
909
|
),
|
|
663
910
|
),
|
|
664
|
-
|
|
911
|
+
active-background: (
|
|
665
912
|
color: (
|
|
666
913
|
'gray',
|
|
667
914
|
100,
|
|
@@ -673,6 +920,12 @@ $indigo-outlined-icon-button: extend(
|
|
|
673
920
|
300,
|
|
674
921
|
),
|
|
675
922
|
),
|
|
923
|
+
disabled-border-color: (
|
|
924
|
+
color: (
|
|
925
|
+
'gray',
|
|
926
|
+
500,
|
|
927
|
+
),
|
|
928
|
+
),
|
|
676
929
|
)
|
|
677
930
|
);
|
|
678
931
|
|