// Dividers (basically an `<hr>`) within the dropdown
.dropdown-divider {
- @include nav-divider($dropdown-divider-bg, $dropdown-divider-margin-y);
+ height: 0;
+ margin: $dropdown-divider-margin-y 0;
+ overflow: hidden;
+ border-top: 1px solid $dropdown-divider-bg;
}
// Links, buttons, and more within the dropdown menu
@import "mixins/pagination";
@import "mixins/lists";
@import "mixins/list-group";
-@import "mixins/nav-divider";
@import "mixins/forms";
@import "mixins/table-row";
+++ /dev/null
-// Horizontal dividers
-//
-// Dividers (basically an hr) within dropdowns and nav lists
-
-@mixin nav-divider($color: $nav-divider-color, $margin-y: $nav-divider-margin-y) {
- height: 0;
- margin: $margin-y 0;
- overflow: hidden;
- border-top: 1px solid $color;
-}
Changes to our source Sass files and compiled CSS.
- Removed `hover`, `hover-focus`, `plain-hover-focus`, and `hover-focus-active` mixins. Use regular CSS syntax for these moving forward. [See #28267](https://github.com/twbs/bootstrap/pull/28267).
-- **Todo:** Remove previously deprecated mixins
+- Remove previously deprecated mixins
- `float()`
- `form-control-mixin()`
+ - `nav-divider()`
- `retina-img()`
- `text-hide()` (also dropped the associated utility class, `.text-hide`)
- `visibility()`