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