@axa-fr/design-system-slash-css 0.2.0-beta.278

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