aboutsummaryrefslogtreecommitdiff
path: root/scss/_accordion.scss
AgeCommit message (Collapse)AuthorFilesLines
2024-02-22Merge accordion selectors for `border-radius` rule (#39697)Vasyl Zuziak1-9/+4
Co-authored-by: Julien Déramond <[email protected]>
2024-02-06Drop `--bs-accordion-btn-focus-border-color` and deprecate ↵Julien Déramond1-2/+0
`$accordion-button-focus-border-color` (#39560) Co-authored-by: XhmikosR <[email protected]>
2023-11-17Use child combinators to avoid inheriting parent accordion's styles (#37508)Neeraj Kumar Das1-9/+11
Co-authored-by: Patrick H. Lauke <[email protected]> Co-authored-by: Julien Déramond <[email protected]>
2022-11-28Add dark mode support (#35857)Mark Otto1-0/+9
* 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 <[email protected]> * 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 <[email protected]> * Apply suggestions from code review Co-authored-by: Julien Déramond <[email protected]> * 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 <[email protected]> Co-authored-by: Julien Déramond <[email protected]>
2022-09-06Fix accordion button colorSebastian Homeier1-1/+1
Use the Sass variable `$accordion-button-color` to set the CSS custom property `--bs-accordion-btn-color`.
2022-09-04Add workarounds for postcss values parser errorGeremia Taglialatela1-1/+1
postcss-values-parser returns a syntax error when a negative value is provided in a `calc` function after a CSS variable. This is not an issue with Bootstrap itself, but a workaround to allow projects using postcss-values-parser to keep upgrading and compiling bootstrap Ref: shellscape/postcss-values-parser#138, twbs/bootstrap#35033 Fix: #36851
2022-09-01flush variant of accordion border radius (#36593)AmirHossein1-1/+4
* flush variant of accordion border radius Fixed issues regarding to last accordion-item has rounded edges at the bottom left and right corners when focused and are in closed state * Update _accordion.scss Co-authored-by: Mark Otto <[email protected]>
2022-08-31Fix accordion: use $accordion-color rather than computing it via color-contrastGiovanni Piller Cottrer1-1/+1
2022-04-11Add CSS vars for accordions (#36148)Julien Déramond1-16/+27
* Add CSS vars for accordions * Fix Bundlewatch
2022-03-28Train PR: CSS variables for accordion, cards, navs, and modals (#36071)Mark Otto1-13/+29
* Convert accordion to CSS vars * Update accordion.md * Convert navs to CSS variables * Split up CSS vars * bundlewatch * fix vars * Convert cards to CSS vars * Convert modals to CSS variables * Bundlewatch Co-authored-by: Geremia Taglialatela <[email protected]>
2022-02-28Replace instances of Sass vars for CSS variable versions of border-color and ↵Mark Otto1-1/+1
border-width
2021-10-29Ensure sufficient contrast in `accordion-item` (#35231)Gaël Poupard1-0/+1
Co-authored-by: XhmikosR <[email protected]>
2021-04-30accordion: fix `border-top` on Firefox (#33736)alpadev1-2/+4
Co-authored-by: XhmikosR <[email protected]>
2021-03-22Fix flush accordion stylesMark Otto1-2/+5
2021-03-16Revamp accordion borders to fix pixel jumping (#33149)Mark Otto1-32/+19
- Pushes the borders to the .accordion-item - Simplifies the .accordion-flush - Recreates the .accordion-button border-bottom with an inset box-shadow - Updates background-color to solid to match other components like list group and prevent stacked translucent borders - Use negative margin to overlap the consecutive items
2021-02-03fix(accordion): ensure .accordion-button stays left-aligned (#32951)Gaël Poupard1-0/+1
Fixes #32938 Co-authored-by: XhmikosR <[email protected]>
2020-11-06Fix missing border & add transitionsMartijn Cuppens1-25/+22
2020-11-06Remove default transform-origin per code reviewMark Otto1-1/+0
2020-11-06Update relative position hack for layersMark Otto1-1/+6
Switches to slightly more verbose, but more consistent, z-index layering we use elsewhere (e.g., pagination). Doing this ensures we're not toggling position on and off, but rather z-index.
2020-11-06Add dedicated accordion component based on Collapse JSMark Otto1-0/+124