aboutsummaryrefslogtreecommitdiff
path: root/scss/_dropdown.scss
AgeCommit message (Collapse)AuthorFilesLines
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
2018-03-12Add basic position to dropup/right/left and dropdown-menu-right (#25400)ysds1-1/+29
2018-01-21v4.1: Add .dropdown-item-text (#22965)Mark Otto1-0/+7
* Add .dropdown-item-text class * Add example of plain text within a .dropdown-menu, too * reorganize, simple/clearer headings
2017-11-06Minor Sass consistency changes. (#24677)XhmikosR1-1/+1
* use `background-color` instead of the shorthand * use `outline: 0` consistently * fix transform order * remove quotes from `SFMono-Regular`
2017-10-29Add dropright and dropleft (right and left placements for our dropdown) (#23860)Johann-S1-0/+28
* Add dropright (right placement for our dropdown) * Add dropleft * moves drop left arrow to the left
2017-10-22Add variable to configure the `$dropdown-border-radius`. (#24376)José Francisco1-1/+1
2017-10-19Gradients and shadows (#24429)Mark Otto1-2/+2
* Update the form focus mixin to use a manual `$enable-shadows` check so we can always ensure a focus state for accessibility and consistency * - Add new `$input-btn-focus-width` and `$input-btn-focus-color` variables. - Replace separate `$btn-focus-box-shadow` and `$input-focus-box-shadow` variables with unified `$input-btn-focus-box-shadow` to match our combined variables approach elsewhere. * Put new focus width var to use in buttons mixins * use new button input-box shadow var * Add a new mixin for quickly adding linear gradient to components when $enable-gradients is set to true * use correct var * fix focus shadows in button mixins * Add opt-in gradients to alerts, buttons, carousel, custom radios and checkboxes, custom file input, and dropdown items * Generate .bg-gradient- utilities * add headings to colors page and document bg-gradient utils * update the button color for active status, check with yiq as it's done for basic state and hover state
2017-10-10Refactor a few selectors so that the least specific ones are first. (#24310)XhmikosR1-13/+13
2017-10-02Merge branch 'dropdown-caret' of https://github.com/pat270/bootstrap into v4-devMark Otto1-19/+2
2017-09-30Remove dropdown anchor focus overrideAri Rizzitano1-8/+0
Overriding the focus outline for links within the dropdown menu causes accessibility issues for keyboard-only users. This removes the override, reenabling the browser's default focus outline.
2017-08-14Add option to disable carets on dropdowns through `$enable-caret`Patrick Yeo1-19/+2
2017-08-04Dropup dropdown-menu should have margin on the bottom instead of topPatrick Yeo1-0/+5
2017-08-04(#22414) Rename for consistency `$dropdown-margin-top` to `$dropdown-spacer`Patrick Yeo1-1/+1
2017-05-30tweak dropdown caret size and placementMark Otto1-2/+2
2017-05-17Use popper to align dropdown menu instead of using css with importantJohann-S1-14/+0
2017-05-14Fix dropdown-menu-right and dropdown-menu-left for DropdownJohann-S1-2/+2