igniteui-theming 1.4.5 → 1.4.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/package.json +1 -1
- package/sass/themes/schemas/components/dark/_action-strip.scss +50 -0
- package/sass/themes/schemas/components/dark/_badge.scss +39 -0
- package/sass/themes/schemas/components/dark/_banner.scss +54 -0
- package/sass/themes/schemas/components/dark/_bottom-nav.scss +61 -0
- package/sass/themes/schemas/components/dark/_button-group.scss +190 -0
- package/sass/themes/schemas/components/dark/_calendar.scss +338 -0
- package/sass/themes/schemas/components/dark/_card.scss +71 -0
- package/sass/themes/schemas/components/dark/_carousel.scss +127 -0
- package/sass/themes/schemas/components/dark/_checkbox.scss +1 -6
- package/sass/themes/schemas/components/dark/_chip.scss +111 -0
- package/sass/themes/schemas/components/dark/_column-actions.scss +28 -0
- package/sass/themes/schemas/components/dark/_date-range-picker.scss +28 -0
- package/sass/themes/schemas/components/dark/_dialog.scss +55 -0
- package/sass/themes/schemas/components/dark/_divider.scss +43 -0
- package/sass/themes/schemas/components/dark/_dock-manager.scss +349 -0
- package/sass/themes/schemas/components/dark/_expansion-panel.scss +87 -0
- package/sass/themes/schemas/components/dark/_grid-filtering.scss +28 -0
- package/sass/themes/schemas/components/dark/_grid-summary.scss +83 -0
- package/sass/themes/schemas/components/dark/_grid-toolbar.scss +36 -0
- package/sass/themes/schemas/components/dark/_grid.scss +684 -0
- package/sass/themes/schemas/components/dark/_highlight.scss +72 -0
- package/sass/themes/schemas/components/dark/_index.scss +214 -30
- package/sass/themes/schemas/components/dark/_list.scss +116 -0
- package/sass/themes/schemas/components/dark/_navdrawer.scss +142 -0
- package/sass/themes/schemas/components/dark/_overlay.scss +34 -0
- package/sass/themes/schemas/components/dark/_pagination.scss +44 -0
- package/sass/themes/schemas/components/dark/_pivot-data-selector.scss +27 -0
- package/sass/themes/schemas/components/dark/_progress.scss +107 -0
- package/sass/themes/schemas/components/dark/_query-builder.scss +35 -0
- package/sass/themes/schemas/components/dark/_radio.scss +1 -6
- package/sass/themes/schemas/components/dark/_ripple.scss +28 -0
- package/sass/themes/schemas/components/dark/_scrollbar.scss +69 -0
- package/sass/themes/schemas/components/dark/_snackbar.scss +55 -0
- package/sass/themes/schemas/components/dark/_splitter.scss +68 -0
- package/sass/themes/schemas/components/dark/_stepper.scss +186 -0
- package/sass/themes/schemas/components/dark/_switch.scss +0 -1
- package/sass/themes/schemas/components/dark/_time-picker.scss +54 -0
- package/sass/themes/schemas/components/dark/_toast.scss +67 -0
- package/sass/themes/schemas/components/dark/_tooltip.scss +44 -0
- package/sass/themes/schemas/components/dark/_watermark.scss +48 -0
- package/sass/themes/schemas/components/elevation/_badge.scss +17 -0
- package/sass/themes/schemas/components/elevation/_bottom-nav.scss +23 -0
- package/sass/themes/schemas/components/elevation/_button-group.scss +29 -0
- package/sass/themes/schemas/components/elevation/_card.scss +37 -0
- package/sass/themes/schemas/components/elevation/_carousel.scss +29 -0
- package/sass/themes/schemas/components/elevation/_chip.scss +29 -0
- package/sass/themes/schemas/components/elevation/_dialog.scss +17 -0
- package/sass/themes/schemas/components/elevation/_grid.scss +21 -0
- package/sass/themes/schemas/components/elevation/_navdrawer.scss +17 -0
- package/sass/themes/schemas/components/elevation/_snackbar.scss +17 -0
- package/sass/themes/schemas/components/elevation/_time-picker.scss +13 -0
- package/sass/themes/schemas/components/elevation/_toast.scss +17 -0
- package/sass/themes/schemas/components/light/_action-strip.scss +89 -0
- package/sass/themes/schemas/components/light/_avatar.scss +1 -1
- package/sass/themes/schemas/components/light/_badge.scss +82 -0
- package/sass/themes/schemas/components/light/_banner.scss +96 -0
- package/sass/themes/schemas/components/light/_bottom-nav.scss +61 -0
- package/sass/themes/schemas/components/light/_button-group.scss +426 -0
- package/sass/themes/schemas/components/light/_calendar.scss +908 -0
- package/sass/themes/schemas/components/light/_card.scss +207 -0
- package/sass/themes/schemas/components/light/_carousel.scss +195 -0
- package/sass/themes/schemas/components/light/_chip.scss +538 -0
- package/sass/themes/schemas/components/light/_column-actions.scss +42 -0
- package/sass/themes/schemas/components/light/_date-range-picker.scss +35 -0
- package/sass/themes/schemas/components/light/_dialog.scss +102 -0
- package/sass/themes/schemas/components/light/_divider.scss +33 -0
- package/sass/themes/schemas/components/light/_dock-manager.scss +548 -0
- package/sass/themes/schemas/components/light/_expansion-panel.scss +172 -0
- package/sass/themes/schemas/components/light/_grid-filtering.scss +105 -0
- package/sass/themes/schemas/components/light/_grid-summary.scss +138 -0
- package/sass/themes/schemas/components/light/_grid-toolbar.scss +117 -0
- package/sass/themes/schemas/components/light/_grid.scss +1330 -0
- package/sass/themes/schemas/components/light/_highlight.scss +86 -0
- package/sass/themes/schemas/components/light/_icon.scss +4 -14
- package/sass/themes/schemas/components/light/_index.scss +214 -30
- package/sass/themes/schemas/components/light/_list.scss +321 -0
- package/sass/themes/schemas/components/light/_navdrawer.scss +214 -0
- package/sass/themes/schemas/components/light/_overlay.scss +42 -0
- package/sass/themes/schemas/components/light/_pagination.scss +97 -0
- package/sass/themes/schemas/components/light/_pivot-data-selector.scss +38 -0
- package/sass/themes/schemas/components/light/_progress.scss +208 -0
- package/sass/themes/schemas/components/light/_query-builder.scss +138 -0
- package/sass/themes/schemas/components/light/_ripple.scss +36 -0
- package/sass/themes/schemas/components/light/_scrollbar.scss +79 -0
- package/sass/themes/schemas/components/light/_slider.scss +0 -4
- package/sass/themes/schemas/components/light/_snackbar.scss +131 -0
- package/sass/themes/schemas/components/light/_splitter.scss +99 -0
- package/sass/themes/schemas/components/light/_stepper.scss +695 -0
- package/sass/themes/schemas/components/light/_switch.scss +0 -5
- package/sass/themes/schemas/components/light/_time-picker.scss +210 -0
- package/sass/themes/schemas/components/light/_toast.scss +89 -0
- package/sass/themes/schemas/components/light/_tooltip.scss +96 -0
- package/sass/themes/schemas/components/light/_watermark.scss +77 -0
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
@use '../../../../utils/map' as *;
|
|
2
|
+
@use '../../../../typography/functions' as *;
|
|
3
|
+
|
|
4
|
+
////
|
|
5
|
+
/// @package theming
|
|
6
|
+
/// @group schemas
|
|
7
|
+
/// @access public
|
|
8
|
+
////
|
|
9
|
+
|
|
10
|
+
/// Generates a light banner schema.
|
|
11
|
+
/// @type {Map}
|
|
12
|
+
/// @prop {Map} banner-background [color: 'surface']- The background color used banner background.
|
|
13
|
+
/// @prop {Map} banner-message-color [contrast-color: 'surface']- The color used for banner label.
|
|
14
|
+
/// @prop {Map} banner-border-color [color: ('gray', 400)] - The border color used banner border.
|
|
15
|
+
/// @prop {Map} banner-illustration-color [contrast-color: 'surface'] - The color used banner illustration.
|
|
16
|
+
$light-banner: (
|
|
17
|
+
banner-background: (
|
|
18
|
+
color: 'surface',
|
|
19
|
+
),
|
|
20
|
+
|
|
21
|
+
banner-message-color: (
|
|
22
|
+
contrast-color: 'surface',
|
|
23
|
+
),
|
|
24
|
+
|
|
25
|
+
banner-border-color: (
|
|
26
|
+
color: (
|
|
27
|
+
'gray',
|
|
28
|
+
400,
|
|
29
|
+
),
|
|
30
|
+
),
|
|
31
|
+
|
|
32
|
+
banner-illustration-color: (
|
|
33
|
+
contrast-color: 'surface',
|
|
34
|
+
),
|
|
35
|
+
);
|
|
36
|
+
|
|
37
|
+
/// Generates a fluent banner schema.
|
|
38
|
+
/// @type {Map}
|
|
39
|
+
/// @requires {Map} $light-banner
|
|
40
|
+
$fluent-banner: $light-banner;
|
|
41
|
+
|
|
42
|
+
/// Generates a bootstrap banner schema.
|
|
43
|
+
/// @type {Map}
|
|
44
|
+
/// @prop {Map} banner-background [contrast-color: ('gray', 900)] - The background color used banner background.
|
|
45
|
+
/// @prop {Map} banner-message-color [color: ('gray', 800)] - The color used for banner label.
|
|
46
|
+
/// @prop {Map} banner-illustration-color [color: ('gray', 800)] - The color used banner illustration.
|
|
47
|
+
/// @requires {Map} $light-banner
|
|
48
|
+
$bootstrap-banner: extend(
|
|
49
|
+
$light-banner,
|
|
50
|
+
(
|
|
51
|
+
banner-background: (
|
|
52
|
+
contrast-color: (
|
|
53
|
+
'gray',
|
|
54
|
+
900,
|
|
55
|
+
),
|
|
56
|
+
),
|
|
57
|
+
|
|
58
|
+
banner-message-color: (
|
|
59
|
+
color: (
|
|
60
|
+
'gray',
|
|
61
|
+
800,
|
|
62
|
+
),
|
|
63
|
+
),
|
|
64
|
+
|
|
65
|
+
banner-illustration-color: (
|
|
66
|
+
color: (
|
|
67
|
+
'gray',
|
|
68
|
+
800,
|
|
69
|
+
),
|
|
70
|
+
),
|
|
71
|
+
)
|
|
72
|
+
);
|
|
73
|
+
|
|
74
|
+
/// Generates an indigo banner schema.
|
|
75
|
+
/// @type {Map}
|
|
76
|
+
/// @prop {Map} banner-message-color [color: ('gray', 900)]- The color used for banner label.
|
|
77
|
+
/// @prop {Map} banner-illustration-color [color: ('gray', 600)] - The color used banner illustration.
|
|
78
|
+
/// @requires {Map} $light-banner
|
|
79
|
+
$indigo-banner: extend(
|
|
80
|
+
$light-banner,
|
|
81
|
+
(
|
|
82
|
+
banner-message-color: (
|
|
83
|
+
color: (
|
|
84
|
+
'gray',
|
|
85
|
+
900,
|
|
86
|
+
),
|
|
87
|
+
),
|
|
88
|
+
|
|
89
|
+
banner-illustration-color: (
|
|
90
|
+
color: (
|
|
91
|
+
'gray',
|
|
92
|
+
600,
|
|
93
|
+
),
|
|
94
|
+
),
|
|
95
|
+
)
|
|
96
|
+
);
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
@use '../../../../utils/map' as *;
|
|
2
|
+
@use '../../../../typography/functions' as *;
|
|
3
|
+
@use '../elevation/bottom-nav' as *;
|
|
4
|
+
|
|
5
|
+
////
|
|
6
|
+
/// @package theming
|
|
7
|
+
/// @group schemas
|
|
8
|
+
/// @access public
|
|
9
|
+
////
|
|
10
|
+
|
|
11
|
+
/// Generates a light bottom navigation scheme.
|
|
12
|
+
/// @type {Map}
|
|
13
|
+
/// @prop {Color} background [color: ('gray', 50))] - The background color used for the toast.
|
|
14
|
+
/// @prop {Map} idle-item-color [color: ('gray', 700)] - The text-color used for the idle color.
|
|
15
|
+
/// @prop {Map} active-item-color [color: ('primary', 500)] - The text-color used for the active color.
|
|
16
|
+
/// @prop {Number} elevation [8] - The elevation level, between 0-24, to be used for the bottom nav.
|
|
17
|
+
/// @requires {Map} $default-elevation-bottom-nav
|
|
18
|
+
$light-bottom-nav: extend(
|
|
19
|
+
$default-elevation-bottom-nav,
|
|
20
|
+
(
|
|
21
|
+
background: (
|
|
22
|
+
color: (
|
|
23
|
+
'gray',
|
|
24
|
+
50,
|
|
25
|
+
),
|
|
26
|
+
),
|
|
27
|
+
|
|
28
|
+
idle-item-color: (
|
|
29
|
+
color: (
|
|
30
|
+
'gray',
|
|
31
|
+
700,
|
|
32
|
+
),
|
|
33
|
+
),
|
|
34
|
+
|
|
35
|
+
active-item-color: (
|
|
36
|
+
color: (
|
|
37
|
+
'primary',
|
|
38
|
+
500,
|
|
39
|
+
),
|
|
40
|
+
),
|
|
41
|
+
)
|
|
42
|
+
);
|
|
43
|
+
|
|
44
|
+
/// Generates a fluent bottom navigation schema.
|
|
45
|
+
/// @type {Map}
|
|
46
|
+
/// @prop {Number} elevation [1] - The elevation level, between 0-24, to be used for the bottom nav.
|
|
47
|
+
/// @requires {Map} $light-bottom-nav
|
|
48
|
+
/// @requires {Map} $fluent-elevation-bottom-nav
|
|
49
|
+
$fluent-bottom-nav: extend($light-bottom-nav, $fluent-elevation-bottom-nav);
|
|
50
|
+
|
|
51
|
+
/// Generates a bootstrap bottom navigation schema.
|
|
52
|
+
/// @type {Map}
|
|
53
|
+
/// @requires {Map} $light-bottom-nav
|
|
54
|
+
$bootstrap-bottom-nav: $light-bottom-nav;
|
|
55
|
+
|
|
56
|
+
/// Generates an indigo bottom navigation schema.
|
|
57
|
+
/// @type {Map}
|
|
58
|
+
/// @prop {Number} elevation [4] - The elevation level, between 0-24, to be used for the bottom nav.
|
|
59
|
+
/// @requires {Map} $light-bottom-nav
|
|
60
|
+
/// @requires {Map} $indigo-elevation-bottom-nav
|
|
61
|
+
$indigo-bottom-nav: extend($light-bottom-nav, $indigo-elevation-bottom-nav);
|
|
@@ -0,0 +1,426 @@
|
|
|
1
|
+
@use '../../../../utils/map' as *;
|
|
2
|
+
@use '../../../../typography/functions' as *;
|
|
3
|
+
@use '../elevation/button-group' as *;
|
|
4
|
+
|
|
5
|
+
////
|
|
6
|
+
/// @package theming
|
|
7
|
+
/// @group schemas
|
|
8
|
+
/// @access public
|
|
9
|
+
////
|
|
10
|
+
|
|
11
|
+
/// Generates a light button group schema.
|
|
12
|
+
/// @type {Map}
|
|
13
|
+
/// @prop {Map} item-text-color [color: ('gray', 700)]- The text color for button group items.
|
|
14
|
+
/// @prop {Map} item-background [color: ('gray', 50)] - The background color for button group items .
|
|
15
|
+
/// @prop {Map} item-border-color [color: ('gray', 400)] - The border color between button group items.
|
|
16
|
+
/// @prop {Map} item-hover-text-color [color: ('gray', 800)] - The hover text color for button group items.
|
|
17
|
+
/// @prop {Map} item-hover-background [color: ('gray', 300)] - The hover background color for button group items.
|
|
18
|
+
/// @prop {Map} disabled-text-color [color: ('gray', 400)]- The text/icon color for a disabled item in the button group.
|
|
19
|
+
/// @prop {Map} disabled-background-color [color: ('gray', 50)] - The background color for a disabled item in the button group.
|
|
20
|
+
/// @prop {Map} item-disabled-border [color: ('gray', 400)] - The border color for a disabled item in the button group.
|
|
21
|
+
/// @prop {Map} item-selected-text-color [color: ('gray', 800)]- The text color for a selected item in the button group.
|
|
22
|
+
/// @prop {Map} item-selected-background [color: ('gray', 400)] - The background color for a selected item in the button group.
|
|
23
|
+
/// @prop {Map} item-selected-border-color [color: ('gray', 500)] - The border color for a selected item from the button group.
|
|
24
|
+
/// @prop {Map} item-selected-hover-background [color: ('gray', 500, .8)] - The background color for a selected item in hover or focus state in the button group.
|
|
25
|
+
/// @prop {Map} idle-shadow-color [transparent] - The outline color of button group items.
|
|
26
|
+
/// @prop {Number} elevation [2] - The elevation level, between 0-24, to be used for the button group shadow.
|
|
27
|
+
/// @prop {Number} border-radius [4px] - The border radius used for button-group component. Can be a fraction between 0 and 1, pixels, or percent.
|
|
28
|
+
/// @requires {Map} $default-elevation-button-group
|
|
29
|
+
$light-button-group: extend(
|
|
30
|
+
$default-elevation-button-group,
|
|
31
|
+
(
|
|
32
|
+
idle-shadow-color: transparent,
|
|
33
|
+
|
|
34
|
+
item-background: (
|
|
35
|
+
color: (
|
|
36
|
+
'gray',
|
|
37
|
+
50,
|
|
38
|
+
),
|
|
39
|
+
),
|
|
40
|
+
|
|
41
|
+
item-border-color: (
|
|
42
|
+
color: (
|
|
43
|
+
'gray',
|
|
44
|
+
400,
|
|
45
|
+
),
|
|
46
|
+
),
|
|
47
|
+
|
|
48
|
+
item-text-color: (
|
|
49
|
+
color: (
|
|
50
|
+
'gray',
|
|
51
|
+
700,
|
|
52
|
+
),
|
|
53
|
+
),
|
|
54
|
+
|
|
55
|
+
item-hover-text-color: (
|
|
56
|
+
color: (
|
|
57
|
+
'gray',
|
|
58
|
+
800,
|
|
59
|
+
),
|
|
60
|
+
),
|
|
61
|
+
|
|
62
|
+
item-hover-background: (
|
|
63
|
+
color: (
|
|
64
|
+
'gray',
|
|
65
|
+
300,
|
|
66
|
+
),
|
|
67
|
+
),
|
|
68
|
+
|
|
69
|
+
item-selected-text-color: (
|
|
70
|
+
color: (
|
|
71
|
+
'gray',
|
|
72
|
+
800,
|
|
73
|
+
),
|
|
74
|
+
),
|
|
75
|
+
|
|
76
|
+
item-selected-background: (
|
|
77
|
+
color: (
|
|
78
|
+
'gray',
|
|
79
|
+
400,
|
|
80
|
+
),
|
|
81
|
+
),
|
|
82
|
+
|
|
83
|
+
item-selected-hover-background: (
|
|
84
|
+
color: (
|
|
85
|
+
'gray',
|
|
86
|
+
500,
|
|
87
|
+
0.8,
|
|
88
|
+
),
|
|
89
|
+
),
|
|
90
|
+
|
|
91
|
+
item-selected-border-color: (
|
|
92
|
+
color: (
|
|
93
|
+
'gray',
|
|
94
|
+
500,
|
|
95
|
+
),
|
|
96
|
+
),
|
|
97
|
+
|
|
98
|
+
disabled-text-color: (
|
|
99
|
+
color: (
|
|
100
|
+
'gray',
|
|
101
|
+
400,
|
|
102
|
+
),
|
|
103
|
+
),
|
|
104
|
+
|
|
105
|
+
disabled-background-color: (
|
|
106
|
+
color: (
|
|
107
|
+
'gray',
|
|
108
|
+
50,
|
|
109
|
+
),
|
|
110
|
+
),
|
|
111
|
+
|
|
112
|
+
item-disabled-border: (
|
|
113
|
+
color: (
|
|
114
|
+
'gray',
|
|
115
|
+
400,
|
|
116
|
+
),
|
|
117
|
+
),
|
|
118
|
+
|
|
119
|
+
border-radius: rem(4px),
|
|
120
|
+
)
|
|
121
|
+
);
|
|
122
|
+
|
|
123
|
+
/// Generates a fluent button group schema.
|
|
124
|
+
/// @type {Map}
|
|
125
|
+
/// @prop {Map} item-text-color [color: ('gray', 900)]- The text color for button group items.
|
|
126
|
+
/// @prop {Map} item-hover-text-color [color: ('primary', 200)] - The hover text color for button group items.
|
|
127
|
+
/// @prop {Map} item-hover-background [color: ('gray', 50)] - The hover background color for button group items.
|
|
128
|
+
/// @prop {Map} item-selected-background [color: ('gray', 200)] - The background color for a selected item in the button group.
|
|
129
|
+
/// @prop {Map} item-selected-hover-background [color: ('gray', 200)] - The background color for a selected item in hover or focus state in the button group.
|
|
130
|
+
/// @prop {Map} item-selected-text-color [color: ('primary', 200)]- The text color for a selected item in the button group.
|
|
131
|
+
/// @prop {Color} disabled-background-color [color: ('gray', 50)] - The background color for a disabled item in the button group.
|
|
132
|
+
/// @prop {Number} elevation [0] - The elevation level, between 0-24, to be used for the button group shadow.
|
|
133
|
+
/// @prop {Number} border-radius [2px] - The border radius used for button-group component. Can be a fraction between 0 and 1, pixels, or percent.
|
|
134
|
+
/// @requires {Map} $light-button-group
|
|
135
|
+
/// @requires {Map} $fluent-elevation-button-group
|
|
136
|
+
$fluent-button-group: extend(
|
|
137
|
+
$light-button-group,
|
|
138
|
+
$fluent-elevation-button-group,
|
|
139
|
+
(
|
|
140
|
+
item-text-color: (
|
|
141
|
+
color: (
|
|
142
|
+
'gray',
|
|
143
|
+
900,
|
|
144
|
+
),
|
|
145
|
+
),
|
|
146
|
+
|
|
147
|
+
item-hover-text-color: (
|
|
148
|
+
color: (
|
|
149
|
+
'primary',
|
|
150
|
+
200,
|
|
151
|
+
),
|
|
152
|
+
),
|
|
153
|
+
|
|
154
|
+
item-hover-background: (
|
|
155
|
+
color: (
|
|
156
|
+
'gray',
|
|
157
|
+
50,
|
|
158
|
+
),
|
|
159
|
+
),
|
|
160
|
+
|
|
161
|
+
item-selected-background: (
|
|
162
|
+
color: (
|
|
163
|
+
'gray',
|
|
164
|
+
200,
|
|
165
|
+
),
|
|
166
|
+
),
|
|
167
|
+
|
|
168
|
+
item-selected-hover-background: (
|
|
169
|
+
color: (
|
|
170
|
+
'gray',
|
|
171
|
+
200,
|
|
172
|
+
),
|
|
173
|
+
),
|
|
174
|
+
|
|
175
|
+
item-selected-text-color: (
|
|
176
|
+
color: (
|
|
177
|
+
'primary',
|
|
178
|
+
200,
|
|
179
|
+
),
|
|
180
|
+
),
|
|
181
|
+
|
|
182
|
+
disabled-background-color: (
|
|
183
|
+
color: (
|
|
184
|
+
'gray',
|
|
185
|
+
50,
|
|
186
|
+
),
|
|
187
|
+
),
|
|
188
|
+
|
|
189
|
+
border-radius: rem(2px),
|
|
190
|
+
)
|
|
191
|
+
);
|
|
192
|
+
|
|
193
|
+
/// Generates a bootstrap button group schema.
|
|
194
|
+
/// @type {Map}
|
|
195
|
+
/// @prop {Map} item-background [color: ('primary', 500)] - The background color for button group items.
|
|
196
|
+
/// @prop {Map} item-text-color [contrast-color: ('primary', 600)]- The text color for button group items.
|
|
197
|
+
/// @prop {Map} item-border-color [color: ('primary', 500)] - The border color between button group items.
|
|
198
|
+
/// @prop {Map} item-hover-background [color: ('primary', 600)] - The hover background color for button group items.
|
|
199
|
+
/// @prop {Map} item-hover-text-color [contrast-color: ('primary', 600)] - The hover text color for button group items.
|
|
200
|
+
/// @prop {Map} item-selected-background [color: ('primary', 700)] - The background color for a selected item in the button group.
|
|
201
|
+
/// @prop {Map} item-selected-text-color [contrast-color: ('primary', 700)]- The text color for a selected item in the button group.
|
|
202
|
+
/// @prop {Map} item-selected-border-color [color: ('primary', 700)] - The border color for a selected item from the button group.
|
|
203
|
+
/// @prop {Map} item-selected-hover-background [color: ('primary', 800)] - The background color for a selected item in hover or focus state in the button group.
|
|
204
|
+
/// @prop {Map} disabled-background-color [color: ('primary', 100)] - The background color for a disabled item in the button group.
|
|
205
|
+
/// @prop {Map} disabled-text-color [color: ('primary', 200)]- The text/icon color for a disabled item in the button group.
|
|
206
|
+
/// @prop {Map} item-disabled-border [color: ('primary', 100)] - The border color for a disabled item in the button group.
|
|
207
|
+
/// @prop {Number} elevation [0] - The elevation level, between 0-24, to be used for the button group shadow.
|
|
208
|
+
/// @prop {Number} border-radius [4px] - The border radius used for button-group component. Can be a fraction between 0 and 1, pixels, or percent.
|
|
209
|
+
/// @requires {Map} $light-button-group
|
|
210
|
+
/// @requires {Map} $bootstrap-elevation-button-group
|
|
211
|
+
$bootstrap-button-group: extend(
|
|
212
|
+
$light-button-group,
|
|
213
|
+
$bootstrap-elevation-button-group,
|
|
214
|
+
(
|
|
215
|
+
item-background: (
|
|
216
|
+
color: (
|
|
217
|
+
'primary',
|
|
218
|
+
500,
|
|
219
|
+
),
|
|
220
|
+
),
|
|
221
|
+
|
|
222
|
+
item-text-color: (
|
|
223
|
+
contrast-color: (
|
|
224
|
+
'primary',
|
|
225
|
+
600,
|
|
226
|
+
),
|
|
227
|
+
),
|
|
228
|
+
|
|
229
|
+
item-border-color: (
|
|
230
|
+
color: (
|
|
231
|
+
'primary',
|
|
232
|
+
500,
|
|
233
|
+
),
|
|
234
|
+
),
|
|
235
|
+
|
|
236
|
+
item-hover-background: (
|
|
237
|
+
color: (
|
|
238
|
+
'primary',
|
|
239
|
+
600,
|
|
240
|
+
),
|
|
241
|
+
),
|
|
242
|
+
|
|
243
|
+
item-hover-text-color: (
|
|
244
|
+
contrast-color: (
|
|
245
|
+
'primary',
|
|
246
|
+
600,
|
|
247
|
+
),
|
|
248
|
+
),
|
|
249
|
+
|
|
250
|
+
item-selected-background: (
|
|
251
|
+
color: (
|
|
252
|
+
'primary',
|
|
253
|
+
700,
|
|
254
|
+
),
|
|
255
|
+
),
|
|
256
|
+
|
|
257
|
+
item-selected-text-color: (
|
|
258
|
+
contrast-color: (
|
|
259
|
+
'primary',
|
|
260
|
+
700,
|
|
261
|
+
),
|
|
262
|
+
),
|
|
263
|
+
|
|
264
|
+
item-selected-border-color: (
|
|
265
|
+
color: (
|
|
266
|
+
'primary',
|
|
267
|
+
700,
|
|
268
|
+
),
|
|
269
|
+
),
|
|
270
|
+
|
|
271
|
+
item-selected-hover-background: (
|
|
272
|
+
color: (
|
|
273
|
+
'primary',
|
|
274
|
+
800,
|
|
275
|
+
),
|
|
276
|
+
),
|
|
277
|
+
|
|
278
|
+
disabled-background-color: (
|
|
279
|
+
color: (
|
|
280
|
+
'primary',
|
|
281
|
+
100,
|
|
282
|
+
),
|
|
283
|
+
),
|
|
284
|
+
|
|
285
|
+
disabled-text-color: (
|
|
286
|
+
color: (
|
|
287
|
+
'primary',
|
|
288
|
+
200,
|
|
289
|
+
),
|
|
290
|
+
),
|
|
291
|
+
|
|
292
|
+
item-disabled-border: (
|
|
293
|
+
color: (
|
|
294
|
+
'primary',
|
|
295
|
+
100,
|
|
296
|
+
),
|
|
297
|
+
),
|
|
298
|
+
)
|
|
299
|
+
);
|
|
300
|
+
|
|
301
|
+
/// Generates an indigo light button-group schema.
|
|
302
|
+
/// @type {Map}
|
|
303
|
+
/// @prop {Map} item-background [color: ('gray', 50)] - The background color for button group items.
|
|
304
|
+
/// @prop {Map} item-text-color [contrast-color: ('gray', 50)]- The text color for button group items.
|
|
305
|
+
/// @prop {Map} idle-shadow-color [color: ('primary', 200)] - The outline color of button group items.
|
|
306
|
+
/// @prop {Map} selected-shadow-color [color: ('primary', 200)] - The outline color of selected button group items.
|
|
307
|
+
/// @prop {Map} item-border-color [color: ('primary', 300)] - The border color between button group items.
|
|
308
|
+
/// @prop {Map} item-hover-background [color: ('gray', 100, .87)] - The hover background color for button group items.
|
|
309
|
+
/// @prop {Map} item-hover-text-color [contrast-color: ('gray', 100)] - The hover text color for button group items.
|
|
310
|
+
/// @prop {Map} item-selected-background [color: ('primary', 500)] - The background color for a selected item in the button group.
|
|
311
|
+
/// @prop {Map} item-selected-text-color [contrast-color: ('primary', 500)]- The text color for a selected item in the button group.
|
|
312
|
+
/// @prop {Map} item-selected-border-color [color: ('primary', 400)] - The border color for a selected item from the button group.
|
|
313
|
+
/// @prop {Map} item-selected-hover-background [color: ('primary', 400)] - The background color for a selected item in hover or focus state in the button group.
|
|
314
|
+
/// @prop {Map} disabled-background-color [color: ('gray', 100)] - The background color for a disabled item in the button group.
|
|
315
|
+
/// @prop {Map} disabled-text-color [color: ('gray', 400)]- The text/icon color for a disabled item in the button group.
|
|
316
|
+
/// @prop {Map} item-disabled-border [color: ('gray', 300)] - The border color for a disabled item in the button group.
|
|
317
|
+
/// @prop {Number} elevation [0] - The elevation level, between 0-24, to be used for the button group shadow.
|
|
318
|
+
/// @prop {Number} border-radius [8px] - The border radius used for button-group component. Can be a fraction between 0 and 1, pixels, or percent.
|
|
319
|
+
/// @requires {Map} $light-button-group
|
|
320
|
+
/// @requires {Map} $indigo-elevation-button-group
|
|
321
|
+
$indigo-button-group: extend(
|
|
322
|
+
$light-button-group,
|
|
323
|
+
$indigo-elevation-button-group,
|
|
324
|
+
(
|
|
325
|
+
item-background: (
|
|
326
|
+
color: (
|
|
327
|
+
'gray',
|
|
328
|
+
50,
|
|
329
|
+
),
|
|
330
|
+
),
|
|
331
|
+
|
|
332
|
+
idle-shadow-color: (
|
|
333
|
+
color: (
|
|
334
|
+
'primary',
|
|
335
|
+
200,
|
|
336
|
+
),
|
|
337
|
+
),
|
|
338
|
+
|
|
339
|
+
selected-shadow-color: (
|
|
340
|
+
color: (
|
|
341
|
+
'primary',
|
|
342
|
+
200,
|
|
343
|
+
),
|
|
344
|
+
),
|
|
345
|
+
|
|
346
|
+
item-text-color: (
|
|
347
|
+
contrast-color: (
|
|
348
|
+
'gray',
|
|
349
|
+
50,
|
|
350
|
+
),
|
|
351
|
+
),
|
|
352
|
+
|
|
353
|
+
item-border-color: (
|
|
354
|
+
color: (
|
|
355
|
+
'gray',
|
|
356
|
+
300,
|
|
357
|
+
),
|
|
358
|
+
),
|
|
359
|
+
|
|
360
|
+
item-hover-background: (
|
|
361
|
+
color: (
|
|
362
|
+
'gray',
|
|
363
|
+
100,
|
|
364
|
+
0.87,
|
|
365
|
+
),
|
|
366
|
+
),
|
|
367
|
+
|
|
368
|
+
item-hover-text-color: (
|
|
369
|
+
contrast-color: (
|
|
370
|
+
'gray',
|
|
371
|
+
100,
|
|
372
|
+
),
|
|
373
|
+
),
|
|
374
|
+
|
|
375
|
+
item-selected-background: (
|
|
376
|
+
color: (
|
|
377
|
+
'primary',
|
|
378
|
+
500,
|
|
379
|
+
),
|
|
380
|
+
),
|
|
381
|
+
|
|
382
|
+
item-selected-text-color: (
|
|
383
|
+
contrast-color: (
|
|
384
|
+
'primary',
|
|
385
|
+
500,
|
|
386
|
+
),
|
|
387
|
+
),
|
|
388
|
+
|
|
389
|
+
item-selected-border-color: (
|
|
390
|
+
color: (
|
|
391
|
+
'primary',
|
|
392
|
+
400,
|
|
393
|
+
),
|
|
394
|
+
),
|
|
395
|
+
|
|
396
|
+
item-selected-hover-background: (
|
|
397
|
+
color: (
|
|
398
|
+
'primary',
|
|
399
|
+
400,
|
|
400
|
+
),
|
|
401
|
+
),
|
|
402
|
+
|
|
403
|
+
disabled-background-color: (
|
|
404
|
+
color: (
|
|
405
|
+
'gray',
|
|
406
|
+
100,
|
|
407
|
+
),
|
|
408
|
+
),
|
|
409
|
+
|
|
410
|
+
disabled-text-color: (
|
|
411
|
+
color: (
|
|
412
|
+
'gray',
|
|
413
|
+
400,
|
|
414
|
+
),
|
|
415
|
+
),
|
|
416
|
+
|
|
417
|
+
item-disabled-border: (
|
|
418
|
+
color: (
|
|
419
|
+
'gray',
|
|
420
|
+
300,
|
|
421
|
+
),
|
|
422
|
+
),
|
|
423
|
+
|
|
424
|
+
border-radius: rem(8px),
|
|
425
|
+
)
|
|
426
|
+
);
|