mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-20 17:54:23 +01:00
Fix subnavbar active style.
This commit is contained in:
parent
3521947611
commit
025f69cb20
@ -17,10 +17,16 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.dropdown-menu {
|
.dropdown-menu {
|
||||||
@include font-size(90%);
|
@include font-size(.875rem);
|
||||||
box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .05);
|
box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .05);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.dropdown-item.active {
|
||||||
|
font-weight: 600;
|
||||||
|
color: $gray-900;
|
||||||
|
background: escape-svg($dropdown-active-icon) no-repeat .4rem .6rem/.75rem .75rem;
|
||||||
|
}
|
||||||
|
|
||||||
@include media-breakpoint-up(md) {
|
@include media-breakpoint-up(md) {
|
||||||
@supports (position: sticky) {
|
@supports (position: sticky) {
|
||||||
position: sticky;
|
position: sticky;
|
||||||
@ -104,14 +110,4 @@
|
|||||||
height: 1rem;
|
height: 1rem;
|
||||||
vertical-align: text-top;
|
vertical-align: text-top;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dropdown-menu {
|
|
||||||
@include font-size(.875rem);
|
|
||||||
}
|
|
||||||
|
|
||||||
.dropdown-item.active {
|
|
||||||
font-weight: 600;
|
|
||||||
color: $gray-900;
|
|
||||||
background: escape-svg($dropdown-active-icon) no-repeat .4rem .6rem/.75rem .75rem;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user