laipower/wp-content/plugins/gp-premium/secondary-nav/functions/css/style-mobile.css

98 lines
2.1 KiB
CSS
Raw Normal View History

2020-04-07 13:03:04 +00:00
.secondary-navigation.toggled ul ul {
transition: 0s;
visibility: hidden;
}
.secondary-navigation.toggled ul ul.toggled-on {
visibility: visible;
}
.secondary-navigation.toggled .main-nav ul ul {
position: relative;
top: 0;
left: 0;
width: 100%;
}
2020-04-07 13:03:04 +00:00
.secondary-navigation.toggled .main-nav ul ul.toggled-on {
position: relative;
top: 0;
left: auto !important;
right: auto !important;
width: 100%;
pointer-events: auto;
height: auto;
opacity: 1;
display: block;
}
.secondary-navigation.toggled .main-nav > ul {
display: block;
}
.secondary-navigation.toggled .main-nav .sf-menu > li {
float: none;
clear: both;
display: block !important;
text-align: left !important;
}
.secondary-navigation.toggled .main-nav .sf-menu > li.hide-on-mobile {
display: none !important;
}
.secondary-navigation.toggled .dropdown-menu-toggle:before {
content: "\f107" !important;
}
.secondary-navigation.toggled .sfHover > a .dropdown-menu-toggle:before {
content: "\f106" !important;
}
.secondary-navigation.toggled .menu-item-has-children .dropdown-menu-toggle {
float: right;
}
.secondary-navigation.toggled .sf-menu > li.menu-item-float-right {
float: none !important;
display: inline-block;
}
.dropdown-hover .secondary-navigation.toggled ul li:hover > ul,
.dropdown-hover .secondary-navigation.toggled ul li.sfHover > ul {
transition-delay: 0s;
}
2020-04-07 13:03:04 +00:00
.rtl .secondary-navigation.toggled .main-nav .sf-menu > li {
text-align: right !important;
}
@media (max-width: 768px) {
.secondary-nav-float-left .inside-header .secondary-navigation {
float: none;
}
2020-04-07 13:03:04 +00:00
.secondary-navigation .menu-toggle {
display: block;
}
.secondary-navigation ul {
display: none;
}
.secondary-nav-aligned-left .secondary-navigation .top-bar {
position: absolute;
right: 0;
}
.secondary-nav-aligned-left .secondary-navigation .top-bar + .menu-toggle {
text-align: left;
}
.secondary-nav-aligned-right .secondary-navigation .top-bar {
position: absolute;
left: 0;
}
.secondary-nav-aligned-right .secondary-navigation .top-bar + .menu-toggle {
text-align: right;
}
.secondary-nav-aligned-center .secondary-navigation .top-bar + .menu-toggle + div {
display: block;
}
}