2014-12-02 23:02:35 +01:00
|
|
|
// Variables
|
2015-03-09 15:18:25 +01:00
|
|
|
//
|
2017-06-13 17:25:55 +02:00
|
|
|
// Variables should follow the `$component-state-property-size` formula for
|
2017-06-13 17:25:18 +02:00
|
|
|
// consistent naming. Ex: $nav-link-disabled-color and $modal-content-box-shadow-xs.
|
2015-08-11 08:38:41 +02:00
|
|
|
|
2017-06-30 08:17:18 +02:00
|
|
|
// Color system
|
2017-06-15 20:16:27 +02:00
|
|
|
|
2021-01-16 23:06:19 +01:00
|
|
|
// scss-docs-start gray-color-variables
|
2017-10-04 13:02:35 +02:00
|
|
|
$white: #fff !default;
|
2017-06-15 20:16:27 +02:00
|
|
|
$gray-100: #f8f9fa !default;
|
|
|
|
$gray-200: #e9ecef !default;
|
|
|
|
$gray-300: #dee2e6 !default;
|
|
|
|
$gray-400: #ced4da !default;
|
|
|
|
$gray-500: #adb5bd !default;
|
2017-12-29 22:03:35 +01:00
|
|
|
$gray-600: #6c757d !default;
|
2017-06-15 20:16:27 +02:00
|
|
|
$gray-700: #495057 !default;
|
|
|
|
$gray-800: #343a40 !default;
|
|
|
|
$gray-900: #212529 !default;
|
2017-10-04 13:02:35 +02:00
|
|
|
$black: #000 !default;
|
2021-01-16 23:06:19 +01:00
|
|
|
// scss-docs-end gray-color-variables
|
2017-06-15 20:16:27 +02:00
|
|
|
|
2020-02-15 14:41:59 +01:00
|
|
|
// fusv-disable
|
2021-01-16 23:06:19 +01:00
|
|
|
// scss-docs-start gray-colors-map
|
2020-02-15 14:41:59 +01:00
|
|
|
$grays: (
|
|
|
|
"100": $gray-100,
|
|
|
|
"200": $gray-200,
|
|
|
|
"300": $gray-300,
|
|
|
|
"400": $gray-400,
|
|
|
|
"500": $gray-500,
|
|
|
|
"600": $gray-600,
|
|
|
|
"700": $gray-700,
|
|
|
|
"800": $gray-800,
|
|
|
|
"900": $gray-900
|
|
|
|
) !default;
|
2021-01-16 23:06:19 +01:00
|
|
|
// scss-docs-end gray-colors-map
|
2020-02-15 14:41:59 +01:00
|
|
|
// fusv-enable
|
2018-06-01 17:00:36 +02:00
|
|
|
|
2021-01-16 23:06:19 +01:00
|
|
|
// scss-docs-start color-variables
|
2019-09-27 08:01:36 +02:00
|
|
|
$blue: #0d6efd !default;
|
2017-06-26 03:08:43 +02:00
|
|
|
$indigo: #6610f2 !default;
|
|
|
|
$purple: #6f42c1 !default;
|
2019-09-27 08:01:36 +02:00
|
|
|
$pink: #d63384 !default;
|
2017-06-26 03:08:43 +02:00
|
|
|
$red: #dc3545 !default;
|
|
|
|
$orange: #fd7e14 !default;
|
|
|
|
$yellow: #ffc107 !default;
|
2020-07-13 20:23:38 +02:00
|
|
|
$green: #198754 !default;
|
2017-06-26 03:08:43 +02:00
|
|
|
$teal: #20c997 !default;
|
2020-07-13 20:23:38 +02:00
|
|
|
$cyan: #0dcaf0 !default;
|
2021-01-16 23:06:19 +01:00
|
|
|
// scss-docs-end color-variables
|
2017-06-15 20:16:27 +02:00
|
|
|
|
2020-04-14 20:04:16 +02:00
|
|
|
// scss-docs-start colors-map
|
2020-02-15 14:41:59 +01:00
|
|
|
$colors: (
|
|
|
|
"blue": $blue,
|
|
|
|
"indigo": $indigo,
|
|
|
|
"purple": $purple,
|
|
|
|
"pink": $pink,
|
|
|
|
"red": $red,
|
|
|
|
"orange": $orange,
|
|
|
|
"yellow": $yellow,
|
|
|
|
"green": $green,
|
|
|
|
"teal": $teal,
|
|
|
|
"cyan": $cyan,
|
2022-01-10 19:11:11 +01:00
|
|
|
"black": $black,
|
2020-02-15 14:41:59 +01:00
|
|
|
"white": $white,
|
|
|
|
"gray": $gray-600,
|
|
|
|
"gray-dark": $gray-800
|
|
|
|
) !default;
|
2020-04-14 20:04:16 +02:00
|
|
|
// scss-docs-end colors-map
|
2017-06-15 20:16:27 +02:00
|
|
|
|
2020-03-23 18:03:56 +01:00
|
|
|
// The contrast ratio to reach against white, to determine if color changes from "light" to "dark". Acceptable values for WCAG 2.0 are 3, 4.5 and 7.
|
|
|
|
// See https://www.w3.org/TR/WCAG20/#visual-audio-contrast-contrast
|
2020-07-13 20:23:38 +02:00
|
|
|
$min-contrast-ratio: 4.5 !default;
|
2017-12-02 04:26:10 +01:00
|
|
|
|
2020-03-23 18:03:56 +01:00
|
|
|
// Customize the light and dark text colors for use in our color contrast function.
|
2020-07-13 20:23:38 +02:00
|
|
|
$color-contrast-dark: $black !default;
|
2020-03-23 18:03:56 +01:00
|
|
|
$color-contrast-light: $white !default;
|
2017-10-19 06:06:13 +02:00
|
|
|
|
2019-10-18 20:04:27 +02:00
|
|
|
// fusv-disable
|
2020-10-13 09:58:06 +02:00
|
|
|
$blue-100: tint-color($blue, 80%) !default;
|
|
|
|
$blue-200: tint-color($blue, 60%) !default;
|
|
|
|
$blue-300: tint-color($blue, 40%) !default;
|
|
|
|
$blue-400: tint-color($blue, 20%) !default;
|
2019-10-18 20:04:27 +02:00
|
|
|
$blue-500: $blue !default;
|
2020-10-13 09:58:06 +02:00
|
|
|
$blue-600: shade-color($blue, 20%) !default;
|
|
|
|
$blue-700: shade-color($blue, 40%) !default;
|
|
|
|
$blue-800: shade-color($blue, 60%) !default;
|
|
|
|
$blue-900: shade-color($blue, 80%) !default;
|
|
|
|
|
|
|
|
$indigo-100: tint-color($indigo, 80%) !default;
|
|
|
|
$indigo-200: tint-color($indigo, 60%) !default;
|
|
|
|
$indigo-300: tint-color($indigo, 40%) !default;
|
|
|
|
$indigo-400: tint-color($indigo, 20%) !default;
|
2019-10-18 20:04:27 +02:00
|
|
|
$indigo-500: $indigo !default;
|
2020-10-13 09:58:06 +02:00
|
|
|
$indigo-600: shade-color($indigo, 20%) !default;
|
|
|
|
$indigo-700: shade-color($indigo, 40%) !default;
|
|
|
|
$indigo-800: shade-color($indigo, 60%) !default;
|
|
|
|
$indigo-900: shade-color($indigo, 80%) !default;
|
|
|
|
|
|
|
|
$purple-100: tint-color($purple, 80%) !default;
|
|
|
|
$purple-200: tint-color($purple, 60%) !default;
|
|
|
|
$purple-300: tint-color($purple, 40%) !default;
|
|
|
|
$purple-400: tint-color($purple, 20%) !default;
|
2019-10-18 20:04:27 +02:00
|
|
|
$purple-500: $purple !default;
|
2020-10-13 09:58:06 +02:00
|
|
|
$purple-600: shade-color($purple, 20%) !default;
|
|
|
|
$purple-700: shade-color($purple, 40%) !default;
|
|
|
|
$purple-800: shade-color($purple, 60%) !default;
|
|
|
|
$purple-900: shade-color($purple, 80%) !default;
|
|
|
|
|
|
|
|
$pink-100: tint-color($pink, 80%) !default;
|
|
|
|
$pink-200: tint-color($pink, 60%) !default;
|
|
|
|
$pink-300: tint-color($pink, 40%) !default;
|
|
|
|
$pink-400: tint-color($pink, 20%) !default;
|
2019-10-18 20:04:27 +02:00
|
|
|
$pink-500: $pink !default;
|
2020-10-13 09:58:06 +02:00
|
|
|
$pink-600: shade-color($pink, 20%) !default;
|
|
|
|
$pink-700: shade-color($pink, 40%) !default;
|
|
|
|
$pink-800: shade-color($pink, 60%) !default;
|
|
|
|
$pink-900: shade-color($pink, 80%) !default;
|
|
|
|
|
|
|
|
$red-100: tint-color($red, 80%) !default;
|
|
|
|
$red-200: tint-color($red, 60%) !default;
|
|
|
|
$red-300: tint-color($red, 40%) !default;
|
|
|
|
$red-400: tint-color($red, 20%) !default;
|
2019-10-18 20:04:27 +02:00
|
|
|
$red-500: $red !default;
|
2020-10-13 09:58:06 +02:00
|
|
|
$red-600: shade-color($red, 20%) !default;
|
|
|
|
$red-700: shade-color($red, 40%) !default;
|
|
|
|
$red-800: shade-color($red, 60%) !default;
|
|
|
|
$red-900: shade-color($red, 80%) !default;
|
|
|
|
|
|
|
|
$orange-100: tint-color($orange, 80%) !default;
|
|
|
|
$orange-200: tint-color($orange, 60%) !default;
|
|
|
|
$orange-300: tint-color($orange, 40%) !default;
|
|
|
|
$orange-400: tint-color($orange, 20%) !default;
|
2019-10-18 20:04:27 +02:00
|
|
|
$orange-500: $orange !default;
|
2020-10-13 09:58:06 +02:00
|
|
|
$orange-600: shade-color($orange, 20%) !default;
|
|
|
|
$orange-700: shade-color($orange, 40%) !default;
|
|
|
|
$orange-800: shade-color($orange, 60%) !default;
|
|
|
|
$orange-900: shade-color($orange, 80%) !default;
|
|
|
|
|
|
|
|
$yellow-100: tint-color($yellow, 80%) !default;
|
|
|
|
$yellow-200: tint-color($yellow, 60%) !default;
|
|
|
|
$yellow-300: tint-color($yellow, 40%) !default;
|
|
|
|
$yellow-400: tint-color($yellow, 20%) !default;
|
2019-10-18 20:04:27 +02:00
|
|
|
$yellow-500: $yellow !default;
|
2020-10-13 09:58:06 +02:00
|
|
|
$yellow-600: shade-color($yellow, 20%) !default;
|
|
|
|
$yellow-700: shade-color($yellow, 40%) !default;
|
|
|
|
$yellow-800: shade-color($yellow, 60%) !default;
|
|
|
|
$yellow-900: shade-color($yellow, 80%) !default;
|
|
|
|
|
|
|
|
$green-100: tint-color($green, 80%) !default;
|
|
|
|
$green-200: tint-color($green, 60%) !default;
|
|
|
|
$green-300: tint-color($green, 40%) !default;
|
|
|
|
$green-400: tint-color($green, 20%) !default;
|
2019-10-18 20:04:27 +02:00
|
|
|
$green-500: $green !default;
|
2020-10-13 09:58:06 +02:00
|
|
|
$green-600: shade-color($green, 20%) !default;
|
|
|
|
$green-700: shade-color($green, 40%) !default;
|
|
|
|
$green-800: shade-color($green, 60%) !default;
|
|
|
|
$green-900: shade-color($green, 80%) !default;
|
|
|
|
|
|
|
|
$teal-100: tint-color($teal, 80%) !default;
|
|
|
|
$teal-200: tint-color($teal, 60%) !default;
|
|
|
|
$teal-300: tint-color($teal, 40%) !default;
|
|
|
|
$teal-400: tint-color($teal, 20%) !default;
|
2019-10-18 20:04:27 +02:00
|
|
|
$teal-500: $teal !default;
|
2020-10-13 09:58:06 +02:00
|
|
|
$teal-600: shade-color($teal, 20%) !default;
|
|
|
|
$teal-700: shade-color($teal, 40%) !default;
|
|
|
|
$teal-800: shade-color($teal, 60%) !default;
|
|
|
|
$teal-900: shade-color($teal, 80%) !default;
|
|
|
|
|
|
|
|
$cyan-100: tint-color($cyan, 80%) !default;
|
|
|
|
$cyan-200: tint-color($cyan, 60%) !default;
|
|
|
|
$cyan-300: tint-color($cyan, 40%) !default;
|
|
|
|
$cyan-400: tint-color($cyan, 20%) !default;
|
2019-10-18 20:04:27 +02:00
|
|
|
$cyan-500: $cyan !default;
|
2020-10-13 09:58:06 +02:00
|
|
|
$cyan-600: shade-color($cyan, 20%) !default;
|
|
|
|
$cyan-700: shade-color($cyan, 40%) !default;
|
|
|
|
$cyan-800: shade-color($cyan, 60%) !default;
|
|
|
|
$cyan-900: shade-color($cyan, 80%) !default;
|
2021-07-06 23:31:20 +02:00
|
|
|
|
|
|
|
$blues: (
|
|
|
|
"blue-100": $blue-100,
|
|
|
|
"blue-200": $blue-200,
|
|
|
|
"blue-300": $blue-300,
|
|
|
|
"blue-400": $blue-400,
|
|
|
|
"blue-500": $blue-500,
|
|
|
|
"blue-600": $blue-600,
|
|
|
|
"blue-700": $blue-700,
|
|
|
|
"blue-800": $blue-800,
|
|
|
|
"blue-900": $blue-900
|
|
|
|
) !default;
|
|
|
|
|
|
|
|
$indigos: (
|
|
|
|
"indigo-100": $indigo-100,
|
|
|
|
"indigo-200": $indigo-200,
|
|
|
|
"indigo-300": $indigo-300,
|
|
|
|
"indigo-400": $indigo-400,
|
|
|
|
"indigo-500": $indigo-500,
|
|
|
|
"indigo-600": $indigo-600,
|
|
|
|
"indigo-700": $indigo-700,
|
|
|
|
"indigo-800": $indigo-800,
|
|
|
|
"indigo-900": $indigo-900
|
|
|
|
) !default;
|
|
|
|
|
|
|
|
$purples: (
|
2021-12-07 11:34:16 +01:00
|
|
|
"purple-100": $purple-100,
|
|
|
|
"purple-200": $purple-200,
|
2021-07-06 23:31:20 +02:00
|
|
|
"purple-300": $purple-300,
|
|
|
|
"purple-400": $purple-400,
|
|
|
|
"purple-500": $purple-500,
|
|
|
|
"purple-600": $purple-600,
|
|
|
|
"purple-700": $purple-700,
|
|
|
|
"purple-800": $purple-800,
|
|
|
|
"purple-900": $purple-900
|
|
|
|
) !default;
|
|
|
|
|
|
|
|
$pinks: (
|
|
|
|
"pink-100": $pink-100,
|
|
|
|
"pink-200": $pink-200,
|
|
|
|
"pink-300": $pink-300,
|
|
|
|
"pink-400": $pink-400,
|
|
|
|
"pink-500": $pink-500,
|
|
|
|
"pink-600": $pink-600,
|
|
|
|
"pink-700": $pink-700,
|
|
|
|
"pink-800": $pink-800,
|
|
|
|
"pink-900": $pink-900
|
|
|
|
) !default;
|
|
|
|
|
|
|
|
$reds: (
|
|
|
|
"red-100": $red-100,
|
|
|
|
"red-200": $red-200,
|
|
|
|
"red-300": $red-300,
|
|
|
|
"red-400": $red-400,
|
|
|
|
"red-500": $red-500,
|
|
|
|
"red-600": $red-600,
|
|
|
|
"red-700": $red-700,
|
|
|
|
"red-800": $red-800,
|
|
|
|
"red-900": $red-900
|
|
|
|
) !default;
|
|
|
|
|
|
|
|
$oranges: (
|
|
|
|
"orange-100": $orange-100,
|
|
|
|
"orange-200": $orange-200,
|
|
|
|
"orange-300": $orange-300,
|
|
|
|
"orange-400": $orange-400,
|
|
|
|
"orange-500": $orange-500,
|
|
|
|
"orange-600": $orange-600,
|
|
|
|
"orange-700": $orange-700,
|
|
|
|
"orange-800": $orange-800,
|
|
|
|
"orange-900": $orange-900
|
|
|
|
) !default;
|
|
|
|
|
|
|
|
$yellows: (
|
|
|
|
"yellow-100": $yellow-100,
|
|
|
|
"yellow-200": $yellow-200,
|
|
|
|
"yellow-300": $yellow-300,
|
|
|
|
"yellow-400": $yellow-400,
|
|
|
|
"yellow-500": $yellow-500,
|
|
|
|
"yellow-600": $yellow-600,
|
|
|
|
"yellow-700": $yellow-700,
|
|
|
|
"yellow-800": $yellow-800,
|
|
|
|
"yellow-900": $yellow-900
|
|
|
|
) !default;
|
|
|
|
|
|
|
|
$greens: (
|
|
|
|
"green-100": $green-100,
|
|
|
|
"green-200": $green-200,
|
|
|
|
"green-300": $green-300,
|
|
|
|
"green-400": $green-400,
|
|
|
|
"green-500": $green-500,
|
|
|
|
"green-600": $green-600,
|
|
|
|
"green-700": $green-700,
|
|
|
|
"green-800": $green-800,
|
|
|
|
"green-900": $green-900
|
|
|
|
) !default;
|
|
|
|
|
|
|
|
$teals: (
|
|
|
|
"teal-100": $teal-100,
|
|
|
|
"teal-200": $teal-200,
|
|
|
|
"teal-300": $teal-300,
|
|
|
|
"teal-400": $teal-400,
|
|
|
|
"teal-500": $teal-500,
|
|
|
|
"teal-600": $teal-600,
|
|
|
|
"teal-700": $teal-700,
|
|
|
|
"teal-800": $teal-800,
|
|
|
|
"teal-900": $teal-900
|
|
|
|
) !default;
|
|
|
|
|
|
|
|
$cyans: (
|
|
|
|
"cyan-100": $cyan-100,
|
|
|
|
"cyan-200": $cyan-200,
|
|
|
|
"cyan-300": $cyan-300,
|
|
|
|
"cyan-400": $cyan-400,
|
|
|
|
"cyan-500": $cyan-500,
|
|
|
|
"cyan-600": $cyan-600,
|
|
|
|
"cyan-700": $cyan-700,
|
|
|
|
"cyan-800": $cyan-800,
|
|
|
|
"cyan-900": $cyan-900
|
|
|
|
) !default;
|
2019-10-18 20:04:27 +02:00
|
|
|
// fusv-enable
|
|
|
|
|
2021-12-23 13:58:25 +01:00
|
|
|
// scss-docs-start theme-color-variables
|
|
|
|
$primary: $blue !default;
|
|
|
|
$secondary: $gray-600 !default;
|
|
|
|
$success: $green !default;
|
|
|
|
$info: $cyan !default;
|
|
|
|
$warning: $yellow !default;
|
|
|
|
$danger: $red !default;
|
|
|
|
$light: $gray-100 !default;
|
|
|
|
$dark: $gray-900 !default;
|
|
|
|
// scss-docs-end theme-color-variables
|
|
|
|
|
|
|
|
// scss-docs-start theme-colors-map
|
|
|
|
$theme-colors: (
|
|
|
|
"primary": $primary,
|
|
|
|
"secondary": $secondary,
|
|
|
|
"success": $success,
|
|
|
|
"info": $info,
|
|
|
|
"warning": $warning,
|
|
|
|
"danger": $danger,
|
|
|
|
"light": $light,
|
|
|
|
"dark": $dark
|
|
|
|
) !default;
|
|
|
|
// scss-docs-end theme-colors-map
|
|
|
|
|
2023-01-17 03:57:24 +01:00
|
|
|
// scss-docs-start theme-text-variables
|
2023-01-26 03:11:22 +01:00
|
|
|
$primary-text-emphasis: shade-color($primary, 60%) !default;
|
|
|
|
$secondary-text-emphasis: shade-color($secondary, 60%) !default;
|
|
|
|
$success-text-emphasis: shade-color($success, 60%) !default;
|
|
|
|
$info-text-emphasis: shade-color($info, 60%) !default;
|
|
|
|
$warning-text-emphasis: shade-color($warning, 60%) !default;
|
|
|
|
$danger-text-emphasis: shade-color($danger, 60%) !default;
|
2023-01-17 16:09:52 +01:00
|
|
|
$light-text-emphasis: $gray-700 !default;
|
|
|
|
$dark-text-emphasis: $gray-700 !default;
|
2023-01-17 03:57:24 +01:00
|
|
|
// scss-docs-end theme-text-variables
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
|
2023-01-17 03:57:24 +01:00
|
|
|
// scss-docs-start theme-bg-subtle-variables
|
2023-01-26 03:11:22 +01:00
|
|
|
$primary-bg-subtle: tint-color($primary, 80%) !default;
|
|
|
|
$secondary-bg-subtle: tint-color($secondary, 80%) !default;
|
|
|
|
$success-bg-subtle: tint-color($success, 80%) !default;
|
|
|
|
$info-bg-subtle: tint-color($info, 80%) !default;
|
|
|
|
$warning-bg-subtle: tint-color($warning, 80%) !default;
|
|
|
|
$danger-bg-subtle: tint-color($danger, 80%) !default;
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$light-bg-subtle: mix($gray-100, $white) !default;
|
|
|
|
$dark-bg-subtle: $gray-400 !default;
|
2023-01-17 03:57:24 +01:00
|
|
|
// scss-docs-end theme-bg-subtle-variables
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
|
2023-01-17 03:57:24 +01:00
|
|
|
// scss-docs-start theme-border-subtle-variables
|
2023-01-26 03:11:22 +01:00
|
|
|
$primary-border-subtle: tint-color($primary, 60%) !default;
|
|
|
|
$secondary-border-subtle: tint-color($secondary, 60%) !default;
|
|
|
|
$success-border-subtle: tint-color($success, 60%) !default;
|
|
|
|
$info-border-subtle: tint-color($info, 60%) !default;
|
|
|
|
$warning-border-subtle: tint-color($warning, 60%) !default;
|
|
|
|
$danger-border-subtle: tint-color($danger, 60%) !default;
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$light-border-subtle: $gray-200 !default;
|
|
|
|
$dark-border-subtle: $gray-500 !default;
|
2023-01-17 03:57:24 +01:00
|
|
|
// scss-docs-end theme-border-subtle-variables
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
|
2019-07-20 03:57:12 +02:00
|
|
|
// Characters which are escaped by the escape-svg function
|
|
|
|
$escaped-characters: (
|
2020-06-09 16:00:07 +02:00
|
|
|
("<", "%3c"),
|
|
|
|
(">", "%3e"),
|
|
|
|
("#", "%23"),
|
|
|
|
("(", "%28"),
|
|
|
|
(")", "%29"),
|
2019-07-20 03:57:12 +02:00
|
|
|
) !default;
|
2018-09-16 23:32:11 +02:00
|
|
|
|
2016-12-24 21:35:08 +01:00
|
|
|
// Options
|
2014-12-02 23:02:35 +01:00
|
|
|
//
|
2015-08-11 08:38:41 +02:00
|
|
|
// Quickly modify global styling by enabling or disabling optional features.
|
|
|
|
|
2020-04-14 02:48:19 +02:00
|
|
|
$enable-caret: true !default;
|
|
|
|
$enable-rounded: true !default;
|
|
|
|
$enable-shadows: false !default;
|
|
|
|
$enable-gradients: false !default;
|
|
|
|
$enable-transitions: true !default;
|
|
|
|
$enable-reduced-motion: true !default;
|
2020-10-19 11:00:37 +02:00
|
|
|
$enable-smooth-scroll: true !default;
|
2020-04-14 02:48:19 +02:00
|
|
|
$enable-grid-classes: true !default;
|
2021-10-05 18:46:33 +02:00
|
|
|
$enable-container-classes: true !default;
|
2021-06-23 04:51:16 +02:00
|
|
|
$enable-cssgrid: false !default;
|
2020-04-14 02:48:19 +02:00
|
|
|
$enable-button-pointers: true !default;
|
|
|
|
$enable-rfs: true !default;
|
|
|
|
$enable-validation-icons: true !default;
|
|
|
|
$enable-negative-margins: false !default;
|
|
|
|
$enable-deprecation-messages: true !default;
|
|
|
|
$enable-important-utilities: true !default;
|
2015-08-11 08:38:41 +02:00
|
|
|
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$enable-dark-mode: true !default;
|
2022-12-21 07:52:07 +01:00
|
|
|
$color-mode-type: data !default; // `data` or `media-query`
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
|
2020-09-30 07:32:58 +02:00
|
|
|
// Prefix for :root CSS variables
|
|
|
|
|
Add additional root variables, rename `$variable-prefix` to `$prefix` (#35981)
* Add additional root variables, rename $variable-prefix to $prefix
- Adds new root CSS variables for border-radius, border-width, border-color, and border-style
- Adds new root CSS variables for heading-color, link-colors, code color, and highlight color
- Replaces most instances of Sass variables (for border-radius, border-color, border-style, and border-width) for CSS variables inside _variables.scss
- Updates $mark-padding to be an even pixel number
- Renames $variable-prefix to $prefix throughout
* Bundlewatch
2022-03-13 18:13:09 +01:00
|
|
|
$variable-prefix: bs- !default; // Deprecated in v5.2.0 for the shorter `$prefix`
|
|
|
|
$prefix: $variable-prefix !default;
|
2020-09-30 07:32:58 +02:00
|
|
|
|
2020-04-14 16:28:20 +02:00
|
|
|
// Gradient
|
|
|
|
//
|
|
|
|
// The gradient which is added to components if `$enable-gradients` is `true`
|
|
|
|
// This gradient is also added to elements with `.bg-gradient`
|
2021-01-16 23:06:19 +01:00
|
|
|
// scss-docs-start variable-gradient
|
2020-04-14 16:28:20 +02:00
|
|
|
$gradient: linear-gradient(180deg, rgba($white, .15), rgba($white, 0)) !default;
|
2021-01-16 23:06:19 +01:00
|
|
|
// scss-docs-end variable-gradient
|
2018-09-16 23:32:11 +02:00
|
|
|
|
2016-12-24 21:35:08 +01:00
|
|
|
// Spacing
|
2015-08-11 08:38:41 +02:00
|
|
|
//
|
|
|
|
// Control the default styling of most Bootstrap elements by modifying these
|
|
|
|
// variables. Mostly focused on spacing.
|
2015-12-27 19:20:39 +01:00
|
|
|
// You can add more entries to the $spacers map, should you need more variation.
|
2015-08-11 08:38:41 +02:00
|
|
|
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-start spacer-variables-maps
|
2017-03-05 21:20:44 +01:00
|
|
|
$spacer: 1rem !default;
|
2020-02-15 14:41:59 +01:00
|
|
|
$spacers: (
|
|
|
|
0: 0,
|
2021-06-14 18:35:30 +02:00
|
|
|
1: $spacer * .25,
|
|
|
|
2: $spacer * .5,
|
2020-02-15 14:41:59 +01:00
|
|
|
3: $spacer,
|
|
|
|
4: $spacer * 1.5,
|
|
|
|
5: $spacer * 3,
|
|
|
|
) !default;
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-end spacer-variables-maps
|
2018-09-16 23:32:11 +02:00
|
|
|
|
2020-09-21 04:42:41 +02:00
|
|
|
// Position
|
|
|
|
//
|
|
|
|
// Define the edge positioning anchors of the position utilities.
|
|
|
|
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-start position-map
|
2020-09-21 04:42:41 +02:00
|
|
|
$position-values: (
|
|
|
|
0: 0,
|
|
|
|
50: 50%,
|
|
|
|
100: 100%
|
|
|
|
) !default;
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-end position-map
|
2020-09-21 04:42:41 +02:00
|
|
|
|
2016-12-24 21:35:08 +01:00
|
|
|
// Body
|
2015-08-11 08:38:41 +02:00
|
|
|
//
|
|
|
|
// Settings for the `<body>` element.
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2019-07-15 13:34:01 +02:00
|
|
|
$body-text-align: null !default;
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$body-color: $gray-900 !default;
|
|
|
|
$body-bg: $white !default;
|
|
|
|
|
|
|
|
$body-secondary-color: rgba($body-color, .75) !default;
|
|
|
|
$body-secondary-bg: $gray-200 !default;
|
|
|
|
|
|
|
|
$body-tertiary-color: rgba($body-color, .5) !default;
|
|
|
|
$body-tertiary-bg: $gray-100 !default;
|
|
|
|
|
2023-01-06 04:59:24 +01:00
|
|
|
$body-emphasis-color: $black !default;
|
2015-08-11 08:38:41 +02:00
|
|
|
|
2016-12-24 21:35:08 +01:00
|
|
|
// Links
|
2015-08-11 08:38:41 +02:00
|
|
|
//
|
|
|
|
// Style anchor elements.
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2019-07-25 09:41:13 +02:00
|
|
|
$link-color: $primary !default;
|
2020-03-12 17:35:36 +01:00
|
|
|
$link-decoration: underline !default;
|
2020-10-13 09:58:06 +02:00
|
|
|
$link-shade-percentage: 20% !default;
|
2020-11-13 19:50:59 +01:00
|
|
|
$link-hover-color: shift-color($link-color, $link-shade-percentage) !default;
|
2020-03-20 09:35:55 +01:00
|
|
|
$link-hover-decoration: null !default;
|
2018-09-16 23:32:11 +02:00
|
|
|
|
2019-06-26 06:54:51 +02:00
|
|
|
$stretched-link-pseudo-element: after !default;
|
|
|
|
$stretched-link-z-index: 1 !default;
|
|
|
|
|
2023-03-02 19:32:43 +01:00
|
|
|
// Icon links
|
|
|
|
// scss-docs-start icon-link-variables
|
|
|
|
$icon-link-gap: .375rem !default;
|
|
|
|
$icon-link-underline-offset: .25em !default;
|
|
|
|
$icon-link-icon-size: 1em !default;
|
|
|
|
$icon-link-icon-transition: .2s ease-in-out transform !default;
|
|
|
|
$icon-link-icon-transform: translate3d(.25em, 0, 0) !default;
|
|
|
|
// scss-docs-end icon-link-variables
|
|
|
|
|
2017-08-11 08:00:01 +02:00
|
|
|
// Paragraphs
|
|
|
|
//
|
|
|
|
// Style p element.
|
|
|
|
|
2017-10-04 13:02:35 +02:00
|
|
|
$paragraph-margin-bottom: 1rem !default;
|
2017-08-11 08:00:01 +02:00
|
|
|
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2016-12-24 21:35:08 +01:00
|
|
|
// Grid breakpoints
|
2014-12-02 23:02:35 +01:00
|
|
|
//
|
2016-02-16 10:24:34 +01:00
|
|
|
// Define the minimum dimensions at which your layout will change,
|
2015-08-11 08:38:41 +02:00
|
|
|
// adapting to different screen sizes, for use in media queries.
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2020-04-13 23:40:47 +02:00
|
|
|
// scss-docs-start grid-breakpoints
|
2019-01-14 01:35:00 +01:00
|
|
|
$grid-breakpoints: (
|
|
|
|
xs: 0,
|
|
|
|
sm: 576px,
|
|
|
|
md: 768px,
|
|
|
|
lg: 992px,
|
2020-04-01 23:31:29 +02:00
|
|
|
xl: 1200px,
|
|
|
|
xxl: 1400px
|
2019-01-14 01:35:00 +01:00
|
|
|
) !default;
|
2020-04-13 23:40:47 +02:00
|
|
|
// scss-docs-end grid-breakpoints
|
2017-10-04 13:02:35 +02:00
|
|
|
|
2016-02-07 11:53:35 +01:00
|
|
|
@include _assert-ascending($grid-breakpoints, "$grid-breakpoints");
|
2019-02-07 10:19:38 +01:00
|
|
|
@include _assert-starts-at-zero($grid-breakpoints, "$grid-breakpoints");
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2015-04-29 20:48:58 +02:00
|
|
|
|
2016-12-24 21:35:08 +01:00
|
|
|
// Grid containers
|
2015-04-29 20:48:58 +02:00
|
|
|
//
|
2015-08-11 08:38:41 +02:00
|
|
|
// Define the maximum width of `.container` for different screen sizes.
|
2015-04-29 20:48:58 +02:00
|
|
|
|
2020-04-13 23:40:47 +02:00
|
|
|
// scss-docs-start container-max-widths
|
2019-01-14 01:35:00 +01:00
|
|
|
$container-max-widths: (
|
|
|
|
sm: 540px,
|
|
|
|
md: 720px,
|
|
|
|
lg: 960px,
|
2020-04-01 23:31:29 +02:00
|
|
|
xl: 1140px,
|
|
|
|
xxl: 1320px
|
2019-01-14 01:35:00 +01:00
|
|
|
) !default;
|
2020-04-13 23:40:47 +02:00
|
|
|
// scss-docs-end container-max-widths
|
2017-10-04 13:02:35 +02:00
|
|
|
|
2016-02-07 11:53:35 +01:00
|
|
|
@include _assert-ascending($container-max-widths, "$container-max-widths");
|
2015-08-11 08:38:41 +02:00
|
|
|
|
|
|
|
|
2016-12-24 21:35:08 +01:00
|
|
|
// Grid columns
|
2015-08-11 08:38:41 +02:00
|
|
|
//
|
|
|
|
// Set the number of columns and specify the width of the gutters.
|
|
|
|
|
2017-10-04 13:02:35 +02:00
|
|
|
$grid-columns: 12 !default;
|
2019-09-28 16:13:36 +02:00
|
|
|
$grid-gutter-width: 1.5rem !default;
|
2019-07-24 08:00:29 +02:00
|
|
|
$grid-row-columns: 6 !default;
|
2017-03-05 21:20:44 +01:00
|
|
|
|
2019-05-05 09:49:23 +02:00
|
|
|
// Container padding
|
|
|
|
|
2022-02-15 00:07:17 +01:00
|
|
|
$container-padding-x: $grid-gutter-width !default;
|
2019-05-05 09:49:23 +02:00
|
|
|
|
|
|
|
|
2017-03-05 21:20:44 +01:00
|
|
|
// Components
|
|
|
|
//
|
|
|
|
// Define common padding and border radius sizes and more.
|
|
|
|
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-start border-variables
|
2017-10-04 13:02:35 +02:00
|
|
|
$border-width: 1px !default;
|
2020-09-09 10:28:52 +02:00
|
|
|
$border-widths: (
|
|
|
|
1: 1px,
|
|
|
|
2: 2px,
|
|
|
|
3: 3px,
|
|
|
|
4: 4px,
|
|
|
|
5: 5px
|
|
|
|
) !default;
|
Add additional root variables, rename `$variable-prefix` to `$prefix` (#35981)
* Add additional root variables, rename $variable-prefix to $prefix
- Adds new root CSS variables for border-radius, border-width, border-color, and border-style
- Adds new root CSS variables for heading-color, link-colors, code color, and highlight color
- Replaces most instances of Sass variables (for border-radius, border-color, border-style, and border-width) for CSS variables inside _variables.scss
- Updates $mark-padding to be an even pixel number
- Renames $variable-prefix to $prefix throughout
* Bundlewatch
2022-03-13 18:13:09 +01:00
|
|
|
$border-style: solid !default;
|
2022-04-29 22:59:41 +02:00
|
|
|
$border-color: $gray-300 !default;
|
|
|
|
$border-color-translucent: rgba($black, .175) !default;
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-end border-variables
|
2020-10-30 21:42:11 +01:00
|
|
|
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-start border-radius-variables
|
2022-03-01 02:22:14 +01:00
|
|
|
$border-radius: .375rem !default;
|
|
|
|
$border-radius-sm: .25rem !default;
|
|
|
|
$border-radius-lg: .5rem !default;
|
|
|
|
$border-radius-xl: 1rem !default;
|
2023-01-06 20:46:03 +01:00
|
|
|
$border-radius-xxl: 2rem !default;
|
2020-10-30 21:42:11 +01:00
|
|
|
$border-radius-pill: 50rem !default;
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-end border-radius-variables
|
2023-01-06 20:46:03 +01:00
|
|
|
// fusv-disable
|
|
|
|
$border-radius-2xl: $border-radius-xxl !default; // Deprecated in v5.3.0
|
|
|
|
// fusv-enable
|
2017-03-05 21:20:44 +01:00
|
|
|
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-start box-shadow-variables
|
2023-01-08 00:53:12 +01:00
|
|
|
$box-shadow: 0 .5rem 1rem rgba($black, .15) !default;
|
|
|
|
$box-shadow-sm: 0 .125rem .25rem rgba($black, .075) !default;
|
|
|
|
$box-shadow-lg: 0 1rem 3rem rgba($black, .175) !default;
|
|
|
|
$box-shadow-inset: inset 0 1px 2px rgba($black, .075) !default;
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-end box-shadow-variables
|
2018-04-01 07:07:48 +02:00
|
|
|
|
2017-10-04 13:02:35 +02:00
|
|
|
$component-active-color: $white !default;
|
2019-07-25 09:41:13 +02:00
|
|
|
$component-active-bg: $primary !default;
|
2017-03-05 21:20:44 +01:00
|
|
|
|
2022-12-29 23:19:22 +01:00
|
|
|
// scss-docs-start focus-ring-variables
|
|
|
|
$focus-ring-width: .25rem !default;
|
|
|
|
$focus-ring-opacity: .25 !default;
|
|
|
|
$focus-ring-color: rgba($primary, $focus-ring-opacity) !default;
|
|
|
|
$focus-ring-blur: 0 !default;
|
|
|
|
$focus-ring-box-shadow: 0 0 $focus-ring-blur $focus-ring-width $focus-ring-color !default;
|
|
|
|
// scss-docs-end focus-ring-variables
|
|
|
|
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-start caret-variables
|
2017-10-04 13:02:35 +02:00
|
|
|
$caret-width: .3em !default;
|
2019-01-07 17:28:21 +01:00
|
|
|
$caret-vertical-align: $caret-width * .85 !default;
|
|
|
|
$caret-spacing: $caret-width * .85 !default;
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-end caret-variables
|
2017-03-05 21:20:44 +01:00
|
|
|
|
2017-10-04 13:02:35 +02:00
|
|
|
$transition-base: all .2s ease-in-out !default;
|
|
|
|
$transition-fade: opacity .15s linear !default;
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-start collapse-transition
|
2017-10-04 13:02:35 +02:00
|
|
|
$transition-collapse: height .35s ease !default;
|
2021-06-14 22:25:11 +02:00
|
|
|
$transition-collapse-width: width .35s ease !default;
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-end collapse-transition
|
2017-03-05 21:20:44 +01:00
|
|
|
|
2020-09-28 13:57:48 +02:00
|
|
|
// stylelint-disable function-disallowed-list
|
2020-09-23 01:30:00 +02:00
|
|
|
// scss-docs-start aspect-ratios
|
|
|
|
$aspect-ratios: (
|
2020-09-21 23:15:15 +02:00
|
|
|
"1x1": 100%,
|
2020-09-23 01:30:00 +02:00
|
|
|
"4x3": calc(3 / 4 * 100%),
|
|
|
|
"16x9": calc(9 / 16 * 100%),
|
|
|
|
"21x9": calc(9 / 21 * 100%)
|
2020-02-15 14:41:59 +01:00
|
|
|
) !default;
|
2020-09-23 01:30:00 +02:00
|
|
|
// scss-docs-end aspect-ratios
|
2020-09-28 13:57:48 +02:00
|
|
|
// stylelint-enable function-disallowed-list
|
2017-03-05 21:20:44 +01:00
|
|
|
|
2019-01-14 00:59:51 +01:00
|
|
|
// Typography
|
2014-12-02 23:02:35 +01:00
|
|
|
//
|
2015-03-09 15:18:25 +01:00
|
|
|
// Font, line-height, and color for body text, headings, and more.
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-start font-variables
|
2017-10-03 05:34:56 +02:00
|
|
|
// stylelint-disable value-keyword-case
|
2021-07-21 09:45:51 +02:00
|
|
|
$font-family-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
|
2017-11-06 01:23:36 +01:00
|
|
|
$font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
|
2017-10-03 05:34:56 +02:00
|
|
|
// stylelint-enable value-keyword-case
|
Add additional root variables, rename `$variable-prefix` to `$prefix` (#35981)
* Add additional root variables, rename $variable-prefix to $prefix
- Adds new root CSS variables for border-radius, border-width, border-color, and border-style
- Adds new root CSS variables for heading-color, link-colors, code color, and highlight color
- Replaces most instances of Sass variables (for border-radius, border-color, border-style, and border-width) for CSS variables inside _variables.scss
- Updates $mark-padding to be an even pixel number
- Renames $variable-prefix to $prefix throughout
* Bundlewatch
2022-03-13 18:13:09 +01:00
|
|
|
$font-family-base: var(--#{$prefix}font-sans-serif) !default;
|
|
|
|
$font-family-code: var(--#{$prefix}font-monospace) !default;
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2021-06-20 01:30:31 +02:00
|
|
|
// $font-size-root affects the value of `rem`, which is used for as well font sizes, paddings, and margins
|
|
|
|
// $font-size-base affects the font size of the body text
|
2019-08-24 15:11:02 +02:00
|
|
|
$font-size-root: null !default;
|
2017-10-19 17:16:38 +02:00
|
|
|
$font-size-base: 1rem !default; // Assumes the browser default, typically `16px`
|
2019-01-03 19:59:18 +01:00
|
|
|
$font-size-sm: $font-size-base * .875 !default;
|
2020-03-28 21:01:37 +01:00
|
|
|
$font-size-lg: $font-size-base * 1.25 !default;
|
2014-12-10 01:24:05 +01:00
|
|
|
|
2018-07-25 02:23:17 +02:00
|
|
|
$font-weight-lighter: lighter !default;
|
2017-10-04 13:02:35 +02:00
|
|
|
$font-weight-light: 300 !default;
|
|
|
|
$font-weight-normal: 400 !default;
|
2022-10-03 19:52:02 +02:00
|
|
|
$font-weight-medium: 500 !default;
|
2022-03-01 02:22:14 +01:00
|
|
|
$font-weight-semibold: 600 !default;
|
2017-10-04 13:02:35 +02:00
|
|
|
$font-weight-bold: 700 !default;
|
2018-07-25 02:23:17 +02:00
|
|
|
$font-weight-bolder: bolder !default;
|
2016-10-19 21:41:27 +02:00
|
|
|
|
2017-10-04 13:02:35 +02:00
|
|
|
$font-weight-base: $font-weight-normal !default;
|
2019-10-12 13:56:29 +02:00
|
|
|
|
2017-10-04 13:02:35 +02:00
|
|
|
$line-height-base: 1.5 !default;
|
2019-10-12 13:56:29 +02:00
|
|
|
$line-height-sm: 1.25 !default;
|
2020-03-28 21:01:37 +01:00
|
|
|
$line-height-lg: 2 !default;
|
2016-02-04 04:45:13 +01:00
|
|
|
|
2017-10-19 17:16:38 +02:00
|
|
|
$h1-font-size: $font-size-base * 2.5 !default;
|
|
|
|
$h2-font-size: $font-size-base * 2 !default;
|
|
|
|
$h3-font-size: $font-size-base * 1.75 !default;
|
|
|
|
$h4-font-size: $font-size-base * 1.5 !default;
|
|
|
|
$h5-font-size: $font-size-base * 1.25 !default;
|
|
|
|
$h6-font-size: $font-size-base !default;
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-end font-variables
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2020-10-27 00:42:07 +01:00
|
|
|
// scss-docs-start font-sizes
|
|
|
|
$font-sizes: (
|
|
|
|
1: $h1-font-size,
|
|
|
|
2: $h2-font-size,
|
|
|
|
3: $h3-font-size,
|
|
|
|
4: $h4-font-size,
|
|
|
|
5: $h5-font-size,
|
|
|
|
6: $h6-font-size
|
|
|
|
) !default;
|
|
|
|
// scss-docs-end font-sizes
|
|
|
|
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-start headings-variables
|
2021-06-14 18:35:30 +02:00
|
|
|
$headings-margin-bottom: $spacer * .5 !default;
|
2019-01-13 19:35:48 +01:00
|
|
|
$headings-font-family: null !default;
|
2019-05-02 21:35:58 +02:00
|
|
|
$headings-font-style: null !default;
|
2017-10-04 13:02:35 +02:00
|
|
|
$headings-font-weight: 500 !default;
|
2017-10-19 04:48:35 +02:00
|
|
|
$headings-line-height: 1.2 !default;
|
2019-01-13 19:35:48 +01:00
|
|
|
$headings-color: null !default;
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-end headings-variables
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2020-04-14 13:57:11 +02:00
|
|
|
// scss-docs-start display-headings
|
|
|
|
$display-font-sizes: (
|
|
|
|
1: 5rem,
|
|
|
|
2: 4.5rem,
|
|
|
|
3: 4rem,
|
|
|
|
4: 3.5rem,
|
|
|
|
5: 3rem,
|
|
|
|
6: 2.5rem
|
|
|
|
) !default;
|
|
|
|
|
2022-07-11 23:16:33 +02:00
|
|
|
$display-font-family: null !default;
|
|
|
|
$display-font-style: null !default;
|
2020-04-14 13:57:11 +02:00
|
|
|
$display-font-weight: 300 !default;
|
|
|
|
$display-line-height: $headings-line-height !default;
|
|
|
|
// scss-docs-end display-headings
|
2017-01-02 20:03:25 +01:00
|
|
|
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-start type-variables
|
2019-01-03 19:59:18 +01:00
|
|
|
$lead-font-size: $font-size-base * 1.25 !default;
|
2017-10-19 17:16:38 +02:00
|
|
|
$lead-font-weight: 300 !default;
|
2015-08-14 08:18:32 +02:00
|
|
|
|
2019-08-22 10:14:42 +02:00
|
|
|
$small-font-size: .875em !default;
|
|
|
|
|
|
|
|
$sub-sup-font-size: .75em !default;
|
2016-10-17 03:49:55 +02:00
|
|
|
|
2023-01-17 00:55:28 +01:00
|
|
|
// fusv-disable
|
|
|
|
$text-muted: var(--#{$prefix}secondary-color) !default; // Deprecated in 5.3.0
|
|
|
|
// fusv-enable
|
2015-08-14 08:18:32 +02:00
|
|
|
|
2019-08-22 10:14:42 +02:00
|
|
|
$initialism-font-size: $small-font-size !default;
|
|
|
|
|
2020-06-12 23:26:37 +02:00
|
|
|
$blockquote-margin-y: $spacer !default;
|
2019-01-03 19:59:18 +01:00
|
|
|
$blockquote-font-size: $font-size-base * 1.25 !default;
|
2020-06-12 23:26:37 +02:00
|
|
|
$blockquote-footer-color: $gray-600 !default;
|
|
|
|
$blockquote-footer-font-size: $small-font-size !default;
|
2015-08-14 08:18:32 +02:00
|
|
|
|
2020-03-14 09:41:38 +01:00
|
|
|
$hr-margin-y: $spacer !default;
|
2019-04-30 10:00:34 +02:00
|
|
|
$hr-color: inherit !default;
|
2022-02-25 23:55:47 +01:00
|
|
|
|
2022-02-22 09:02:47 +01:00
|
|
|
// fusv-disable
|
2022-02-25 23:55:47 +01:00
|
|
|
$hr-bg-color: null !default; // Deprecated in v5.2.0
|
|
|
|
$hr-height: null !default; // Deprecated in v5.2.0
|
2022-02-22 09:02:47 +01:00
|
|
|
// fusv-enable
|
|
|
|
|
2022-02-25 23:55:47 +01:00
|
|
|
$hr-border-color: null !default; // Allows for inherited colors
|
2022-10-23 06:13:13 +02:00
|
|
|
$hr-border-width: var(--#{$prefix}border-width) !default;
|
2019-04-30 10:00:34 +02:00
|
|
|
$hr-opacity: .25 !default;
|
2015-08-05 09:38:36 +02:00
|
|
|
|
2019-06-17 20:08:37 +02:00
|
|
|
$legend-margin-bottom: .5rem !default;
|
|
|
|
$legend-font-size: 1.5rem !default;
|
|
|
|
$legend-font-weight: null !default;
|
|
|
|
|
2017-10-04 13:02:35 +02:00
|
|
|
$dt-font-weight: $font-weight-bold !default;
|
2015-12-06 21:28:15 +01:00
|
|
|
|
2017-10-31 13:04:26 +01:00
|
|
|
$list-inline-padding: .5rem !default;
|
2015-12-04 10:56:49 +01:00
|
|
|
|
Add additional root variables, rename `$variable-prefix` to `$prefix` (#35981)
* Add additional root variables, rename $variable-prefix to $prefix
- Adds new root CSS variables for border-radius, border-width, border-color, and border-style
- Adds new root CSS variables for heading-color, link-colors, code color, and highlight color
- Replaces most instances of Sass variables (for border-radius, border-color, border-style, and border-width) for CSS variables inside _variables.scss
- Updates $mark-padding to be an even pixel number
- Renames $variable-prefix to $prefix throughout
* Bundlewatch
2022-03-13 18:13:09 +01:00
|
|
|
$mark-padding: .1875em !default;
|
|
|
|
$mark-bg: $yellow-100 !default;
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-end type-variables
|
2017-06-28 18:36:43 +02:00
|
|
|
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2016-12-24 21:35:08 +01:00
|
|
|
// Tables
|
2014-12-02 23:02:35 +01:00
|
|
|
//
|
2015-03-09 15:18:25 +01:00
|
|
|
// Customizes the `.table` component with basic values, each used across all table variations.
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2020-03-24 15:00:00 +01:00
|
|
|
// scss-docs-start table-variables
|
2020-05-14 19:43:33 +02:00
|
|
|
$table-cell-padding-y: .5rem !default;
|
|
|
|
$table-cell-padding-x: .5rem !default;
|
|
|
|
$table-cell-padding-y-sm: .25rem !default;
|
|
|
|
$table-cell-padding-x-sm: .25rem !default;
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2019-07-18 07:49:39 +02:00
|
|
|
$table-cell-vertical-align: top !default;
|
|
|
|
|
Add additional root variables, rename `$variable-prefix` to `$prefix` (#35981)
* Add additional root variables, rename $variable-prefix to $prefix
- Adds new root CSS variables for border-radius, border-width, border-color, and border-style
- Adds new root CSS variables for heading-color, link-colors, code color, and highlight color
- Replaces most instances of Sass variables (for border-radius, border-color, border-style, and border-width) for CSS variables inside _variables.scss
- Updates $mark-padding to be an even pixel number
- Renames $variable-prefix to $prefix throughout
* Bundlewatch
2022-03-13 18:13:09 +01:00
|
|
|
$table-color: var(--#{$prefix}body-color) !default;
|
2020-03-24 15:00:00 +01:00
|
|
|
$table-bg: transparent !default;
|
2021-05-28 09:12:40 +02:00
|
|
|
$table-accent-bg: transparent !default;
|
2020-03-24 15:00:00 +01:00
|
|
|
|
2020-06-17 15:55:28 +02:00
|
|
|
$table-th-font-weight: null !default;
|
|
|
|
|
2020-03-24 15:00:00 +01:00
|
|
|
$table-striped-color: $table-color !default;
|
2020-05-12 09:28:59 +02:00
|
|
|
$table-striped-bg-factor: .05 !default;
|
|
|
|
$table-striped-bg: rgba($black, $table-striped-bg-factor) !default;
|
2020-03-24 15:00:00 +01:00
|
|
|
|
|
|
|
$table-active-color: $table-color !default;
|
|
|
|
$table-active-bg-factor: .1 !default;
|
|
|
|
$table-active-bg: rgba($black, $table-active-bg-factor) !default;
|
|
|
|
|
2018-12-15 23:01:09 +01:00
|
|
|
$table-hover-color: $table-color !default;
|
2020-03-24 15:00:00 +01:00
|
|
|
$table-hover-bg-factor: .075 !default;
|
|
|
|
$table-hover-bg: rgba($black, $table-hover-bg-factor) !default;
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2020-03-24 15:00:00 +01:00
|
|
|
$table-border-factor: .1 !default;
|
2022-10-23 06:13:13 +02:00
|
|
|
$table-border-width: var(--#{$prefix}border-width) !default;
|
Add additional root variables, rename `$variable-prefix` to `$prefix` (#35981)
* Add additional root variables, rename $variable-prefix to $prefix
- Adds new root CSS variables for border-radius, border-width, border-color, and border-style
- Adds new root CSS variables for heading-color, link-colors, code color, and highlight color
- Replaces most instances of Sass variables (for border-radius, border-color, border-style, and border-width) for CSS variables inside _variables.scss
- Updates $mark-padding to be an even pixel number
- Renames $variable-prefix to $prefix throughout
* Bundlewatch
2022-03-13 18:13:09 +01:00
|
|
|
$table-border-color: var(--#{$prefix}border-color) !default;
|
2017-03-20 01:03:52 +01:00
|
|
|
|
2018-01-19 18:34:49 +01:00
|
|
|
$table-striped-order: odd !default;
|
2021-03-14 20:07:24 +01:00
|
|
|
$table-striped-columns-order: even !default;
|
2018-01-19 18:34:49 +01:00
|
|
|
|
2022-04-08 08:17:00 +02:00
|
|
|
$table-group-separator-color: currentcolor !default;
|
2020-04-21 10:13:38 +02:00
|
|
|
|
2023-01-17 00:55:28 +01:00
|
|
|
$table-caption-color: var(--#{$prefix}secondary-color) !default;
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2020-10-13 09:58:06 +02:00
|
|
|
$table-bg-scale: -80% !default;
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-end table-variables
|
2020-03-24 15:00:00 +01:00
|
|
|
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-start table-loop
|
2020-03-24 15:00:00 +01:00
|
|
|
$table-variants: (
|
2020-11-13 19:50:59 +01:00
|
|
|
"primary": shift-color($primary, $table-bg-scale),
|
|
|
|
"secondary": shift-color($secondary, $table-bg-scale),
|
|
|
|
"success": shift-color($success, $table-bg-scale),
|
|
|
|
"info": shift-color($info, $table-bg-scale),
|
|
|
|
"warning": shift-color($warning, $table-bg-scale),
|
|
|
|
"danger": shift-color($danger, $table-bg-scale),
|
2020-03-24 15:00:00 +01:00
|
|
|
"light": $light,
|
|
|
|
"dark": $dark,
|
|
|
|
) !default;
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-end table-loop
|
2018-10-20 10:21:31 +02:00
|
|
|
|
2018-09-16 23:32:11 +02:00
|
|
|
|
2017-10-23 04:56:49 +02:00
|
|
|
// Buttons + Forms
|
|
|
|
//
|
|
|
|
// Shared variables that are reassigned to `$input-` and `$btn-` specific variables.
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-start input-btn-variables
|
2017-10-04 13:02:35 +02:00
|
|
|
$input-btn-padding-y: .375rem !default;
|
|
|
|
$input-btn-padding-x: .75rem !default;
|
2019-02-07 18:47:24 +01:00
|
|
|
$input-btn-font-family: null !default;
|
2018-09-18 14:35:25 +02:00
|
|
|
$input-btn-font-size: $font-size-base !default;
|
2017-10-04 13:02:35 +02:00
|
|
|
$input-btn-line-height: $line-height-base !default;
|
2017-03-28 18:28:27 +02:00
|
|
|
|
2022-12-29 23:19:22 +01:00
|
|
|
$input-btn-focus-width: $focus-ring-width !default;
|
|
|
|
$input-btn-focus-color-opacity: $focus-ring-opacity !default;
|
|
|
|
$input-btn-focus-color: $focus-ring-color !default;
|
|
|
|
$input-btn-focus-blur: $focus-ring-blur !default;
|
|
|
|
$input-btn-focus-box-shadow: $focus-ring-box-shadow !default;
|
2017-10-19 18:03:33 +02:00
|
|
|
|
2017-10-04 13:02:35 +02:00
|
|
|
$input-btn-padding-y-sm: .25rem !default;
|
|
|
|
$input-btn-padding-x-sm: .5rem !default;
|
2018-09-18 14:35:25 +02:00
|
|
|
$input-btn-font-size-sm: $font-size-sm !default;
|
2017-03-28 18:28:27 +02:00
|
|
|
|
2017-10-04 13:02:35 +02:00
|
|
|
$input-btn-padding-y-lg: .5rem !default;
|
|
|
|
$input-btn-padding-x-lg: 1rem !default;
|
2018-09-18 14:35:25 +02:00
|
|
|
$input-btn-font-size-lg: $font-size-lg !default;
|
2017-03-28 18:28:27 +02:00
|
|
|
|
2022-10-23 06:13:13 +02:00
|
|
|
$input-btn-border-width: var(--#{$prefix}border-width) !default;
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-end input-btn-variables
|
2017-10-19 09:05:07 +02:00
|
|
|
|
|
|
|
|
|
|
|
// Buttons
|
|
|
|
//
|
2017-10-23 04:56:49 +02:00
|
|
|
// For each of Bootstrap's buttons, define text, background, and border color.
|
2017-10-19 09:05:07 +02:00
|
|
|
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-start btn-variables
|
2023-03-02 19:49:54 +01:00
|
|
|
$btn-color: var(--#{$prefix}body-color) !default;
|
2017-10-19 09:05:07 +02:00
|
|
|
$btn-padding-y: $input-btn-padding-y !default;
|
|
|
|
$btn-padding-x: $input-btn-padding-x !default;
|
2019-02-07 18:47:24 +01:00
|
|
|
$btn-font-family: $input-btn-font-family !default;
|
2018-09-18 14:35:25 +02:00
|
|
|
$btn-font-size: $input-btn-font-size !default;
|
2017-10-19 09:05:07 +02:00
|
|
|
$btn-line-height: $input-btn-line-height !default;
|
2019-10-25 11:37:52 +02:00
|
|
|
$btn-white-space: null !default; // Set to `nowrap` to prevent text wrapping
|
2017-10-19 09:05:07 +02:00
|
|
|
|
|
|
|
$btn-padding-y-sm: $input-btn-padding-y-sm !default;
|
|
|
|
$btn-padding-x-sm: $input-btn-padding-x-sm !default;
|
2018-09-18 14:35:25 +02:00
|
|
|
$btn-font-size-sm: $input-btn-font-size-sm !default;
|
2017-10-19 09:05:07 +02:00
|
|
|
|
|
|
|
$btn-padding-y-lg: $input-btn-padding-y-lg !default;
|
|
|
|
$btn-padding-x-lg: $input-btn-padding-x-lg !default;
|
2018-09-18 14:35:25 +02:00
|
|
|
$btn-font-size-lg: $input-btn-font-size-lg !default;
|
2017-10-19 09:05:07 +02:00
|
|
|
|
|
|
|
$btn-border-width: $input-btn-border-width !default;
|
|
|
|
|
2017-10-04 13:02:35 +02:00
|
|
|
$btn-font-weight: $font-weight-normal !default;
|
2017-10-22 23:00:00 +02:00
|
|
|
$btn-box-shadow: inset 0 1px 0 rgba($white, .15), 0 1px 1px rgba($black, .075) !default;
|
2017-10-25 21:30:29 +02:00
|
|
|
$btn-focus-width: $input-btn-focus-width !default;
|
|
|
|
$btn-focus-box-shadow: $input-btn-focus-box-shadow !default;
|
2017-11-06 22:34:42 +01:00
|
|
|
$btn-disabled-opacity: .65 !default;
|
2017-10-22 23:00:00 +02:00
|
|
|
$btn-active-box-shadow: inset 0 3px 5px rgba($black, .125) !default;
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2022-04-04 22:51:21 +02:00
|
|
|
$btn-link-color: var(--#{$prefix}link-color) !default;
|
|
|
|
$btn-link-hover-color: var(--#{$prefix}link-hover-color) !default;
|
2017-10-04 13:02:35 +02:00
|
|
|
$btn-link-disabled-color: $gray-600 !default;
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2015-06-19 08:56:43 +02:00
|
|
|
// Allows for customizing button radius independently from global border radius
|
2023-03-25 03:41:44 +01:00
|
|
|
$btn-border-radius: var(--#{$prefix}border-radius) !default;
|
|
|
|
$btn-border-radius-sm: var(--#{$prefix}border-radius-sm) !default;
|
|
|
|
$btn-border-radius-lg: var(--#{$prefix}border-radius-lg) !default;
|
2015-06-19 08:56:43 +02:00
|
|
|
|
2017-10-22 22:11:07 +02:00
|
|
|
$btn-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
|
2016-12-20 05:33:17 +01:00
|
|
|
|
2020-12-17 06:16:54 +01:00
|
|
|
$btn-hover-bg-shade-amount: 15% !default;
|
|
|
|
$btn-hover-bg-tint-amount: 15% !default;
|
|
|
|
$btn-hover-border-shade-amount: 20% !default;
|
|
|
|
$btn-hover-border-tint-amount: 10% !default;
|
|
|
|
$btn-active-bg-shade-amount: 20% !default;
|
|
|
|
$btn-active-bg-tint-amount: 20% !default;
|
|
|
|
$btn-active-border-shade-amount: 25% !default;
|
|
|
|
$btn-active-border-tint-amount: 10% !default;
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-end btn-variables
|
2020-12-17 06:16:54 +01:00
|
|
|
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2016-12-24 21:35:08 +01:00
|
|
|
// Forms
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-start form-text-variables
|
2020-04-14 08:21:13 +02:00
|
|
|
$form-text-margin-top: .25rem !default;
|
2020-04-16 16:38:21 +02:00
|
|
|
$form-text-font-size: $small-font-size !default;
|
2020-04-14 08:21:13 +02:00
|
|
|
$form-text-font-style: null !default;
|
2020-04-20 08:19:06 +02:00
|
|
|
$form-text-font-weight: null !default;
|
2023-01-17 00:55:28 +01:00
|
|
|
$form-text-color: var(--#{$prefix}secondary-color) !default;
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-end form-text-variables
|
2020-04-14 08:21:13 +02:00
|
|
|
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-start form-label-variables
|
2020-03-31 20:02:57 +02:00
|
|
|
$form-label-margin-bottom: .5rem !default;
|
|
|
|
$form-label-font-size: null !default;
|
|
|
|
$form-label-font-style: null !default;
|
|
|
|
$form-label-font-weight: null !default;
|
|
|
|
$form-label-color: null !default;
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-end form-label-variables
|
2018-02-11 01:21:42 +01:00
|
|
|
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-start form-input-variables
|
2017-10-19 09:05:07 +02:00
|
|
|
$input-padding-y: $input-btn-padding-y !default;
|
|
|
|
$input-padding-x: $input-btn-padding-x !default;
|
2019-02-07 18:47:24 +01:00
|
|
|
$input-font-family: $input-btn-font-family !default;
|
2018-09-18 14:35:25 +02:00
|
|
|
$input-font-size: $input-btn-font-size !default;
|
2018-10-20 10:50:20 +02:00
|
|
|
$input-font-weight: $font-weight-base !default;
|
2017-10-19 09:05:07 +02:00
|
|
|
$input-line-height: $input-btn-line-height !default;
|
|
|
|
|
|
|
|
$input-padding-y-sm: $input-btn-padding-y-sm !default;
|
|
|
|
$input-padding-x-sm: $input-btn-padding-x-sm !default;
|
2018-09-18 14:35:25 +02:00
|
|
|
$input-font-size-sm: $input-btn-font-size-sm !default;
|
2017-10-19 09:05:07 +02:00
|
|
|
|
|
|
|
$input-padding-y-lg: $input-btn-padding-y-lg !default;
|
|
|
|
$input-padding-x-lg: $input-btn-padding-x-lg !default;
|
2018-09-18 14:35:25 +02:00
|
|
|
$input-font-size-lg: $input-btn-font-size-lg !default;
|
2017-10-19 09:05:07 +02:00
|
|
|
|
2023-01-17 00:56:23 +01:00
|
|
|
$input-bg: var(--#{$prefix}body-bg) !default;
|
2022-04-12 22:42:38 +02:00
|
|
|
$input-disabled-color: null !default;
|
2023-01-17 00:56:23 +01:00
|
|
|
$input-disabled-bg: var(--#{$prefix}secondary-bg) !default;
|
2019-08-18 16:08:59 +02:00
|
|
|
$input-disabled-border-color: null !default;
|
2014-12-02 23:02:35 +01:00
|
|
|
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$input-color: var(--#{$prefix}body-color) !default;
|
2023-01-12 21:19:25 +01:00
|
|
|
$input-border-color: var(--#{$prefix}border-color) !default;
|
2017-10-19 09:05:07 +02:00
|
|
|
$input-border-width: $input-btn-border-width !default;
|
2019-07-15 09:29:13 +02:00
|
|
|
$input-box-shadow: $box-shadow-inset !default;
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2023-03-25 03:41:44 +01:00
|
|
|
$input-border-radius: var(--#{$prefix}border-radius) !default;
|
|
|
|
$input-border-radius-sm: var(--#{$prefix}border-radius-sm) !default;
|
|
|
|
$input-border-radius-lg: var(--#{$prefix}border-radius-lg) !default;
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2017-10-04 13:02:35 +02:00
|
|
|
$input-focus-bg: $input-bg !default;
|
2020-10-13 09:58:06 +02:00
|
|
|
$input-focus-border-color: tint-color($component-active-bg, 50%) !default;
|
2017-10-04 13:02:35 +02:00
|
|
|
$input-focus-color: $input-color !default;
|
2017-10-25 21:30:29 +02:00
|
|
|
$input-focus-width: $input-btn-focus-width !default;
|
|
|
|
$input-focus-box-shadow: $input-btn-focus-box-shadow !default;
|
2014-12-02 23:02:35 +01:00
|
|
|
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$input-placeholder-color: var(--#{$prefix}secondary-color) !default;
|
|
|
|
$input-plaintext-color: var(--#{$prefix}body-color) !default;
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2023-03-27 17:34:14 +02:00
|
|
|
$input-height-border: calc(#{$input-border-width} * 2) !default; // stylelint-disable-line function-disallowed-list
|
2017-04-22 20:56:01 +02:00
|
|
|
|
2019-09-03 19:18:44 +02:00
|
|
|
$input-height-inner: add($input-line-height * 1em, $input-padding-y * 2) !default;
|
|
|
|
$input-height-inner-half: add($input-line-height * .5em, $input-padding-y) !default;
|
2021-06-14 18:35:30 +02:00
|
|
|
$input-height-inner-quarter: add($input-line-height * .25em, $input-padding-y * .5) !default;
|
2017-04-22 20:56:01 +02:00
|
|
|
|
2019-09-03 19:18:44 +02:00
|
|
|
$input-height: add($input-line-height * 1em, add($input-padding-y * 2, $input-height-border, false)) !default;
|
2019-11-07 19:34:54 +01:00
|
|
|
$input-height-sm: add($input-line-height * 1em, add($input-padding-y-sm * 2, $input-height-border, false)) !default;
|
|
|
|
$input-height-lg: add($input-line-height * 1em, add($input-padding-y-lg * 2, $input-height-border, false)) !default;
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2017-11-06 01:23:36 +01:00
|
|
|
$input-transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
|
2021-07-14 08:19:28 +02:00
|
|
|
|
|
|
|
$form-color-width: 3rem !default;
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-end form-input-variables
|
2016-12-20 05:33:17 +01:00
|
|
|
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-start form-check-variables
|
2020-07-31 15:49:28 +02:00
|
|
|
$form-check-input-width: 1em !default;
|
v5: Forms update (#28450)
* Initial spike of consolidated form checks
* Stub out forms rearrangement
- Prepping to drop non-custom file and range inputs
- Prepping to merge custom and native checks and radios (with switches)
- Prepping to merge custom select with form select
- Moving docs arround so forms has it's own area given volume of CSS
* Move input group Sass file to forms subdir
* Start to split and move the docs around
* Simpler imports
* Copyediting
* delete overview file
* Remove commented out code
* remove the custom-forms import
* rewrite flex-check as form-check, replace all custom properties
* Remove old forms doc
* stub out new subpage link section
* update migration guide
* Update nav, forms overview in page nav, and descriptions
* fix check bg position
* fix margin-top calculation
* rename .custom-select to .form-select
* Update validation styles for new checks
* add some vertical margin, fix inline checks
* fix docs examples
* better way to do this contents stuff, redo the toc while i'm at it
* page restyle for docs while here
* un-callout that, edit text
* redo padding on toc
* fix toc
* start to cleanup checks docs
* Rewrite Markdown tables into HTML
* Redesign tables, redo their docs
* Replace Open Iconic icons with custom Bootstrap icons
* Redesign the docs navbar, add a subheader, redo the sidebar
* Redesign docs homepage a bit
* Simplify table style overrides for docs tables
* Simplify docs typography for page titles and reading line length
* Stub out icons page
* Part of sidebar update, remove migration from nav.yml
* Move toc CSS to separate partial
* Change appearance of overview page
* fix sidebar arrow direction
* Add footer to docs layout
* Update descriptions
* Drop the .form-group class for margin utilities
* Remove lingering form-group-margin-bottom var
* improve footer spacing
* add headings to range page
* uncomment form range css
* Rename .custom-range to .form-range
* Drop unused docs var
* Uncomment the comment
* Remove unused variable
* Fix radio image sizing
* Reboot update: reset horizontal ul and ol padding
* de-dupe IDs
* tweak toc styles
* nvm, fix dropdown versions stuff
* remove sidebar nav toggle for now
* broken html
* fix more broken html, move css
* scss linting
* comment out broken helper docs
* scope styles
* scope styles
* Fixes #25540 and fixes #26407 for v5 only
* Update sidebar once more
* Match new sidenav order
* fix syntax error
* Rename custom-file to form-file, update paths, update migration docs for previous changes in #28696
* rename back
* fix size and alignment
* rename that back too
2019-07-12 23:52:33 +02:00
|
|
|
$form-check-min-height: $font-size-base * $line-height-base !default;
|
2020-06-26 16:06:20 +02:00
|
|
|
$form-check-padding-start: $form-check-input-width + .5em !default;
|
v5: Forms update (#28450)
* Initial spike of consolidated form checks
* Stub out forms rearrangement
- Prepping to drop non-custom file and range inputs
- Prepping to merge custom and native checks and radios (with switches)
- Prepping to merge custom select with form select
- Moving docs arround so forms has it's own area given volume of CSS
* Move input group Sass file to forms subdir
* Start to split and move the docs around
* Simpler imports
* Copyediting
* delete overview file
* Remove commented out code
* remove the custom-forms import
* rewrite flex-check as form-check, replace all custom properties
* Remove old forms doc
* stub out new subpage link section
* update migration guide
* Update nav, forms overview in page nav, and descriptions
* fix check bg position
* fix margin-top calculation
* rename .custom-select to .form-select
* Update validation styles for new checks
* add some vertical margin, fix inline checks
* fix docs examples
* better way to do this contents stuff, redo the toc while i'm at it
* page restyle for docs while here
* un-callout that, edit text
* redo padding on toc
* fix toc
* start to cleanup checks docs
* Rewrite Markdown tables into HTML
* Redesign tables, redo their docs
* Replace Open Iconic icons with custom Bootstrap icons
* Redesign the docs navbar, add a subheader, redo the sidebar
* Redesign docs homepage a bit
* Simplify table style overrides for docs tables
* Simplify docs typography for page titles and reading line length
* Stub out icons page
* Part of sidebar update, remove migration from nav.yml
* Move toc CSS to separate partial
* Change appearance of overview page
* fix sidebar arrow direction
* Add footer to docs layout
* Update descriptions
* Drop the .form-group class for margin utilities
* Remove lingering form-group-margin-bottom var
* improve footer spacing
* add headings to range page
* uncomment form range css
* Rename .custom-range to .form-range
* Drop unused docs var
* Uncomment the comment
* Remove unused variable
* Fix radio image sizing
* Reboot update: reset horizontal ul and ol padding
* de-dupe IDs
* tweak toc styles
* nvm, fix dropdown versions stuff
* remove sidebar nav toggle for now
* broken html
* fix more broken html, move css
* scss linting
* comment out broken helper docs
* scope styles
* scope styles
* Fixes #25540 and fixes #26407 for v5 only
* Update sidebar once more
* Match new sidenav order
* fix syntax error
* Rename custom-file to form-file, update paths, update migration docs for previous changes in #28696
* rename back
* fix size and alignment
* rename that back too
2019-07-12 23:52:33 +02:00
|
|
|
$form-check-margin-bottom: .125rem !default;
|
2020-03-23 18:29:56 +01:00
|
|
|
$form-check-label-color: null !default;
|
2019-11-07 20:03:52 +01:00
|
|
|
$form-check-label-cursor: null !default;
|
2021-01-14 05:11:18 +01:00
|
|
|
$form-check-transition: null !default;
|
v5: Forms update (#28450)
* Initial spike of consolidated form checks
* Stub out forms rearrangement
- Prepping to drop non-custom file and range inputs
- Prepping to merge custom and native checks and radios (with switches)
- Prepping to merge custom select with form select
- Moving docs arround so forms has it's own area given volume of CSS
* Move input group Sass file to forms subdir
* Start to split and move the docs around
* Simpler imports
* Copyediting
* delete overview file
* Remove commented out code
* remove the custom-forms import
* rewrite flex-check as form-check, replace all custom properties
* Remove old forms doc
* stub out new subpage link section
* update migration guide
* Update nav, forms overview in page nav, and descriptions
* fix check bg position
* fix margin-top calculation
* rename .custom-select to .form-select
* Update validation styles for new checks
* add some vertical margin, fix inline checks
* fix docs examples
* better way to do this contents stuff, redo the toc while i'm at it
* page restyle for docs while here
* un-callout that, edit text
* redo padding on toc
* fix toc
* start to cleanup checks docs
* Rewrite Markdown tables into HTML
* Redesign tables, redo their docs
* Replace Open Iconic icons with custom Bootstrap icons
* Redesign the docs navbar, add a subheader, redo the sidebar
* Redesign docs homepage a bit
* Simplify table style overrides for docs tables
* Simplify docs typography for page titles and reading line length
* Stub out icons page
* Part of sidebar update, remove migration from nav.yml
* Move toc CSS to separate partial
* Change appearance of overview page
* fix sidebar arrow direction
* Add footer to docs layout
* Update descriptions
* Drop the .form-group class for margin utilities
* Remove lingering form-group-margin-bottom var
* improve footer spacing
* add headings to range page
* uncomment form range css
* Rename .custom-range to .form-range
* Drop unused docs var
* Uncomment the comment
* Remove unused variable
* Fix radio image sizing
* Reboot update: reset horizontal ul and ol padding
* de-dupe IDs
* tweak toc styles
* nvm, fix dropdown versions stuff
* remove sidebar nav toggle for now
* broken html
* fix more broken html, move css
* scss linting
* comment out broken helper docs
* scope styles
* scope styles
* Fixes #25540 and fixes #26407 for v5 only
* Update sidebar once more
* Match new sidenav order
* fix syntax error
* Rename custom-file to form-file, update paths, update migration docs for previous changes in #28696
* rename back
* fix size and alignment
* rename that back too
2019-07-12 23:52:33 +02:00
|
|
|
|
|
|
|
$form-check-input-active-filter: brightness(90%) !default;
|
|
|
|
|
2021-01-14 05:11:18 +01:00
|
|
|
$form-check-input-bg: $input-bg !default;
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$form-check-input-border: var(--#{$prefix}border-width) solid var(--#{$prefix}border-color) !default;
|
v5: Forms update (#28450)
* Initial spike of consolidated form checks
* Stub out forms rearrangement
- Prepping to drop non-custom file and range inputs
- Prepping to merge custom and native checks and radios (with switches)
- Prepping to merge custom select with form select
- Moving docs arround so forms has it's own area given volume of CSS
* Move input group Sass file to forms subdir
* Start to split and move the docs around
* Simpler imports
* Copyediting
* delete overview file
* Remove commented out code
* remove the custom-forms import
* rewrite flex-check as form-check, replace all custom properties
* Remove old forms doc
* stub out new subpage link section
* update migration guide
* Update nav, forms overview in page nav, and descriptions
* fix check bg position
* fix margin-top calculation
* rename .custom-select to .form-select
* Update validation styles for new checks
* add some vertical margin, fix inline checks
* fix docs examples
* better way to do this contents stuff, redo the toc while i'm at it
* page restyle for docs while here
* un-callout that, edit text
* redo padding on toc
* fix toc
* start to cleanup checks docs
* Rewrite Markdown tables into HTML
* Redesign tables, redo their docs
* Replace Open Iconic icons with custom Bootstrap icons
* Redesign the docs navbar, add a subheader, redo the sidebar
* Redesign docs homepage a bit
* Simplify table style overrides for docs tables
* Simplify docs typography for page titles and reading line length
* Stub out icons page
* Part of sidebar update, remove migration from nav.yml
* Move toc CSS to separate partial
* Change appearance of overview page
* fix sidebar arrow direction
* Add footer to docs layout
* Update descriptions
* Drop the .form-group class for margin utilities
* Remove lingering form-group-margin-bottom var
* improve footer spacing
* add headings to range page
* uncomment form range css
* Rename .custom-range to .form-range
* Drop unused docs var
* Uncomment the comment
* Remove unused variable
* Fix radio image sizing
* Reboot update: reset horizontal ul and ol padding
* de-dupe IDs
* tweak toc styles
* nvm, fix dropdown versions stuff
* remove sidebar nav toggle for now
* broken html
* fix more broken html, move css
* scss linting
* comment out broken helper docs
* scope styles
* scope styles
* Fixes #25540 and fixes #26407 for v5 only
* Update sidebar once more
* Match new sidenav order
* fix syntax error
* Rename custom-file to form-file, update paths, update migration docs for previous changes in #28696
* rename back
* fix size and alignment
* rename that back too
2019-07-12 23:52:33 +02:00
|
|
|
$form-check-input-border-radius: .25em !default;
|
|
|
|
$form-check-radio-border-radius: 50% !default;
|
|
|
|
$form-check-input-focus-border: $input-focus-border-color !default;
|
2022-12-29 23:19:22 +01:00
|
|
|
$form-check-input-focus-box-shadow: $focus-ring-box-shadow !default;
|
v5: Forms update (#28450)
* Initial spike of consolidated form checks
* Stub out forms rearrangement
- Prepping to drop non-custom file and range inputs
- Prepping to merge custom and native checks and radios (with switches)
- Prepping to merge custom select with form select
- Moving docs arround so forms has it's own area given volume of CSS
* Move input group Sass file to forms subdir
* Start to split and move the docs around
* Simpler imports
* Copyediting
* delete overview file
* Remove commented out code
* remove the custom-forms import
* rewrite flex-check as form-check, replace all custom properties
* Remove old forms doc
* stub out new subpage link section
* update migration guide
* Update nav, forms overview in page nav, and descriptions
* fix check bg position
* fix margin-top calculation
* rename .custom-select to .form-select
* Update validation styles for new checks
* add some vertical margin, fix inline checks
* fix docs examples
* better way to do this contents stuff, redo the toc while i'm at it
* page restyle for docs while here
* un-callout that, edit text
* redo padding on toc
* fix toc
* start to cleanup checks docs
* Rewrite Markdown tables into HTML
* Redesign tables, redo their docs
* Replace Open Iconic icons with custom Bootstrap icons
* Redesign the docs navbar, add a subheader, redo the sidebar
* Redesign docs homepage a bit
* Simplify table style overrides for docs tables
* Simplify docs typography for page titles and reading line length
* Stub out icons page
* Part of sidebar update, remove migration from nav.yml
* Move toc CSS to separate partial
* Change appearance of overview page
* fix sidebar arrow direction
* Add footer to docs layout
* Update descriptions
* Drop the .form-group class for margin utilities
* Remove lingering form-group-margin-bottom var
* improve footer spacing
* add headings to range page
* uncomment form range css
* Rename .custom-range to .form-range
* Drop unused docs var
* Uncomment the comment
* Remove unused variable
* Fix radio image sizing
* Reboot update: reset horizontal ul and ol padding
* de-dupe IDs
* tweak toc styles
* nvm, fix dropdown versions stuff
* remove sidebar nav toggle for now
* broken html
* fix more broken html, move css
* scss linting
* comment out broken helper docs
* scope styles
* scope styles
* Fixes #25540 and fixes #26407 for v5 only
* Update sidebar once more
* Match new sidenav order
* fix syntax error
* Rename custom-file to form-file, update paths, update migration docs for previous changes in #28696
* rename back
* fix size and alignment
* rename that back too
2019-07-12 23:52:33 +02:00
|
|
|
|
|
|
|
$form-check-input-checked-color: $component-active-color !default;
|
|
|
|
$form-check-input-checked-bg-color: $component-active-bg !default;
|
|
|
|
$form-check-input-checked-border-color: $form-check-input-checked-bg-color !default;
|
2021-12-15 08:29:17 +01:00
|
|
|
$form-check-input-checked-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='none' stroke='#{$form-check-input-checked-color}' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/></svg>") !default;
|
2019-10-03 08:52:25 +02:00
|
|
|
$form-check-radio-checked-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='2' fill='#{$form-check-input-checked-color}'/></svg>") !default;
|
v5: Forms update (#28450)
* Initial spike of consolidated form checks
* Stub out forms rearrangement
- Prepping to drop non-custom file and range inputs
- Prepping to merge custom and native checks and radios (with switches)
- Prepping to merge custom select with form select
- Moving docs arround so forms has it's own area given volume of CSS
* Move input group Sass file to forms subdir
* Start to split and move the docs around
* Simpler imports
* Copyediting
* delete overview file
* Remove commented out code
* remove the custom-forms import
* rewrite flex-check as form-check, replace all custom properties
* Remove old forms doc
* stub out new subpage link section
* update migration guide
* Update nav, forms overview in page nav, and descriptions
* fix check bg position
* fix margin-top calculation
* rename .custom-select to .form-select
* Update validation styles for new checks
* add some vertical margin, fix inline checks
* fix docs examples
* better way to do this contents stuff, redo the toc while i'm at it
* page restyle for docs while here
* un-callout that, edit text
* redo padding on toc
* fix toc
* start to cleanup checks docs
* Rewrite Markdown tables into HTML
* Redesign tables, redo their docs
* Replace Open Iconic icons with custom Bootstrap icons
* Redesign the docs navbar, add a subheader, redo the sidebar
* Redesign docs homepage a bit
* Simplify table style overrides for docs tables
* Simplify docs typography for page titles and reading line length
* Stub out icons page
* Part of sidebar update, remove migration from nav.yml
* Move toc CSS to separate partial
* Change appearance of overview page
* fix sidebar arrow direction
* Add footer to docs layout
* Update descriptions
* Drop the .form-group class for margin utilities
* Remove lingering form-group-margin-bottom var
* improve footer spacing
* add headings to range page
* uncomment form range css
* Rename .custom-range to .form-range
* Drop unused docs var
* Uncomment the comment
* Remove unused variable
* Fix radio image sizing
* Reboot update: reset horizontal ul and ol padding
* de-dupe IDs
* tweak toc styles
* nvm, fix dropdown versions stuff
* remove sidebar nav toggle for now
* broken html
* fix more broken html, move css
* scss linting
* comment out broken helper docs
* scope styles
* scope styles
* Fixes #25540 and fixes #26407 for v5 only
* Update sidebar once more
* Match new sidenav order
* fix syntax error
* Rename custom-file to form-file, update paths, update migration docs for previous changes in #28696
* rename back
* fix size and alignment
* rename that back too
2019-07-12 23:52:33 +02:00
|
|
|
|
|
|
|
$form-check-input-indeterminate-color: $component-active-color !default;
|
|
|
|
$form-check-input-indeterminate-bg-color: $component-active-bg !default;
|
|
|
|
$form-check-input-indeterminate-border-color: $form-check-input-indeterminate-bg-color !default;
|
2020-04-14 15:05:34 +02:00
|
|
|
$form-check-input-indeterminate-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='none' stroke='#{$form-check-input-indeterminate-color}' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/></svg>") !default;
|
v5: Forms update (#28450)
* Initial spike of consolidated form checks
* Stub out forms rearrangement
- Prepping to drop non-custom file and range inputs
- Prepping to merge custom and native checks and radios (with switches)
- Prepping to merge custom select with form select
- Moving docs arround so forms has it's own area given volume of CSS
* Move input group Sass file to forms subdir
* Start to split and move the docs around
* Simpler imports
* Copyediting
* delete overview file
* Remove commented out code
* remove the custom-forms import
* rewrite flex-check as form-check, replace all custom properties
* Remove old forms doc
* stub out new subpage link section
* update migration guide
* Update nav, forms overview in page nav, and descriptions
* fix check bg position
* fix margin-top calculation
* rename .custom-select to .form-select
* Update validation styles for new checks
* add some vertical margin, fix inline checks
* fix docs examples
* better way to do this contents stuff, redo the toc while i'm at it
* page restyle for docs while here
* un-callout that, edit text
* redo padding on toc
* fix toc
* start to cleanup checks docs
* Rewrite Markdown tables into HTML
* Redesign tables, redo their docs
* Replace Open Iconic icons with custom Bootstrap icons
* Redesign the docs navbar, add a subheader, redo the sidebar
* Redesign docs homepage a bit
* Simplify table style overrides for docs tables
* Simplify docs typography for page titles and reading line length
* Stub out icons page
* Part of sidebar update, remove migration from nav.yml
* Move toc CSS to separate partial
* Change appearance of overview page
* fix sidebar arrow direction
* Add footer to docs layout
* Update descriptions
* Drop the .form-group class for margin utilities
* Remove lingering form-group-margin-bottom var
* improve footer spacing
* add headings to range page
* uncomment form range css
* Rename .custom-range to .form-range
* Drop unused docs var
* Uncomment the comment
* Remove unused variable
* Fix radio image sizing
* Reboot update: reset horizontal ul and ol padding
* de-dupe IDs
* tweak toc styles
* nvm, fix dropdown versions stuff
* remove sidebar nav toggle for now
* broken html
* fix more broken html, move css
* scss linting
* comment out broken helper docs
* scope styles
* scope styles
* Fixes #25540 and fixes #26407 for v5 only
* Update sidebar once more
* Match new sidenav order
* fix syntax error
* Rename custom-file to form-file, update paths, update migration docs for previous changes in #28696
* rename back
* fix size and alignment
* rename that back too
2019-07-12 23:52:33 +02:00
|
|
|
|
2020-09-29 20:49:50 +02:00
|
|
|
$form-check-input-disabled-opacity: .5 !default;
|
|
|
|
$form-check-label-disabled-opacity: $form-check-input-disabled-opacity !default;
|
|
|
|
$form-check-btn-check-disabled-opacity: $btn-disabled-opacity !default;
|
|
|
|
|
2021-02-11 04:29:59 +01:00
|
|
|
$form-check-inline-margin-end: 1rem !default;
|
|
|
|
// scss-docs-end form-check-variables
|
|
|
|
|
|
|
|
// scss-docs-start form-switch-variables
|
2021-09-28 17:18:02 +02:00
|
|
|
$form-switch-color: rgba($black, .25) !default;
|
v5: Forms update (#28450)
* Initial spike of consolidated form checks
* Stub out forms rearrangement
- Prepping to drop non-custom file and range inputs
- Prepping to merge custom and native checks and radios (with switches)
- Prepping to merge custom select with form select
- Moving docs arround so forms has it's own area given volume of CSS
* Move input group Sass file to forms subdir
* Start to split and move the docs around
* Simpler imports
* Copyediting
* delete overview file
* Remove commented out code
* remove the custom-forms import
* rewrite flex-check as form-check, replace all custom properties
* Remove old forms doc
* stub out new subpage link section
* update migration guide
* Update nav, forms overview in page nav, and descriptions
* fix check bg position
* fix margin-top calculation
* rename .custom-select to .form-select
* Update validation styles for new checks
* add some vertical margin, fix inline checks
* fix docs examples
* better way to do this contents stuff, redo the toc while i'm at it
* page restyle for docs while here
* un-callout that, edit text
* redo padding on toc
* fix toc
* start to cleanup checks docs
* Rewrite Markdown tables into HTML
* Redesign tables, redo their docs
* Replace Open Iconic icons with custom Bootstrap icons
* Redesign the docs navbar, add a subheader, redo the sidebar
* Redesign docs homepage a bit
* Simplify table style overrides for docs tables
* Simplify docs typography for page titles and reading line length
* Stub out icons page
* Part of sidebar update, remove migration from nav.yml
* Move toc CSS to separate partial
* Change appearance of overview page
* fix sidebar arrow direction
* Add footer to docs layout
* Update descriptions
* Drop the .form-group class for margin utilities
* Remove lingering form-group-margin-bottom var
* improve footer spacing
* add headings to range page
* uncomment form range css
* Rename .custom-range to .form-range
* Drop unused docs var
* Uncomment the comment
* Remove unused variable
* Fix radio image sizing
* Reboot update: reset horizontal ul and ol padding
* de-dupe IDs
* tweak toc styles
* nvm, fix dropdown versions stuff
* remove sidebar nav toggle for now
* broken html
* fix more broken html, move css
* scss linting
* comment out broken helper docs
* scope styles
* scope styles
* Fixes #25540 and fixes #26407 for v5 only
* Update sidebar once more
* Match new sidenav order
* fix syntax error
* Rename custom-file to form-file, update paths, update migration docs for previous changes in #28696
* rename back
* fix size and alignment
* rename that back too
2019-07-12 23:52:33 +02:00
|
|
|
$form-switch-width: 2em !default;
|
2020-06-26 16:06:20 +02:00
|
|
|
$form-switch-padding-start: $form-switch-width + .5em !default;
|
2019-07-20 03:57:12 +02:00
|
|
|
$form-switch-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='#{$form-switch-color}'/></svg>") !default;
|
v5: Forms update (#28450)
* Initial spike of consolidated form checks
* Stub out forms rearrangement
- Prepping to drop non-custom file and range inputs
- Prepping to merge custom and native checks and radios (with switches)
- Prepping to merge custom select with form select
- Moving docs arround so forms has it's own area given volume of CSS
* Move input group Sass file to forms subdir
* Start to split and move the docs around
* Simpler imports
* Copyediting
* delete overview file
* Remove commented out code
* remove the custom-forms import
* rewrite flex-check as form-check, replace all custom properties
* Remove old forms doc
* stub out new subpage link section
* update migration guide
* Update nav, forms overview in page nav, and descriptions
* fix check bg position
* fix margin-top calculation
* rename .custom-select to .form-select
* Update validation styles for new checks
* add some vertical margin, fix inline checks
* fix docs examples
* better way to do this contents stuff, redo the toc while i'm at it
* page restyle for docs while here
* un-callout that, edit text
* redo padding on toc
* fix toc
* start to cleanup checks docs
* Rewrite Markdown tables into HTML
* Redesign tables, redo their docs
* Replace Open Iconic icons with custom Bootstrap icons
* Redesign the docs navbar, add a subheader, redo the sidebar
* Redesign docs homepage a bit
* Simplify table style overrides for docs tables
* Simplify docs typography for page titles and reading line length
* Stub out icons page
* Part of sidebar update, remove migration from nav.yml
* Move toc CSS to separate partial
* Change appearance of overview page
* fix sidebar arrow direction
* Add footer to docs layout
* Update descriptions
* Drop the .form-group class for margin utilities
* Remove lingering form-group-margin-bottom var
* improve footer spacing
* add headings to range page
* uncomment form range css
* Rename .custom-range to .form-range
* Drop unused docs var
* Uncomment the comment
* Remove unused variable
* Fix radio image sizing
* Reboot update: reset horizontal ul and ol padding
* de-dupe IDs
* tweak toc styles
* nvm, fix dropdown versions stuff
* remove sidebar nav toggle for now
* broken html
* fix more broken html, move css
* scss linting
* comment out broken helper docs
* scope styles
* scope styles
* Fixes #25540 and fixes #26407 for v5 only
* Update sidebar once more
* Match new sidenav order
* fix syntax error
* Rename custom-file to form-file, update paths, update migration docs for previous changes in #28696
* rename back
* fix size and alignment
* rename that back too
2019-07-12 23:52:33 +02:00
|
|
|
$form-switch-border-radius: $form-switch-width !default;
|
2021-01-14 05:11:18 +01:00
|
|
|
$form-switch-transition: background-position .15s ease-in-out !default;
|
v5: Forms update (#28450)
* Initial spike of consolidated form checks
* Stub out forms rearrangement
- Prepping to drop non-custom file and range inputs
- Prepping to merge custom and native checks and radios (with switches)
- Prepping to merge custom select with form select
- Moving docs arround so forms has it's own area given volume of CSS
* Move input group Sass file to forms subdir
* Start to split and move the docs around
* Simpler imports
* Copyediting
* delete overview file
* Remove commented out code
* remove the custom-forms import
* rewrite flex-check as form-check, replace all custom properties
* Remove old forms doc
* stub out new subpage link section
* update migration guide
* Update nav, forms overview in page nav, and descriptions
* fix check bg position
* fix margin-top calculation
* rename .custom-select to .form-select
* Update validation styles for new checks
* add some vertical margin, fix inline checks
* fix docs examples
* better way to do this contents stuff, redo the toc while i'm at it
* page restyle for docs while here
* un-callout that, edit text
* redo padding on toc
* fix toc
* start to cleanup checks docs
* Rewrite Markdown tables into HTML
* Redesign tables, redo their docs
* Replace Open Iconic icons with custom Bootstrap icons
* Redesign the docs navbar, add a subheader, redo the sidebar
* Redesign docs homepage a bit
* Simplify table style overrides for docs tables
* Simplify docs typography for page titles and reading line length
* Stub out icons page
* Part of sidebar update, remove migration from nav.yml
* Move toc CSS to separate partial
* Change appearance of overview page
* fix sidebar arrow direction
* Add footer to docs layout
* Update descriptions
* Drop the .form-group class for margin utilities
* Remove lingering form-group-margin-bottom var
* improve footer spacing
* add headings to range page
* uncomment form range css
* Rename .custom-range to .form-range
* Drop unused docs var
* Uncomment the comment
* Remove unused variable
* Fix radio image sizing
* Reboot update: reset horizontal ul and ol padding
* de-dupe IDs
* tweak toc styles
* nvm, fix dropdown versions stuff
* remove sidebar nav toggle for now
* broken html
* fix more broken html, move css
* scss linting
* comment out broken helper docs
* scope styles
* scope styles
* Fixes #25540 and fixes #26407 for v5 only
* Update sidebar once more
* Match new sidenav order
* fix syntax error
* Rename custom-file to form-file, update paths, update migration docs for previous changes in #28696
* rename back
* fix size and alignment
* rename that back too
2019-07-12 23:52:33 +02:00
|
|
|
|
2020-05-14 19:48:42 +02:00
|
|
|
$form-switch-focus-color: $input-focus-border-color !default;
|
2019-07-20 03:57:12 +02:00
|
|
|
$form-switch-focus-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='#{$form-switch-focus-color}'/></svg>") !default;
|
v5: Forms update (#28450)
* Initial spike of consolidated form checks
* Stub out forms rearrangement
- Prepping to drop non-custom file and range inputs
- Prepping to merge custom and native checks and radios (with switches)
- Prepping to merge custom select with form select
- Moving docs arround so forms has it's own area given volume of CSS
* Move input group Sass file to forms subdir
* Start to split and move the docs around
* Simpler imports
* Copyediting
* delete overview file
* Remove commented out code
* remove the custom-forms import
* rewrite flex-check as form-check, replace all custom properties
* Remove old forms doc
* stub out new subpage link section
* update migration guide
* Update nav, forms overview in page nav, and descriptions
* fix check bg position
* fix margin-top calculation
* rename .custom-select to .form-select
* Update validation styles for new checks
* add some vertical margin, fix inline checks
* fix docs examples
* better way to do this contents stuff, redo the toc while i'm at it
* page restyle for docs while here
* un-callout that, edit text
* redo padding on toc
* fix toc
* start to cleanup checks docs
* Rewrite Markdown tables into HTML
* Redesign tables, redo their docs
* Replace Open Iconic icons with custom Bootstrap icons
* Redesign the docs navbar, add a subheader, redo the sidebar
* Redesign docs homepage a bit
* Simplify table style overrides for docs tables
* Simplify docs typography for page titles and reading line length
* Stub out icons page
* Part of sidebar update, remove migration from nav.yml
* Move toc CSS to separate partial
* Change appearance of overview page
* fix sidebar arrow direction
* Add footer to docs layout
* Update descriptions
* Drop the .form-group class for margin utilities
* Remove lingering form-group-margin-bottom var
* improve footer spacing
* add headings to range page
* uncomment form range css
* Rename .custom-range to .form-range
* Drop unused docs var
* Uncomment the comment
* Remove unused variable
* Fix radio image sizing
* Reboot update: reset horizontal ul and ol padding
* de-dupe IDs
* tweak toc styles
* nvm, fix dropdown versions stuff
* remove sidebar nav toggle for now
* broken html
* fix more broken html, move css
* scss linting
* comment out broken helper docs
* scope styles
* scope styles
* Fixes #25540 and fixes #26407 for v5 only
* Update sidebar once more
* Match new sidenav order
* fix syntax error
* Rename custom-file to form-file, update paths, update migration docs for previous changes in #28696
* rename back
* fix size and alignment
* rename that back too
2019-07-12 23:52:33 +02:00
|
|
|
|
|
|
|
$form-switch-checked-color: $component-active-color !default;
|
2019-07-20 03:57:12 +02:00
|
|
|
$form-switch-checked-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='#{$form-switch-checked-color}'/></svg>") !default;
|
|
|
|
$form-switch-checked-bg-position: right center !default;
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-end form-switch-variables
|
v5: Forms update (#28450)
* Initial spike of consolidated form checks
* Stub out forms rearrangement
- Prepping to drop non-custom file and range inputs
- Prepping to merge custom and native checks and radios (with switches)
- Prepping to merge custom select with form select
- Moving docs arround so forms has it's own area given volume of CSS
* Move input group Sass file to forms subdir
* Start to split and move the docs around
* Simpler imports
* Copyediting
* delete overview file
* Remove commented out code
* remove the custom-forms import
* rewrite flex-check as form-check, replace all custom properties
* Remove old forms doc
* stub out new subpage link section
* update migration guide
* Update nav, forms overview in page nav, and descriptions
* fix check bg position
* fix margin-top calculation
* rename .custom-select to .form-select
* Update validation styles for new checks
* add some vertical margin, fix inline checks
* fix docs examples
* better way to do this contents stuff, redo the toc while i'm at it
* page restyle for docs while here
* un-callout that, edit text
* redo padding on toc
* fix toc
* start to cleanup checks docs
* Rewrite Markdown tables into HTML
* Redesign tables, redo their docs
* Replace Open Iconic icons with custom Bootstrap icons
* Redesign the docs navbar, add a subheader, redo the sidebar
* Redesign docs homepage a bit
* Simplify table style overrides for docs tables
* Simplify docs typography for page titles and reading line length
* Stub out icons page
* Part of sidebar update, remove migration from nav.yml
* Move toc CSS to separate partial
* Change appearance of overview page
* fix sidebar arrow direction
* Add footer to docs layout
* Update descriptions
* Drop the .form-group class for margin utilities
* Remove lingering form-group-margin-bottom var
* improve footer spacing
* add headings to range page
* uncomment form range css
* Rename .custom-range to .form-range
* Drop unused docs var
* Uncomment the comment
* Remove unused variable
* Fix radio image sizing
* Reboot update: reset horizontal ul and ol padding
* de-dupe IDs
* tweak toc styles
* nvm, fix dropdown versions stuff
* remove sidebar nav toggle for now
* broken html
* fix more broken html, move css
* scss linting
* comment out broken helper docs
* scope styles
* scope styles
* Fixes #25540 and fixes #26407 for v5 only
* Update sidebar once more
* Match new sidenav order
* fix syntax error
* Rename custom-file to form-file, update paths, update migration docs for previous changes in #28696
* rename back
* fix size and alignment
* rename that back too
2019-07-12 23:52:33 +02:00
|
|
|
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-start input-group-variables
|
2020-09-23 15:48:37 +02:00
|
|
|
$input-group-addon-padding-y: $input-padding-y !default;
|
|
|
|
$input-group-addon-padding-x: $input-padding-x !default;
|
|
|
|
$input-group-addon-font-weight: $input-font-weight !default;
|
2017-10-04 13:02:35 +02:00
|
|
|
$input-group-addon-color: $input-color !default;
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$input-group-addon-bg: var(--#{$prefix}tertiary-bg) !default;
|
2017-10-04 13:02:35 +02:00
|
|
|
$input-group-addon-border-color: $input-border-color !default;
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-end input-group-variables
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-start form-select-variables
|
2019-08-18 16:08:59 +02:00
|
|
|
$form-select-padding-y: $input-padding-y !default;
|
|
|
|
$form-select-padding-x: $input-padding-x !default;
|
|
|
|
$form-select-font-family: $input-font-family !default;
|
|
|
|
$form-select-font-size: $input-font-size !default;
|
2020-12-28 07:27:03 +01:00
|
|
|
$form-select-indicator-padding: $form-select-padding-x * 3 !default; // Extra padding for background-image
|
2019-08-18 16:08:59 +02:00
|
|
|
$form-select-font-weight: $input-font-weight !default;
|
|
|
|
$form-select-line-height: $input-line-height !default;
|
|
|
|
$form-select-color: $input-color !default;
|
|
|
|
$form-select-bg: $input-bg !default;
|
2021-03-02 15:09:14 +01:00
|
|
|
$form-select-disabled-color: null !default;
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$form-select-disabled-bg: $input-disabled-bg !default;
|
2019-08-18 16:08:59 +02:00
|
|
|
$form-select-disabled-border-color: $input-disabled-border-color !default;
|
2019-12-19 10:38:43 +01:00
|
|
|
$form-select-bg-position: right $form-select-padding-x center !default;
|
2019-08-18 16:08:59 +02:00
|
|
|
$form-select-bg-size: 16px 12px !default; // In pixels because image dimensions
|
|
|
|
$form-select-indicator-color: $gray-800 !default;
|
2021-12-15 08:29:17 +01:00
|
|
|
$form-select-indicator: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='#{$form-select-indicator-color}' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/></svg>") !default;
|
2019-08-18 16:08:59 +02:00
|
|
|
|
2020-12-28 07:27:03 +01:00
|
|
|
$form-select-feedback-icon-padding-end: $form-select-padding-x * 2.5 + $form-select-indicator-padding !default;
|
|
|
|
$form-select-feedback-icon-position: center right $form-select-indicator-padding !default;
|
2020-06-26 16:06:20 +02:00
|
|
|
$form-select-feedback-icon-size: $input-height-inner-half $input-height-inner-half !default;
|
v5: Forms update (#28450)
* Initial spike of consolidated form checks
* Stub out forms rearrangement
- Prepping to drop non-custom file and range inputs
- Prepping to merge custom and native checks and radios (with switches)
- Prepping to merge custom select with form select
- Moving docs arround so forms has it's own area given volume of CSS
* Move input group Sass file to forms subdir
* Start to split and move the docs around
* Simpler imports
* Copyediting
* delete overview file
* Remove commented out code
* remove the custom-forms import
* rewrite flex-check as form-check, replace all custom properties
* Remove old forms doc
* stub out new subpage link section
* update migration guide
* Update nav, forms overview in page nav, and descriptions
* fix check bg position
* fix margin-top calculation
* rename .custom-select to .form-select
* Update validation styles for new checks
* add some vertical margin, fix inline checks
* fix docs examples
* better way to do this contents stuff, redo the toc while i'm at it
* page restyle for docs while here
* un-callout that, edit text
* redo padding on toc
* fix toc
* start to cleanup checks docs
* Rewrite Markdown tables into HTML
* Redesign tables, redo their docs
* Replace Open Iconic icons with custom Bootstrap icons
* Redesign the docs navbar, add a subheader, redo the sidebar
* Redesign docs homepage a bit
* Simplify table style overrides for docs tables
* Simplify docs typography for page titles and reading line length
* Stub out icons page
* Part of sidebar update, remove migration from nav.yml
* Move toc CSS to separate partial
* Change appearance of overview page
* fix sidebar arrow direction
* Add footer to docs layout
* Update descriptions
* Drop the .form-group class for margin utilities
* Remove lingering form-group-margin-bottom var
* improve footer spacing
* add headings to range page
* uncomment form range css
* Rename .custom-range to .form-range
* Drop unused docs var
* Uncomment the comment
* Remove unused variable
* Fix radio image sizing
* Reboot update: reset horizontal ul and ol padding
* de-dupe IDs
* tweak toc styles
* nvm, fix dropdown versions stuff
* remove sidebar nav toggle for now
* broken html
* fix more broken html, move css
* scss linting
* comment out broken helper docs
* scope styles
* scope styles
* Fixes #25540 and fixes #26407 for v5 only
* Update sidebar once more
* Match new sidenav order
* fix syntax error
* Rename custom-file to form-file, update paths, update migration docs for previous changes in #28696
* rename back
* fix size and alignment
* rename that back too
2019-07-12 23:52:33 +02:00
|
|
|
|
|
|
|
$form-select-border-width: $input-border-width !default;
|
|
|
|
$form-select-border-color: $input-border-color !default;
|
2021-09-07 22:35:35 +02:00
|
|
|
$form-select-border-radius: $input-border-radius !default;
|
2019-07-15 09:29:13 +02:00
|
|
|
$form-select-box-shadow: $box-shadow-inset !default;
|
v5: Forms update (#28450)
* Initial spike of consolidated form checks
* Stub out forms rearrangement
- Prepping to drop non-custom file and range inputs
- Prepping to merge custom and native checks and radios (with switches)
- Prepping to merge custom select with form select
- Moving docs arround so forms has it's own area given volume of CSS
* Move input group Sass file to forms subdir
* Start to split and move the docs around
* Simpler imports
* Copyediting
* delete overview file
* Remove commented out code
* remove the custom-forms import
* rewrite flex-check as form-check, replace all custom properties
* Remove old forms doc
* stub out new subpage link section
* update migration guide
* Update nav, forms overview in page nav, and descriptions
* fix check bg position
* fix margin-top calculation
* rename .custom-select to .form-select
* Update validation styles for new checks
* add some vertical margin, fix inline checks
* fix docs examples
* better way to do this contents stuff, redo the toc while i'm at it
* page restyle for docs while here
* un-callout that, edit text
* redo padding on toc
* fix toc
* start to cleanup checks docs
* Rewrite Markdown tables into HTML
* Redesign tables, redo their docs
* Replace Open Iconic icons with custom Bootstrap icons
* Redesign the docs navbar, add a subheader, redo the sidebar
* Redesign docs homepage a bit
* Simplify table style overrides for docs tables
* Simplify docs typography for page titles and reading line length
* Stub out icons page
* Part of sidebar update, remove migration from nav.yml
* Move toc CSS to separate partial
* Change appearance of overview page
* fix sidebar arrow direction
* Add footer to docs layout
* Update descriptions
* Drop the .form-group class for margin utilities
* Remove lingering form-group-margin-bottom var
* improve footer spacing
* add headings to range page
* uncomment form range css
* Rename .custom-range to .form-range
* Drop unused docs var
* Uncomment the comment
* Remove unused variable
* Fix radio image sizing
* Reboot update: reset horizontal ul and ol padding
* de-dupe IDs
* tweak toc styles
* nvm, fix dropdown versions stuff
* remove sidebar nav toggle for now
* broken html
* fix more broken html, move css
* scss linting
* comment out broken helper docs
* scope styles
* scope styles
* Fixes #25540 and fixes #26407 for v5 only
* Update sidebar once more
* Match new sidenav order
* fix syntax error
* Rename custom-file to form-file, update paths, update migration docs for previous changes in #28696
* rename back
* fix size and alignment
* rename that back too
2019-07-12 23:52:33 +02:00
|
|
|
|
|
|
|
$form-select-focus-border-color: $input-focus-border-color !default;
|
|
|
|
$form-select-focus-width: $input-focus-width !default;
|
|
|
|
$form-select-focus-box-shadow: 0 0 0 $form-select-focus-width $input-btn-focus-color !default;
|
|
|
|
|
|
|
|
$form-select-padding-y-sm: $input-padding-y-sm !default;
|
|
|
|
$form-select-padding-x-sm: $input-padding-x-sm !default;
|
|
|
|
$form-select-font-size-sm: $input-font-size-sm !default;
|
2021-09-07 22:35:35 +02:00
|
|
|
$form-select-border-radius-sm: $input-border-radius-sm !default;
|
v5: Forms update (#28450)
* Initial spike of consolidated form checks
* Stub out forms rearrangement
- Prepping to drop non-custom file and range inputs
- Prepping to merge custom and native checks and radios (with switches)
- Prepping to merge custom select with form select
- Moving docs arround so forms has it's own area given volume of CSS
* Move input group Sass file to forms subdir
* Start to split and move the docs around
* Simpler imports
* Copyediting
* delete overview file
* Remove commented out code
* remove the custom-forms import
* rewrite flex-check as form-check, replace all custom properties
* Remove old forms doc
* stub out new subpage link section
* update migration guide
* Update nav, forms overview in page nav, and descriptions
* fix check bg position
* fix margin-top calculation
* rename .custom-select to .form-select
* Update validation styles for new checks
* add some vertical margin, fix inline checks
* fix docs examples
* better way to do this contents stuff, redo the toc while i'm at it
* page restyle for docs while here
* un-callout that, edit text
* redo padding on toc
* fix toc
* start to cleanup checks docs
* Rewrite Markdown tables into HTML
* Redesign tables, redo their docs
* Replace Open Iconic icons with custom Bootstrap icons
* Redesign the docs navbar, add a subheader, redo the sidebar
* Redesign docs homepage a bit
* Simplify table style overrides for docs tables
* Simplify docs typography for page titles and reading line length
* Stub out icons page
* Part of sidebar update, remove migration from nav.yml
* Move toc CSS to separate partial
* Change appearance of overview page
* fix sidebar arrow direction
* Add footer to docs layout
* Update descriptions
* Drop the .form-group class for margin utilities
* Remove lingering form-group-margin-bottom var
* improve footer spacing
* add headings to range page
* uncomment form range css
* Rename .custom-range to .form-range
* Drop unused docs var
* Uncomment the comment
* Remove unused variable
* Fix radio image sizing
* Reboot update: reset horizontal ul and ol padding
* de-dupe IDs
* tweak toc styles
* nvm, fix dropdown versions stuff
* remove sidebar nav toggle for now
* broken html
* fix more broken html, move css
* scss linting
* comment out broken helper docs
* scope styles
* scope styles
* Fixes #25540 and fixes #26407 for v5 only
* Update sidebar once more
* Match new sidenav order
* fix syntax error
* Rename custom-file to form-file, update paths, update migration docs for previous changes in #28696
* rename back
* fix size and alignment
* rename that back too
2019-07-12 23:52:33 +02:00
|
|
|
|
|
|
|
$form-select-padding-y-lg: $input-padding-y-lg !default;
|
|
|
|
$form-select-padding-x-lg: $input-padding-x-lg !default;
|
|
|
|
$form-select-font-size-lg: $input-font-size-lg !default;
|
2021-09-07 22:35:35 +02:00
|
|
|
$form-select-border-radius-lg: $input-border-radius-lg !default;
|
2021-05-28 09:20:31 +02:00
|
|
|
|
|
|
|
$form-select-transition: $input-transition !default;
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-end form-select-variables
|
v5: Forms update (#28450)
* Initial spike of consolidated form checks
* Stub out forms rearrangement
- Prepping to drop non-custom file and range inputs
- Prepping to merge custom and native checks and radios (with switches)
- Prepping to merge custom select with form select
- Moving docs arround so forms has it's own area given volume of CSS
* Move input group Sass file to forms subdir
* Start to split and move the docs around
* Simpler imports
* Copyediting
* delete overview file
* Remove commented out code
* remove the custom-forms import
* rewrite flex-check as form-check, replace all custom properties
* Remove old forms doc
* stub out new subpage link section
* update migration guide
* Update nav, forms overview in page nav, and descriptions
* fix check bg position
* fix margin-top calculation
* rename .custom-select to .form-select
* Update validation styles for new checks
* add some vertical margin, fix inline checks
* fix docs examples
* better way to do this contents stuff, redo the toc while i'm at it
* page restyle for docs while here
* un-callout that, edit text
* redo padding on toc
* fix toc
* start to cleanup checks docs
* Rewrite Markdown tables into HTML
* Redesign tables, redo their docs
* Replace Open Iconic icons with custom Bootstrap icons
* Redesign the docs navbar, add a subheader, redo the sidebar
* Redesign docs homepage a bit
* Simplify table style overrides for docs tables
* Simplify docs typography for page titles and reading line length
* Stub out icons page
* Part of sidebar update, remove migration from nav.yml
* Move toc CSS to separate partial
* Change appearance of overview page
* fix sidebar arrow direction
* Add footer to docs layout
* Update descriptions
* Drop the .form-group class for margin utilities
* Remove lingering form-group-margin-bottom var
* improve footer spacing
* add headings to range page
* uncomment form range css
* Rename .custom-range to .form-range
* Drop unused docs var
* Uncomment the comment
* Remove unused variable
* Fix radio image sizing
* Reboot update: reset horizontal ul and ol padding
* de-dupe IDs
* tweak toc styles
* nvm, fix dropdown versions stuff
* remove sidebar nav toggle for now
* broken html
* fix more broken html, move css
* scss linting
* comment out broken helper docs
* scope styles
* scope styles
* Fixes #25540 and fixes #26407 for v5 only
* Update sidebar once more
* Match new sidenav order
* fix syntax error
* Rename custom-file to form-file, update paths, update migration docs for previous changes in #28696
* rename back
* fix size and alignment
* rename that back too
2019-07-12 23:52:33 +02:00
|
|
|
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-start form-range-variables
|
v5: Forms update (#28450)
* Initial spike of consolidated form checks
* Stub out forms rearrangement
- Prepping to drop non-custom file and range inputs
- Prepping to merge custom and native checks and radios (with switches)
- Prepping to merge custom select with form select
- Moving docs arround so forms has it's own area given volume of CSS
* Move input group Sass file to forms subdir
* Start to split and move the docs around
* Simpler imports
* Copyediting
* delete overview file
* Remove commented out code
* remove the custom-forms import
* rewrite flex-check as form-check, replace all custom properties
* Remove old forms doc
* stub out new subpage link section
* update migration guide
* Update nav, forms overview in page nav, and descriptions
* fix check bg position
* fix margin-top calculation
* rename .custom-select to .form-select
* Update validation styles for new checks
* add some vertical margin, fix inline checks
* fix docs examples
* better way to do this contents stuff, redo the toc while i'm at it
* page restyle for docs while here
* un-callout that, edit text
* redo padding on toc
* fix toc
* start to cleanup checks docs
* Rewrite Markdown tables into HTML
* Redesign tables, redo their docs
* Replace Open Iconic icons with custom Bootstrap icons
* Redesign the docs navbar, add a subheader, redo the sidebar
* Redesign docs homepage a bit
* Simplify table style overrides for docs tables
* Simplify docs typography for page titles and reading line length
* Stub out icons page
* Part of sidebar update, remove migration from nav.yml
* Move toc CSS to separate partial
* Change appearance of overview page
* fix sidebar arrow direction
* Add footer to docs layout
* Update descriptions
* Drop the .form-group class for margin utilities
* Remove lingering form-group-margin-bottom var
* improve footer spacing
* add headings to range page
* uncomment form range css
* Rename .custom-range to .form-range
* Drop unused docs var
* Uncomment the comment
* Remove unused variable
* Fix radio image sizing
* Reboot update: reset horizontal ul and ol padding
* de-dupe IDs
* tweak toc styles
* nvm, fix dropdown versions stuff
* remove sidebar nav toggle for now
* broken html
* fix more broken html, move css
* scss linting
* comment out broken helper docs
* scope styles
* scope styles
* Fixes #25540 and fixes #26407 for v5 only
* Update sidebar once more
* Match new sidenav order
* fix syntax error
* Rename custom-file to form-file, update paths, update migration docs for previous changes in #28696
* rename back
* fix size and alignment
* rename that back too
2019-07-12 23:52:33 +02:00
|
|
|
$form-range-track-width: 100% !default;
|
|
|
|
$form-range-track-height: .5rem !default;
|
|
|
|
$form-range-track-cursor: pointer !default;
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$form-range-track-bg: var(--#{$prefix}tertiary-bg) !default;
|
v5: Forms update (#28450)
* Initial spike of consolidated form checks
* Stub out forms rearrangement
- Prepping to drop non-custom file and range inputs
- Prepping to merge custom and native checks and radios (with switches)
- Prepping to merge custom select with form select
- Moving docs arround so forms has it's own area given volume of CSS
* Move input group Sass file to forms subdir
* Start to split and move the docs around
* Simpler imports
* Copyediting
* delete overview file
* Remove commented out code
* remove the custom-forms import
* rewrite flex-check as form-check, replace all custom properties
* Remove old forms doc
* stub out new subpage link section
* update migration guide
* Update nav, forms overview in page nav, and descriptions
* fix check bg position
* fix margin-top calculation
* rename .custom-select to .form-select
* Update validation styles for new checks
* add some vertical margin, fix inline checks
* fix docs examples
* better way to do this contents stuff, redo the toc while i'm at it
* page restyle for docs while here
* un-callout that, edit text
* redo padding on toc
* fix toc
* start to cleanup checks docs
* Rewrite Markdown tables into HTML
* Redesign tables, redo their docs
* Replace Open Iconic icons with custom Bootstrap icons
* Redesign the docs navbar, add a subheader, redo the sidebar
* Redesign docs homepage a bit
* Simplify table style overrides for docs tables
* Simplify docs typography for page titles and reading line length
* Stub out icons page
* Part of sidebar update, remove migration from nav.yml
* Move toc CSS to separate partial
* Change appearance of overview page
* fix sidebar arrow direction
* Add footer to docs layout
* Update descriptions
* Drop the .form-group class for margin utilities
* Remove lingering form-group-margin-bottom var
* improve footer spacing
* add headings to range page
* uncomment form range css
* Rename .custom-range to .form-range
* Drop unused docs var
* Uncomment the comment
* Remove unused variable
* Fix radio image sizing
* Reboot update: reset horizontal ul and ol padding
* de-dupe IDs
* tweak toc styles
* nvm, fix dropdown versions stuff
* remove sidebar nav toggle for now
* broken html
* fix more broken html, move css
* scss linting
* comment out broken helper docs
* scope styles
* scope styles
* Fixes #25540 and fixes #26407 for v5 only
* Update sidebar once more
* Match new sidenav order
* fix syntax error
* Rename custom-file to form-file, update paths, update migration docs for previous changes in #28696
* rename back
* fix size and alignment
* rename that back too
2019-07-12 23:52:33 +02:00
|
|
|
$form-range-track-border-radius: 1rem !default;
|
2019-07-15 09:29:13 +02:00
|
|
|
$form-range-track-box-shadow: $box-shadow-inset !default;
|
v5: Forms update (#28450)
* Initial spike of consolidated form checks
* Stub out forms rearrangement
- Prepping to drop non-custom file and range inputs
- Prepping to merge custom and native checks and radios (with switches)
- Prepping to merge custom select with form select
- Moving docs arround so forms has it's own area given volume of CSS
* Move input group Sass file to forms subdir
* Start to split and move the docs around
* Simpler imports
* Copyediting
* delete overview file
* Remove commented out code
* remove the custom-forms import
* rewrite flex-check as form-check, replace all custom properties
* Remove old forms doc
* stub out new subpage link section
* update migration guide
* Update nav, forms overview in page nav, and descriptions
* fix check bg position
* fix margin-top calculation
* rename .custom-select to .form-select
* Update validation styles for new checks
* add some vertical margin, fix inline checks
* fix docs examples
* better way to do this contents stuff, redo the toc while i'm at it
* page restyle for docs while here
* un-callout that, edit text
* redo padding on toc
* fix toc
* start to cleanup checks docs
* Rewrite Markdown tables into HTML
* Redesign tables, redo their docs
* Replace Open Iconic icons with custom Bootstrap icons
* Redesign the docs navbar, add a subheader, redo the sidebar
* Redesign docs homepage a bit
* Simplify table style overrides for docs tables
* Simplify docs typography for page titles and reading line length
* Stub out icons page
* Part of sidebar update, remove migration from nav.yml
* Move toc CSS to separate partial
* Change appearance of overview page
* fix sidebar arrow direction
* Add footer to docs layout
* Update descriptions
* Drop the .form-group class for margin utilities
* Remove lingering form-group-margin-bottom var
* improve footer spacing
* add headings to range page
* uncomment form range css
* Rename .custom-range to .form-range
* Drop unused docs var
* Uncomment the comment
* Remove unused variable
* Fix radio image sizing
* Reboot update: reset horizontal ul and ol padding
* de-dupe IDs
* tweak toc styles
* nvm, fix dropdown versions stuff
* remove sidebar nav toggle for now
* broken html
* fix more broken html, move css
* scss linting
* comment out broken helper docs
* scope styles
* scope styles
* Fixes #25540 and fixes #26407 for v5 only
* Update sidebar once more
* Match new sidenav order
* fix syntax error
* Rename custom-file to form-file, update paths, update migration docs for previous changes in #28696
* rename back
* fix size and alignment
* rename that back too
2019-07-12 23:52:33 +02:00
|
|
|
|
|
|
|
$form-range-thumb-width: 1rem !default;
|
|
|
|
$form-range-thumb-height: $form-range-thumb-width !default;
|
|
|
|
$form-range-thumb-bg: $component-active-bg !default;
|
|
|
|
$form-range-thumb-border: 0 !default;
|
|
|
|
$form-range-thumb-border-radius: 1rem !default;
|
|
|
|
$form-range-thumb-box-shadow: 0 .1rem .25rem rgba($black, .1) !default;
|
|
|
|
$form-range-thumb-focus-box-shadow: 0 0 0 1px $body-bg, $input-focus-box-shadow !default;
|
2020-03-09 21:48:37 +01:00
|
|
|
$form-range-thumb-focus-box-shadow-width: $input-focus-width !default; // For focus box shadow issue in Edge
|
2020-10-13 09:58:06 +02:00
|
|
|
$form-range-thumb-active-bg: tint-color($component-active-bg, 70%) !default;
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$form-range-thumb-disabled-bg: var(--#{$prefix}secondary-color) !default;
|
2019-07-25 09:04:07 +02:00
|
|
|
$form-range-thumb-transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-end form-range-variables
|
v5: Forms update (#28450)
* Initial spike of consolidated form checks
* Stub out forms rearrangement
- Prepping to drop non-custom file and range inputs
- Prepping to merge custom and native checks and radios (with switches)
- Prepping to merge custom select with form select
- Moving docs arround so forms has it's own area given volume of CSS
* Move input group Sass file to forms subdir
* Start to split and move the docs around
* Simpler imports
* Copyediting
* delete overview file
* Remove commented out code
* remove the custom-forms import
* rewrite flex-check as form-check, replace all custom properties
* Remove old forms doc
* stub out new subpage link section
* update migration guide
* Update nav, forms overview in page nav, and descriptions
* fix check bg position
* fix margin-top calculation
* rename .custom-select to .form-select
* Update validation styles for new checks
* add some vertical margin, fix inline checks
* fix docs examples
* better way to do this contents stuff, redo the toc while i'm at it
* page restyle for docs while here
* un-callout that, edit text
* redo padding on toc
* fix toc
* start to cleanup checks docs
* Rewrite Markdown tables into HTML
* Redesign tables, redo their docs
* Replace Open Iconic icons with custom Bootstrap icons
* Redesign the docs navbar, add a subheader, redo the sidebar
* Redesign docs homepage a bit
* Simplify table style overrides for docs tables
* Simplify docs typography for page titles and reading line length
* Stub out icons page
* Part of sidebar update, remove migration from nav.yml
* Move toc CSS to separate partial
* Change appearance of overview page
* fix sidebar arrow direction
* Add footer to docs layout
* Update descriptions
* Drop the .form-group class for margin utilities
* Remove lingering form-group-margin-bottom var
* improve footer spacing
* add headings to range page
* uncomment form range css
* Rename .custom-range to .form-range
* Drop unused docs var
* Uncomment the comment
* Remove unused variable
* Fix radio image sizing
* Reboot update: reset horizontal ul and ol padding
* de-dupe IDs
* tweak toc styles
* nvm, fix dropdown versions stuff
* remove sidebar nav toggle for now
* broken html
* fix more broken html, move css
* scss linting
* comment out broken helper docs
* scope styles
* scope styles
* Fixes #25540 and fixes #26407 for v5 only
* Update sidebar once more
* Match new sidenav order
* fix syntax error
* Rename custom-file to form-file, update paths, update migration docs for previous changes in #28696
* rename back
* fix size and alignment
* rename that back too
2019-07-12 23:52:33 +02:00
|
|
|
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-start form-file-variables
|
2020-10-22 15:20:53 +02:00
|
|
|
$form-file-button-color: $input-color !default;
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$form-file-button-bg: var(--#{$prefix}tertiary-bg) !default;
|
|
|
|
$form-file-button-hover-bg: var(--#{$prefix}secondary-bg) !default;
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-end form-file-variables
|
2015-10-14 04:30:30 +02:00
|
|
|
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-start form-floating-variables
|
2022-10-31 19:29:04 +01:00
|
|
|
$form-floating-height: add(3.5rem, $input-height-border) !default;
|
|
|
|
$form-floating-line-height: 1.25 !default;
|
|
|
|
$form-floating-padding-x: $input-padding-x !default;
|
|
|
|
$form-floating-padding-y: 1rem !default;
|
|
|
|
$form-floating-input-padding-t: 1.625rem !default;
|
|
|
|
$form-floating-input-padding-b: .625rem !default;
|
2023-03-29 19:46:09 +02:00
|
|
|
$form-floating-label-height: 1.5em !default;
|
2022-10-31 19:29:04 +01:00
|
|
|
$form-floating-label-opacity: .65 !default;
|
|
|
|
$form-floating-label-transform: scale(.85) translateY(-.5rem) translateX(.15rem) !default;
|
|
|
|
$form-floating-label-disabled-color: $gray-600 !default;
|
|
|
|
$form-floating-transition: opacity .1s ease-in-out, transform .1s ease-in-out !default;
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-end form-floating-variables
|
2015-10-14 04:30:30 +02:00
|
|
|
|
2017-06-07 07:45:37 +02:00
|
|
|
// Form validation
|
2018-09-16 23:32:11 +02:00
|
|
|
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-start form-feedback-variables
|
2017-11-15 02:32:08 +01:00
|
|
|
$form-feedback-margin-top: $form-text-margin-top !default;
|
2020-04-16 16:38:21 +02:00
|
|
|
$form-feedback-font-size: $form-text-font-size !default;
|
|
|
|
$form-feedback-font-style: $form-text-font-style !default;
|
2019-07-25 09:41:13 +02:00
|
|
|
$form-feedback-valid-color: $success !default;
|
|
|
|
$form-feedback-invalid-color: $danger !default;
|
2015-08-13 07:39:36 +02:00
|
|
|
|
2018-07-09 00:31:18 +02:00
|
|
|
$form-feedback-icon-valid-color: $form-feedback-valid-color !default;
|
2021-12-15 08:29:17 +01:00
|
|
|
$form-feedback-icon-valid: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'><path fill='#{$form-feedback-icon-valid-color}' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/></svg>") !default;
|
2018-07-09 00:31:18 +02:00
|
|
|
$form-feedback-icon-invalid-color: $form-feedback-invalid-color !default;
|
2020-11-06 10:00:11 +01:00
|
|
|
$form-feedback-icon-invalid: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='#{$form-feedback-icon-invalid-color}'><circle cx='6' cy='6' r='4.5'/><path stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/><circle cx='6' cy='8.2' r='.6' fill='#{$form-feedback-icon-invalid-color}' stroke='none'/></svg>") !default;
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-end form-feedback-variables
|
2018-07-09 00:31:18 +02:00
|
|
|
|
2023-02-15 00:22:35 +01:00
|
|
|
// scss-docs-start form-validation-colors
|
|
|
|
$form-valid-color: $form-feedback-valid-color !default;
|
|
|
|
$form-valid-border-color: $form-feedback-valid-color !default;
|
|
|
|
$form-invalid-color: $form-feedback-invalid-color !default;
|
|
|
|
$form-invalid-border-color: $form-feedback-invalid-color !default;
|
|
|
|
// scss-docs-end form-validation-colors
|
|
|
|
|
2020-04-06 20:13:35 +02:00
|
|
|
// scss-docs-start form-validation-states
|
2020-02-15 14:41:59 +01:00
|
|
|
$form-validation-states: (
|
|
|
|
"valid": (
|
2023-02-15 00:22:35 +01:00
|
|
|
"color": var(--#{$prefix}form-valid-color),
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
"icon": $form-feedback-icon-valid,
|
|
|
|
"tooltip-color": #fff,
|
|
|
|
"tooltip-bg-color": var(--#{$prefix}success),
|
|
|
|
"focus-box-shadow": 0 0 $input-btn-focus-blur $input-focus-width rgba(var(--#{$prefix}success-rgb), $input-btn-focus-color-opacity),
|
2023-02-15 00:22:35 +01:00
|
|
|
"border-color": var(--#{$prefix}form-valid-border-color),
|
2019-01-11 20:16:50 +01:00
|
|
|
),
|
2020-02-15 14:41:59 +01:00
|
|
|
"invalid": (
|
2023-02-15 00:22:35 +01:00
|
|
|
"color": var(--#{$prefix}form-invalid-color),
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
"icon": $form-feedback-icon-invalid,
|
|
|
|
"tooltip-color": #fff,
|
|
|
|
"tooltip-bg-color": var(--#{$prefix}danger),
|
|
|
|
"focus-box-shadow": 0 0 $input-btn-focus-blur $input-focus-width rgba(var(--#{$prefix}danger-rgb), $input-btn-focus-color-opacity),
|
2023-02-15 00:22:35 +01:00
|
|
|
"border-color": var(--#{$prefix}form-invalid-border-color),
|
2020-02-15 14:41:59 +01:00
|
|
|
)
|
|
|
|
) !default;
|
2020-04-06 20:13:35 +02:00
|
|
|
// scss-docs-end form-validation-states
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2016-12-24 21:35:08 +01:00
|
|
|
// Z-index master list
|
2014-12-02 23:02:35 +01:00
|
|
|
//
|
|
|
|
// Warning: Avoid customizing these values. They're used for a bird's eye view
|
|
|
|
// of components dependent on the z-axis and are designed to all work together.
|
|
|
|
|
2020-04-13 23:40:47 +02:00
|
|
|
// scss-docs-start zindex-stack
|
2017-10-04 13:02:35 +02:00
|
|
|
$zindex-dropdown: 1000 !default;
|
|
|
|
$zindex-sticky: 1020 !default;
|
|
|
|
$zindex-fixed: 1030 !default;
|
2021-06-25 22:41:15 +02:00
|
|
|
$zindex-offcanvas-backdrop: 1040 !default;
|
|
|
|
$zindex-offcanvas: 1045 !default;
|
|
|
|
$zindex-modal-backdrop: 1050 !default;
|
|
|
|
$zindex-modal: 1055 !default;
|
2021-03-02 18:10:10 +01:00
|
|
|
$zindex-popover: 1070 !default;
|
|
|
|
$zindex-tooltip: 1080 !default;
|
2022-02-25 17:49:02 +01:00
|
|
|
$zindex-toast: 1090 !default;
|
2020-04-13 23:40:47 +02:00
|
|
|
// scss-docs-end zindex-stack
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2022-10-22 23:13:39 +02:00
|
|
|
// scss-docs-start zindex-levels-map
|
|
|
|
$zindex-levels: (
|
|
|
|
n1: -1,
|
|
|
|
0: 0,
|
|
|
|
1: 1,
|
|
|
|
2: 2,
|
|
|
|
3: 3
|
|
|
|
) !default;
|
|
|
|
// scss-docs-end zindex-levels-map
|
|
|
|
|
2018-09-16 23:32:11 +02:00
|
|
|
|
2017-01-14 07:52:05 +01:00
|
|
|
// Navs
|
|
|
|
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-start nav-variables
|
2017-10-04 13:02:35 +02:00
|
|
|
$nav-link-padding-y: .5rem !default;
|
|
|
|
$nav-link-padding-x: 1rem !default;
|
2020-06-15 09:25:05 +02:00
|
|
|
$nav-link-font-size: null !default;
|
|
|
|
$nav-link-font-weight: null !default;
|
2022-04-04 22:51:21 +02:00
|
|
|
$nav-link-color: var(--#{$prefix}link-color) !default;
|
|
|
|
$nav-link-hover-color: var(--#{$prefix}link-hover-color) !default;
|
2020-04-06 13:29:39 +02:00
|
|
|
$nav-link-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out !default;
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$nav-link-disabled-color: var(--#{$prefix}secondary-color) !default;
|
2022-12-29 23:19:22 +01:00
|
|
|
$nav-link-focus-box-shadow: $focus-ring-box-shadow !default;
|
2017-01-14 07:52:05 +01:00
|
|
|
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$nav-tabs-border-color: var(--#{$prefix}border-color) !default;
|
2022-10-23 06:13:13 +02:00
|
|
|
$nav-tabs-border-width: var(--#{$prefix}border-width) !default;
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$nav-tabs-border-radius: var(--#{$prefix}border-radius) !default;
|
|
|
|
$nav-tabs-link-hover-border-color: var(--#{$prefix}secondary-bg) var(--#{$prefix}secondary-bg) $nav-tabs-border-color !default;
|
|
|
|
$nav-tabs-link-active-color: var(--#{$prefix}emphasis-color) !default;
|
|
|
|
$nav-tabs-link-active-bg: var(--#{$prefix}body-bg) !default;
|
|
|
|
$nav-tabs-link-active-border-color: var(--#{$prefix}border-color) var(--#{$prefix}border-color) $nav-tabs-link-active-bg !default;
|
2017-01-14 07:52:05 +01:00
|
|
|
|
2023-03-25 03:41:44 +01:00
|
|
|
$nav-pills-border-radius: var(--#{$prefix}border-radius) !default;
|
2017-10-04 13:02:35 +02:00
|
|
|
$nav-pills-link-active-color: $component-active-color !default;
|
|
|
|
$nav-pills-link-active-bg: $component-active-bg !default;
|
2022-12-29 06:55:54 +01:00
|
|
|
|
|
|
|
$nav-underline-gap: 1rem !default;
|
|
|
|
$nav-underline-border-width: .125rem !default;
|
|
|
|
$nav-underline-link-active-color: var(--#{$prefix}emphasis-color) !default;
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-end nav-variables
|
2017-01-14 07:52:05 +01:00
|
|
|
|
2018-09-16 23:32:11 +02:00
|
|
|
|
2016-12-24 21:35:08 +01:00
|
|
|
// Navbar
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-start navbar-variables
|
2021-06-14 18:35:30 +02:00
|
|
|
$navbar-padding-y: $spacer * .5 !default;
|
2019-10-28 04:26:52 +01:00
|
|
|
$navbar-padding-x: null !default;
|
2016-05-13 17:15:48 +02:00
|
|
|
|
2017-12-29 12:18:13 +01:00
|
|
|
$navbar-nav-link-padding-x: .5rem !default;
|
|
|
|
|
2017-01-14 07:59:20 +01:00
|
|
|
$navbar-brand-font-size: $font-size-lg !default;
|
2017-01-14 07:52:05 +01:00
|
|
|
// Compute the navbar-brand padding-y so the navbar-brand will have the same height as navbar-text and nav-link
|
2018-12-14 17:54:44 +01:00
|
|
|
$nav-link-height: $font-size-base * $line-height-base + $nav-link-padding-y * 2 !default;
|
2017-10-19 04:51:45 +02:00
|
|
|
$navbar-brand-height: $navbar-brand-font-size * $line-height-base !default;
|
2021-06-14 18:35:30 +02:00
|
|
|
$navbar-brand-padding-y: ($nav-link-height - $navbar-brand-height) * .5 !default;
|
2020-06-26 16:06:20 +02:00
|
|
|
$navbar-brand-margin-end: 1rem !default;
|
2017-01-14 07:52:05 +01:00
|
|
|
|
2017-10-04 13:02:35 +02:00
|
|
|
$navbar-toggler-padding-y: .25rem !default;
|
|
|
|
$navbar-toggler-padding-x: .75rem !default;
|
|
|
|
$navbar-toggler-font-size: $font-size-lg !default;
|
|
|
|
$navbar-toggler-border-radius: $btn-border-radius !default;
|
2020-01-28 13:28:44 +01:00
|
|
|
$navbar-toggler-focus-width: $btn-focus-width !default;
|
|
|
|
$navbar-toggler-transition: box-shadow .15s ease-in-out !default;
|
2015-08-18 09:46:29 +02:00
|
|
|
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$navbar-light-color: rgba(var(--#{$prefix}emphasis-color-rgb), .65) !default;
|
|
|
|
$navbar-light-hover-color: rgba(var(--#{$prefix}emphasis-color-rgb), .8) !default;
|
|
|
|
$navbar-light-active-color: rgba(var(--#{$prefix}emphasis-color-rgb), 1) !default;
|
|
|
|
$navbar-light-disabled-color: rgba(var(--#{$prefix}emphasis-color-rgb), .3) !default;
|
2022-12-26 20:19:53 +01:00
|
|
|
$navbar-light-icon-color: rgba($body-color, .75) !default;
|
|
|
|
$navbar-light-toggler-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke='#{$navbar-light-icon-color}' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>") !default;
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$navbar-light-toggler-border-color: rgba(var(--#{$prefix}emphasis-color-rgb), .15) !default;
|
2022-08-26 15:27:23 +02:00
|
|
|
$navbar-light-brand-color: $navbar-light-active-color !default;
|
|
|
|
$navbar-light-brand-hover-color: $navbar-light-active-color !default;
|
|
|
|
// scss-docs-end navbar-variables
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2022-08-26 15:27:23 +02:00
|
|
|
// scss-docs-start navbar-dark-variables
|
|
|
|
$navbar-dark-color: rgba($white, .55) !default;
|
|
|
|
$navbar-dark-hover-color: rgba($white, .75) !default;
|
|
|
|
$navbar-dark-active-color: $white !default;
|
|
|
|
$navbar-dark-disabled-color: rgba($white, .25) !default;
|
|
|
|
$navbar-dark-toggler-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke='#{$navbar-dark-color}' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>") !default;
|
|
|
|
$navbar-dark-toggler-border-color: rgba($white, .1) !default;
|
|
|
|
$navbar-dark-brand-color: $navbar-dark-active-color !default;
|
|
|
|
$navbar-dark-brand-hover-color: $navbar-dark-active-color !default;
|
|
|
|
// scss-docs-end navbar-dark-variables
|
2018-09-11 12:56:56 +02:00
|
|
|
|
2018-07-09 00:31:18 +02:00
|
|
|
|
2018-12-22 05:59:40 +01:00
|
|
|
// Dropdowns
|
|
|
|
//
|
|
|
|
// Dropdown menu container and contents.
|
|
|
|
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-start dropdown-variables
|
2018-12-22 05:59:40 +01:00
|
|
|
$dropdown-min-width: 10rem !default;
|
2020-09-22 01:27:26 +02:00
|
|
|
$dropdown-padding-x: 0 !default;
|
2018-12-22 05:59:40 +01:00
|
|
|
$dropdown-padding-y: .5rem !default;
|
|
|
|
$dropdown-spacer: .125rem !default;
|
2019-01-07 20:07:19 +01:00
|
|
|
$dropdown-font-size: $font-size-base !default;
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$dropdown-color: var(--#{$prefix}body-color) !default;
|
|
|
|
$dropdown-bg: var(--#{$prefix}body-bg) !default;
|
2022-04-29 22:59:41 +02:00
|
|
|
$dropdown-border-color: var(--#{$prefix}border-color-translucent) !default;
|
2023-03-25 03:41:44 +01:00
|
|
|
$dropdown-border-radius: var(--#{$prefix}border-radius) !default;
|
2022-10-23 06:13:13 +02:00
|
|
|
$dropdown-border-width: var(--#{$prefix}border-width) !default;
|
2023-03-27 17:34:14 +02:00
|
|
|
$dropdown-inner-border-radius: calc(#{$dropdown-border-radius} - #{$dropdown-border-width}) !default; // stylelint-disable-line function-disallowed-list
|
2020-06-23 22:00:28 +02:00
|
|
|
$dropdown-divider-bg: $dropdown-border-color !default;
|
2021-06-14 18:35:30 +02:00
|
|
|
$dropdown-divider-margin-y: $spacer * .5 !default;
|
2019-07-15 09:29:13 +02:00
|
|
|
$dropdown-box-shadow: $box-shadow !default;
|
2018-12-22 05:59:40 +01:00
|
|
|
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$dropdown-link-color: var(--#{$prefix}body-color) !default;
|
|
|
|
$dropdown-link-hover-color: $dropdown-link-color !default;
|
|
|
|
$dropdown-link-hover-bg: var(--#{$prefix}tertiary-bg) !default;
|
2018-12-22 05:59:40 +01:00
|
|
|
|
|
|
|
$dropdown-link-active-color: $component-active-color !default;
|
|
|
|
$dropdown-link-active-bg: $component-active-bg !default;
|
|
|
|
|
2023-02-04 08:13:43 +01:00
|
|
|
$dropdown-link-disabled-color: var(--#{$prefix}tertiary-color) !default;
|
2018-12-22 05:59:40 +01:00
|
|
|
|
2021-06-14 18:35:30 +02:00
|
|
|
$dropdown-item-padding-y: $spacer * .25 !default;
|
2020-04-30 15:17:08 +02:00
|
|
|
$dropdown-item-padding-x: $spacer !default;
|
2018-12-22 05:59:40 +01:00
|
|
|
|
|
|
|
$dropdown-header-color: $gray-600 !default;
|
2022-03-01 21:52:00 +01:00
|
|
|
$dropdown-header-padding-x: $dropdown-item-padding-x !default;
|
|
|
|
$dropdown-header-padding-y: $dropdown-padding-y !default;
|
|
|
|
// fusv-disable
|
|
|
|
$dropdown-header-padding: $dropdown-header-padding-y $dropdown-header-padding-x !default; // Deprecated in v5.2.0
|
|
|
|
// fusv-enable
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-end dropdown-variables
|
2018-12-22 05:59:40 +01:00
|
|
|
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-start dropdown-dark-variables
|
2020-09-24 17:55:15 +02:00
|
|
|
$dropdown-dark-color: $gray-300 !default;
|
|
|
|
$dropdown-dark-bg: $gray-800 !default;
|
|
|
|
$dropdown-dark-border-color: $dropdown-border-color !default;
|
|
|
|
$dropdown-dark-divider-bg: $dropdown-divider-bg !default;
|
|
|
|
$dropdown-dark-box-shadow: null !default;
|
|
|
|
$dropdown-dark-link-color: $dropdown-dark-color !default;
|
|
|
|
$dropdown-dark-link-hover-color: $white !default;
|
|
|
|
$dropdown-dark-link-hover-bg: rgba($white, .15) !default;
|
|
|
|
$dropdown-dark-link-active-color: $dropdown-link-active-color !default;
|
|
|
|
$dropdown-dark-link-active-bg: $dropdown-link-active-bg !default;
|
|
|
|
$dropdown-dark-link-disabled-color: $gray-500 !default;
|
|
|
|
$dropdown-dark-header-color: $gray-500 !default;
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-end dropdown-dark-variables
|
2020-09-24 17:55:15 +02:00
|
|
|
|
2018-12-22 05:59:40 +01:00
|
|
|
|
2016-12-24 21:35:08 +01:00
|
|
|
// Pagination
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-start pagination-variables
|
2019-08-30 09:42:41 +02:00
|
|
|
$pagination-padding-y: .375rem !default;
|
2017-10-04 13:02:35 +02:00
|
|
|
$pagination-padding-x: .75rem !default;
|
|
|
|
$pagination-padding-y-sm: .25rem !default;
|
|
|
|
$pagination-padding-x-sm: .5rem !default;
|
|
|
|
$pagination-padding-y-lg: .75rem !default;
|
|
|
|
$pagination-padding-x-lg: 1.5rem !default;
|
2015-08-14 08:04:16 +02:00
|
|
|
|
2022-03-25 05:14:42 +01:00
|
|
|
$pagination-font-size: $font-size-base !default;
|
|
|
|
|
2022-04-04 22:51:21 +02:00
|
|
|
$pagination-color: var(--#{$prefix}link-color) !default;
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$pagination-bg: var(--#{$prefix}body-bg) !default;
|
|
|
|
$pagination-border-radius: var(--#{$prefix}border-radius) !default;
|
|
|
|
$pagination-border-width: var(--#{$prefix}border-width) !default;
|
2023-03-27 17:34:14 +02:00
|
|
|
$pagination-margin-start: calc(#{$pagination-border-width} * -1) !default; // stylelint-disable-line function-disallowed-list
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$pagination-border-color: var(--#{$prefix}border-color) !default;
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2022-04-04 22:51:21 +02:00
|
|
|
$pagination-focus-color: var(--#{$prefix}link-hover-color) !default;
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$pagination-focus-bg: var(--#{$prefix}secondary-bg) !default;
|
2022-12-29 23:19:22 +01:00
|
|
|
$pagination-focus-box-shadow: $focus-ring-box-shadow !default;
|
2018-01-19 01:47:47 +01:00
|
|
|
$pagination-focus-outline: 0 !default;
|
2017-12-31 07:50:43 +01:00
|
|
|
|
2022-04-04 22:51:21 +02:00
|
|
|
$pagination-hover-color: var(--#{$prefix}link-hover-color) !default;
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$pagination-hover-bg: var(--#{$prefix}tertiary-bg) !default;
|
|
|
|
$pagination-hover-border-color: var(--#{$prefix}border-color) !default; // Todo in v6: remove this?
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2018-01-13 08:56:31 +01:00
|
|
|
$pagination-active-color: $component-active-color !default;
|
|
|
|
$pagination-active-bg: $component-active-bg !default;
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$pagination-active-border-color: $component-active-bg !default;
|
2014-12-02 23:02:35 +01:00
|
|
|
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$pagination-disabled-color: var(--#{$prefix}secondary-color) !default;
|
|
|
|
$pagination-disabled-bg: var(--#{$prefix}secondary-bg) !default;
|
|
|
|
$pagination-disabled-border-color: var(--#{$prefix}border-color) !default;
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2020-08-01 21:46:47 +02:00
|
|
|
$pagination-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2023-03-25 03:41:44 +01:00
|
|
|
$pagination-border-radius-sm: var(--#{$prefix}border-radius-sm) !default;
|
|
|
|
$pagination-border-radius-lg: var(--#{$prefix}border-radius-lg) !default;
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-end pagination-variables
|
|
|
|
|
2020-12-14 14:34:01 +01:00
|
|
|
|
2021-08-03 17:59:00 +02:00
|
|
|
// Placeholders
|
|
|
|
|
|
|
|
// scss-docs-start placeholders
|
|
|
|
$placeholder-opacity-max: .5 !default;
|
|
|
|
$placeholder-opacity-min: .2 !default;
|
|
|
|
// scss-docs-end placeholders
|
|
|
|
|
2016-12-24 21:35:08 +01:00
|
|
|
// Cards
|
2016-12-23 06:07:51 +01:00
|
|
|
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-start card-variables
|
2020-04-30 15:17:08 +02:00
|
|
|
$card-spacer-y: $spacer !default;
|
|
|
|
$card-spacer-x: $spacer !default;
|
2021-06-14 18:35:30 +02:00
|
|
|
$card-title-spacer-y: $spacer * .5 !default;
|
2022-10-31 01:06:02 +01:00
|
|
|
$card-title-color: null !default;
|
|
|
|
$card-subtitle-color: null !default;
|
2022-10-23 06:13:13 +02:00
|
|
|
$card-border-width: var(--#{$prefix}border-width) !default;
|
2022-04-29 22:59:41 +02:00
|
|
|
$card-border-color: var(--#{$prefix}border-color-translucent) !default;
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$card-border-radius: var(--#{$prefix}border-radius) !default;
|
2021-07-08 08:44:55 +02:00
|
|
|
$card-box-shadow: null !default;
|
2019-09-03 19:18:44 +02:00
|
|
|
$card-inner-border-radius: subtract($card-border-radius, $card-border-width) !default;
|
2021-06-14 18:35:30 +02:00
|
|
|
$card-cap-padding-y: $card-spacer-y * .5 !default;
|
2020-04-30 15:17:08 +02:00
|
|
|
$card-cap-padding-x: $card-spacer-x !default;
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$card-cap-bg: rgba(var(--#{$prefix}body-color-rgb), .03) !default;
|
2019-01-13 21:05:35 +01:00
|
|
|
$card-cap-color: null !default;
|
2019-10-03 09:21:40 +02:00
|
|
|
$card-height: null !default;
|
2019-01-20 22:38:29 +01:00
|
|
|
$card-color: null !default;
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$card-bg: var(--#{$prefix}body-bg) !default;
|
2020-04-30 15:17:08 +02:00
|
|
|
$card-img-overlay-padding: $spacer !default;
|
2021-06-14 18:35:30 +02:00
|
|
|
$card-group-margin: $grid-gutter-width * .5 !default;
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-end card-variables
|
2015-12-08 09:51:43 +01:00
|
|
|
|
2020-11-02 20:36:51 +01:00
|
|
|
// Accordion
|
2021-02-11 04:29:59 +01:00
|
|
|
|
|
|
|
// scss-docs-start accordion-variables
|
2020-11-02 20:36:51 +01:00
|
|
|
$accordion-padding-y: 1rem !default;
|
|
|
|
$accordion-padding-x: 1.25rem !default;
|
2023-01-08 11:16:13 +01:00
|
|
|
$accordion-color: var(--#{$prefix}body-color) !default;
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$accordion-bg: var(--#{$prefix}body-bg) !default;
|
2022-10-23 06:13:13 +02:00
|
|
|
$accordion-border-width: var(--#{$prefix}border-width) !default;
|
Add additional root variables, rename `$variable-prefix` to `$prefix` (#35981)
* Add additional root variables, rename $variable-prefix to $prefix
- Adds new root CSS variables for border-radius, border-width, border-color, and border-style
- Adds new root CSS variables for heading-color, link-colors, code color, and highlight color
- Replaces most instances of Sass variables (for border-radius, border-color, border-style, and border-width) for CSS variables inside _variables.scss
- Updates $mark-padding to be an even pixel number
- Renames $variable-prefix to $prefix throughout
* Bundlewatch
2022-03-13 18:13:09 +01:00
|
|
|
$accordion-border-color: var(--#{$prefix}border-color) !default;
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$accordion-border-radius: var(--#{$prefix}border-radius) !default;
|
2021-03-17 06:16:03 +01:00
|
|
|
$accordion-inner-border-radius: subtract($accordion-border-radius, $accordion-border-width) !default;
|
2020-11-02 20:36:51 +01:00
|
|
|
|
|
|
|
$accordion-body-padding-y: $accordion-padding-y !default;
|
|
|
|
$accordion-body-padding-x: $accordion-padding-x !default;
|
|
|
|
|
|
|
|
$accordion-button-padding-y: $accordion-padding-y !default;
|
|
|
|
$accordion-button-padding-x: $accordion-padding-x !default;
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$accordion-button-color: var(--#{$prefix}body-color) !default;
|
2022-04-25 12:34:49 +02:00
|
|
|
$accordion-button-bg: var(--#{$prefix}accordion-bg) !default;
|
2020-11-05 21:18:38 +01:00
|
|
|
$accordion-transition: $btn-transition, border-radius .15s ease !default;
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$accordion-button-active-bg: var(--#{$prefix}primary-bg-subtle) !default;
|
2023-03-07 06:45:07 +01:00
|
|
|
$accordion-button-active-color: var(--#{$prefix}primary-text-emphasis) !default;
|
2020-11-02 20:36:51 +01:00
|
|
|
|
2020-11-05 21:18:38 +01:00
|
|
|
$accordion-button-focus-border-color: $input-focus-border-color !default;
|
|
|
|
$accordion-button-focus-box-shadow: $btn-focus-box-shadow !default;
|
|
|
|
|
2020-11-02 20:36:51 +01:00
|
|
|
$accordion-icon-width: 1.25rem !default;
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$accordion-icon-color: $body-color !default;
|
2023-01-17 16:09:52 +01:00
|
|
|
$accordion-icon-active-color: $primary-text-emphasis !default;
|
2020-11-02 20:36:51 +01:00
|
|
|
$accordion-icon-transition: transform .2s ease-in-out !default;
|
2021-04-14 22:51:44 +02:00
|
|
|
$accordion-icon-transform: rotate(-180deg) !default;
|
2020-11-02 20:36:51 +01:00
|
|
|
|
2020-11-06 10:00:11 +01:00
|
|
|
$accordion-button-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$accordion-icon-color}'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !default;
|
|
|
|
$accordion-button-active-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$accordion-icon-active-color}'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !default;
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-end accordion-variables
|
2015-09-26 14:57:13 +02:00
|
|
|
|
2016-12-24 21:35:08 +01:00
|
|
|
// Tooltips
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-start tooltip-variables
|
2018-03-08 13:28:32 +01:00
|
|
|
$tooltip-font-size: $font-size-sm !default;
|
|
|
|
$tooltip-max-width: 200px !default;
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$tooltip-color: var(--#{$prefix}body-bg) !default;
|
|
|
|
$tooltip-bg: var(--#{$prefix}emphasis-color) !default;
|
|
|
|
$tooltip-border-radius: var(--#{$prefix}border-radius) !default;
|
2018-03-08 13:28:32 +01:00
|
|
|
$tooltip-opacity: .9 !default;
|
2021-06-14 18:35:30 +02:00
|
|
|
$tooltip-padding-y: $spacer * .25 !default;
|
|
|
|
$tooltip-padding-x: $spacer * .5 !default;
|
2022-04-13 03:16:18 +02:00
|
|
|
$tooltip-margin: null !default; // TODO: remove this in v6
|
2017-11-06 18:29:12 +01:00
|
|
|
|
2018-03-08 13:28:32 +01:00
|
|
|
$tooltip-arrow-width: .8rem !default;
|
|
|
|
$tooltip-arrow-height: .4rem !default;
|
2021-09-08 20:49:52 +02:00
|
|
|
// fusv-disable
|
2021-09-09 05:18:22 +02:00
|
|
|
$tooltip-arrow-color: null !default; // Deprecated in Bootstrap 5.2.0 for CSS variables
|
2021-09-08 20:49:52 +02:00
|
|
|
// fusv-enable
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-end tooltip-variables
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2018-09-19 06:27:02 +02:00
|
|
|
// Form tooltips must come after regular tooltips
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-start tooltip-feedback-variables
|
2018-09-19 06:27:02 +02:00
|
|
|
$form-feedback-tooltip-padding-y: $tooltip-padding-y !default;
|
|
|
|
$form-feedback-tooltip-padding-x: $tooltip-padding-x !default;
|
|
|
|
$form-feedback-tooltip-font-size: $tooltip-font-size !default;
|
2019-08-30 09:42:41 +02:00
|
|
|
$form-feedback-tooltip-line-height: null !default;
|
2018-09-19 06:27:02 +02:00
|
|
|
$form-feedback-tooltip-opacity: $tooltip-opacity !default;
|
|
|
|
$form-feedback-tooltip-border-radius: $tooltip-border-radius !default;
|
2021-05-20 16:46:43 +02:00
|
|
|
// scss-docs-end tooltip-feedback-variables
|
2018-09-19 06:27:02 +02:00
|
|
|
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2016-12-24 21:35:08 +01:00
|
|
|
// Popovers
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-start popover-variables
|
2017-12-18 20:48:51 +01:00
|
|
|
$popover-font-size: $font-size-sm !default;
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$popover-bg: var(--#{$prefix}body-bg) !default;
|
2017-10-04 13:02:35 +02:00
|
|
|
$popover-max-width: 276px !default;
|
2022-10-23 06:13:13 +02:00
|
|
|
$popover-border-width: var(--#{$prefix}border-width) !default;
|
2022-04-29 22:59:41 +02:00
|
|
|
$popover-border-color: var(--#{$prefix}border-color-translucent) !default;
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$popover-border-radius: var(--#{$prefix}border-radius-lg) !default;
|
2023-03-27 17:34:14 +02:00
|
|
|
$popover-inner-border-radius: calc(#{$popover-border-radius} - #{$popover-border-width}) !default; // stylelint-disable-line function-disallowed-list
|
2019-07-15 09:29:13 +02:00
|
|
|
$popover-box-shadow: $box-shadow !default;
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2022-03-28 17:42:14 +02:00
|
|
|
$popover-header-font-size: $font-size-base !default;
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$popover-header-bg: var(--#{$prefix}secondary-bg) !default;
|
2022-07-29 21:54:18 +02:00
|
|
|
$popover-header-color: $headings-color !default;
|
2017-08-31 17:38:24 +02:00
|
|
|
$popover-header-padding-y: .5rem !default;
|
2020-04-30 15:17:08 +02:00
|
|
|
$popover-header-padding-x: $spacer !default;
|
2017-06-15 07:03:33 +02:00
|
|
|
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$popover-body-color: var(--#{$prefix}body-color) !default;
|
2020-04-30 15:17:08 +02:00
|
|
|
$popover-body-padding-y: $spacer !default;
|
|
|
|
$popover-body-padding-x: $spacer !default;
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2017-12-27 06:54:47 +01:00
|
|
|
$popover-arrow-width: 1rem !default;
|
|
|
|
$popover-arrow-height: .5rem !default;
|
2021-09-09 05:18:22 +02:00
|
|
|
// scss-docs-end popover-variables
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2021-09-09 05:18:22 +02:00
|
|
|
// fusv-disable
|
|
|
|
// Deprecated in Bootstrap 5.2.0 for CSS variables
|
|
|
|
$popover-arrow-color: $popover-bg !default;
|
2022-04-29 22:59:41 +02:00
|
|
|
$popover-arrow-outer-color: var(--#{$prefix}border-color-translucent) !default;
|
2021-09-09 05:18:22 +02:00
|
|
|
// fusv-enable
|
2014-12-02 23:02:35 +01:00
|
|
|
|
|
|
|
|
2017-07-04 01:09:28 +02:00
|
|
|
// Toasts
|
2019-01-14 00:51:53 +01:00
|
|
|
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-start toast-variables
|
2019-01-14 00:51:53 +01:00
|
|
|
$toast-max-width: 350px !default;
|
|
|
|
$toast-padding-x: .75rem !default;
|
2020-09-14 04:47:05 +02:00
|
|
|
$toast-padding-y: .5rem !default;
|
2019-01-14 00:51:53 +01:00
|
|
|
$toast-font-size: .875rem !default;
|
2019-01-20 22:38:29 +01:00
|
|
|
$toast-color: null !default;
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$toast-background-color: rgba(var(--#{$prefix}body-bg-rgb), .85) !default;
|
2022-10-23 06:13:13 +02:00
|
|
|
$toast-border-width: var(--#{$prefix}border-width) !default;
|
2022-04-29 22:59:41 +02:00
|
|
|
$toast-border-color: var(--#{$prefix}border-color-translucent) !default;
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$toast-border-radius: var(--#{$prefix}border-radius) !default;
|
|
|
|
$toast-box-shadow: var(--#{$prefix}box-shadow) !default;
|
2020-11-29 15:22:15 +01:00
|
|
|
$toast-spacing: $container-padding-x !default;
|
2019-01-14 00:51:53 +01:00
|
|
|
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$toast-header-color: var(--#{$prefix}secondary-color) !default;
|
|
|
|
$toast-header-background-color: rgba(var(--#{$prefix}body-bg-rgb), .85) !default;
|
|
|
|
$toast-header-border-color: $toast-border-color !default;
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-end toast-variables
|
2017-07-04 01:09:28 +02:00
|
|
|
|
|
|
|
|
2016-12-24 21:35:08 +01:00
|
|
|
// Badges
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-start badge-variables
|
2019-08-22 10:14:42 +02:00
|
|
|
$badge-font-size: .75em !default;
|
2017-10-04 13:02:35 +02:00
|
|
|
$badge-font-weight: $font-weight-bold !default;
|
2019-03-14 18:15:26 +01:00
|
|
|
$badge-color: $white !default;
|
2020-08-02 15:28:23 +02:00
|
|
|
$badge-padding-y: .35em !default;
|
|
|
|
$badge-padding-x: .65em !default;
|
2023-03-25 03:41:44 +01:00
|
|
|
$badge-border-radius: var(--#{$prefix}border-radius) !default;
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-end badge-variables
|
2016-10-27 03:33:58 +02:00
|
|
|
|
2016-10-19 10:17:55 +02:00
|
|
|
|
2016-12-24 21:35:08 +01:00
|
|
|
// Modals
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-start modal-variables
|
2020-04-30 15:17:08 +02:00
|
|
|
$modal-inner-padding: $spacer !default;
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2019-08-16 11:49:06 +02:00
|
|
|
$modal-footer-margin-between: .5rem !default;
|
|
|
|
|
2018-03-08 13:28:32 +01:00
|
|
|
$modal-dialog-margin: .5rem !default;
|
|
|
|
$modal-dialog-margin-y-sm-up: 1.75rem !default;
|
2016-02-16 08:10:38 +01:00
|
|
|
|
2017-10-04 13:02:35 +02:00
|
|
|
$modal-title-line-height: $line-height-base !default;
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2019-01-20 22:38:29 +01:00
|
|
|
$modal-content-color: null !default;
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$modal-content-bg: var(--#{$prefix}body-bg) !default;
|
2022-04-29 22:59:41 +02:00
|
|
|
$modal-content-border-color: var(--#{$prefix}border-color-translucent) !default;
|
2022-10-23 06:13:13 +02:00
|
|
|
$modal-content-border-width: var(--#{$prefix}border-width) !default;
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$modal-content-border-radius: var(--#{$prefix}border-radius-lg) !default;
|
2019-09-03 19:18:44 +02:00
|
|
|
$modal-content-inner-border-radius: subtract($modal-content-border-radius, $modal-content-border-width) !default;
|
2019-07-15 09:29:13 +02:00
|
|
|
$modal-content-box-shadow-xs: $box-shadow-sm !default;
|
|
|
|
$modal-content-box-shadow-sm-up: $box-shadow !default;
|
2018-03-08 13:28:32 +01:00
|
|
|
|
|
|
|
$modal-backdrop-bg: $black !default;
|
|
|
|
$modal-backdrop-opacity: .5 !default;
|
2022-03-29 00:05:37 +02:00
|
|
|
|
Add additional root variables, rename `$variable-prefix` to `$prefix` (#35981)
* Add additional root variables, rename $variable-prefix to $prefix
- Adds new root CSS variables for border-radius, border-width, border-color, and border-style
- Adds new root CSS variables for heading-color, link-colors, code color, and highlight color
- Replaces most instances of Sass variables (for border-radius, border-color, border-style, and border-width) for CSS variables inside _variables.scss
- Updates $mark-padding to be an even pixel number
- Renames $variable-prefix to $prefix throughout
* Bundlewatch
2022-03-13 18:13:09 +01:00
|
|
|
$modal-header-border-color: var(--#{$prefix}border-color) !default;
|
2018-03-08 13:28:32 +01:00
|
|
|
$modal-header-border-width: $modal-content-border-width !default;
|
2020-04-30 15:17:08 +02:00
|
|
|
$modal-header-padding-y: $modal-inner-padding !default;
|
|
|
|
$modal-header-padding-x: $modal-inner-padding !default;
|
2018-09-19 06:33:31 +02:00
|
|
|
$modal-header-padding: $modal-header-padding-y $modal-header-padding-x !default; // Keep this for backwards compatibility
|
2022-03-29 00:05:37 +02:00
|
|
|
|
2022-02-18 00:14:18 +01:00
|
|
|
$modal-footer-bg: null !default;
|
2022-03-29 00:05:37 +02:00
|
|
|
$modal-footer-border-color: $modal-header-border-color !default;
|
|
|
|
$modal-footer-border-width: $modal-header-border-width !default;
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2017-10-04 13:02:35 +02:00
|
|
|
$modal-sm: 300px !default;
|
2020-03-28 21:01:37 +01:00
|
|
|
$modal-md: 500px !default;
|
|
|
|
$modal-lg: 800px !default;
|
|
|
|
$modal-xl: 1140px !default;
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2018-08-13 09:00:53 +02:00
|
|
|
$modal-fade-transform: translate(0, -50px) !default;
|
|
|
|
$modal-show-transform: none !default;
|
2017-10-04 13:02:35 +02:00
|
|
|
$modal-transition: transform .3s ease-out !default;
|
2019-10-25 20:12:09 +02:00
|
|
|
$modal-scale-transform: scale(1.02) !default;
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-end modal-variables
|
2016-12-20 05:33:17 +01:00
|
|
|
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2016-12-24 21:35:08 +01:00
|
|
|
// Alerts
|
2014-12-02 23:02:35 +01:00
|
|
|
//
|
2015-03-09 15:18:25 +01:00
|
|
|
// Define alert colors, border radius, and padding.
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-start alert-variables
|
|
|
|
$alert-padding-y: $spacer !default;
|
|
|
|
$alert-padding-x: $spacer !default;
|
|
|
|
$alert-margin-bottom: 1rem !default;
|
2023-03-25 03:41:44 +01:00
|
|
|
$alert-border-radius: var(--#{$prefix}border-radius) !default;
|
2021-02-11 04:29:59 +01:00
|
|
|
$alert-link-font-weight: $font-weight-bold !default;
|
2022-10-23 06:13:13 +02:00
|
|
|
$alert-border-width: var(--#{$prefix}border-width) !default;
|
2021-02-11 04:29:59 +01:00
|
|
|
$alert-bg-scale: -80% !default;
|
|
|
|
$alert-border-scale: -70% !default;
|
|
|
|
$alert-color-scale: 40% !default;
|
|
|
|
$alert-dismissible-padding-r: $alert-padding-x * 3 !default; // 3x covers width of x plus default padding on either side
|
|
|
|
// scss-docs-end alert-variables
|
2020-09-22 20:18:03 +02:00
|
|
|
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
// fusv-disable
|
|
|
|
$alert-bg-scale: -80% !default; // Deprecated in v5.2.0, to be removed in v6
|
|
|
|
$alert-border-scale: -70% !default; // Deprecated in v5.2.0, to be removed in v6
|
|
|
|
$alert-color-scale: 40% !default; // Deprecated in v5.2.0, to be removed in v6
|
|
|
|
// fusv-enable
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2016-12-24 21:35:08 +01:00
|
|
|
// Progress bars
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-start progress-variables
|
2017-10-19 17:16:38 +02:00
|
|
|
$progress-height: 1rem !default;
|
2019-01-03 19:59:18 +01:00
|
|
|
$progress-font-size: $font-size-base * .75 !default;
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$progress-bg: var(--#{$prefix}secondary-bg) !default;
|
|
|
|
$progress-border-radius: var(--#{$prefix}border-radius) !default;
|
|
|
|
$progress-box-shadow: var(--#{$prefix}box-shadow-inset) !default;
|
2017-10-19 17:16:38 +02:00
|
|
|
$progress-bar-color: $white !default;
|
2019-07-25 09:41:13 +02:00
|
|
|
$progress-bar-bg: $primary !default;
|
2017-10-19 17:16:38 +02:00
|
|
|
$progress-bar-animation-timing: 1s linear infinite !default;
|
|
|
|
$progress-bar-transition: width .6s ease !default;
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-end progress-variables
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2018-09-16 23:32:11 +02:00
|
|
|
|
2016-12-24 21:35:08 +01:00
|
|
|
// List group
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-start list-group-variables
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$list-group-color: var(--#{$prefix}body-color) !default;
|
|
|
|
$list-group-bg: var(--#{$prefix}body-bg) !default;
|
|
|
|
$list-group-border-color: var(--#{$prefix}border-color) !default;
|
2022-12-14 08:36:53 +01:00
|
|
|
$list-group-border-width: var(--#{$prefix}border-width) !default;
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$list-group-border-radius: var(--#{$prefix}border-radius) !default;
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2021-06-14 18:35:30 +02:00
|
|
|
$list-group-item-padding-y: $spacer * .5 !default;
|
2020-04-30 15:17:08 +02:00
|
|
|
$list-group-item-padding-x: $spacer !default;
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
// fusv-disable
|
|
|
|
$list-group-item-bg-scale: -80% !default; // Deprecated in v5.3.0
|
|
|
|
$list-group-item-color-scale: 40% !default; // Deprecated in v5.3.0
|
|
|
|
// fusv-enable
|
2016-12-28 22:45:07 +01:00
|
|
|
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$list-group-hover-bg: var(--#{$prefix}tertiary-bg) !default;
|
2017-10-04 13:02:35 +02:00
|
|
|
$list-group-active-color: $component-active-color !default;
|
|
|
|
$list-group-active-bg: $component-active-bg !default;
|
|
|
|
$list-group-active-border-color: $list-group-active-bg !default;
|
2014-12-02 23:02:35 +01:00
|
|
|
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$list-group-disabled-color: var(--#{$prefix}secondary-color) !default;
|
2017-10-04 13:02:35 +02:00
|
|
|
$list-group-disabled-bg: $list-group-bg !default;
|
2014-12-02 23:02:35 +01:00
|
|
|
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$list-group-action-color: var(--#{$prefix}secondary-color) !default;
|
|
|
|
$list-group-action-hover-color: var(--#{$prefix}emphasis-color) !default;
|
2014-12-02 23:02:35 +01:00
|
|
|
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$list-group-action-active-color: var(--#{$prefix}body-color) !default;
|
|
|
|
$list-group-action-active-bg: var(--#{$prefix}secondary-bg) !default;
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-end list-group-variables
|
2016-02-17 07:57:10 +01:00
|
|
|
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2016-12-24 21:35:08 +01:00
|
|
|
// Image thumbnails
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-start thumbnail-variables
|
2017-10-04 13:02:35 +02:00
|
|
|
$thumbnail-padding: .25rem !default;
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$thumbnail-bg: var(--#{$prefix}body-bg) !default;
|
2022-10-23 06:13:13 +02:00
|
|
|
$thumbnail-border-width: var(--#{$prefix}border-width) !default;
|
Add additional root variables, rename `$variable-prefix` to `$prefix` (#35981)
* Add additional root variables, rename $variable-prefix to $prefix
- Adds new root CSS variables for border-radius, border-width, border-color, and border-style
- Adds new root CSS variables for heading-color, link-colors, code color, and highlight color
- Replaces most instances of Sass variables (for border-radius, border-color, border-style, and border-width) for CSS variables inside _variables.scss
- Updates $mark-padding to be an even pixel number
- Renames $variable-prefix to $prefix throughout
* Bundlewatch
2022-03-13 18:13:09 +01:00
|
|
|
$thumbnail-border-color: var(--#{$prefix}border-color) !default;
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$thumbnail-border-radius: var(--#{$prefix}border-radius) !default;
|
|
|
|
$thumbnail-box-shadow: var(--#{$prefix}box-shadow-sm) !default;
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-end thumbnail-variables
|
2014-12-02 23:02:35 +01:00
|
|
|
|
|
|
|
|
2016-12-24 21:35:08 +01:00
|
|
|
// Figures
|
2016-02-17 07:31:40 +01:00
|
|
|
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-start figure-variables
|
2019-08-22 10:14:42 +02:00
|
|
|
$figure-caption-font-size: $small-font-size !default;
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$figure-caption-color: var(--#{$prefix}secondary-color) !default;
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-end figure-variables
|
2016-02-17 07:31:40 +01:00
|
|
|
|
|
|
|
|
2016-12-24 21:35:08 +01:00
|
|
|
// Breadcrumbs
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-start breadcrumb-variables
|
2019-10-03 17:54:34 +02:00
|
|
|
$breadcrumb-font-size: null !default;
|
2020-11-24 16:19:51 +01:00
|
|
|
$breadcrumb-padding-y: 0 !default;
|
|
|
|
$breadcrumb-padding-x: 0 !default;
|
2019-02-11 11:36:40 +01:00
|
|
|
$breadcrumb-item-padding-x: .5rem !default;
|
2017-10-04 13:02:35 +02:00
|
|
|
$breadcrumb-margin-bottom: 1rem !default;
|
2020-11-24 16:19:51 +01:00
|
|
|
$breadcrumb-bg: null !default;
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$breadcrumb-divider-color: var(--#{$prefix}secondary-color) !default;
|
|
|
|
$breadcrumb-active-color: var(--#{$prefix}secondary-color) !default;
|
2018-04-02 03:15:57 +02:00
|
|
|
$breadcrumb-divider: quote("/") !default;
|
2020-06-26 16:06:20 +02:00
|
|
|
$breadcrumb-divider-flipped: $breadcrumb-divider !default;
|
2020-11-24 16:19:51 +01:00
|
|
|
$breadcrumb-border-radius: null !default;
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-end breadcrumb-variables
|
2018-03-12 17:55:47 +01:00
|
|
|
|
2016-12-24 21:35:08 +01:00
|
|
|
// Carousel
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-start carousel-variables
|
2018-08-26 13:53:36 +02:00
|
|
|
$carousel-control-color: $white !default;
|
|
|
|
$carousel-control-width: 15% !default;
|
|
|
|
$carousel-control-opacity: .5 !default;
|
2018-10-21 09:13:35 +02:00
|
|
|
$carousel-control-hover-opacity: .9 !default;
|
|
|
|
$carousel-control-transition: opacity .15s ease !default;
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2018-08-26 13:53:36 +02:00
|
|
|
$carousel-indicator-width: 30px !default;
|
|
|
|
$carousel-indicator-height: 3px !default;
|
|
|
|
$carousel-indicator-hit-area-height: 10px !default;
|
|
|
|
$carousel-indicator-spacer: 3px !default;
|
2019-10-01 15:14:43 +02:00
|
|
|
$carousel-indicator-opacity: .5 !default;
|
2018-08-26 13:53:36 +02:00
|
|
|
$carousel-indicator-active-bg: $white !default;
|
2019-10-01 15:14:43 +02:00
|
|
|
$carousel-indicator-active-opacity: 1 !default;
|
2018-08-26 13:53:36 +02:00
|
|
|
$carousel-indicator-transition: opacity .6s ease !default;
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2018-08-26 13:53:36 +02:00
|
|
|
$carousel-caption-width: 70% !default;
|
|
|
|
$carousel-caption-color: $white !default;
|
2019-10-12 14:09:04 +02:00
|
|
|
$carousel-caption-padding-y: 1.25rem !default;
|
|
|
|
$carousel-caption-spacer: 1.25rem !default;
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2020-09-24 22:16:20 +02:00
|
|
|
$carousel-control-icon-width: 2rem !default;
|
2016-02-17 05:46:52 +01:00
|
|
|
|
2020-11-06 10:00:11 +01:00
|
|
|
$carousel-control-prev-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$carousel-control-color}'><path d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/></svg>") !default;
|
|
|
|
$carousel-control-next-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$carousel-control-color}'><path d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/></svg>") !default;
|
2016-12-05 06:54:45 +01:00
|
|
|
|
2018-10-29 21:11:50 +01:00
|
|
|
$carousel-transition-duration: .6s !default;
|
2018-10-31 08:45:39 +01:00
|
|
|
$carousel-transition: transform $carousel-transition-duration ease-in-out !default; // Define transform transition first if using multiple transitions (e.g., `transform 2s ease, opacity .5s ease-out`)
|
2022-08-26 15:27:23 +02:00
|
|
|
// scss-docs-end carousel-variables
|
2016-12-20 05:33:17 +01:00
|
|
|
|
2022-08-26 15:27:23 +02:00
|
|
|
// scss-docs-start carousel-dark-variables
|
2020-09-24 22:16:20 +02:00
|
|
|
$carousel-dark-indicator-active-bg: $black !default;
|
|
|
|
$carousel-dark-caption-color: $black !default;
|
|
|
|
$carousel-dark-control-icon-filter: invert(1) grayscale(100) !default;
|
2022-08-26 15:27:23 +02:00
|
|
|
// scss-docs-end carousel-dark-variables
|
2020-09-24 22:16:20 +02:00
|
|
|
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2017-07-02 03:51:53 +02:00
|
|
|
// Spinners
|
|
|
|
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-start spinner-variables
|
2020-02-11 14:59:59 +01:00
|
|
|
$spinner-width: 2rem !default;
|
|
|
|
$spinner-height: $spinner-width !default;
|
2021-04-04 20:44:30 +02:00
|
|
|
$spinner-vertical-align: -.125em !default;
|
2020-02-11 14:59:59 +01:00
|
|
|
$spinner-border-width: .25em !default;
|
|
|
|
$spinner-animation-speed: .75s !default;
|
2017-07-02 03:51:53 +02:00
|
|
|
|
|
|
|
$spinner-width-sm: 1rem !default;
|
|
|
|
$spinner-height-sm: $spinner-width-sm !default;
|
|
|
|
$spinner-border-width-sm: .2em !default;
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-end spinner-variables
|
2017-07-02 03:51:53 +02:00
|
|
|
|
|
|
|
|
2016-12-24 21:35:08 +01:00
|
|
|
// Close
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-start close-variables
|
2020-09-22 20:18:03 +02:00
|
|
|
$btn-close-width: 1em !default;
|
|
|
|
$btn-close-height: $btn-close-width !default;
|
|
|
|
$btn-close-padding-x: .25em !default;
|
|
|
|
$btn-close-padding-y: $btn-close-padding-x !default;
|
|
|
|
$btn-close-color: $black !default;
|
2022-12-29 23:19:22 +01:00
|
|
|
$btn-close-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$btn-close-color}'><path d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/></svg>") !default;
|
|
|
|
$btn-close-focus-shadow: $focus-ring-box-shadow !default;
|
2020-09-22 20:18:03 +02:00
|
|
|
$btn-close-opacity: .5 !default;
|
|
|
|
$btn-close-hover-opacity: .75 !default;
|
|
|
|
$btn-close-focus-opacity: 1 !default;
|
2020-09-14 04:12:16 +02:00
|
|
|
$btn-close-disabled-opacity: .25 !default;
|
2020-09-24 22:16:20 +02:00
|
|
|
$btn-close-white-filter: invert(1) grayscale(100%) brightness(200%) !default;
|
2021-02-11 04:29:59 +01:00
|
|
|
// scss-docs-end close-variables
|
|
|
|
|
2018-09-16 23:32:11 +02:00
|
|
|
|
2021-03-02 18:10:10 +01:00
|
|
|
// Offcanvas
|
|
|
|
|
|
|
|
// scss-docs-start offcanvas-variables
|
|
|
|
$offcanvas-padding-y: $modal-inner-padding !default;
|
|
|
|
$offcanvas-padding-x: $modal-inner-padding !default;
|
|
|
|
$offcanvas-horizontal-width: 400px !default;
|
|
|
|
$offcanvas-vertical-height: 30vh !default;
|
|
|
|
$offcanvas-transition-duration: .3s !default;
|
|
|
|
$offcanvas-border-color: $modal-content-border-color !default;
|
|
|
|
$offcanvas-border-width: $modal-content-border-width !default;
|
|
|
|
$offcanvas-title-line-height: $modal-title-line-height !default;
|
Add dark mode support (#35857)
* Add dark mode to docs
* Minor fix: missing space indentation
* Minor fix: revert utilities/z-index added-in modification
* Remove prev: and next: from doc because extracted to another PR
* Use .bg-body-tertiary in all Utilities > Overflow examples
* fix example
* Fix up spacing examples
* Update box-shadow Sass variables and utilities to auto-adjust to color modes
* Remove unused docs class
* Refactor form styles to use CSS variable for background images on .form-check and .form-switch
* Fix docs selector
* Rename shortcut for clarity
* Heading consistency
* Reintroduce missing 4th grid item in Utilities > Spacing example
* Fix bundlewatch
* .bd-callout* rendering is OK so removing comments in the code
* Update scss/_utilities.scss
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Fix gutters example styling
* Fix text colors on background utils docs
* redesign and fix up position marker example, which doesn't show nicely in darkmode but at least isn't broken
* fix some color utils examples
* Deprecate mixin notice
* Deprecate notice for list-group-item-variant() mixin
* Revamp new link CSS vars
* Use map-keys in some each Sass files
* Remove list-group-item-variant mixin ref in sass loop desc
* Display CSS vars scoped to our built-in dark mode
* Revert previous commit
* Fix list group variant link
* Fix typo
* Remove imports of alert/list-group mixins in scss/_mixins.scss
* Small formatting + comments removal in scss/_content.scss
* Fix alert links colors
* fix dropdown border-radius mixin
* fix link color and underline again, this time using CSS var override for color var and fallback value for the underline
* fix colors on docs navbar for dark mode
* remove two changes
* missing ref
* another link underline fix, just use sass vars for link decoration for now
* missing color bg docs, plus move dropdown override to scss
* more changes from review
* fix some examples, drop unused docs navbar styles, update docs navbar color mode to use mixin
* Few fixes around type
- Restored CSS variable for color on headings, this time with a fallback value
- In conjunction, restored and wrapped the default CSS var with a null value check
- Split headings and paragraphs docs in Reboot, elaborated on them
* Restyle custom details > summary element in docs
* Rewrite some migration docs
* fix form checks
* Fix up some navbar styling, tweak docs callout
* Fix select images, mostly for validation styling
* Clean up some migration notes, document some new form control CSS vars, mention new variables-dark in sass docs
* Update site/content/docs/5.2/components/scrollspy.md
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* Apply suggestions from code review
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
* mention form control css vars in migration guide
* Tweak grid and flex docs background examples
* clarify some docs
* fix some more things
Co-authored-by: Julien Déramond <juderamond@gmail.com>
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
2022-11-29 07:30:26 +01:00
|
|
|
$offcanvas-bg-color: var(--#{$prefix}body-bg) !default;
|
|
|
|
$offcanvas-color: var(--#{$prefix}body-color) !default;
|
2021-03-02 18:10:10 +01:00
|
|
|
$offcanvas-box-shadow: $modal-content-box-shadow-xs !default;
|
2021-06-25 22:41:15 +02:00
|
|
|
$offcanvas-backdrop-bg: $modal-backdrop-bg !default;
|
|
|
|
$offcanvas-backdrop-opacity: $modal-backdrop-opacity !default;
|
2021-03-02 18:10:10 +01:00
|
|
|
// scss-docs-end offcanvas-variables
|
|
|
|
|
2016-12-24 21:35:08 +01:00
|
|
|
// Code
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2019-08-22 10:14:42 +02:00
|
|
|
$code-font-size: $small-font-size !default;
|
2017-12-23 01:49:57 +01:00
|
|
|
$code-color: $pink !default;
|
2014-12-02 23:02:35 +01:00
|
|
|
|
Add additional root variables, rename `$variable-prefix` to `$prefix` (#35981)
* Add additional root variables, rename $variable-prefix to $prefix
- Adds new root CSS variables for border-radius, border-width, border-color, and border-style
- Adds new root CSS variables for heading-color, link-colors, code color, and highlight color
- Replaces most instances of Sass variables (for border-radius, border-color, border-style, and border-width) for CSS variables inside _variables.scss
- Updates $mark-padding to be an even pixel number
- Renames $variable-prefix to $prefix throughout
* Bundlewatch
2022-03-13 18:13:09 +01:00
|
|
|
$kbd-padding-y: .1875rem !default;
|
|
|
|
$kbd-padding-x: .375rem !default;
|
2017-12-23 01:49:57 +01:00
|
|
|
$kbd-font-size: $code-font-size !default;
|
Add additional root variables, rename `$variable-prefix` to `$prefix` (#35981)
* Add additional root variables, rename $variable-prefix to $prefix
- Adds new root CSS variables for border-radius, border-width, border-color, and border-style
- Adds new root CSS variables for heading-color, link-colors, code color, and highlight color
- Replaces most instances of Sass variables (for border-radius, border-color, border-style, and border-width) for CSS variables inside _variables.scss
- Updates $mark-padding to be an even pixel number
- Renames $variable-prefix to $prefix throughout
* Bundlewatch
2022-03-13 18:13:09 +01:00
|
|
|
$kbd-color: var(--#{$prefix}body-bg) !default;
|
|
|
|
$kbd-bg: var(--#{$prefix}body-color) !default;
|
|
|
|
$nested-kbd-font-weight: null !default; // Deprecated in v5.2.0, removing in v6
|
2014-12-02 23:02:35 +01:00
|
|
|
|
2019-06-26 12:18:59 +02:00
|
|
|
$pre-color: null !default;
|