File: /home/frenchy/refonte2023/wordpress/wp-content/plugins/ova-megamenu/assets/css/frontend/style.scss
li.ova-megamenu {
position: static!important;
&:hover{
ul.ova-mega-menu{
display: block;
}
}
ul.ova-mega-menu{
overflow: auto;
max-height: 80vh;
padding: 30px 0 !important;
&.five-columns{
li.menu-item{
width: 20%;
min-width: auto;
float: left;
}
}
&.four-columns{
li.menu-item{
width: 25%;
min-width: auto;
float: left;
}
}
&.three-columns{
li.menu-item{
width: 33.3333%;
float: left;
}
}
&.two-columns{
li.menu-item{
width: 50%;
float: left;
}
}
&.one-columns{
li.menu-item{
width: 100%;
float: left;
}
}
li.menu-item{
padding: 15px 20px;
&:before {
border-right: 1px solid #d2d5df;
width: 1px;
height: 100%;
position: absolute;
top: 0;
right: 0;
content: "";
}
&:last-child::before {
display: none;
border-right: none;
}
h5.title {
position: relative;
display: inline-block;
margin: 0 0 15px 0;
padding-bottom: 5px;
font-size: 14px;
line-height: 1.2;
text-transform: uppercase;
&:after{
position: absolute;
content: "";
width: 70%;
height: 2px;
bottom: 0;
left: 0;
background-color: var(--primary);
}
}
.label_text{
font-weight: bold;
color: var(--heading);
}
&.top_submenu{
width: 100%;
margin-top: 0;
padding: 30px;
&::before{
display: none;
border-right: none;
}
.content{
.top_title {
font-size: 30px;
color: var(--heading);
line-height: 1.2;
padding-top: 20px;
padding-bottom: 15px;
}
.top_desc {
font-size: 14px;
color: var(--text);
line-height: 24px;
letter-spacing: 0.01em;
padding-bottom: 15px;
}
.top_linkbottom a {
font-size: 10px;
color: var(--heading);;
letter-spacing: 0.01em;
font-weight: 400;
border: none;
padding-bottom: 12px;
padding-left: 0;
text-transform: uppercase;
}
}
}
}
}
&.col_shortcode_style{
ul.ova-mega-menu{
&.three-columns{
li.menu-item{
width: 20%!important;
float: left;
&:first-child{
width: 60%!important;
}
&:before{
border-right: none;
}
}
}
}
}
}
@media ( max-width:1024px ){
li.ova-megamenu{
position: relative!important;
ul.ova-mega-menu{
position: relative;
width: 100%!important;
top: 0;
padding: 0 !important;
li.menu-item{
width: 100%!important;
height: auto!important;
&::before{
border-right: none;
}
}
}
}
}
@media (min-width: 1024px) {
.main-navigation {
ul.menu {
ul.ova-mega-menu.sub-menu {
li.menu-item {
a {
padding: 8px 0;
&.item_text{
padding-left: 7px;
}
}
}
}
}
}
}