aboutsummaryrefslogtreecommitdiff
path: root/scss/_dropdown.scss
AgeCommit message (Collapse)AuthorFilesLines
2022-11-28Add dark mode support (#35857)Mark Otto1-0/+1
* 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-08-31Adding missing CSS variables for `z-index`louismaximepiton1-1/+2
2022-06-01Fix .dropdown-item border-radius when -padding-y is 0Mark Otto1-12/+12
2022-05-22Stylelint: Disable `custom-property-empty-line-before`Mark Otto1-1/+1
2022-03-17Fixes #36016: Update .dropdown-item paddingMark Otto1-1/+1
2022-03-13Add additional root variables, rename `$variable-prefix` to `$prefix` (#35981)Mark Otto1-64/+64
* 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-11Set opacity on dropdown-divider for nowMark Otto1-0/+1
2022-03-08Fix dropdownslouismaxime.piton1-1/+1
2022-03-01Split CSS vars for padding values (#35921)Mark Otto1-6/+9
* Split CSS vars for padding values Make these few components consistent with where we're heading with other components. Had to add some new Sass variables to handle the dropdown-header element, but not a huge deal. This ensures we can drop the combined variable in v6 when we're ready. * Update scss/_dropdown.scss Co-authored-by: Julien Déramond <[email protected]> * Deprecate dropdown-header-padding var Co-authored-by: Gaël Poupard <[email protected]> Co-authored-by: Julien Déramond <[email protected]>
2022-02-28.louismaxime.piton1-1/+1
2022-02-28Use the new CSS variable in dropdown menu.louismaxime.piton1-1/+1
2022-02-28Add centered dropdown and dropup optionsMark Otto1-1/+3
2022-02-25Use all dropdowns CSS variablesJulien Déramond1-4/+4
2022-02-16Rename dropdown-shadow to dropdown-box-shadow for consistencyMark Otto1-3/+3
2022-02-14Convert dropdowns to CSS variablesMark Otto1-60/+62
2021-05-27fix(dropdowns): RTL for `.dropdown-menu-*` (#34124)Gaël Poupard1-4/+4
2021-04-17Apply positioning only when Popper is not usedRohit Sharma1-13/+7
2021-02-22Remove the default positioning from `.dropup` (#33120)Rohit Sharma1-6/+3
2021-02-09Dropdown — Change the selector to check the use of Popper (#33003)Rohit Sharma1-7/+4
* Create the popper instance first Make sure that popper instance has been created first and then apply the styling on the dropdown(menu) * Use `data-bs-popper` attibute to check popper Co-authored-by: XhmikosR <[email protected]>
2021-02-09Remove the default left styling in favor of PopperRohit Sharma1-1/+4
2021-02-09Remove .dropdown-menu[style] reset and adjust .dropdown-menu-* modifiersMark Otto1-9/+10
- Removes the &[style] selector that was used for resetting Popper styles - Separate Popper-based alignment from static alignment with `data-bs-popover` attribute that separates the --bs-position and custom right/left properties Co-Authored-By: Rohit Sharma <[email protected]>
2021-02-03Remove the initial margin from dropdown/popover in favor of Popper (#32524)Rohit Sharma1-7/+20
* Remove the margin from dropdown in favor of Popper - Set the default margin to 0 for dropdowns (To remove the Popper's warning) - Set the required offset in dropdown's defaults * Remove the margin from the popover component Co-authored-by: XhmikosR <[email protected]>
2020-12-10Reset Popper position in RTL (#32415)Gaël Poupard1-1/+1
The RTL cheatsheet's dropdowns aren't positioned correctly because of RTLCSS transforming `right: auto` to `left:auto` (which conflicts with Popper positioning).
2020-12-06fix(dropdown): ensure [style] will override inline stylesGaël Poupard1-1/+1
2020-12-06Fix conflict with Bootstrap CSSMartijn Cuppens1-13/+10
2020-12-06Update to popper.js v2.xJohann-S1-4/+4
2020-12-04feat(RTL): implement RTLGaël Poupard1-12/+14
Using RTLCSS directives, renaming things to use logical names and following best practices.
2020-11-21Be consistent with Popper's name. (#32224)XhmikosR1-1/+1
The npm package is named "popper.js" but the project is named "Popper", so use the latter consistently.
2020-09-24Add .dropdown-menu-dark (#30171)Mark Otto1-0/+41
* Add .dropdown-menu-dark * Match background color to navbar dark * Update docs to include a navbar example * Update dropdowns.md Co-authored-by: XhmikosR <[email protected]>
2020-09-22Add new variable for -padding-xMark Otto1-1/+1
2020-04-06Create `scss-docs` shortcode to get some snippets from the Scs… (#30502)Martijn Cuppens1-0/+2
Co-authored-by: XhmikosR <[email protected]>
2020-03-20Remove redundant text decoration from hover statesMartijn Cuppens1-1/+1
2020-03-05$link-decoration: underline affects some components (#30262)Martijn Cuppens1-0/+1
Co-authored-by: Shohei Yoshida <[email protected]> Co-authored-by: Martijn Cuppens <[email protected]>
2020-02-15Added new variable for padding on dropdown header (#29946)Giovanni Mendoza1-1/+1
Co-authored-by: XhmikosR <[email protected]> Co-authored-by: Martijn Cuppens <[email protected]>
2020-02-12Shorten if notations so that property order can be appliedMartijn Cuppens1-3/+1
2019-08-22Drop nav divider mixinMartijn Cuppens1-1/+4
2019-07-24Apply `at-mixin-argumentless-call-parentheses: always` stylelint ruleMartijn Cuppens1-1/+1
2019-05-08Drop all hover mixinsMark Otto1-1/+2
Previously deprecated in v4.x, this clears out the now unused Sass option and removes some unused mixins. Arguably we could remove more, but I like the hover-focus mixin and we make extensive use of it across the project.
2019-05-02Remove floats from dropdown (#28690)Martijn Cuppens1-1/+0
2019-02-07Responsive font size implementation (#23816)Martijn Cuppens1-2/+2
2019-02-03Fix dropdown radius if `$dropdown-padding-y` is not 0 (#28127)Martijn Cuppens1-5/+9
2019-01-20Make component colors configurable (#28035)Martijn Cuppens1-1/+1
2019-01-13Sync dropdown font size with btn font sizeMartijn Cuppens1-1/+1
2019-01-13Prevent wrapping if caret is included (#28029)Martijn Cuppens1-0/+2
2019-01-07Fix incorrect responsive alignment of dropdown menu (#27873)Shohei Yoshida1-11/+5
2018-12-21Add variable for dropdown-divider-margin-y (#27857)Mark Otto1-1/+1
* Add variable for dropdown-divider-margin-y For us to reassign the nav-divider-margin-y variable here, we have to rearrange some of the variables. Fixes #26660. * bump bundlesize
2018-11-22Add border-radius to dropdown items (#27703)Roy Klutman1-0/+8
2018-10-23Cleanup stylelint commentsMartijn Cuppens1-2/+1
2018-10-21Add dropdown responsive alignment (#26255)ysds1-3/+20
2018-09-26Prevent pointer-events on disabled anchor dropdown-itemHoward Cox1-0/+1
Fixes #26695