2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-17 19:21:23 +03:00

Sass docs updates (#37897)

* Add maps

* Redesign scss-docs rendering

* Update other CSS sections

* Fix linter
This commit is contained in:
Mark Otto
2023-01-16 18:57:24 -08:00
committed by GitHub
parent eec5015520
commit 20ab8219a0
22 changed files with 133 additions and 46 deletions
+2 -2
View File
@@ -347,9 +347,9 @@ Add `.carousel-dark` to the `.carousel` for darker controls, indicators, and cap
The transition duration of `.carousel-item` can be changed with the `$carousel-transition-duration` Sass variable before compiling or custom styles if you're using the compiled CSS. If multiple transitions are applied, make sure the transform transition is defined first (e.g. `transition: transform 2s ease, opacity .5s ease-out`).
## Sass
## CSS
### Variables
### Sass variables
Variables for all carousels:
+2 -2
View File
@@ -100,9 +100,9 @@ If your control element is targeting a single collapsible element i.e. the `
Note that Bootstrap's current implementation does not cover the various *optional* keyboard interactions described in the [ARIA Authoring Practices Guide accordion pattern](https://www.w3.org/WAI/ARIA/apg/patterns/accordion/) - you will need to include these yourself with custom JavaScript.
## Sass
## CSS
### Variables
### Sass variables
{{< scss-docs name="collapse-transition" file="scss/_variables.scss" >}}