@axa-fr/design-system-slash-css 2.0.6-alpha.14 → 2.0.6-alpha.16
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/dist/Accordion/Accordion.css +3 -1
- package/dist/Action/Action.css +1 -1
- package/dist/Button/Button.css +1 -139
- package/dist/Card/Card.css +1 -108
- package/dist/CardData/CardData.css +1 -102
- package/dist/Divider/Divider.css +1 -14
- package/dist/Form/Checkbox/Checkbox.css +1 -1
- package/dist/Form/Date/Date.css +1 -1
- package/dist/Form/File/File.css +1 -1
- package/dist/Form/MultiSelect/MultiSelect.css +1 -1
- package/dist/Form/NestedQuestion/NestedQuestion.css +1 -1
- package/dist/Form/Pass/Pass.css +1 -1
- package/dist/Form/Radio/Radio.css +1 -1
- package/dist/Form/Radio/RadioCardGroup.css +1 -87
- package/dist/Form/Select/Select.css +1 -1
- package/dist/Form/Slider/Slider.css +1 -1
- package/dist/Form/Text/Text.css +1 -1
- package/dist/Form/Textarea/Textarea.css +1 -1
- package/dist/Form/core/FormCore.css +1 -1
- package/dist/Layout/Footer/Footer.css +1 -25
- package/dist/Layout/Header/AnchorNavBar/AnchorNavBar.css +1 -50
- package/dist/Layout/Header/Drawer/Drawer.css +1 -1
- package/dist/Layout/Header/Header.css +1 -1
- package/dist/Layout/Header/HeaderTitle/HeaderTitle.css +1 -1
- package/dist/Layout/Header/Infos/Infos.css +1 -46
- package/dist/Layout/Header/Logo/Logo.css +1 -1
- package/dist/Layout/Header/Name/Name.css +1 -1
- package/dist/Layout/Header/NavBar/NavBar.css +1 -1
- package/dist/Layout/Header/User/User.css +1 -37
- package/dist/Link/Link.css +1 -72
- package/dist/Loader/Loader.css +1 -1
- package/dist/Message/Message.css +1 -83
- package/dist/Modal/Modal.css +1 -1
- package/dist/Popover/Popover.css +1 -1
- package/dist/Restitution/Restitution.css +1 -1
- package/dist/Steps/Steps.css +1 -1
- package/dist/Steps/VerticalStep.css +1 -82
- package/dist/Table/Pager.css +1 -1
- package/dist/Table/Paging.css +1 -1
- package/dist/Table/Table.css +1 -1
- package/dist/Tabs/Tabs.css +1 -1
- package/dist/Tag/Tag.css +1 -1
- package/dist/Title/Title.css +1 -1
- package/dist/common/breakpoints.css +1 -22
- package/dist/common/icons.css +1 -1
- package/dist/common/tokens.css +1 -83
- package/dist/slash.css +3 -1
- package/package.json +8 -9
- package/dist/Accordion/Accordion.css.map +0 -1
- package/dist/Accordion/Accordion.scss +0 -109
- package/dist/Action/Action.css.map +0 -1
- package/dist/Action/Action.scss +0 -48
- package/dist/Alert/Alert.css.map +0 -1
- package/dist/Alert/Alert.scss +0 -5
- package/dist/Form/Checkbox/Checkbox.css.map +0 -1
- package/dist/Form/Checkbox/Checkbox.scss +0 -323
- package/dist/Form/Date/Date.css.map +0 -1
- package/dist/Form/Date/Date.scss +0 -94
- package/dist/Form/File/File.css.map +0 -1
- package/dist/Form/File/File.scss +0 -79
- package/dist/Form/MultiSelect/MultiSelect.css.map +0 -1
- package/dist/Form/MultiSelect/MultiSelect.scss +0 -60
- package/dist/Form/NestedQuestion/NestedQuestion.css.map +0 -1
- package/dist/Form/NestedQuestion/NestedQuestion.scss +0 -22
- package/dist/Form/Pass/Pass.css.map +0 -1
- package/dist/Form/Pass/Pass.scss +0 -86
- package/dist/Form/Radio/Radio.css.map +0 -1
- package/dist/Form/Radio/Radio.scss +0 -202
- package/dist/Form/Select/Select.css.map +0 -1
- package/dist/Form/Select/Select.scss +0 -112
- package/dist/Form/Slider/Slider.css.map +0 -1
- package/dist/Form/Slider/Slider.scss +0 -72
- package/dist/Form/Text/Text.css.map +0 -1
- package/dist/Form/Text/Text.scss +0 -111
- package/dist/Form/Textarea/Textarea.css.map +0 -1
- package/dist/Form/Textarea/Textarea.scss +0 -44
- package/dist/Form/core/FormCore.css.map +0 -1
- package/dist/Form/core/FormCore.scss +0 -97
- package/dist/Layout/Header/Drawer/Drawer.css.map +0 -1
- package/dist/Layout/Header/Drawer/Drawer.scss +0 -25
- package/dist/Layout/Header/Header.css.map +0 -1
- package/dist/Layout/Header/Header.scss +0 -35
- package/dist/Layout/Header/HeaderTitle/HeaderTitle.css.map +0 -1
- package/dist/Layout/Header/HeaderTitle/HeaderTitle.scss +0 -112
- package/dist/Layout/Header/Logo/Logo.css.map +0 -1
- package/dist/Layout/Header/Logo/Logo.scss +0 -42
- package/dist/Layout/Header/Name/Name.css.map +0 -1
- package/dist/Layout/Header/Name/Name.scss +0 -33
- package/dist/Layout/Header/NavBar/NavBar.css.map +0 -1
- package/dist/Layout/Header/NavBar/NavBar.scss +0 -203
- package/dist/Loader/Loader.css.map +0 -1
- package/dist/Loader/Loader.scss +0 -57
- package/dist/Modal/Modal.css.map +0 -1
- package/dist/Modal/Modal.scss +0 -96
- package/dist/Popover/Popover.css.map +0 -1
- package/dist/Popover/Popover.scss +0 -51
- package/dist/Restitution/Restitution.css.map +0 -1
- package/dist/Restitution/Restitution.scss +0 -137
- package/dist/Steps/Steps.css.map +0 -1
- package/dist/Steps/Steps.scss +0 -189
- package/dist/Table/Pager.css.map +0 -1
- package/dist/Table/Pager.scss +0 -79
- package/dist/Table/Paging.css.map +0 -1
- package/dist/Table/Paging.scss +0 -61
- package/dist/Table/Table.css.map +0 -1
- package/dist/Table/Table.scss +0 -75
- package/dist/Tabs/Tabs.css.map +0 -1
- package/dist/Tabs/Tabs.scss +0 -137
- package/dist/Tag/Tag.css.map +0 -1
- package/dist/Tag/Tag.scss +0 -55
- package/dist/Title/Title.css.map +0 -1
- package/dist/Title/Title.scss +0 -66
- package/dist/common/common.css +0 -0
- package/dist/common/common.scss +0 -1459
- package/dist/common/grid.css.map +0 -1
- package/dist/common/grid.scss +0 -1029
- package/dist/common/icons.css.map +0 -1
- package/dist/common/icons.scss +0 -1232
- package/dist/common/reboot.css.map +0 -1
- package/dist/common/reboot.scss +0 -338
- package/dist/slash.css.map +0 -1
- package/dist/slash.scss +0 -40
package/dist/common/common.scss
DELETED
|
@@ -1,1459 +0,0 @@
|
|
|
1
|
-
@use "sass:map";
|
|
2
|
-
@use "sass:list";
|
|
3
|
-
@use "sass:string";
|
|
4
|
-
@use "sass:color";
|
|
5
|
-
@use "sass:math";
|
|
6
|
-
|
|
7
|
-
// Breakpoint viewport sizes and media queries.
|
|
8
|
-
|
|
9
|
-
// Breakpoints are defined as a map of (name: minimum width), order from small to large:
|
|
10
|
-
|
|
11
|
-
// (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px)
|
|
12
|
-
|
|
13
|
-
// The map defined in the `$grid-breakpoints` global variable is used as the `$breakpoints` argument by default.
|
|
14
|
-
// Name of the next breakpoint, or null for the last breakpoint.
|
|
15
|
-
|
|
16
|
-
// >> breakpoint-next(sm)
|
|
17
|
-
// md
|
|
18
|
-
// >> breakpoint-next(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))
|
|
19
|
-
// md
|
|
20
|
-
// >> breakpoint-next(sm, $breakpoint-names: (xs sm md lg xl))
|
|
21
|
-
// md
|
|
22
|
-
@function breakpoint-next(
|
|
23
|
-
$name,
|
|
24
|
-
$breakpoints: $grid-breakpoints,
|
|
25
|
-
$breakpoint-names: map.keys($breakpoints)
|
|
26
|
-
) {
|
|
27
|
-
$n: list.index($breakpoint-names, $name);
|
|
28
|
-
|
|
29
|
-
@return if(
|
|
30
|
-
$n < list.length($breakpoint-names),
|
|
31
|
-
list.nth($breakpoint-names, $n + 1),
|
|
32
|
-
null
|
|
33
|
-
);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
// Minimum breakpoint width. Null for the smallest (first) breakpoint.
|
|
37
|
-
|
|
38
|
-
// >> breakpoint-min(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))
|
|
39
|
-
// 576px
|
|
40
|
-
@function breakpoint-min($name, $breakpoints: $grid-breakpoints) {
|
|
41
|
-
$min: map.get($breakpoints, $name);
|
|
42
|
-
|
|
43
|
-
@return if($min != 0, $min, null);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
// Maximum breakpoint width. Null for the largest (last) breakpoint.
|
|
47
|
-
// The maximum value is calculated as the minimum of the next one less 0.02px
|
|
48
|
-
// to work around the limitations of `min-` and `max-` prefixes and viewports with fractional widths.
|
|
49
|
-
// See https://www.w3.org/TR/mediaqueries-4/#mq-min-max
|
|
50
|
-
// Uses 0.02px rather than 0.01px to work around a current rounding bug in Safari.
|
|
51
|
-
// See https://bugs.webkit.org/show_bug.cgi?id=178261
|
|
52
|
-
|
|
53
|
-
// >> breakpoint-max(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))
|
|
54
|
-
// 767.98px
|
|
55
|
-
@function breakpoint-max($name, $breakpoints: $grid-breakpoints) {
|
|
56
|
-
$next: breakpoint-next($name, $breakpoints);
|
|
57
|
-
|
|
58
|
-
@return if($next, breakpoint-min($next, $breakpoints) - 0.02px, null);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
// Returns a blank string if smallest breakpoint, otherwise returns the name with a dash in front.
|
|
62
|
-
// Useful for making responsive utilities.
|
|
63
|
-
|
|
64
|
-
// >> breakpoint-infix(xs, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))
|
|
65
|
-
// "" (Returns a blank string)
|
|
66
|
-
// >> breakpoint-infix(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))
|
|
67
|
-
// "-sm"
|
|
68
|
-
@function breakpoint-infix($name, $breakpoints: $grid-breakpoints) {
|
|
69
|
-
@return if(breakpoint-min($name, $breakpoints) == null, "", "-#{$name}");
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
// Media of at least the minimum breakpoint width. No query for the smallest breakpoint.
|
|
73
|
-
// Makes the @content apply to the given breakpoint and wider.
|
|
74
|
-
@mixin media-breakpoint-up($name, $breakpoints: $grid-breakpoints) {
|
|
75
|
-
$min: breakpoint-min($name, $breakpoints);
|
|
76
|
-
|
|
77
|
-
@if $min {
|
|
78
|
-
@media (min-width: $min) {
|
|
79
|
-
@content;
|
|
80
|
-
}
|
|
81
|
-
} @else {
|
|
82
|
-
@content;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
// Media of at most the maximum breakpoint width. No query for the largest breakpoint.
|
|
87
|
-
// Makes the @content apply to the given breakpoint and narrower.
|
|
88
|
-
@mixin media-breakpoint-down($name, $breakpoints: $grid-breakpoints) {
|
|
89
|
-
$max: breakpoint-max($name, $breakpoints);
|
|
90
|
-
|
|
91
|
-
@if $max {
|
|
92
|
-
@media (max-width: $max) {
|
|
93
|
-
@content;
|
|
94
|
-
}
|
|
95
|
-
} @else {
|
|
96
|
-
@content;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
// Media that spans multiple breakpoint widths.
|
|
101
|
-
// Makes the @content apply between the min and max breakpoints
|
|
102
|
-
@mixin media-breakpoint-between(
|
|
103
|
-
$lower,
|
|
104
|
-
$upper,
|
|
105
|
-
$breakpoints: $grid-breakpoints
|
|
106
|
-
) {
|
|
107
|
-
$min: breakpoint-min($lower, $breakpoints);
|
|
108
|
-
$max: breakpoint-max($upper, $breakpoints);
|
|
109
|
-
|
|
110
|
-
@if $min != null and $max != null {
|
|
111
|
-
@media (min-width: $min) and (max-width: $max) {
|
|
112
|
-
@content;
|
|
113
|
-
}
|
|
114
|
-
} @else if $max == null {
|
|
115
|
-
@include media-breakpoint-up($lower, $breakpoints) {
|
|
116
|
-
@content;
|
|
117
|
-
}
|
|
118
|
-
} @else if $min == null {
|
|
119
|
-
@include media-breakpoint-down($upper, $breakpoints) {
|
|
120
|
-
@content;
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
// Media between the breakpoint's minimum and maximum widths.
|
|
126
|
-
// No minimum for the smallest breakpoint, and no maximum for the largest one.
|
|
127
|
-
// Makes the @content apply only to the given breakpoint, not viewports any wider or narrower.
|
|
128
|
-
@mixin media-breakpoint-only($name, $breakpoints: $grid-breakpoints) {
|
|
129
|
-
$min: breakpoint-min($name, $breakpoints);
|
|
130
|
-
$max: breakpoint-max($name, $breakpoints);
|
|
131
|
-
|
|
132
|
-
@if $min != null and $max != null {
|
|
133
|
-
@media (min-width: $min) and (max-width: $max) {
|
|
134
|
-
@content;
|
|
135
|
-
}
|
|
136
|
-
} @else if $max == null {
|
|
137
|
-
@include media-breakpoint-up($name, $breakpoints) {
|
|
138
|
-
@content;
|
|
139
|
-
}
|
|
140
|
-
} @else if $min == null {
|
|
141
|
-
@include media-breakpoint-down($name, $breakpoints) {
|
|
142
|
-
@content;
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
$font-family-sans-serif: "Source Sans Pro", arial, sans-serif !default;
|
|
148
|
-
$font-family-serif: georgia, times, "Times New Roman", serif !default;
|
|
149
|
-
// $font-family-monospace: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New",
|
|
150
|
-
// monospace !default;
|
|
151
|
-
$font-family-base: $font-family-sans-serif !default;
|
|
152
|
-
|
|
153
|
-
$table-inverse-color: #fff !default;
|
|
154
|
-
$gray: #464a4c !default;
|
|
155
|
-
$gray-light: #636c72 !default;
|
|
156
|
-
$gray-lighter: #eceeef !default;
|
|
157
|
-
$gray-lightest: #f7f7f9 !default;
|
|
158
|
-
$gray-dark: #292b2c !default;
|
|
159
|
-
// primary
|
|
160
|
-
$color-axa: #00008f !default;
|
|
161
|
-
$color-azur: #3032c1 !default;
|
|
162
|
-
$color-action-1: #70709a !default;
|
|
163
|
-
$color-action-2: #d3d3e7 !default;
|
|
164
|
-
$color-texte: #333 !default;
|
|
165
|
-
$color-gray-1: #ccc !default;
|
|
166
|
-
$color-gray-2: #e5e5e5 !default;
|
|
167
|
-
$color-gray-3: #f5f5f5 !default;
|
|
168
|
-
$color-white: #fff !default;
|
|
169
|
-
// secondary
|
|
170
|
-
$color-red-1: #a70d26 !default;
|
|
171
|
-
$color-red-2: #e992a1 !default;
|
|
172
|
-
$color-red-3: #f9bcc6 !default;
|
|
173
|
-
$color-red-4: #debbc1 !default;
|
|
174
|
-
$color-flamingo: #ec4d33 !default;
|
|
175
|
-
$color-burnt-sienna: #f07662 !default;
|
|
176
|
-
$color-green-1: #1cc578 !default;
|
|
177
|
-
$color-green-2: #10a992 !default;
|
|
178
|
-
$color-green-3: #3db899 !default;
|
|
179
|
-
$color-green-4: #18a854 !default;
|
|
180
|
-
$color-green-5: #bdeccb !default;
|
|
181
|
-
$color-green-6: #a4cdb1 !default;
|
|
182
|
-
$color-blue-1: #49bdca !default;
|
|
183
|
-
$color-blue-2: #3fa7b3 !default;
|
|
184
|
-
$color-mauve-1: #4972ca !default;
|
|
185
|
-
$color-mauve-2: #375db0 !default;
|
|
186
|
-
$color-yellow-1: #c78e13 !default;
|
|
187
|
-
$color-yellow-2: #f1d596 !default;
|
|
188
|
-
$color-yellow-3: #c8b282 !default;
|
|
189
|
-
// theme
|
|
190
|
-
$color-auto: #a70d26 !default;
|
|
191
|
-
$color-habitation: #ec4d33 !default;
|
|
192
|
-
$color-sante: #1cc578 !default;
|
|
193
|
-
$color-collective: #49bdca !default;
|
|
194
|
-
$color-loisirs: #00af8f !default;
|
|
195
|
-
$color-banque: #51aad3 !default;
|
|
196
|
-
$color-epargne: #6377ba !default;
|
|
197
|
-
$color-entreprise: #5e3778 !default;
|
|
198
|
-
$color-iard: #42145f !default;
|
|
199
|
-
$color-patrimonial: #c5a57f !default;
|
|
200
|
-
$color-pros: #738b9c !default;
|
|
201
|
-
$color-assurbanque: #ff1821 !default;
|
|
202
|
-
// components
|
|
203
|
-
$color-alertSucces-leftBgColor: #38a758 !default;
|
|
204
|
-
$color-alertSucces-bgColor: #bdeccb !default;
|
|
205
|
-
$color-alertSucces-colorBorder: #a1cbae !default;
|
|
206
|
-
$color-alertSucces-textColor: #146a2d !default;
|
|
207
|
-
$color-alertInfo-leftBgColor: #0b99bf !default;
|
|
208
|
-
$color-alertInfo-bgColor: #97d3e3;
|
|
209
|
-
$color-alertInfo-colorBorder: #78b2c1 !default;
|
|
210
|
-
$color-alertInfo-textColor: #1b6a7f !default;
|
|
211
|
-
$color-alertDanger-leftBgColor: #c78e13 !default;
|
|
212
|
-
$color-alertDanger-bgColor: #f1d596 !default;
|
|
213
|
-
$color-alertDanger-colorBorder: #c8b282 !default;
|
|
214
|
-
$color-alertDanger-textColor: #805b0a !default;
|
|
215
|
-
$color-alertError-leftBgColor: #a70d26 !default;
|
|
216
|
-
$color-alertError-bgColor: #ffd5dc;
|
|
217
|
-
$color-alertError-colorBorder: #debbc1 !default;
|
|
218
|
-
$color-alertError-textColor: #a02237 !default;
|
|
219
|
-
$color-btn-success: #1cc578 !default;
|
|
220
|
-
$color-btn-success-dark: #0d844e !default;
|
|
221
|
-
$color-btn-danger: #f02849 !default;
|
|
222
|
-
$color-btn-danger-dark: #8f182c !default;
|
|
223
|
-
$color-btn-disabled: #c9c9c9 !default;
|
|
224
|
-
$card-white: #fff !default;
|
|
225
|
-
$card-grey-light: #f5f5f5 !default;
|
|
226
|
-
$card-border-grey: #dbdbdb !default;
|
|
227
|
-
$card-blue-active: #3032c1 !default;
|
|
228
|
-
$card-header: #ccc !default;
|
|
229
|
-
$card-text-color: #4d4d4d !default;
|
|
230
|
-
$card-bg-disabled: #e5e5e5 !default;
|
|
231
|
-
$color-table-sorting: #20a892 !default;
|
|
232
|
-
$color-pager-link: #4d4d4d !default;
|
|
233
|
-
$color-accordion-custom: #49bdca !default;
|
|
234
|
-
$color-accordeon-border-collapse: #eee !default;
|
|
235
|
-
$color-tabs-item: #ccc !default;
|
|
236
|
-
$color-tabs-link: #6e6e6e !default;
|
|
237
|
-
$color-tabs-content: #c0c0c0 !default;
|
|
238
|
-
$color-tabs-disabled: #ccc !default;
|
|
239
|
-
$color-tabs-disabled-button: #333 !default;
|
|
240
|
-
$color-filter-selected-background: #ccc !default;
|
|
241
|
-
$color-filter-selected-text: #333 !default;
|
|
242
|
-
$color-filter-selected-glyphicon-close: #696868 !default;
|
|
243
|
-
$error-custom-bg: #fffafb !default;
|
|
244
|
-
$error-custom-border: #d18e8e !default;
|
|
245
|
-
$border-bottom-header: #979797 !default;
|
|
246
|
-
$brand-primary: #00008f !default;
|
|
247
|
-
$color-highlightpink: #d52861 !default;
|
|
248
|
-
// others
|
|
249
|
-
$color-red-axa: #ff1721 !default;
|
|
250
|
-
$color-red-error: #c7102e !default;
|
|
251
|
-
$color-gray-contract: #c4c4c4 !default;
|
|
252
|
-
$color-text-contract: #4d4d4d !default;
|
|
253
|
-
$color-deep-sapphire: #00005b !default;
|
|
254
|
-
$color-st-tropaz: #2425aa !default;
|
|
255
|
-
$color-dark-indigo: #3b3fd8 !default;
|
|
256
|
-
$color-blue-lighter: #494df4 !default;
|
|
257
|
-
$color-blue-alert: #30b8dc !default;
|
|
258
|
-
$color-blue-alert-dark: #218eab !default;
|
|
259
|
-
$color-blue-subtitle: #c1c4ff !default;
|
|
260
|
-
$color-pink: #fe3951 !default;
|
|
261
|
-
$color-pink-dark: #c0203a !default;
|
|
262
|
-
$color-orange: #f1b531 !default;
|
|
263
|
-
$color-orange-dark: #c5901b !default;
|
|
264
|
-
$color-mine-shaft: #333 !default;
|
|
265
|
-
$color-scorpion: #333 !default;
|
|
266
|
-
$color-gray: #7f7f7f !default;
|
|
267
|
-
$color-dusty-gray: #999 !default;
|
|
268
|
-
$color-silver: #ccc !default;
|
|
269
|
-
$color-mercury: #e5e5e5 !default;
|
|
270
|
-
$color-wild-sand: #f5f5f5 !default;
|
|
271
|
-
$color-alabaster: #fafafa !default;
|
|
272
|
-
$color-malachite: #1cc54e !default;
|
|
273
|
-
$color-malachite-light: #3db899 !default;
|
|
274
|
-
$color-malachite-dark: #2b8c47 !default;
|
|
275
|
-
|
|
276
|
-
$color-tarif-table-header-selected: #c1c4ff !default;
|
|
277
|
-
|
|
278
|
-
$gray-lighter: #eceeef !default;
|
|
279
|
-
|
|
280
|
-
// stylelint-disable color-no-hex
|
|
281
|
-
// base
|
|
282
|
-
$white: #fff !default;
|
|
283
|
-
$black: #000 !default;
|
|
284
|
-
$red: #d90000 !default;
|
|
285
|
-
$orange: #e18a00 !default;
|
|
286
|
-
$yellow: #ffd500 !default;
|
|
287
|
-
$green: #468847 !default;
|
|
288
|
-
$blue: #0275d8 !default;
|
|
289
|
-
$teal: #3a87ad !default;
|
|
290
|
-
$pink: #ff5b77 !default;
|
|
291
|
-
$purple: #613d7c !default;
|
|
292
|
-
// others
|
|
293
|
-
// @TODO: set in colorsList ?
|
|
294
|
-
$color-azur-focused: #aaabf9;
|
|
295
|
-
$color-card-border: #dbdbdb;
|
|
296
|
-
$color-highlightpink: #d52861;
|
|
297
|
-
$color-error-custom-1: #ffbfbf;
|
|
298
|
-
$color-error-custom-2: #d18e8e;
|
|
299
|
-
$color-table-bg-accent: #e5e7eb;
|
|
300
|
-
$color-table-head-bg: #555;
|
|
301
|
-
$color-btn-success-focused: #bdffe1;
|
|
302
|
-
$color-btn-danger-focused: #ffa0af;
|
|
303
|
-
// stylelint-enable color-no-hex
|
|
304
|
-
|
|
305
|
-
// List of Universes (AF-Themes)
|
|
306
|
-
$color: $black !default;
|
|
307
|
-
|
|
308
|
-
$universes: (
|
|
309
|
-
auto: $color-auto,
|
|
310
|
-
habitation: $color-habitation,
|
|
311
|
-
loisirs: $color-loisirs,
|
|
312
|
-
sante: $color-sante,
|
|
313
|
-
banque: $color-banque,
|
|
314
|
-
epargne: $color-epargne,
|
|
315
|
-
entreprise: $color-entreprise,
|
|
316
|
-
collective: $color-collective,
|
|
317
|
-
iard: $color-iard,
|
|
318
|
-
patrimonial: $color-patrimonial,
|
|
319
|
-
pros: $color-pros,
|
|
320
|
-
assurbanque: $color-assurbanque,
|
|
321
|
-
);
|
|
322
|
-
|
|
323
|
-
@mixin generate-universes() {
|
|
324
|
-
@each $universe, $universe-color in $universes {
|
|
325
|
-
$color: $universe-color !global;
|
|
326
|
-
|
|
327
|
-
&--#{$universe} {
|
|
328
|
-
@content ($color);
|
|
329
|
-
}
|
|
330
|
-
}
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
@function px-to-rem($size) {
|
|
334
|
-
$remSize: math.div($size, 16);
|
|
335
|
-
|
|
336
|
-
@return #{$remSize}rem;
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
// COMPONENTS
|
|
340
|
-
// Drawer
|
|
341
|
-
$drawer-width: 16rem !default;
|
|
342
|
-
$drawer-header-height: 4.25rem !default;
|
|
343
|
-
$drawer-footer-height: 4.25rem !default;
|
|
344
|
-
$drawer-transition: transform 0.3s ease-out !default;
|
|
345
|
-
// Menu
|
|
346
|
-
$menu-button-size: 35px !default;
|
|
347
|
-
// Af-table
|
|
348
|
-
$table-head-font-weight: 200 !default;
|
|
349
|
-
// Af-Restitution
|
|
350
|
-
$border-bottom-header: $color-dusty-gray;
|
|
351
|
-
$brand-primary: $color-axa !default;
|
|
352
|
-
// Af-rccard
|
|
353
|
-
$card-white: $color-white !default;
|
|
354
|
-
$card-grey-light: $color-wild-sand !default;
|
|
355
|
-
$card-border-grey: $color-card-border !default;
|
|
356
|
-
$card-blue-active: $color-azur !default;
|
|
357
|
-
$card-header: $color-silver !default;
|
|
358
|
-
$card-text-color: $color-pager-link !default;
|
|
359
|
-
$card-bg-disabled: $color-mercury !default;
|
|
360
|
-
// Af-form
|
|
361
|
-
$error-custom-bg: $color-error-custom-1 !default;
|
|
362
|
-
$error-custom-border: $color-error-custom-2 !default;
|
|
363
|
-
// NavBar
|
|
364
|
-
$mask-background: #00000080;
|
|
365
|
-
// OTHERS
|
|
366
|
-
$font-family-icon: icons !default;
|
|
367
|
-
|
|
368
|
-
$gray-100: #f8f9fa !default;
|
|
369
|
-
$gray-200: #e9ecef !default;
|
|
370
|
-
$gray-300: #dee2e6 !default;
|
|
371
|
-
$gray-400: #ced4da !default;
|
|
372
|
-
$gray-500: #adb5bd !default;
|
|
373
|
-
$gray-600: #6c757d !default;
|
|
374
|
-
$gray-700: #495057 !default;
|
|
375
|
-
$gray-800: #343a40 !default;
|
|
376
|
-
$gray-900: #212529 !default;
|
|
377
|
-
|
|
378
|
-
$grays: () !default;
|
|
379
|
-
// stylelint-disable-next-line scss/dollar-variable-default
|
|
380
|
-
$grays: map.merge(
|
|
381
|
-
(
|
|
382
|
-
"100": $gray-100,
|
|
383
|
-
"200": $gray-200,
|
|
384
|
-
"300": $gray-300,
|
|
385
|
-
"400": $gray-400,
|
|
386
|
-
"500": $gray-500,
|
|
387
|
-
"600": $gray-600,
|
|
388
|
-
"700": $gray-700,
|
|
389
|
-
"800": $gray-800,
|
|
390
|
-
"900": $gray-900,
|
|
391
|
-
),
|
|
392
|
-
$grays
|
|
393
|
-
);
|
|
394
|
-
|
|
395
|
-
$blue: #007bff !default;
|
|
396
|
-
$indigo: #6610f2 !default;
|
|
397
|
-
$purple: #6f42c1 !default;
|
|
398
|
-
$pink: #e83e8c !default;
|
|
399
|
-
$red: #dc3545 !default;
|
|
400
|
-
$orange: #fd7e14 !default;
|
|
401
|
-
$yellow: #ffc107 !default;
|
|
402
|
-
$green: #28a745 !default;
|
|
403
|
-
$teal: #20c997 !default;
|
|
404
|
-
$cyan: #17a2b8 !default;
|
|
405
|
-
|
|
406
|
-
$colors: () !default;
|
|
407
|
-
// stylelint-disable-next-line scss/dollar-variable-default
|
|
408
|
-
$colors: map.merge(
|
|
409
|
-
(
|
|
410
|
-
"blue": $blue,
|
|
411
|
-
"indigo": $indigo,
|
|
412
|
-
"purple": $purple,
|
|
413
|
-
"pink": $pink,
|
|
414
|
-
"red": $red,
|
|
415
|
-
"orange": $orange,
|
|
416
|
-
"yellow": $yellow,
|
|
417
|
-
"green": $green,
|
|
418
|
-
"teal": $teal,
|
|
419
|
-
"cyan": $cyan,
|
|
420
|
-
"white": $white,
|
|
421
|
-
"gray": $gray-600,
|
|
422
|
-
"gray-dark": $gray-800,
|
|
423
|
-
),
|
|
424
|
-
$colors
|
|
425
|
-
);
|
|
426
|
-
|
|
427
|
-
$primary: $blue !default;
|
|
428
|
-
$secondary: $gray-600 !default;
|
|
429
|
-
$success: $green !default;
|
|
430
|
-
$info: $cyan !default;
|
|
431
|
-
$warning: $yellow !default;
|
|
432
|
-
$danger: $red !default;
|
|
433
|
-
$light: $gray-100 !default;
|
|
434
|
-
$dark: $gray-800 !default;
|
|
435
|
-
|
|
436
|
-
$theme-colors: () !default;
|
|
437
|
-
// stylelint-disable-next-line scss/dollar-variable-default
|
|
438
|
-
$theme-colors: map.merge(
|
|
439
|
-
(
|
|
440
|
-
"primary": $primary,
|
|
441
|
-
"secondary": $secondary,
|
|
442
|
-
"success": $success,
|
|
443
|
-
"info": $info,
|
|
444
|
-
"warning": $warning,
|
|
445
|
-
"danger": $danger,
|
|
446
|
-
"light": $light,
|
|
447
|
-
"dark": $dark,
|
|
448
|
-
),
|
|
449
|
-
$theme-colors
|
|
450
|
-
);
|
|
451
|
-
|
|
452
|
-
// Set a specific jump point for requesting color jumps
|
|
453
|
-
$theme-color-interval: 8% !default;
|
|
454
|
-
|
|
455
|
-
// The yiq lightness value that determines when the lightness of color changes from "dark" to "light". Acceptable values are between 0 and 255.
|
|
456
|
-
$yiq-contrasted-threshold: 150 !default;
|
|
457
|
-
|
|
458
|
-
// Customize the light and dark text colors for use in our YIQ color contrast function.
|
|
459
|
-
$yiq-text-dark: $gray-900 !default;
|
|
460
|
-
$yiq-text-light: $white !default;
|
|
461
|
-
|
|
462
|
-
// Options
|
|
463
|
-
|
|
464
|
-
// Quickly modify global styling by enabling or disabling optional features.
|
|
465
|
-
|
|
466
|
-
$enable-caret: true !default;
|
|
467
|
-
$enable-rounded: true !default;
|
|
468
|
-
$enable-shadows: false !default;
|
|
469
|
-
$enable-gradients: false !default;
|
|
470
|
-
$enable-transitions: true !default;
|
|
471
|
-
$enable-hover-media-query: false !default; // Deprecated, no longer affects any compiled CSS
|
|
472
|
-
$enable-grid-classes: true !default;
|
|
473
|
-
$enable-print-styles: true !default;
|
|
474
|
-
|
|
475
|
-
// Spacing
|
|
476
|
-
|
|
477
|
-
// Control the default styling of most Bootstrap elements by modifying these
|
|
478
|
-
// variables. Mostly focused on spacing.
|
|
479
|
-
// You can add more entries to the $spacers map, should you need more variation.
|
|
480
|
-
|
|
481
|
-
$spacer: 1rem !default;
|
|
482
|
-
$spacers: () !default;
|
|
483
|
-
// stylelint-disable-next-line scss/dollar-variable-default
|
|
484
|
-
$spacers: map.merge(
|
|
485
|
-
(
|
|
486
|
-
0: 0,
|
|
487
|
-
1: (
|
|
488
|
-
$spacer * 0.25,
|
|
489
|
-
),
|
|
490
|
-
2: (
|
|
491
|
-
$spacer * 0.5,
|
|
492
|
-
),
|
|
493
|
-
3: $spacer,
|
|
494
|
-
4: (
|
|
495
|
-
$spacer * 1.5,
|
|
496
|
-
),
|
|
497
|
-
5: (
|
|
498
|
-
$spacer * 3,
|
|
499
|
-
),
|
|
500
|
-
),
|
|
501
|
-
$spacers
|
|
502
|
-
);
|
|
503
|
-
|
|
504
|
-
// This variable affects the `.h-*` and `.w-*` classes.
|
|
505
|
-
$sizes: () !default;
|
|
506
|
-
// stylelint-disable-next-line scss/dollar-variable-default
|
|
507
|
-
$sizes: map.merge(
|
|
508
|
-
(
|
|
509
|
-
25: 25%,
|
|
510
|
-
50: 50%,
|
|
511
|
-
75: 75%,
|
|
512
|
-
100: 100%,
|
|
513
|
-
auto: auto,
|
|
514
|
-
),
|
|
515
|
-
$sizes
|
|
516
|
-
);
|
|
517
|
-
|
|
518
|
-
// Body
|
|
519
|
-
|
|
520
|
-
// Settings for the `<body>` element.
|
|
521
|
-
|
|
522
|
-
$body-bg: $white !default;
|
|
523
|
-
$body-color: $gray-900 !default;
|
|
524
|
-
|
|
525
|
-
// Ascending
|
|
526
|
-
// Used to evaluate Sass maps like our grid breakpoints.
|
|
527
|
-
@mixin _assert-ascending($map, $map-name) {
|
|
528
|
-
$prev-key: null;
|
|
529
|
-
$prev-num: null;
|
|
530
|
-
|
|
531
|
-
@each $key, $num in $map {
|
|
532
|
-
// stylelint-disable-next-line scss/at-if-no-null
|
|
533
|
-
@if $prev-num == null {
|
|
534
|
-
// Do nothing
|
|
535
|
-
} @else if not math.compatible($prev-num, $num) {
|
|
536
|
-
@warn "Potentially invalid value for #{$map-name}: This map must be in ascending order, but key '#{$key}' has value #{$num} whose unit makes it incomparable to #{$prev-num}, the value of the previous key '#{$prev-key}' !";
|
|
537
|
-
} @else if $prev-num >= $num {
|
|
538
|
-
@warn "Invalid value for #{$map-name}: This map must be in ascending order, but key '#{$key}' has value #{$num} which isn't greater than #{$prev-num}, the value of the previous key '#{$prev-key}' !";
|
|
539
|
-
}
|
|
540
|
-
$prev-key: $key;
|
|
541
|
-
$prev-num: $num;
|
|
542
|
-
}
|
|
543
|
-
}
|
|
544
|
-
|
|
545
|
-
// Starts at zero
|
|
546
|
-
// Another grid mixin that ensures the min-width of the lowest breakpoint starts at 0.
|
|
547
|
-
@mixin _assert-starts-at-zero($map) {
|
|
548
|
-
$values: map.values($map);
|
|
549
|
-
$first-value: list.nth($values, 1);
|
|
550
|
-
|
|
551
|
-
@if $first-value != 0 {
|
|
552
|
-
@warn "First breakpoint in `$grid-breakpoints` must start at 0, but starts at #{$first-value}.";
|
|
553
|
-
}
|
|
554
|
-
}
|
|
555
|
-
|
|
556
|
-
// Replace `$search` with `$replace` in `$string`
|
|
557
|
-
// Used on our SVG icon backgrounds for custom forms.
|
|
558
|
-
|
|
559
|
-
// @author Hugo Giraudel
|
|
560
|
-
// @param {String} $string - Initial string
|
|
561
|
-
// @param {String} $search - Substring to replace
|
|
562
|
-
// @param {String} $replace ('') - New value
|
|
563
|
-
// @return {String} - Updated string
|
|
564
|
-
@function str-replace($string, $search, $replace: "") {
|
|
565
|
-
$index: string.index($string, $search);
|
|
566
|
-
|
|
567
|
-
@if $index {
|
|
568
|
-
@return string.slice($string, 1, $index - 1) + $replace +
|
|
569
|
-
str-replace(
|
|
570
|
-
string.slice($string, $index + string.length($search)),
|
|
571
|
-
$search,
|
|
572
|
-
$replace
|
|
573
|
-
);
|
|
574
|
-
}
|
|
575
|
-
|
|
576
|
-
@return $string;
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
// Color contrast
|
|
580
|
-
@function color-yiq($color) {
|
|
581
|
-
$r: color.red($color);
|
|
582
|
-
$g: color.green($color);
|
|
583
|
-
$b: color.blue($color);
|
|
584
|
-
|
|
585
|
-
$yiq: (($r * 299) + ($g * 587) + ($b * 114)) * 0.001;
|
|
586
|
-
|
|
587
|
-
@if ($yiq >= $yiq-contrasted-threshold) {
|
|
588
|
-
@return $yiq-text-dark;
|
|
589
|
-
} @else {
|
|
590
|
-
@return $yiq-text-light;
|
|
591
|
-
}
|
|
592
|
-
}
|
|
593
|
-
|
|
594
|
-
// Retrieve color Sass maps
|
|
595
|
-
@function color($key: "blue") {
|
|
596
|
-
@return map.get($colors, $key);
|
|
597
|
-
}
|
|
598
|
-
|
|
599
|
-
@function theme-color($key: "primary") {
|
|
600
|
-
@return map.get($theme-colors, $key);
|
|
601
|
-
}
|
|
602
|
-
|
|
603
|
-
@function gray($key: "100") {
|
|
604
|
-
@return map.get($grays, $key);
|
|
605
|
-
}
|
|
606
|
-
|
|
607
|
-
// Request a theme color level
|
|
608
|
-
@function theme-color-level($color-name: "primary", $level: 0) {
|
|
609
|
-
$color: theme-color($color-name);
|
|
610
|
-
$color-base: if($level > 0, $black, $white);
|
|
611
|
-
$level: math.abs($level);
|
|
612
|
-
|
|
613
|
-
@return color.mix($color-base, $color, $level * $theme-color-interval);
|
|
614
|
-
}
|
|
615
|
-
// Links
|
|
616
|
-
|
|
617
|
-
// Style anchor elements.
|
|
618
|
-
|
|
619
|
-
$link-color: map.get($theme-colors, "primary") !default;
|
|
620
|
-
|
|
621
|
-
$link-decoration: none !default;
|
|
622
|
-
$link-hover-color: color.adjust($link-color, $lightness: -15%) !default;
|
|
623
|
-
$link-hover-decoration: underline !default;
|
|
624
|
-
|
|
625
|
-
// Paragraphs
|
|
626
|
-
|
|
627
|
-
// Style p element.
|
|
628
|
-
|
|
629
|
-
$paragraph-margin-bottom: 1rem !default;
|
|
630
|
-
|
|
631
|
-
// Grid breakpoints
|
|
632
|
-
|
|
633
|
-
// Define the minimum dimensions at which your layout will change,
|
|
634
|
-
// adapting to different screen sizes, for use in media queries.
|
|
635
|
-
|
|
636
|
-
$grid-breakpoints: (
|
|
637
|
-
xs: 0,
|
|
638
|
-
sm: 576px,
|
|
639
|
-
md: 768px,
|
|
640
|
-
lg: 992px,
|
|
641
|
-
xl: 1200px,
|
|
642
|
-
) !default;
|
|
643
|
-
|
|
644
|
-
@include _assert-ascending($grid-breakpoints, "$grid-breakpoints");
|
|
645
|
-
@include _assert-starts-at-zero($grid-breakpoints);
|
|
646
|
-
|
|
647
|
-
// Grid containers
|
|
648
|
-
|
|
649
|
-
// Define the maximum width of `.container` for different screen sizes.
|
|
650
|
-
|
|
651
|
-
$container-max-widths: (
|
|
652
|
-
sm: 540px,
|
|
653
|
-
md: 720px,
|
|
654
|
-
lg: 960px,
|
|
655
|
-
xl: 1140px,
|
|
656
|
-
) !default;
|
|
657
|
-
|
|
658
|
-
@include _assert-ascending($container-max-widths, "$container-max-widths");
|
|
659
|
-
|
|
660
|
-
// Grid columns
|
|
661
|
-
|
|
662
|
-
// Set the number of columns and specify the width of the gutters.
|
|
663
|
-
|
|
664
|
-
$grid-columns: 12 !default;
|
|
665
|
-
$grid-gutter-width: 30px !default;
|
|
666
|
-
|
|
667
|
-
// Components
|
|
668
|
-
|
|
669
|
-
// Define common padding and border radius sizes and more.
|
|
670
|
-
|
|
671
|
-
$line-height-lg: 1.5 !default;
|
|
672
|
-
$line-height-sm: 1.5 !default;
|
|
673
|
-
|
|
674
|
-
$border-width: 1px !default;
|
|
675
|
-
$border-color: $gray-300 !default;
|
|
676
|
-
|
|
677
|
-
$border-radius: 0.25rem !default;
|
|
678
|
-
$border-radius-lg: 0.3rem !default;
|
|
679
|
-
$border-radius-sm: 0.2rem !default;
|
|
680
|
-
|
|
681
|
-
$box-shadow-sm: 0 0.125rem 0.25rem rgba($black, 0.075) !default;
|
|
682
|
-
$box-shadow: 0 0.5rem 1rem rgba($black, 0.15) !default;
|
|
683
|
-
$box-shadow-lg: 0 1rem 3rem rgba($black, 0.175) !default;
|
|
684
|
-
|
|
685
|
-
$component-active-color: $white !default;
|
|
686
|
-
$component-active-bg: theme-color("primary") !default;
|
|
687
|
-
|
|
688
|
-
$caret-width: 0.3em !default;
|
|
689
|
-
|
|
690
|
-
$transition-base: all 0.2s ease-in-out !default;
|
|
691
|
-
$transition-fade: opacity 0.15s linear !default;
|
|
692
|
-
$transition-collapse: height 0.35s ease !default;
|
|
693
|
-
|
|
694
|
-
// Fonts
|
|
695
|
-
|
|
696
|
-
// Font, line-height, and color for body text, headings, and more.
|
|
697
|
-
|
|
698
|
-
// stylelint-disable value-keyword-case
|
|
699
|
-
$font-family-sans-serif:
|
|
700
|
-
-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
|
|
701
|
-
Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
|
|
702
|
-
"Noto Color Emoji" !default;
|
|
703
|
-
$font-family-monospace:
|
|
704
|
-
SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New",
|
|
705
|
-
monospace !default;
|
|
706
|
-
$font-family-base: $font-family-sans-serif !default;
|
|
707
|
-
// stylelint-enable value-keyword-case
|
|
708
|
-
|
|
709
|
-
$font-size-base: 1rem !default; // Assumes the browser default, typically `16px`
|
|
710
|
-
$font-size-lg: ($font-size-base * 1.25) !default;
|
|
711
|
-
$font-size-sm: ($font-size-base * 0.875) !default;
|
|
712
|
-
|
|
713
|
-
$font-weight-light: 300 !default;
|
|
714
|
-
$font-weight-normal: 400 !default;
|
|
715
|
-
$font-weight-bold: 700 !default;
|
|
716
|
-
|
|
717
|
-
$font-weight-base: $font-weight-normal !default;
|
|
718
|
-
$line-height-base: 1.5 !default;
|
|
719
|
-
|
|
720
|
-
$h1-font-size: $font-size-base * 2.5 !default;
|
|
721
|
-
$h2-font-size: $font-size-base * 2 !default;
|
|
722
|
-
$h3-font-size: $font-size-base * 1.75 !default;
|
|
723
|
-
$h4-font-size: $font-size-base * 1.5 !default;
|
|
724
|
-
$h5-font-size: $font-size-base * 1.25 !default;
|
|
725
|
-
$h6-font-size: $font-size-base !default;
|
|
726
|
-
|
|
727
|
-
$headings-margin-bottom: ($spacer * 0.5) !default;
|
|
728
|
-
$headings-font-family: inherit !default;
|
|
729
|
-
$headings-font-weight: 500 !default;
|
|
730
|
-
$headings-line-height: 1.2 !default;
|
|
731
|
-
$headings-color: inherit !default;
|
|
732
|
-
|
|
733
|
-
$display1-size: 6rem !default;
|
|
734
|
-
$display2-size: 5.5rem !default;
|
|
735
|
-
$display3-size: 4.5rem !default;
|
|
736
|
-
$display4-size: 3.5rem !default;
|
|
737
|
-
|
|
738
|
-
$display1-weight: 300 !default;
|
|
739
|
-
$display2-weight: 300 !default;
|
|
740
|
-
$display3-weight: 300 !default;
|
|
741
|
-
$display4-weight: 300 !default;
|
|
742
|
-
$display-line-height: $headings-line-height !default;
|
|
743
|
-
|
|
744
|
-
$lead-font-size: ($font-size-base * 1.25) !default;
|
|
745
|
-
$lead-font-weight: 300 !default;
|
|
746
|
-
|
|
747
|
-
$small-font-size: 80% !default;
|
|
748
|
-
|
|
749
|
-
$text-muted: $gray-600 !default;
|
|
750
|
-
|
|
751
|
-
$blockquote-small-color: $gray-600 !default;
|
|
752
|
-
$blockquote-font-size: ($font-size-base * 1.25) !default;
|
|
753
|
-
|
|
754
|
-
$hr-border-color: rgba($black, 0.1) !default;
|
|
755
|
-
$hr-border-width: $border-width !default;
|
|
756
|
-
|
|
757
|
-
$mark-padding: 0.2em !default;
|
|
758
|
-
|
|
759
|
-
$dt-font-weight: $font-weight-bold !default;
|
|
760
|
-
|
|
761
|
-
$kbd-box-shadow: inset 0 -0.1rem 0 rgba($black, 0.25) !default;
|
|
762
|
-
$nested-kbd-font-weight: $font-weight-bold !default;
|
|
763
|
-
|
|
764
|
-
$list-inline-padding: 0.5rem !default;
|
|
765
|
-
|
|
766
|
-
$mark-bg: #fcf8e3 !default;
|
|
767
|
-
|
|
768
|
-
$hr-margin-y: $spacer !default;
|
|
769
|
-
|
|
770
|
-
// Tables
|
|
771
|
-
|
|
772
|
-
// Customizes the `.table` component with basic values, each used across all table variations.
|
|
773
|
-
|
|
774
|
-
$table-cell-padding: 0.75rem !default;
|
|
775
|
-
$table-cell-padding-sm: 0.3rem !default;
|
|
776
|
-
|
|
777
|
-
$table-bg: transparent !default;
|
|
778
|
-
$table-accent-bg: rgba($black, 0.05) !default;
|
|
779
|
-
$table-hover-bg: rgba($black, 0.075) !default;
|
|
780
|
-
$table-active-bg: $table-hover-bg !default;
|
|
781
|
-
|
|
782
|
-
$table-border-width: $border-width !default;
|
|
783
|
-
$table-border-color: $gray-300 !default;
|
|
784
|
-
|
|
785
|
-
$table-head-bg: $gray-200 !default;
|
|
786
|
-
$table-head-color: $gray-700 !default;
|
|
787
|
-
|
|
788
|
-
$table-dark-bg: $gray-900 !default;
|
|
789
|
-
$table-dark-accent-bg: rgba($white, 0.05) !default;
|
|
790
|
-
$table-dark-hover-bg: rgba($white, 0.075) !default;
|
|
791
|
-
$table-dark-border-color: color.adjust($gray-900, $lightness: 7.5%) !default;
|
|
792
|
-
$table-dark-color: $body-bg !default;
|
|
793
|
-
|
|
794
|
-
$table-striped-order: odd !default;
|
|
795
|
-
|
|
796
|
-
$table-caption-color: $text-muted !default;
|
|
797
|
-
|
|
798
|
-
// Buttons + Forms
|
|
799
|
-
|
|
800
|
-
// Shared variables that are reassigned to `$input-` and `$btn-` specific variables.
|
|
801
|
-
|
|
802
|
-
$input-btn-padding-y: 0.375rem !default;
|
|
803
|
-
$input-btn-padding-x: 0.75rem !default;
|
|
804
|
-
$input-btn-line-height: $line-height-base !default;
|
|
805
|
-
|
|
806
|
-
$input-btn-focus-width: 0.2rem !default;
|
|
807
|
-
$input-btn-focus-color: rgba($component-active-bg, 0.25) !default;
|
|
808
|
-
$input-btn-focus-box-shadow: 0 0 0 $input-btn-focus-width $input-btn-focus-color !default;
|
|
809
|
-
|
|
810
|
-
$input-btn-padding-y-sm: 0.25rem !default;
|
|
811
|
-
$input-btn-padding-x-sm: 0.5rem !default;
|
|
812
|
-
$input-btn-line-height-sm: $line-height-sm !default;
|
|
813
|
-
|
|
814
|
-
$input-btn-padding-y-lg: 0.5rem !default;
|
|
815
|
-
$input-btn-padding-x-lg: 1rem !default;
|
|
816
|
-
$input-btn-line-height-lg: $line-height-lg !default;
|
|
817
|
-
|
|
818
|
-
$input-btn-border-width: $border-width !default;
|
|
819
|
-
|
|
820
|
-
// Buttons
|
|
821
|
-
|
|
822
|
-
// For each of Bootstrap's buttons, define text, background, and border color.
|
|
823
|
-
|
|
824
|
-
$btn-padding-y: $input-btn-padding-y !default;
|
|
825
|
-
$btn-padding-x: $input-btn-padding-x !default;
|
|
826
|
-
$btn-line-height: $input-btn-line-height !default;
|
|
827
|
-
|
|
828
|
-
$btn-padding-y-sm: $input-btn-padding-y-sm !default;
|
|
829
|
-
$btn-padding-x-sm: $input-btn-padding-x-sm !default;
|
|
830
|
-
$btn-line-height-sm: $input-btn-line-height-sm !default;
|
|
831
|
-
|
|
832
|
-
$btn-padding-y-lg: $input-btn-padding-y-lg !default;
|
|
833
|
-
$btn-padding-x-lg: $input-btn-padding-x-lg !default;
|
|
834
|
-
$btn-line-height-lg: $input-btn-line-height-lg !default;
|
|
835
|
-
|
|
836
|
-
$btn-border-width: $input-btn-border-width !default;
|
|
837
|
-
|
|
838
|
-
$btn-font-weight: $font-weight-normal !default;
|
|
839
|
-
$btn-box-shadow:
|
|
840
|
-
inset 0 1px 0 rgba($white, 0.15),
|
|
841
|
-
0 1px 1px rgba($black, 0.075) !default;
|
|
842
|
-
$btn-focus-width: $input-btn-focus-width !default;
|
|
843
|
-
$btn-focus-box-shadow: $input-btn-focus-box-shadow !default;
|
|
844
|
-
$btn-disabled-opacity: 0.65 !default;
|
|
845
|
-
$btn-active-box-shadow: inset 0 3px 5px rgba($black, 0.125) !default;
|
|
846
|
-
|
|
847
|
-
$btn-link-disabled-color: $gray-600 !default;
|
|
848
|
-
|
|
849
|
-
$btn-block-spacing-y: 0.5rem !default;
|
|
850
|
-
|
|
851
|
-
// Allows for customizing button radius independently from global border radius
|
|
852
|
-
$btn-border-radius: $border-radius !default;
|
|
853
|
-
$btn-border-radius-lg: $border-radius-lg !default;
|
|
854
|
-
$btn-border-radius-sm: $border-radius-sm !default;
|
|
855
|
-
|
|
856
|
-
$btn-transition:
|
|
857
|
-
color 0.15s ease-in-out,
|
|
858
|
-
background-color 0.15s ease-in-out,
|
|
859
|
-
border-color 0.15s ease-in-out,
|
|
860
|
-
box-shadow 0.15s ease-in-out !default;
|
|
861
|
-
|
|
862
|
-
// Forms
|
|
863
|
-
|
|
864
|
-
$label-margin-bottom: 0.5rem !default;
|
|
865
|
-
|
|
866
|
-
$input-padding-y: $input-btn-padding-y !default;
|
|
867
|
-
$input-padding-x: $input-btn-padding-x !default;
|
|
868
|
-
$input-line-height: $input-btn-line-height !default;
|
|
869
|
-
|
|
870
|
-
$input-padding-y-sm: $input-btn-padding-y-sm !default;
|
|
871
|
-
$input-padding-x-sm: $input-btn-padding-x-sm !default;
|
|
872
|
-
$input-line-height-sm: $input-btn-line-height-sm !default;
|
|
873
|
-
|
|
874
|
-
$input-padding-y-lg: $input-btn-padding-y-lg !default;
|
|
875
|
-
$input-padding-x-lg: $input-btn-padding-x-lg !default;
|
|
876
|
-
$input-line-height-lg: $input-btn-line-height-lg !default;
|
|
877
|
-
|
|
878
|
-
$input-bg: $white !default;
|
|
879
|
-
$input-disabled-bg: $gray-200 !default;
|
|
880
|
-
|
|
881
|
-
$input-color: $gray-700 !default;
|
|
882
|
-
$input-border-color: $gray-400 !default;
|
|
883
|
-
$input-border-width: $input-btn-border-width !default;
|
|
884
|
-
$input-box-shadow: inset 0 1px 1px rgba($black, 0.075) !default;
|
|
885
|
-
|
|
886
|
-
$input-border-radius: $border-radius !default;
|
|
887
|
-
$input-border-radius-lg: $border-radius-lg !default;
|
|
888
|
-
$input-border-radius-sm: $border-radius-sm !default;
|
|
889
|
-
|
|
890
|
-
$input-focus-bg: $input-bg !default;
|
|
891
|
-
$input-focus-border-color: color.adjust(
|
|
892
|
-
$component-active-bg,
|
|
893
|
-
$lightness: 25%
|
|
894
|
-
) !default;
|
|
895
|
-
$input-focus-color: $input-color !default;
|
|
896
|
-
$input-focus-width: $input-btn-focus-width !default;
|
|
897
|
-
$input-focus-box-shadow: $input-btn-focus-box-shadow !default;
|
|
898
|
-
|
|
899
|
-
$input-placeholder-color: $gray-600 !default;
|
|
900
|
-
$input-plaintext-color: $body-color !default;
|
|
901
|
-
|
|
902
|
-
$input-height-border: $input-border-width * 2 !default;
|
|
903
|
-
|
|
904
|
-
$input-height-inner: ($font-size-base * $input-btn-line-height) +
|
|
905
|
-
($input-btn-padding-y * 2) !default;
|
|
906
|
-
$input-height: calc(#{$input-height-inner} + #{$input-height-border}) !default;
|
|
907
|
-
|
|
908
|
-
$input-height-inner-sm: ($font-size-sm * $input-btn-line-height-sm) +
|
|
909
|
-
($input-btn-padding-y-sm * 2) !default;
|
|
910
|
-
$input-height-sm: calc(
|
|
911
|
-
#{$input-height-inner-sm} + #{$input-height-border}
|
|
912
|
-
) !default;
|
|
913
|
-
|
|
914
|
-
$input-height-inner-lg: ($font-size-lg * $input-btn-line-height-lg) +
|
|
915
|
-
($input-btn-padding-y-lg * 2) !default;
|
|
916
|
-
$input-height-lg: calc(
|
|
917
|
-
#{$input-height-inner-lg} + #{$input-height-border}
|
|
918
|
-
) !default;
|
|
919
|
-
|
|
920
|
-
$input-transition:
|
|
921
|
-
border-color 0.15s ease-in-out,
|
|
922
|
-
box-shadow 0.15s ease-in-out !default;
|
|
923
|
-
|
|
924
|
-
$form-text-margin-top: 0.25rem !default;
|
|
925
|
-
|
|
926
|
-
$form-check-input-gutter: 1.25rem !default;
|
|
927
|
-
$form-check-input-margin-y: 0.3rem !default;
|
|
928
|
-
$form-check-input-margin-x: 0.25rem !default;
|
|
929
|
-
|
|
930
|
-
$form-check-inline-margin-x: 0.75rem !default;
|
|
931
|
-
$form-check-inline-input-margin-x: 0.3125rem !default;
|
|
932
|
-
|
|
933
|
-
$form-group-margin-bottom: 1rem !default;
|
|
934
|
-
|
|
935
|
-
$input-group-addon-color: $input-color !default;
|
|
936
|
-
$input-group-addon-bg: $gray-200 !default;
|
|
937
|
-
$input-group-addon-border-color: $input-border-color !default;
|
|
938
|
-
|
|
939
|
-
$custom-forms-transition:
|
|
940
|
-
background-color 0.15s ease-in-out,
|
|
941
|
-
border-color 0.15s ease-in-out,
|
|
942
|
-
box-shadow 0.15s ease-in-out !default;
|
|
943
|
-
|
|
944
|
-
$custom-control-gutter: 1.5rem !default;
|
|
945
|
-
$custom-control-spacer-x: 1rem !default;
|
|
946
|
-
|
|
947
|
-
$custom-control-indicator-size: 1rem !default;
|
|
948
|
-
$custom-control-indicator-bg: $gray-300 !default;
|
|
949
|
-
$custom-control-indicator-bg-size: 50% 50% !default;
|
|
950
|
-
$custom-control-indicator-box-shadow: inset 0 0.25rem 0.25rem rgba($black, 0.1) !default;
|
|
951
|
-
|
|
952
|
-
$custom-control-indicator-disabled-bg: $gray-200 !default;
|
|
953
|
-
$custom-control-label-disabled-color: $gray-600 !default;
|
|
954
|
-
|
|
955
|
-
$custom-control-indicator-checked-color: $component-active-color !default;
|
|
956
|
-
$custom-control-indicator-checked-bg: $component-active-bg !default;
|
|
957
|
-
$custom-control-indicator-checked-disabled-bg: rgba(
|
|
958
|
-
theme-color("primary"),
|
|
959
|
-
0.5
|
|
960
|
-
) !default;
|
|
961
|
-
$custom-control-indicator-checked-box-shadow: none !default;
|
|
962
|
-
|
|
963
|
-
$custom-control-indicator-focus-box-shadow:
|
|
964
|
-
0 0 0 1px $body-bg,
|
|
965
|
-
$input-btn-focus-box-shadow !default;
|
|
966
|
-
|
|
967
|
-
$custom-control-indicator-active-color: $component-active-color !default;
|
|
968
|
-
$custom-control-indicator-active-bg: color.adjust(
|
|
969
|
-
$component-active-bg,
|
|
970
|
-
$lightness: 35%
|
|
971
|
-
) !default;
|
|
972
|
-
$custom-control-indicator-active-box-shadow: none !default;
|
|
973
|
-
|
|
974
|
-
$custom-checkbox-indicator-border-radius: $border-radius !default;
|
|
975
|
-
$custom-checkbox-indicator-icon-checked: str-replace(
|
|
976
|
-
url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='#{$custom-control-indicator-checked-color}' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E"),
|
|
977
|
-
"#",
|
|
978
|
-
"%23"
|
|
979
|
-
) !default;
|
|
980
|
-
|
|
981
|
-
$custom-checkbox-indicator-indeterminate-bg: $component-active-bg !default;
|
|
982
|
-
$custom-checkbox-indicator-indeterminate-color: $custom-control-indicator-checked-color !default;
|
|
983
|
-
$custom-checkbox-indicator-icon-indeterminate: str-replace(
|
|
984
|
-
url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3E%3Cpath stroke='#{$custom-checkbox-indicator-indeterminate-color}' d='M0 2h4'/%3E%3C/svg%3E"),
|
|
985
|
-
"#",
|
|
986
|
-
"%23"
|
|
987
|
-
) !default;
|
|
988
|
-
$custom-checkbox-indicator-indeterminate-box-shadow: none !default;
|
|
989
|
-
|
|
990
|
-
$custom-radio-indicator-border-radius: 50% !default;
|
|
991
|
-
$custom-radio-indicator-icon-checked: str-replace(
|
|
992
|
-
url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='#{$custom-control-indicator-checked-color}'/%3E%3C/svg%3E"),
|
|
993
|
-
"#",
|
|
994
|
-
"%23"
|
|
995
|
-
) !default;
|
|
996
|
-
|
|
997
|
-
$custom-select-padding-y: 0.375rem !default;
|
|
998
|
-
$custom-select-padding-x: 0.75rem !default;
|
|
999
|
-
$custom-select-height: $input-height !default;
|
|
1000
|
-
$custom-select-indicator-padding: 1rem !default; // Extra padding to account for the presence of the background-image based indicator
|
|
1001
|
-
$custom-select-line-height: $input-btn-line-height !default;
|
|
1002
|
-
$custom-select-color: $input-color !default;
|
|
1003
|
-
$custom-select-disabled-color: $gray-600 !default;
|
|
1004
|
-
$custom-select-bg: $input-bg !default;
|
|
1005
|
-
$custom-select-disabled-bg: $gray-200 !default;
|
|
1006
|
-
$custom-select-bg-size: 8px 10px !default; // In pixels because image dimensions
|
|
1007
|
-
$custom-select-indicator-color: $gray-800 !default;
|
|
1008
|
-
$custom-select-indicator: str-replace(
|
|
1009
|
-
url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='#{$custom-select-indicator-color}' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E"),
|
|
1010
|
-
"#",
|
|
1011
|
-
"%23"
|
|
1012
|
-
) !default;
|
|
1013
|
-
$custom-select-border-width: $input-btn-border-width !default;
|
|
1014
|
-
$custom-select-border-color: $input-border-color !default;
|
|
1015
|
-
$custom-select-border-radius: $border-radius !default;
|
|
1016
|
-
$custom-select-box-shadow: inset 0 1px 2px rgba($black, 0.075) !default;
|
|
1017
|
-
|
|
1018
|
-
$custom-select-focus-border-color: $input-focus-border-color !default;
|
|
1019
|
-
$custom-select-focus-width: $input-btn-focus-width !default;
|
|
1020
|
-
$custom-select-focus-box-shadow: 0 0 0 $custom-select-focus-width
|
|
1021
|
-
rgba($custom-select-focus-border-color, 0.5) !default;
|
|
1022
|
-
|
|
1023
|
-
$custom-select-font-size-sm: 75% !default;
|
|
1024
|
-
$custom-select-height-sm: $input-height-sm !default;
|
|
1025
|
-
|
|
1026
|
-
$custom-select-font-size-lg: 125% !default;
|
|
1027
|
-
$custom-select-height-lg: $input-height-lg !default;
|
|
1028
|
-
|
|
1029
|
-
$custom-range-track-width: 100% !default;
|
|
1030
|
-
$custom-range-track-height: 0.5rem !default;
|
|
1031
|
-
$custom-range-track-cursor: pointer !default;
|
|
1032
|
-
$custom-range-track-bg: $gray-300 !default;
|
|
1033
|
-
$custom-range-track-border-radius: 1rem !default;
|
|
1034
|
-
$custom-range-track-box-shadow: inset 0 0.25rem 0.25rem rgba($black, 0.1) !default;
|
|
1035
|
-
|
|
1036
|
-
$custom-range-thumb-width: 1rem !default;
|
|
1037
|
-
$custom-range-thumb-height: $custom-range-thumb-width !default;
|
|
1038
|
-
$custom-range-thumb-bg: $component-active-bg !default;
|
|
1039
|
-
$custom-range-thumb-border: 0 !default;
|
|
1040
|
-
$custom-range-thumb-border-radius: 1rem !default;
|
|
1041
|
-
$custom-range-thumb-box-shadow: 0 0.1rem 0.25rem rgba($black, 0.1) !default;
|
|
1042
|
-
$custom-range-thumb-focus-box-shadow:
|
|
1043
|
-
0 0 0 1px $body-bg,
|
|
1044
|
-
$input-btn-focus-box-shadow !default;
|
|
1045
|
-
$custom-range-thumb-focus-box-shadow-width: $input-btn-focus-width !default; // For focus box shadow issue in IE/Edge
|
|
1046
|
-
$custom-range-thumb-active-bg: color.adjust(
|
|
1047
|
-
$component-active-bg,
|
|
1048
|
-
$lightness: 35%
|
|
1049
|
-
) !default;
|
|
1050
|
-
|
|
1051
|
-
$custom-file-height: $input-height !default;
|
|
1052
|
-
$custom-file-height-inner: $input-height-inner !default;
|
|
1053
|
-
$custom-file-focus-border-color: $input-focus-border-color !default;
|
|
1054
|
-
$custom-file-focus-box-shadow: $input-btn-focus-box-shadow !default;
|
|
1055
|
-
$custom-file-disabled-bg: $input-disabled-bg !default;
|
|
1056
|
-
|
|
1057
|
-
$custom-file-padding-y: $input-btn-padding-y !default;
|
|
1058
|
-
$custom-file-padding-x: $input-btn-padding-x !default;
|
|
1059
|
-
$custom-file-line-height: $input-btn-line-height !default;
|
|
1060
|
-
$custom-file-color: $input-color !default;
|
|
1061
|
-
$custom-file-bg: $input-bg !default;
|
|
1062
|
-
$custom-file-border-width: $input-btn-border-width !default;
|
|
1063
|
-
$custom-file-border-color: $input-border-color !default;
|
|
1064
|
-
$custom-file-border-radius: $input-border-radius !default;
|
|
1065
|
-
$custom-file-box-shadow: $input-box-shadow !default;
|
|
1066
|
-
$custom-file-button-color: $custom-file-color !default;
|
|
1067
|
-
$custom-file-button-bg: $input-group-addon-bg !default;
|
|
1068
|
-
$custom-file-text: (
|
|
1069
|
-
en: "Browse",
|
|
1070
|
-
) !default;
|
|
1071
|
-
|
|
1072
|
-
// Form validation
|
|
1073
|
-
$form-feedback-margin-top: $form-text-margin-top !default;
|
|
1074
|
-
$form-feedback-font-size: $small-font-size !default;
|
|
1075
|
-
$form-feedback-valid-color: theme-color("success") !default;
|
|
1076
|
-
$form-feedback-invalid-color: theme-color("danger") !default;
|
|
1077
|
-
|
|
1078
|
-
// Dropdowns
|
|
1079
|
-
|
|
1080
|
-
// Dropdown menu container and contents.
|
|
1081
|
-
|
|
1082
|
-
$dropdown-min-width: 10rem !default;
|
|
1083
|
-
$dropdown-padding-y: 0.5rem !default;
|
|
1084
|
-
$dropdown-spacer: 0.125rem !default;
|
|
1085
|
-
$dropdown-bg: $white !default;
|
|
1086
|
-
$dropdown-border-color: rgba($black, 0.15) !default;
|
|
1087
|
-
$dropdown-border-radius: $border-radius !default;
|
|
1088
|
-
$dropdown-border-width: $border-width !default;
|
|
1089
|
-
$dropdown-divider-bg: $gray-200 !default;
|
|
1090
|
-
$dropdown-box-shadow: 0 0.5rem 1rem rgba($black, 0.175) !default;
|
|
1091
|
-
|
|
1092
|
-
$dropdown-link-color: $gray-900 !default;
|
|
1093
|
-
$dropdown-link-hover-color: color.adjust($gray-900, $lightness: -5%) !default;
|
|
1094
|
-
$dropdown-link-hover-bg: $gray-100 !default;
|
|
1095
|
-
|
|
1096
|
-
$dropdown-link-active-color: $component-active-color !default;
|
|
1097
|
-
$dropdown-link-active-bg: $component-active-bg !default;
|
|
1098
|
-
|
|
1099
|
-
$dropdown-link-disabled-color: $gray-600 !default;
|
|
1100
|
-
|
|
1101
|
-
$dropdown-item-padding-y: 0.25rem !default;
|
|
1102
|
-
$dropdown-item-padding-x: 1.5rem !default;
|
|
1103
|
-
|
|
1104
|
-
$dropdown-header-color: $gray-600 !default;
|
|
1105
|
-
|
|
1106
|
-
// Z-index master list
|
|
1107
|
-
|
|
1108
|
-
// Warning: Avoid customizing these values. They're used for a bird's eye view
|
|
1109
|
-
// of components dependent on the z-axis and are designed to all work together.
|
|
1110
|
-
|
|
1111
|
-
$zindex-dropdown: 1000 !default;
|
|
1112
|
-
$zindex-sticky: 1020 !default;
|
|
1113
|
-
$zindex-fixed: 1030 !default;
|
|
1114
|
-
$zindex-modal-backdrop: 1040 !default;
|
|
1115
|
-
$zindex-modal: 1050 !default;
|
|
1116
|
-
$zindex-popover: 1060 !default;
|
|
1117
|
-
$zindex-tooltip: 1070 !default;
|
|
1118
|
-
|
|
1119
|
-
// Navs
|
|
1120
|
-
|
|
1121
|
-
$nav-link-padding-y: 0.5rem !default;
|
|
1122
|
-
$nav-link-padding-x: 1rem !default;
|
|
1123
|
-
$nav-link-disabled-color: $gray-600 !default;
|
|
1124
|
-
|
|
1125
|
-
$nav-tabs-border-color: $gray-300 !default;
|
|
1126
|
-
$nav-tabs-border-width: $border-width !default;
|
|
1127
|
-
$nav-tabs-border-radius: $border-radius !default;
|
|
1128
|
-
$nav-tabs-link-hover-border-color: $gray-200 $gray-200 $nav-tabs-border-color !default;
|
|
1129
|
-
$nav-tabs-link-active-color: $gray-700 !default;
|
|
1130
|
-
$nav-tabs-link-active-bg: $body-bg !default;
|
|
1131
|
-
$nav-tabs-link-active-border-color: $gray-300 $gray-300 $nav-tabs-link-active-bg !default;
|
|
1132
|
-
|
|
1133
|
-
$nav-pills-border-radius: $border-radius !default;
|
|
1134
|
-
$nav-pills-link-active-color: $component-active-color !default;
|
|
1135
|
-
$nav-pills-link-active-bg: $component-active-bg !default;
|
|
1136
|
-
|
|
1137
|
-
$nav-divider-color: $gray-200 !default;
|
|
1138
|
-
$nav-divider-margin-y: ($spacer * 0.5) !default;
|
|
1139
|
-
|
|
1140
|
-
// Navbar
|
|
1141
|
-
|
|
1142
|
-
$navbar-padding-y: ($spacer * 0.5) !default;
|
|
1143
|
-
$navbar-padding-x: $spacer !default;
|
|
1144
|
-
|
|
1145
|
-
$navbar-nav-link-padding-x: 0.5rem !default;
|
|
1146
|
-
|
|
1147
|
-
$navbar-brand-font-size: $font-size-lg !default;
|
|
1148
|
-
// Compute the navbar-brand padding-y so the navbar-brand will have the same height as navbar-text and nav-link
|
|
1149
|
-
$nav-link-height: (
|
|
1150
|
-
$font-size-base * $line-height-base + $nav-link-padding-y * 2
|
|
1151
|
-
) !default;
|
|
1152
|
-
$navbar-brand-height: $navbar-brand-font-size * $line-height-base !default;
|
|
1153
|
-
$navbar-brand-padding-y: ($nav-link-height - $navbar-brand-height) * 0.5 !default;
|
|
1154
|
-
|
|
1155
|
-
$navbar-toggler-padding-y: 0.25rem !default;
|
|
1156
|
-
$navbar-toggler-padding-x: 0.75rem !default;
|
|
1157
|
-
$navbar-toggler-font-size: $font-size-lg !default;
|
|
1158
|
-
$navbar-toggler-border-radius: $btn-border-radius !default;
|
|
1159
|
-
|
|
1160
|
-
$navbar-dark-color: rgba($white, 0.5) !default;
|
|
1161
|
-
$navbar-dark-hover-color: rgba($white, 0.75) !default;
|
|
1162
|
-
$navbar-dark-active-color: $white !default;
|
|
1163
|
-
$navbar-dark-disabled-color: rgba($white, 0.25) !default;
|
|
1164
|
-
$navbar-dark-toggler-icon-bg: str-replace(
|
|
1165
|
-
url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#{$navbar-dark-color}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"),
|
|
1166
|
-
"#",
|
|
1167
|
-
"%23"
|
|
1168
|
-
) !default;
|
|
1169
|
-
$navbar-dark-toggler-border-color: rgba($white, 0.1) !default;
|
|
1170
|
-
|
|
1171
|
-
$navbar-light-color: rgba($black, 0.5) !default;
|
|
1172
|
-
$navbar-light-hover-color: rgba($black, 0.7) !default;
|
|
1173
|
-
$navbar-light-active-color: rgba($black, 0.9) !default;
|
|
1174
|
-
$navbar-light-disabled-color: rgba($black, 0.3) !default;
|
|
1175
|
-
$navbar-light-toggler-icon-bg: str-replace(
|
|
1176
|
-
url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#{$navbar-light-color}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"),
|
|
1177
|
-
"#",
|
|
1178
|
-
"%23"
|
|
1179
|
-
) !default;
|
|
1180
|
-
$navbar-light-toggler-border-color: rgba($black, 0.1) !default;
|
|
1181
|
-
|
|
1182
|
-
// Pagination
|
|
1183
|
-
|
|
1184
|
-
$pagination-padding-y: 0.5rem !default;
|
|
1185
|
-
$pagination-padding-x: 0.75rem !default;
|
|
1186
|
-
$pagination-padding-y-sm: 0.25rem !default;
|
|
1187
|
-
$pagination-padding-x-sm: 0.5rem !default;
|
|
1188
|
-
$pagination-padding-y-lg: 0.75rem !default;
|
|
1189
|
-
$pagination-padding-x-lg: 1.5rem !default;
|
|
1190
|
-
$pagination-line-height: 1.25 !default;
|
|
1191
|
-
|
|
1192
|
-
$pagination-color: $link-color !default;
|
|
1193
|
-
$pagination-bg: $white !default;
|
|
1194
|
-
$pagination-border-width: $border-width !default;
|
|
1195
|
-
$pagination-border-color: $gray-300 !default;
|
|
1196
|
-
|
|
1197
|
-
$pagination-focus-box-shadow: $input-btn-focus-box-shadow !default;
|
|
1198
|
-
$pagination-focus-outline: 0 !default;
|
|
1199
|
-
|
|
1200
|
-
$pagination-hover-color: $link-hover-color !default;
|
|
1201
|
-
$pagination-hover-bg: $gray-200 !default;
|
|
1202
|
-
$pagination-hover-border-color: $gray-300 !default;
|
|
1203
|
-
|
|
1204
|
-
$pagination-active-color: $component-active-color !default;
|
|
1205
|
-
$pagination-active-bg: $component-active-bg !default;
|
|
1206
|
-
$pagination-active-border-color: $pagination-active-bg !default;
|
|
1207
|
-
|
|
1208
|
-
$pagination-disabled-color: $gray-600 !default;
|
|
1209
|
-
$pagination-disabled-bg: $white !default;
|
|
1210
|
-
$pagination-disabled-border-color: $gray-300 !default;
|
|
1211
|
-
|
|
1212
|
-
// Jumbotron
|
|
1213
|
-
|
|
1214
|
-
$jumbotron-padding: 2rem !default;
|
|
1215
|
-
$jumbotron-bg: $gray-200 !default;
|
|
1216
|
-
|
|
1217
|
-
// Cards
|
|
1218
|
-
|
|
1219
|
-
$card-spacer-y: 0.75rem !default;
|
|
1220
|
-
$card-spacer-x: 1.25rem !default;
|
|
1221
|
-
$card-border-width: $border-width !default;
|
|
1222
|
-
$card-border-radius: $border-radius !default;
|
|
1223
|
-
$card-border-color: rgba($black, 0.125) !default;
|
|
1224
|
-
$card-inner-border-radius: calc(
|
|
1225
|
-
#{$card-border-radius} - #{$card-border-width}
|
|
1226
|
-
) !default;
|
|
1227
|
-
$card-cap-bg: rgba($black, 0.03) !default;
|
|
1228
|
-
$card-bg: $white !default;
|
|
1229
|
-
|
|
1230
|
-
$card-img-overlay-padding: 1.25rem !default;
|
|
1231
|
-
|
|
1232
|
-
$card-group-margin: ($grid-gutter-width * 0.5) !default;
|
|
1233
|
-
$card-deck-margin: $card-group-margin !default;
|
|
1234
|
-
|
|
1235
|
-
$card-columns-count: 3 !default;
|
|
1236
|
-
$card-columns-gap: 1.25rem !default;
|
|
1237
|
-
$card-columns-margin: $card-spacer-y !default;
|
|
1238
|
-
|
|
1239
|
-
// Tooltips
|
|
1240
|
-
|
|
1241
|
-
$tooltip-font-size: $font-size-sm !default;
|
|
1242
|
-
$tooltip-max-width: 200px !default;
|
|
1243
|
-
$tooltip-color: $white !default;
|
|
1244
|
-
$tooltip-bg: $black !default;
|
|
1245
|
-
$tooltip-border-radius: $border-radius !default;
|
|
1246
|
-
$tooltip-opacity: 0.9 !default;
|
|
1247
|
-
$tooltip-padding-y: 0.25rem !default;
|
|
1248
|
-
$tooltip-padding-x: 0.5rem !default;
|
|
1249
|
-
$tooltip-margin: 0 !default;
|
|
1250
|
-
|
|
1251
|
-
$tooltip-arrow-width: 0.8rem !default;
|
|
1252
|
-
$tooltip-arrow-height: 0.4rem !default;
|
|
1253
|
-
$tooltip-arrow-color: $tooltip-bg !default;
|
|
1254
|
-
|
|
1255
|
-
// Popovers
|
|
1256
|
-
|
|
1257
|
-
$popover-font-size: $font-size-sm !default;
|
|
1258
|
-
$popover-bg: $white !default;
|
|
1259
|
-
$popover-max-width: 276px !default;
|
|
1260
|
-
$popover-border-width: $border-width !default;
|
|
1261
|
-
$popover-border-color: rgba($black, 0.2) !default;
|
|
1262
|
-
$popover-border-radius: $border-radius-lg !default;
|
|
1263
|
-
$popover-box-shadow: 0 0.25rem 0.5rem rgba($black, 0.2) !default;
|
|
1264
|
-
|
|
1265
|
-
$popover-header-bg: color.adjust($popover-bg, $lightness: -3%) !default;
|
|
1266
|
-
$popover-header-color: $headings-color !default;
|
|
1267
|
-
$popover-header-padding-y: 0.5rem !default;
|
|
1268
|
-
$popover-header-padding-x: 0.75rem !default;
|
|
1269
|
-
|
|
1270
|
-
$popover-body-color: $body-color !default;
|
|
1271
|
-
$popover-body-padding-y: $popover-header-padding-y !default;
|
|
1272
|
-
$popover-body-padding-x: $popover-header-padding-x !default;
|
|
1273
|
-
|
|
1274
|
-
$popover-arrow-width: 1rem !default;
|
|
1275
|
-
$popover-arrow-height: 0.5rem !default;
|
|
1276
|
-
$popover-arrow-color: $popover-bg !default;
|
|
1277
|
-
|
|
1278
|
-
$popover-arrow-outer-color: color.adjust(
|
|
1279
|
-
$popover-border-color,
|
|
1280
|
-
$alpha: 0.05
|
|
1281
|
-
) !default;
|
|
1282
|
-
|
|
1283
|
-
// Badges
|
|
1284
|
-
|
|
1285
|
-
$badge-font-size: 75% !default;
|
|
1286
|
-
$badge-font-weight: $font-weight-bold !default;
|
|
1287
|
-
$badge-padding-y: 0.25em !default;
|
|
1288
|
-
$badge-padding-x: 0.4em !default;
|
|
1289
|
-
$badge-border-radius: $border-radius !default;
|
|
1290
|
-
|
|
1291
|
-
$badge-pill-padding-x: 0.6em !default;
|
|
1292
|
-
// Use a higher than normal value to ensure completely rounded edges when
|
|
1293
|
-
// customizing padding or font-size on labels.
|
|
1294
|
-
$badge-pill-border-radius: 10rem !default;
|
|
1295
|
-
|
|
1296
|
-
// Modals
|
|
1297
|
-
|
|
1298
|
-
// Padding applied to the modal body
|
|
1299
|
-
$modal-inner-padding: 1rem !default;
|
|
1300
|
-
|
|
1301
|
-
$modal-dialog-margin: 0.5rem !default;
|
|
1302
|
-
$modal-dialog-margin-y-sm-up: 1.75rem !default;
|
|
1303
|
-
|
|
1304
|
-
$modal-title-line-height: $line-height-base !default;
|
|
1305
|
-
|
|
1306
|
-
$modal-content-bg: $white !default;
|
|
1307
|
-
$modal-content-border-color: rgba($black, 0.2) !default;
|
|
1308
|
-
$modal-content-border-width: $border-width !default;
|
|
1309
|
-
$modal-content-border-radius: $border-radius-lg !default;
|
|
1310
|
-
$modal-content-box-shadow-xs: 0 0.25rem 0.5rem rgba($black, 0.5) !default;
|
|
1311
|
-
$modal-content-box-shadow-sm-up: 0 0.5rem 1rem rgba($black, 0.5) !default;
|
|
1312
|
-
|
|
1313
|
-
$modal-backdrop-bg: $black !default;
|
|
1314
|
-
$modal-backdrop-opacity: 0.5 !default;
|
|
1315
|
-
$modal-header-border-color: $gray-200 !default;
|
|
1316
|
-
$modal-footer-border-color: $modal-header-border-color !default;
|
|
1317
|
-
$modal-header-border-width: $modal-content-border-width !default;
|
|
1318
|
-
$modal-footer-border-width: $modal-header-border-width !default;
|
|
1319
|
-
$modal-header-padding: 1rem !default;
|
|
1320
|
-
|
|
1321
|
-
$modal-lg: 800px !default;
|
|
1322
|
-
$modal-md: 500px !default;
|
|
1323
|
-
$modal-sm: 300px !default;
|
|
1324
|
-
|
|
1325
|
-
$modal-transition: transform 0.3s ease-out !default;
|
|
1326
|
-
|
|
1327
|
-
// Alerts
|
|
1328
|
-
|
|
1329
|
-
// Define alert colors, border radius, and padding.
|
|
1330
|
-
|
|
1331
|
-
$alert-padding-y: 0.75rem !default;
|
|
1332
|
-
$alert-padding-x: 1.25rem !default;
|
|
1333
|
-
$alert-margin-bottom: 1rem !default;
|
|
1334
|
-
$alert-border-radius: $border-radius !default;
|
|
1335
|
-
$alert-link-font-weight: $font-weight-bold !default;
|
|
1336
|
-
$alert-border-width: $border-width !default;
|
|
1337
|
-
|
|
1338
|
-
$alert-bg-level: -10 !default;
|
|
1339
|
-
$alert-border-level: -9 !default;
|
|
1340
|
-
$alert-color-level: 6 !default;
|
|
1341
|
-
|
|
1342
|
-
// Progress bars
|
|
1343
|
-
|
|
1344
|
-
$progress-height: 1rem !default;
|
|
1345
|
-
$progress-font-size: ($font-size-base * 0.75) !default;
|
|
1346
|
-
$progress-bg: $gray-200 !default;
|
|
1347
|
-
$progress-border-radius: $border-radius !default;
|
|
1348
|
-
$progress-box-shadow: inset 0 0.1rem 0.1rem rgba($black, 0.1) !default;
|
|
1349
|
-
$progress-bar-color: $white !default;
|
|
1350
|
-
$progress-bar-bg: theme-color("primary") !default;
|
|
1351
|
-
$progress-bar-animation-timing: 1s linear infinite !default;
|
|
1352
|
-
$progress-bar-transition: width 0.6s ease !default;
|
|
1353
|
-
|
|
1354
|
-
// List group
|
|
1355
|
-
|
|
1356
|
-
$list-group-bg: $white !default;
|
|
1357
|
-
$list-group-border-color: rgba($black, 0.125) !default;
|
|
1358
|
-
$list-group-border-width: $border-width !default;
|
|
1359
|
-
$list-group-border-radius: $border-radius !default;
|
|
1360
|
-
|
|
1361
|
-
$list-group-item-padding-y: 0.75rem !default;
|
|
1362
|
-
$list-group-item-padding-x: 1.25rem !default;
|
|
1363
|
-
|
|
1364
|
-
$list-group-hover-bg: $gray-100 !default;
|
|
1365
|
-
$list-group-active-color: $component-active-color !default;
|
|
1366
|
-
$list-group-active-bg: $component-active-bg !default;
|
|
1367
|
-
$list-group-active-border-color: $list-group-active-bg !default;
|
|
1368
|
-
|
|
1369
|
-
$list-group-disabled-color: $gray-600 !default;
|
|
1370
|
-
$list-group-disabled-bg: $list-group-bg !default;
|
|
1371
|
-
|
|
1372
|
-
$list-group-action-color: $gray-700 !default;
|
|
1373
|
-
$list-group-action-hover-color: $list-group-action-color !default;
|
|
1374
|
-
|
|
1375
|
-
$list-group-action-active-color: $body-color !default;
|
|
1376
|
-
$list-group-action-active-bg: $gray-200 !default;
|
|
1377
|
-
|
|
1378
|
-
// Image thumbnails
|
|
1379
|
-
|
|
1380
|
-
$thumbnail-padding: 0.25rem !default;
|
|
1381
|
-
$thumbnail-bg: $body-bg !default;
|
|
1382
|
-
$thumbnail-border-width: $border-width !default;
|
|
1383
|
-
$thumbnail-border-color: $gray-300 !default;
|
|
1384
|
-
$thumbnail-border-radius: $border-radius !default;
|
|
1385
|
-
$thumbnail-box-shadow: 0 1px 2px rgba($black, 0.075) !default;
|
|
1386
|
-
|
|
1387
|
-
// Figures
|
|
1388
|
-
|
|
1389
|
-
$figure-caption-font-size: 90% !default;
|
|
1390
|
-
$figure-caption-color: $gray-600 !default;
|
|
1391
|
-
|
|
1392
|
-
// Breadcrumbs
|
|
1393
|
-
|
|
1394
|
-
$breadcrumb-padding-y: 0.75rem !default;
|
|
1395
|
-
$breadcrumb-padding-x: 1rem !default;
|
|
1396
|
-
$breadcrumb-item-padding: 0.5rem !default;
|
|
1397
|
-
|
|
1398
|
-
$breadcrumb-margin-bottom: 1rem !default;
|
|
1399
|
-
|
|
1400
|
-
$breadcrumb-bg: $gray-200 !default;
|
|
1401
|
-
$breadcrumb-divider-color: $gray-600 !default;
|
|
1402
|
-
$breadcrumb-active-color: $gray-600 !default;
|
|
1403
|
-
$breadcrumb-divider: "/" !default;
|
|
1404
|
-
|
|
1405
|
-
$breadcrumb-border-radius: $border-radius !default;
|
|
1406
|
-
|
|
1407
|
-
// Carousel
|
|
1408
|
-
|
|
1409
|
-
$carousel-control-color: $white !default;
|
|
1410
|
-
$carousel-control-width: 15% !default;
|
|
1411
|
-
$carousel-control-opacity: 0.5 !default;
|
|
1412
|
-
|
|
1413
|
-
$carousel-indicator-width: 30px !default;
|
|
1414
|
-
$carousel-indicator-height: 3px !default;
|
|
1415
|
-
$carousel-indicator-spacer: 3px !default;
|
|
1416
|
-
$carousel-indicator-active-bg: $white !default;
|
|
1417
|
-
|
|
1418
|
-
$carousel-caption-width: 70% !default;
|
|
1419
|
-
$carousel-caption-color: $white !default;
|
|
1420
|
-
|
|
1421
|
-
$carousel-control-icon-width: 20px !default;
|
|
1422
|
-
|
|
1423
|
-
$carousel-control-prev-icon-bg: str-replace(
|
|
1424
|
-
url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E"),
|
|
1425
|
-
"#",
|
|
1426
|
-
"%23"
|
|
1427
|
-
) !default;
|
|
1428
|
-
$carousel-control-next-icon-bg: str-replace(
|
|
1429
|
-
url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E"),
|
|
1430
|
-
"#",
|
|
1431
|
-
"%23"
|
|
1432
|
-
) !default;
|
|
1433
|
-
|
|
1434
|
-
$carousel-transition: transform 0.6s ease !default; // Define transform transition first if using multiple transitions (e.g., `transform 2s ease, opacity .5s ease-out`)
|
|
1435
|
-
|
|
1436
|
-
// Close
|
|
1437
|
-
|
|
1438
|
-
$close-font-size: $font-size-base * 1.5 !default;
|
|
1439
|
-
$close-font-weight: $font-weight-bold !default;
|
|
1440
|
-
$close-color: $black !default;
|
|
1441
|
-
$close-text-shadow: 0 1px 0 $white !default;
|
|
1442
|
-
|
|
1443
|
-
// Code
|
|
1444
|
-
|
|
1445
|
-
$code-font-size: 87.5% !default;
|
|
1446
|
-
$code-color: $pink !default;
|
|
1447
|
-
|
|
1448
|
-
$kbd-padding-y: 0.2rem !default;
|
|
1449
|
-
$kbd-padding-x: 0.4rem !default;
|
|
1450
|
-
$kbd-font-size: $code-font-size !default;
|
|
1451
|
-
$kbd-color: $white !default;
|
|
1452
|
-
$kbd-bg: $gray-900 !default;
|
|
1453
|
-
|
|
1454
|
-
$pre-color: $gray-900 !default;
|
|
1455
|
-
$pre-scrollable-max-height: 340px !default;
|
|
1456
|
-
|
|
1457
|
-
// Printing
|
|
1458
|
-
$print-page-size: a3 !default;
|
|
1459
|
-
$print-body-min-width: map.get($grid-breakpoints, "lg") !default;
|