ldc-cocotte/resources/sass/fo/utilities/_bootstrap-variables.scss
Jérémy Munsch b31602b040
feat(faq): implement accordion for FAQ section
Enhances the FAQ page by replacing the list with an accordion component for better user experience.
2026-10-28 12:18:54 +01:00

72 lines
2.1 KiB
SCSS

@use 'sass:map';
$primary: $color-primary;
$secondary: $color-secondary;
$tertiary: $color-tertiary;
$success: $color-success;
$info: $color-info;
$warning: $color-warning;
$danger: $color-danger;
$light: $color-light;
$dark: $color-dark;
$custom-theme-colors: (
primary: $primary,
secondary: $secondary,
tertiary: $tertiary,
success: $success,
info: $info,
warning: $warning,
danger: $danger,
light: $light,
dark: $dark
);
$enable-shadows: true;
$min-contrast-ratio: 4.5;
$color-contrast-dark: $dark;
$color-contrast-light: $color-white;
$link-color: $dark;
$link-decoration: underline;
$link-hover-color: tint-color($color-dark, 20%);
$position-values: (
0: 0,
15: 15%,
25: 25%,
33: 33%,
50: 50%,
66: 66%,
75: 75%,
85: 85%,
100: 100%
);
$targets: (
'w' ('width') (0:0%, 8:8rem, 25:25%, 50:50%, 75:75%, 100:100%, auto:auto, fit:fit-content),
'h' ('height') (0:0%, 25:25%, 50:50%, 75:75%, 100:100%, auto:auto, fit:fit-content),
'opacity' ('opacity') (0:0, 25:0.25, 50:0.5, 75:0.75, 100:1),
'position' ('position') (relative:relative, absolute:absolute, fixed:fixed, sticky:sticky),
'text' ('text') (center:center, start:left, end:right),
'd' ('display') (block:block, flex:flex, table-header-group:table-header-group, table-cell:table-cell, none:none)
);
// * CARDS
$card-bg: $color-white;
$card-border-color: rgba($dark, 0.05);
$card-box-shadow: 0 0.25rem 0.75rem rgba($dark, 0.08);
// * BORDER RADIUS
$btn-border-radius: 1rem !default;
$btn-border-radius-sm: 0.5rem !default;
$btn-border-radius-lg: 1.5rem !default;
$input-border-radius: $btn-border-radius;
$input-border-radius-sm: $btn-border-radius-sm;
$input-border-radius-lg: $btn-border-radius-lg;
// * FORMS
$form-file-button-bg: var(--bs-secondary-bg, #e9ecef);
$form-file-button-color: var(--bs-body-color, #212529);
$form-file-button-hover-bg: var(--bs-secondary-bg, #e9ecef);
$form-file-button-hover-color: var(--bs-body-color, #212529);
// * ACCORDION
$accordion-color: var(--bs-body-color);
$accordion-button-active-bg: var(--bs-primary);
$accordion-button-active-color: var(--bs-light-text);