mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
Drop nav divider mixin
This commit is contained in:
parent
66e9ab3e4d
commit
0aabaa209d
@ -113,7 +113,10 @@
|
|||||||
|
|
||||||
// Dividers (basically an `<hr>`) within the dropdown
|
// Dividers (basically an `<hr>`) within the dropdown
|
||||||
.dropdown-divider {
|
.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
|
// Links, buttons, and more within the dropdown menu
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
@import "mixins/pagination";
|
@import "mixins/pagination";
|
||||||
@import "mixins/lists";
|
@import "mixins/lists";
|
||||||
@import "mixins/list-group";
|
@import "mixins/list-group";
|
||||||
@import "mixins/nav-divider";
|
|
||||||
@import "mixins/forms";
|
@import "mixins/forms";
|
||||||
@import "mixins/table-row";
|
@import "mixins/table-row";
|
||||||
|
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
// 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;
|
|
||||||
}
|
|
@ -23,9 +23,10 @@ See the browser and devices page for details on what is currently supported in B
|
|||||||
Changes to our source Sass files and compiled CSS.
|
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).
|
- 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()`
|
- `float()`
|
||||||
- `form-control-mixin()`
|
- `form-control-mixin()`
|
||||||
|
- `nav-divider()`
|
||||||
- `retina-img()`
|
- `retina-img()`
|
||||||
- `text-hide()` (also dropped the associated utility class, `.text-hide`)
|
- `text-hide()` (also dropped the associated utility class, `.text-hide`)
|
||||||
- `visibility()`
|
- `visibility()`
|
||||||
|
Loading…
Reference in New Issue
Block a user