asiaH1/assets/stylesheets/template/widget/submenu.scss

39 lines
693 B
SCSS
Raw Normal View History

2021-04-19 01:56:04 +00:00
.submenu__item.level-1 {
position: relative;
}
.submenu__item.level-1:hover .submenu__dropdown{
display: block;
}
.submenu__dropdown.level-1 {
background-color: #88C776;
display: none;
position: absolute;
left: 0;
top: 100%;
z-index: 900;
padding: 8px 12px;
padding: 0 !important;
li{
padding-left: 14px !important;
width: 160px;
border-bottom: 1px solid #6FB75B;
border-top: 1px solid #9EDE8B;
&:hover{
background-color: #6FB75B;
color: #fff;
}
}
li a{
background-image: none !important;
color: #fff;
padding: 0 !important;
display: block;
&:hover{
color: #fff !important;
text-decoration:none;
}
}
}