@unlk/keymaster 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/keymaster.css +38766 -0
- package/dist/css/keymaster.css.map +1 -0
- package/dist/css/keymaster.min.css +38 -0
- package/dist/css/keymaster.min.css.map +1 -0
- package/dist/js/keymaster.js +11722 -0
- package/dist/js/keymaster.js.map +1 -0
- package/dist/js/keymaster.min.js +164 -0
- package/dist/js/keymaster.min.js.map +1 -0
- package/fonts/NeulisNeue-Medium.woff +0 -0
- package/fonts/NeulisNeue-Medium.woff2 +0 -0
- package/fonts/NeulisNeue-MediumItalic.woff +0 -0
- package/fonts/NeulisNeue-MediumItalic.woff2 +0 -0
- package/fonts/STIXTwoText-Italic.ttf +0 -0
- package/fonts/STIXTwoText-Italic.woff +0 -0
- package/fonts/STIXTwoText-Italic.woff2 +0 -0
- package/fonts/WixMadeforDisplay-Bold.ttf +0 -0
- package/fonts/WixMadeforDisplay-Bold.woff +0 -0
- package/fonts/WixMadeforDisplay-Bold.woff2 +0 -0
- package/fonts/WixMadeforDisplay-Regular.ttf +0 -0
- package/fonts/WixMadeforDisplay-Regular.woff +0 -0
- package/fonts/WixMadeforDisplay-Regular.woff2 +0 -0
- package/js/bootstrap.js +1 -0
- package/js/carousel-caption.js +39 -0
- package/package.json +5 -2
- package/scss/assets/bootstrap5/_variables.scss +2 -0
- package/scss/keymaster.scss +20 -3
- package/scss/theme/_accordion.scss +62 -0
- package/scss/theme/_alert.scss +24 -0
- package/scss/theme/_badge.scss +19 -0
- package/scss/theme/_buttons.scss +52 -0
- package/scss/theme/_carousel.scss +42 -0
- package/scss/theme/_maps-overrides.scss +44 -0
- package/scss/theme/_type.scss +3 -0
- package/scss/theme/_typography.scss +36 -0
- package/scss/theme/_utilities-overrides.scss +55 -0
- package/scss/theme/_variables-overrides.scss +417 -0
- package/scss/theme/_variables.scss +33 -0
- package/scss/theme/mixins/_badge.scss +5 -0
- package/scss/theme/mixins/_buttons.scss +55 -0
- package/scss/theme/_overrides.scss +0 -266
- package/scss/theme/_utility-overrides.scss +0 -7
@@ -0,0 +1,417 @@
|
|
1
|
+
@import "../assets/bootstrap5/functions";
|
2
|
+
@import "../assets/bootstrap5/variables";
|
3
|
+
|
4
|
+
$enable-shadows: true;
|
5
|
+
$enable-validation-icons: false;
|
6
|
+
|
7
|
+
// Fontawesome
|
8
|
+
$font-path: "../../fonts";
|
9
|
+
$fa-font-path: "../../../fonts";
|
10
|
+
|
11
|
+
// Font
|
12
|
+
$font-size-base: 1rem;
|
13
|
+
$font-size-lg: $font-size-base * 1.125;
|
14
|
+
|
15
|
+
$font-family-base: "Wix MadeFor Display";
|
16
|
+
$font-family-code: "Wix MadeFor Display";
|
17
|
+
|
18
|
+
// Colors
|
19
|
+
$foundation: #1D1F50;
|
20
|
+
$blueprint: #3E51A2;
|
21
|
+
$entryway: #3B7BBF;
|
22
|
+
$skylight: #CDECF9;
|
23
|
+
$turnkey: #6346D3;
|
24
|
+
$sunglow: #FBCD2F;
|
25
|
+
$green: #027a48;
|
26
|
+
$red: #b42318;
|
27
|
+
$gray: #c1c5cc;
|
28
|
+
|
29
|
+
$white: #fff;
|
30
|
+
$gray-25: tint-color($gray, 95%);
|
31
|
+
$gray-50: tint-color($gray, 90%);
|
32
|
+
$gray-100: tint-color($gray, 80%);
|
33
|
+
$gray-200: tint-color($gray, 60%);
|
34
|
+
$gray-300: tint-color($gray, 40%);
|
35
|
+
$gray-400: tint-color($gray, 20%);
|
36
|
+
$gray-500: $gray;
|
37
|
+
$gray-600: shade-color($gray, 20%);
|
38
|
+
$gray-700: shade-color($gray, 40%);
|
39
|
+
$gray-800: shade-color($gray, 60%);
|
40
|
+
$gray-900: shade-color($gray, 80%);
|
41
|
+
$black: #000;
|
42
|
+
|
43
|
+
$grays: (
|
44
|
+
"25": $gray-25,
|
45
|
+
"50": $gray-50,
|
46
|
+
"100": $gray-100,
|
47
|
+
"200": $gray-200,
|
48
|
+
"300": $gray-300,
|
49
|
+
"400": $gray-400,
|
50
|
+
"500": $gray-500,
|
51
|
+
"600": $gray-600,
|
52
|
+
"700": $gray-700,
|
53
|
+
"800": $gray-800,
|
54
|
+
"900": $gray-900
|
55
|
+
);
|
56
|
+
|
57
|
+
$colors: (
|
58
|
+
"foundation": $foundation,
|
59
|
+
"blueprint": $blueprint,
|
60
|
+
"entryway": $entryway,
|
61
|
+
"sunglow": $sunglow,
|
62
|
+
"green": $green,
|
63
|
+
"turnkey": $turnkey,
|
64
|
+
"red": $red,
|
65
|
+
"gray": $gray-600,
|
66
|
+
);
|
67
|
+
|
68
|
+
// Color variants
|
69
|
+
$foundation-25: tint-color($foundation, 95%);
|
70
|
+
$foundation-100: tint-color($foundation, 80%);
|
71
|
+
$foundation-200: tint-color($foundation, 60%);
|
72
|
+
$foundation-300: tint-color($foundation, 40%);
|
73
|
+
$foundation-400: tint-color($foundation, 20%);
|
74
|
+
$foundation-450: tint-color($foundation, 10%);
|
75
|
+
$foundation-500: $foundation;
|
76
|
+
$foundation-600: shade-color($foundation, 20%);
|
77
|
+
$foundation-700: shade-color($foundation, 40%);
|
78
|
+
$foundation-800: shade-color($foundation, 60%);
|
79
|
+
$foundation-900: shade-color($foundation, 80%);
|
80
|
+
|
81
|
+
$blueprint-25: tint-color($blueprint, 95%);
|
82
|
+
$blueprint-100: tint-color($blueprint, 80%);
|
83
|
+
$blueprint-200: tint-color($blueprint, 60%);
|
84
|
+
$blueprint-300: tint-color($blueprint, 40%);
|
85
|
+
$blueprint-400: tint-color($blueprint, 20%);
|
86
|
+
$blueprint-450: tint-color($blueprint, 10%);
|
87
|
+
$blueprint-500: $blueprint;
|
88
|
+
$blueprint-600: shade-color($blueprint, 20%);
|
89
|
+
$blueprint-700: shade-color($blueprint, 40%);
|
90
|
+
$blueprint-800: shade-color($blueprint, 60%);
|
91
|
+
$blueprint-900: shade-color($blueprint, 80%);
|
92
|
+
|
93
|
+
$entryway-25: tint-color($entryway, 95%);
|
94
|
+
$entryway-100: tint-color($entryway, 80%);
|
95
|
+
$entryway-200: tint-color($entryway, 60%);
|
96
|
+
$entryway-300: tint-color($entryway, 40%);
|
97
|
+
$entryway-400: tint-color($entryway, 20%);
|
98
|
+
$entryway-450: tint-color($entryway, 10%);
|
99
|
+
$entryway-500: $entryway;
|
100
|
+
$entryway-600: shade-color($entryway, 20%);
|
101
|
+
$entryway-700: shade-color($entryway, 40%);
|
102
|
+
$entryway-800: shade-color($entryway, 60%);
|
103
|
+
$entryway-900: shade-color($entryway, 80%);
|
104
|
+
|
105
|
+
$skylight-25: tint-color($skylight, 95%);
|
106
|
+
$skylight-100: tint-color($skylight, 80%);
|
107
|
+
$skylight-200: tint-color($skylight, 60%);
|
108
|
+
$skylight-300: tint-color($skylight, 40%);
|
109
|
+
$skylight-400: tint-color($skylight, 20%);
|
110
|
+
$skylight-450: tint-color($skylight, 10%);
|
111
|
+
$skylight-500: $skylight;
|
112
|
+
$skylight-600: shade-color($skylight, 20%);
|
113
|
+
$skylight-700: shade-color($skylight, 40%);
|
114
|
+
$skylight-800: shade-color($skylight, 60%);
|
115
|
+
$skylight-900: shade-color($skylight, 80%);
|
116
|
+
|
117
|
+
$sunglow-25: tint-color($sunglow, 95%);
|
118
|
+
$sunglow-100: tint-color($sunglow, 80%);
|
119
|
+
$sunglow-200: tint-color($sunglow, 60%);
|
120
|
+
$sunglow-300: tint-color($sunglow, 40%);
|
121
|
+
$sunglow-400: tint-color($sunglow, 20%);
|
122
|
+
$sunglow-450: tint-color($sunglow, 10%);
|
123
|
+
$sunglow-500: $sunglow;
|
124
|
+
$sunglow-600: shade-color($sunglow, 20%);
|
125
|
+
$sunglow-700: shade-color($sunglow, 40%);
|
126
|
+
$sunglow-800: shade-color($sunglow, 60%);
|
127
|
+
$sunglow-900: shade-color($sunglow, 80%);
|
128
|
+
|
129
|
+
$turnkey-25: tint-color($turnkey, 95%);
|
130
|
+
$turnkey-100: tint-color($turnkey, 80%);
|
131
|
+
$turnkey-200: tint-color($turnkey, 60%);
|
132
|
+
$turnkey-300: tint-color($turnkey, 40%);
|
133
|
+
$turnkey-400: tint-color($turnkey, 20%);
|
134
|
+
$turnkey-450: tint-color($turnkey, 10%);
|
135
|
+
$turnkey-500: $turnkey;
|
136
|
+
$turnkey-600: shade-color($turnkey, 20%);
|
137
|
+
$turnkey-700: shade-color($turnkey, 40%);
|
138
|
+
$turnkey-800: shade-color($turnkey, 60%);
|
139
|
+
$turnkey-900: shade-color($turnkey, 80%);
|
140
|
+
|
141
|
+
$success-25: tint-color($green, 95%);
|
142
|
+
$success-100: tint-color($green, 80%);
|
143
|
+
$success-200: tint-color($green, 60%);
|
144
|
+
$success-300: tint-color($green, 40%);
|
145
|
+
$success-400: tint-color($green, 20%);
|
146
|
+
$success-450: tint-color($green, 10%);
|
147
|
+
$success-500: $green;
|
148
|
+
$success-600: shade-color($green, 20%);
|
149
|
+
$success-700: shade-color($green, 40%);
|
150
|
+
$success-800: shade-color($green, 60%);
|
151
|
+
$success-900: shade-color($green, 80%);
|
152
|
+
|
153
|
+
$danger-25: tint-color($red, 95%);
|
154
|
+
$danger-100: tint-color($red, 80%);
|
155
|
+
$danger-200: tint-color($red, 60%);
|
156
|
+
$danger-300: tint-color($red, 40%);
|
157
|
+
$danger-400: tint-color($red, 20%);
|
158
|
+
$danger-450: tint-color($red, 10%);
|
159
|
+
$danger-500: $red;
|
160
|
+
$danger-600: shade-color($red, 20%);
|
161
|
+
$danger-700: shade-color($red, 40%);
|
162
|
+
$danger-800: shade-color($red, 60%);
|
163
|
+
$danger-900: shade-color($red, 80%);
|
164
|
+
|
165
|
+
$foundations: (
|
166
|
+
"foundation-100": $foundation-100,
|
167
|
+
"foundation-200": $foundation-200,
|
168
|
+
"foundation-300": $foundation-300,
|
169
|
+
"foundation-400": $foundation-400,
|
170
|
+
"foundation-450": $foundation-450,
|
171
|
+
"foundation-500": $foundation-500,
|
172
|
+
"foundation-600": $foundation-600,
|
173
|
+
"foundation-700": $foundation-700,
|
174
|
+
"foundation-800": $foundation-800,
|
175
|
+
"foundation-900": $foundation-900
|
176
|
+
);
|
177
|
+
|
178
|
+
$blueprints: (
|
179
|
+
"blueprint-100": $blueprint-100,
|
180
|
+
"blueprint-200": $blueprint-200,
|
181
|
+
"blueprint-300": $blueprint-300,
|
182
|
+
"blueprint-400": $blueprint-400,
|
183
|
+
"blueprint-450": $blueprint-450,
|
184
|
+
"blueprint-500": $blueprint-500,
|
185
|
+
"blueprint-600": $blueprint-600,
|
186
|
+
"blueprint-700": $blueprint-700,
|
187
|
+
"blueprint-800": $blueprint-800,
|
188
|
+
"blueprint-900": $blueprint-900
|
189
|
+
);
|
190
|
+
|
191
|
+
$entryways: (
|
192
|
+
"entryway-100": $entryway-100,
|
193
|
+
"entryway-200": $entryway-200,
|
194
|
+
"entryway-300": $entryway-300,
|
195
|
+
"entryway-400": $entryway-400,
|
196
|
+
"entryway-450": $entryway-450,
|
197
|
+
"entryway-500": $entryway-500,
|
198
|
+
"entryway-600": $entryway-600,
|
199
|
+
"entryway-700": $entryway-700,
|
200
|
+
"entryway-800": $entryway-800,
|
201
|
+
"entryway-900": $entryway-900
|
202
|
+
);
|
203
|
+
|
204
|
+
$sunglows: (
|
205
|
+
"sunglow-100": $sunglow-100,
|
206
|
+
"sunglow-200": $sunglow-200,
|
207
|
+
"sunglow-300": $sunglow-300,
|
208
|
+
"sunglow-400": $sunglow-400,
|
209
|
+
"sunglow-450": $sunglow-450,
|
210
|
+
"sunglow-500": $sunglow-500,
|
211
|
+
"sunglow-600": $sunglow-600,
|
212
|
+
"sunglow-700": $sunglow-700,
|
213
|
+
"sunglow-800": $sunglow-800,
|
214
|
+
"sunglow-900": $sunglow-900
|
215
|
+
);
|
216
|
+
|
217
|
+
$warnings: (
|
218
|
+
"warning-100": $sunglow-100,
|
219
|
+
"warning-200": $sunglow-200,
|
220
|
+
"warning-300": $sunglow-300,
|
221
|
+
"warning-400": $sunglow-400,
|
222
|
+
"warning-450": $sunglow-450,
|
223
|
+
"warning-500": $sunglow-500,
|
224
|
+
"warning-600": $sunglow-600,
|
225
|
+
"warning-700": $sunglow-700,
|
226
|
+
"warning-800": $sunglow-800,
|
227
|
+
"warning-900": $sunglow-900
|
228
|
+
);
|
229
|
+
|
230
|
+
$turnkeys: (
|
231
|
+
"turnkey-100": $turnkey-100,
|
232
|
+
"turnkey-200": $turnkey-200,
|
233
|
+
"turnkey-300": $turnkey-300,
|
234
|
+
"turnkey-400": $turnkey-400,
|
235
|
+
"turnkey-450": $turnkey-450,
|
236
|
+
"turnkey-500": $turnkey-500,
|
237
|
+
"turnkey-600": $turnkey-600,
|
238
|
+
"turnkey-700": $turnkey-700,
|
239
|
+
"turnkey-800": $turnkey-800,
|
240
|
+
"turnkey-900": $turnkey-900
|
241
|
+
);
|
242
|
+
|
243
|
+
$dangers: (
|
244
|
+
"danger-25": $danger-25,
|
245
|
+
"danger-100": $danger-100,
|
246
|
+
"danger-200": $danger-200,
|
247
|
+
"danger-300": $danger-300,
|
248
|
+
"danger-400": $danger-400,
|
249
|
+
"danger-450": $danger-450,
|
250
|
+
"danger-500": $danger-500,
|
251
|
+
"danger-600": $danger-600,
|
252
|
+
"danger-700": $danger-700,
|
253
|
+
"danger-800": $danger-800,
|
254
|
+
"danger-900": $danger-900
|
255
|
+
);
|
256
|
+
|
257
|
+
$successs: (
|
258
|
+
"success-25": $success-25,
|
259
|
+
"success-100": $success-100,
|
260
|
+
"success-200": $success-200,
|
261
|
+
"success-300": $success-300,
|
262
|
+
"success-400": $success-400,
|
263
|
+
"success-450": $success-450,
|
264
|
+
"success-500": $success-500,
|
265
|
+
"success-600": $success-600,
|
266
|
+
"success-700": $success-700,
|
267
|
+
"success-800": $success-800,
|
268
|
+
"success-900": $success-900,
|
269
|
+
);
|
270
|
+
|
271
|
+
$primary: $blueprint;
|
272
|
+
$secondary: $entryway;
|
273
|
+
$tertiary: $skylight;
|
274
|
+
$success: $green;
|
275
|
+
$action: $turnkey;
|
276
|
+
$warning: $sunglow;
|
277
|
+
$danger: $red;
|
278
|
+
$light: $white;
|
279
|
+
$dark: $gray-900;
|
280
|
+
|
281
|
+
$theme-colors: (
|
282
|
+
"primary": $primary,
|
283
|
+
"secondary": $secondary,
|
284
|
+
"tertiary": $tertiary,
|
285
|
+
"success": $success,
|
286
|
+
"action": $action,
|
287
|
+
"warning": $warning,
|
288
|
+
"danger": $danger,
|
289
|
+
"light": $light,
|
290
|
+
"dark": $dark,
|
291
|
+
);
|
292
|
+
|
293
|
+
// scss-docs-start theme-text-variables
|
294
|
+
$tertiary-text-emphasis: shade-color($tertiary, 60%);
|
295
|
+
$action-text-emphasis: shade-color($action, 60%);
|
296
|
+
// scss-docs-end theme-text-variables
|
297
|
+
|
298
|
+
// scss-docs-start theme-bg-subtle-variables
|
299
|
+
$tertiary-bg-subtle: tint-color($tertiary, 0%);
|
300
|
+
$action-bg-subtle: tint-color($action, 80%);
|
301
|
+
// scss-docs-end theme-bg-subtle-variables
|
302
|
+
|
303
|
+
// scss-docs-start theme-border-subtle-variables
|
304
|
+
$tertiary-border-subtle: tint-color($tertiary, 60%);
|
305
|
+
$action-border-subtle: tint-color($action, 60%);
|
306
|
+
// scss-docs-end theme-border-subtle-variables
|
307
|
+
|
308
|
+
|
309
|
+
// Body
|
310
|
+
$body-color: $gray-900;
|
311
|
+
|
312
|
+
// Grid breakpoints
|
313
|
+
$grid-breakpoints: (
|
314
|
+
xs: 0,
|
315
|
+
sm: 576px,
|
316
|
+
md: 768px,
|
317
|
+
lg: 992px,
|
318
|
+
xl: 1200px,
|
319
|
+
xxl: 1400px,
|
320
|
+
xxxl: 1600px
|
321
|
+
);
|
322
|
+
|
323
|
+
// Grid containers
|
324
|
+
$container-max-widths: (
|
325
|
+
xs: 100%,
|
326
|
+
sm: 540px,
|
327
|
+
md: 720px,
|
328
|
+
lg: 960px,
|
329
|
+
xl: 1140px,
|
330
|
+
xxl: 1320px,
|
331
|
+
xxxl: 1510px
|
332
|
+
);
|
333
|
+
|
334
|
+
// Body
|
335
|
+
$body-color: $foundation-500;
|
336
|
+
|
337
|
+
// Headings
|
338
|
+
$headings-color: $foundation-500;
|
339
|
+
$headings-font-family: "Neulis Neue";
|
340
|
+
$headings-font-weight: $font-weight-medium;
|
341
|
+
|
342
|
+
// Display Headings
|
343
|
+
$display-font-family: "Neulis Neue";
|
344
|
+
$display-font-weight: $font-weight-medium;
|
345
|
+
$display-line-height: 1.1 !default;
|
346
|
+
|
347
|
+
$font-sizes: (
|
348
|
+
1: $font-size-base * 1.25,
|
349
|
+
2: $font-size-base * 1.125,
|
350
|
+
3: $font-size-base,
|
351
|
+
4: $font-size-base * .875,
|
352
|
+
5: $font-size-base * .75,
|
353
|
+
6: $font-size-base * .625,
|
354
|
+
);
|
355
|
+
|
356
|
+
// Tables
|
357
|
+
$table-bg-scale: -80% !default;
|
358
|
+
|
359
|
+
$table-variants: (
|
360
|
+
"primary": shift-color($primary, $table-bg-scale),
|
361
|
+
"secondary": shift-color($secondary, $table-bg-scale),
|
362
|
+
"tertiary": shift-color($tertiary, $table-bg-scale),
|
363
|
+
"action": shift-color($action, $table-bg-scale),
|
364
|
+
"success": shift-color($success, $table-bg-scale),
|
365
|
+
"warning": shift-color($warning, $table-bg-scale),
|
366
|
+
"danger": shift-color($danger, $table-bg-scale),
|
367
|
+
"light": $light,
|
368
|
+
"dark": $dark,
|
369
|
+
);
|
370
|
+
|
371
|
+
// Borders
|
372
|
+
$border-width: 2px;
|
373
|
+
|
374
|
+
// Buttons + Forms
|
375
|
+
$input-btn-border-width: .125rem;
|
376
|
+
|
377
|
+
// Buttons
|
378
|
+
$btn-hover-bg-shade-amount: 20%;
|
379
|
+
$btn-hover-bg-tint-amount: 10%;
|
380
|
+
$btn-hover-border-shade-amount: 20%;
|
381
|
+
$btn-hover-border-tint-amount: 10%;
|
382
|
+
$btn-active-bg-shade-amount: 40%;
|
383
|
+
$btn-active-bg-tint-amount: 20%;
|
384
|
+
$btn-active-border-shade-amount: 40%;
|
385
|
+
$btn-active-border-tint-amount: 10%;
|
386
|
+
|
387
|
+
// Border Radius
|
388
|
+
$border-radius: .5rem;
|
389
|
+
$border-radius-sm: .375rem;
|
390
|
+
$border-radius-lg: .625rem;
|
391
|
+
$border-radius-xl: 1rem;
|
392
|
+
$border-radius-xxl: 1.5rem;
|
393
|
+
|
394
|
+
$blockquote-font-size: $font-size-base * 3.5;
|
395
|
+
|
396
|
+
// Accordion
|
397
|
+
$accordion-border-radius: var(--#{$prefix}border-radius-sm);
|
398
|
+
$accordion-inner-border-radius: subtract($accordion-border-radius, $accordion-border-width);
|
399
|
+
$accordion-button-active-bg: var(--#{$prefix}primary);
|
400
|
+
$accordion-button-active-color: var(--#{$prefix}light);
|
401
|
+
$accordion-icon-active-color: $light;
|
402
|
+
$accordion-button-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='#{$accordion-icon-color}'><path d='M11.1,18.3c0.5,0.5,1.4,0.5,1.9,0L23.6,7.6c0.5-0.5,0.5-1.4,0-1.9c-0.5-0.5-1.4-0.5-1.9,0L12,15.5L2.3,5.7c-0.5-0.5-1.4-0.5-1.9,0s-0.5,1.4,0,1.9L11.1,18.3z'/></svg>");
|
403
|
+
$accordion-button-active-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='#{$accordion-icon-active-color}'><path d='M11.1,18.3c0.5,0.5,1.4,0.5,1.9,0L23.6,7.6c0.5-0.5,0.5-1.4,0-1.9c-0.5-0.5-1.4-0.5-1.9,0L12,15.5L2.3,5.7c-0.5-0.5-1.4-0.5-1.9,0s-0.5,1.4,0,1.9L11.1,18.3z'/></svg>");
|
404
|
+
$accordion-button-focus-box-shadow: none;
|
405
|
+
|
406
|
+
// Badges
|
407
|
+
$badge-font-size: .9375em;
|
408
|
+
$badge-border-radius: var(--#{$prefix}border-radius-pill);
|
409
|
+
|
410
|
+
// Carousel
|
411
|
+
$carousel-control-color: $black;
|
412
|
+
$carousel-control-icon-width: .75rem;
|
413
|
+
$carousel-indicator-width: 6px;
|
414
|
+
$carousel-indicator-height: 6px;
|
415
|
+
$carousel-indicator-active-bg: $foundation-500;
|
416
|
+
$carousel-control-prev-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='#{$carousel-control-color}'><path d='M0.251787 5.38204C-0.083034 5.72383 -0.083034 6.27891 0.251787 6.62071L4.5375 10.9957C4.87232 11.3375 5.41607 11.3375 5.75089 10.9957C6.08572 10.6539 6.08572 10.0988 5.75089 9.75704L2.925 6.87501H11.1429C11.617 6.87501 12 6.48399 12 6.00001C12 5.51602 11.617 5.12501 11.1429 5.12501H2.92768L5.74822 2.24297C6.08304 1.90118 6.08304 1.3461 5.74822 1.0043C5.41339 0.662506 4.86964 0.662506 4.53482 1.0043L0.249109 5.3793L0.251787 5.38204Z'/></svg>");
|
417
|
+
$carousel-control-next-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='#{$carousel-control-color}'><path d='M11.7482 5.87002C12.083 5.52822 12.083 4.97314 11.7482 4.63135L7.4625 0.256348C7.12768 -0.0854492 6.58393 -0.0854492 6.24911 0.256348C5.91429 0.598145 5.91429 1.15322 6.24911 1.49502L9.075 4.37705H0.857143C0.383036 4.37705 0 4.76807 0 5.25205C0 5.73604 0.383036 6.12705 0.857143 6.12705H9.07232L6.25179 9.00908C5.91696 9.35088 5.91696 9.90596 6.25179 10.2478C6.58661 10.5896 7.13036 10.5896 7.46518 10.2478L11.7509 5.87275L11.7482 5.87002Z'/></svg>");
|
@@ -0,0 +1,33 @@
|
|
1
|
+
@import "./variables-overrides";
|
2
|
+
|
3
|
+
// scss-docs-start type-variables
|
4
|
+
$blockquote-font-family: "STIXTwoText";
|
5
|
+
// scss-docs-end type-variables
|
6
|
+
|
7
|
+
// scss-docs-start border-radius-variables
|
8
|
+
$border-radius-xs: rfs-value(4px);
|
9
|
+
|
10
|
+
// scss-docs-end border-radius-variables
|
11
|
+
|
12
|
+
// Accordion
|
13
|
+
|
14
|
+
// scss-docs-start accordion-variables
|
15
|
+
$accordion-alt-bg: $gray-50;
|
16
|
+
$accordion-alt-border-width: 0;
|
17
|
+
$accordion-alt-button-bg: $gray-50;
|
18
|
+
$accordion-alt-icon-width: 1.375rem;
|
19
|
+
$accordion-alt-border-radius: var(--#{$prefix}border-radius-lg);
|
20
|
+
$accordion-alt-button-active-color: var(--#{$prefix}primary-text-emphasis);
|
21
|
+
$accordion-alt-button-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='#{$accordion-icon-color}'><path d='M12.6923 1.69231C12.6923 0.75625 11.9361 0 11 0C10.0639 0 9.30769 0.75625 9.30769 1.69231V9.30769H1.69231C0.75625 9.30769 0 10.0639 0 11C0 11.9361 0.75625 12.6923 1.69231 12.6923H9.30769V20.3077C9.30769 21.2438 10.0639 22 11 22C11.9361 22 12.6923 21.2438 12.6923 20.3077V12.6923H20.3077C21.2438 12.6923 22 11.9361 22 11C22 10.0639 21.2438 9.30769 20.3077 9.30769H12.6923V1.69231Z'/></svg>");
|
22
|
+
$accordion-alt-button-active-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 25' fill='#{$accordion-icon-color}'><path d='M21.2143 12.5C21.2143 13.3643 20.512 14.0625 19.6428 14.0625H2.35713C1.48794 14.0625 0.785706 13.3643 0.785706 12.5C0.785706 11.6357 1.48794 10.9375 2.35713 10.9375H19.6428C20.512 10.9375 21.2143 11.6357 21.2143 12.5Z'/></svg>");
|
23
|
+
// scss-docs-end accordion-variables
|
24
|
+
|
25
|
+
|
26
|
+
// Badges
|
27
|
+
|
28
|
+
// scss-docs-start badge-variables
|
29
|
+
$badge-font-size-sm: .75em;
|
30
|
+
$badge-font-size-lg: 1.125em;
|
31
|
+
$badge-dot-padding: .5em;
|
32
|
+
$badge-dot-size: 1rem;
|
33
|
+
// scss-docs-end badge-variables
|
@@ -0,0 +1,55 @@
|
|
1
|
+
// scss-docs-start btn-variant-mixin
|
2
|
+
@mixin button-variant(
|
3
|
+
$background,
|
4
|
+
$border,
|
5
|
+
$color: color-contrast($background),
|
6
|
+
$hover-background: if($color == $color-contrast-light, shade-color($background, $btn-hover-bg-shade-amount), tint-color($background, $btn-hover-bg-tint-amount)),
|
7
|
+
$hover-border: if($color == $color-contrast-light, shade-color($border, $btn-hover-border-shade-amount), tint-color($border, $btn-hover-border-tint-amount)),
|
8
|
+
$hover-color: color-contrast($hover-background),
|
9
|
+
$active-background: if($color == $color-contrast-light, shade-color($background, $btn-active-bg-shade-amount), tint-color($background, $btn-active-bg-tint-amount)),
|
10
|
+
$active-border: if($color == $color-contrast-light, shade-color($border, $btn-active-border-shade-amount), tint-color($border, $btn-active-border-tint-amount)),
|
11
|
+
$active-color: color-contrast($active-background),
|
12
|
+
$disabled-background: rgba($background, 1),
|
13
|
+
$disabled-border: rgba($border, 1),
|
14
|
+
$disabled-color: color-contrast($disabled-background)
|
15
|
+
) {
|
16
|
+
--#{$prefix}btn-color: #{$color};
|
17
|
+
--#{$prefix}btn-bg: #{$background};
|
18
|
+
--#{$prefix}btn-border-color: #{$border};
|
19
|
+
--#{$prefix}btn-hover-color: #{$hover-color};
|
20
|
+
--#{$prefix}btn-hover-bg: #{$hover-background};
|
21
|
+
--#{$prefix}btn-hover-border-color: #{$hover-border};
|
22
|
+
--#{$prefix}btn-focus-shadow-rgb: #{to-rgb(mix($color, $border, 15%))};
|
23
|
+
--#{$prefix}btn-active-color: #{$active-color};
|
24
|
+
--#{$prefix}btn-active-bg: #{$active-background};
|
25
|
+
--#{$prefix}btn-active-border-color: #{$active-border};
|
26
|
+
--#{$prefix}btn-active-shadow: #{$btn-active-box-shadow};
|
27
|
+
--#{$prefix}btn-disabled-color: #{$disabled-color};
|
28
|
+
--#{$prefix}btn-disabled-bg: #{$disabled-background};
|
29
|
+
--#{$prefix}btn-disabled-border-color: #{$disabled-border};
|
30
|
+
}
|
31
|
+
// scss-docs-end btn-variant-mixin
|
32
|
+
|
33
|
+
@mixin button-link-variant(
|
34
|
+
$color,
|
35
|
+
$hover-background: tint-color($color, 90%),
|
36
|
+
$active-background: shade-color($color, 20%),
|
37
|
+
$active-border: $color,
|
38
|
+
$active-color: $white,
|
39
|
+
$disabled-color: $gray-300
|
40
|
+
) {
|
41
|
+
--#{$prefix}btn-color: #{$color};
|
42
|
+
--#{$prefix}btn-bg: transparent;
|
43
|
+
--#{$prefix}btn-border-color: transparent;
|
44
|
+
--#{$prefix}btn-hover-color: #{$color};
|
45
|
+
--#{$prefix}btn-hover-bg: #{$hover-background};
|
46
|
+
--#{$prefix}btn-hover-border-color: transparent;
|
47
|
+
--#{$prefix}btn-active-bg: #{$active-background};
|
48
|
+
--#{$prefix}btn-active-color: #{$active-color};
|
49
|
+
--#{$prefix}btn-active-border-color: transparent;
|
50
|
+
--#{$prefix}btn-disabled-bg: transparent;
|
51
|
+
--#{$prefix}btn-disabled-color: #{$disabled-color};
|
52
|
+
--#{$prefix}btn-disabled-border-color: transparent;
|
53
|
+
--#{$prefix}btn-focus-shadow-rgb: #{to-rgb(mix(color-contrast($primary), $primary, 15%))};
|
54
|
+
text-decoration: none;
|
55
|
+
}
|