Fixed formatting too
This commit is contained in:
parent
8523fbcba6
commit
b1f37e608b
|
@ -11,21 +11,35 @@ body::before {
|
|||
}
|
||||
|
||||
@media all and (min-width: 992px) {
|
||||
.dropdown-menu li{ position: relative; }
|
||||
.nav-item .submenu{
|
||||
.dropdown-menu li {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.nav-item .submenu {
|
||||
display: none;
|
||||
position: absolute;
|
||||
left:100%; top:-7px;
|
||||
left: 100%;
|
||||
top: -7px;
|
||||
}
|
||||
.nav-item .submenu-left{
|
||||
right:100%; left:auto;
|
||||
|
||||
.nav-item .submenu-left {
|
||||
right: 100%;
|
||||
left: auto;
|
||||
}
|
||||
|
||||
.dropdown-menu>li:hover {
|
||||
background-color: #f1f1f1
|
||||
}
|
||||
|
||||
.dropdown-menu>li:hover>.submenu {
|
||||
display: block;
|
||||
}
|
||||
.dropdown-menu > li:hover{ background-color: #f1f1f1 }
|
||||
.dropdown-menu > li:hover > .submenu{ display: block; }
|
||||
}
|
||||
|
||||
@media (max-width: 991px) {
|
||||
.dropdown-menu .dropdown-menu{
|
||||
margin-left:0.7rem; margin-right:0.7rem; margin-bottom: .5rem;
|
||||
.dropdown-menu .dropdown-menu {
|
||||
margin-left: 0.7rem;
|
||||
margin-right: 0.7rem;
|
||||
margin-bottom: .5rem;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue