File: /home/confeduphaar/public_html/wp-content/themes/egovt/assets/css/menu.scss
/* 8.0 menu ***************************************************/
/* Min Width Sub-Menu */
.dropdown-menu{
min-width: 10rem;
}
/* Menu Shrink */
body{
// for mega menu
.ovamegamenu_container_default {
width: 1270px;
}
.ovamenu_shrink_mobile,
.ovamenu_shrink{
-webkit-transition: 0.5s;
-moz-transition: 0.5s;
-o-transition: 0.5s;
&.active_fixed{
position: fixed;
top: 0px;
width: 100%;
left: 0;
z-index: 999;
background: #fff;
box-shadow: 0 0 15px rgba(0,0,0,.1);
&.bg_dark{
background-color: #132244!important;
box-shadow: 0px 1px 6px 0px #132244;
}
&.bg_white{
background-color: #fff!important;
}
}
}
&.admin-bar{
.ovamenu_shrink_mobile.active_fixed,
.ovamenu_shrink.active_fixed{
top: 32px;
@media( max-width: 782.98px ){
top: 46px;
}
@media( max-width: 599.98px ){
top: 0px;
}
&.bg_dark{
background-color: #132244!important;
box-shadow: 0px 1px 6px 0px #132244;
}
&.bg_white{
background-color: #fff!important;
}
}
}
}
.ovatheme_header_default nav.navbar,
.ovatheme_header_default nav.navbar{
width: 100%;
/* Logo */
.navbar-brand{
padding-top: 30px;
padding-bottom: 30px;
font-weight: bold;
text-transform: uppercase;
}
/* Menu Item */
li{
a{
display: inline-block;
padding: 40px 11px 40px 11px;
font-size: 17px;
font-weight: 400;
text-transform: capitalize;
line-height: 24px;
color: #202B5D;
border-style: solid;
border-width: 0px 0px 0px 0px;
border-color: rgba(155, 155, 155, 0.12);
}
.dropdown-toggle{
&:after{
border-top-color: #333;
}
}
&.dropdown{
&>a{
width: 100%;
&:after{
font-family: 'ElegantIcons';
content: "\33";
margin-left: 0;
}
}
.dropdown-toggle{
display: none;
}
i.arrow_carrot-down{
display: none;
}
}
}
/* Sub-menu */
ul.dropdown-menu {
padding: 0;
display: block ;
opacity: 0;
visibility: hidden;
top: 110%;
transition: all .3s ease-in;
padding: 15px;
border-style: solid;
border-width: 0;
border-color: #323232;
border-radius: 0;
box-shadow: 0px 10px 40px 0px rgba(6, 22, 58, 0.1);
@media(max-width: 992px){
display: none;
}
&.show{
opacity: 1;
visibility:visible;
top: 100%;
margin: 0;
box-shadow: none;
display: block;
.dropdown-menu{
@media(max-width: 992px){
opacity: 1;
visibility: visible;
box-shadow: none;
}
}
}
li{
&.dropdown{
ul.nav ul.dropdown-menu {
@media(max-width: 992px){
display: none;
}
&.show{
display: block;
}
}
}
&>a{
padding: 7px 15px;
display: inline-block;
white-space: nowrap;
}
}
li{
&:not(:last-child){
border-bottom: 1px solid #e8e8e8 !important;
@media(max-width: 1024px){
border-bottom: none !important;
}
}
&.active{
>a{
color: #fff;
&:before{
opacity: 1;
}
}
}
a{
color: #202B5D;
display: block;
position: relative;
&:hover{
color: #fff;
&:before{
opacity: 1;
}
}
&:before{
content: '';
position: absolute;
top: -1px;
left: 0;
width: 100%;
height: 1px;
opacity: 0;
}
}
}
}
/* last-child level 0 */
ul.nav>li:last-child>a{
padding-right: 0;
}
/* Menu Level 3 */
ul.nav ul.dropdown-menu ul.dropdown-menu{
right: 100%;
left: auto;
top: 0;
}
/* Show Sub-Menu when hover */
@media(min-width: 992px){
ul.nav li.dropdown:hover>ul{
opacity: 1;
visibility: visible;
top: 100%;
margin: 0;
}
ul.nav ul li.dropdown:hover>ul{
top: 0;
}
}
@media(max-width: 991.98px){
button.navbar-toggler{
&:focus{
outline: none;
}
}
.navbar-nav{
padding-left: 10px;
padding-right: 10px;
padding-bottom: 20px;
}
ul.nav li > a{
width: 100%;
border-bottom: 1px solid #eee;
padding-left: 0px;
}
ul.nav ul.dropdown-menu{
border: none;
margin-top: 0;
margin-bottom: 0;
padding-top: 0;
padding-bottom: 0;
}
ul.nav > li:last-child > a{
border-bottom: none;
}
li{
a{
padding: 10px 0px;
display: inline-block;
}
&.dropdown{
&>a{
&:after{
display: none;
}
}
.dropdown-toggle{
display: inline-block;
padding-left: 0px;
position: absolute;
right: 10px;
top: 8px;
background: transparent;
border: none;
&:focus{
outline: none;
}
}
}
&.active_sub{
>ul.dropdown-menu{
display: block;
}
}
}
.navbar-brand{
padding-top: 15px;
padding-bottom: 15px;
}
}
}