laipower/wp-content/plugins/gp-premium/menu-plus/functions/css/sticky.css

77 lines
2.0 KiB
CSS
Raw Normal View History

2020-04-07 13:03:04 +00:00
.sticky-enabled .gen-sidebar-nav.is_stuck .main-navigation {
margin-bottom: 0px;
}
.sticky-enabled .gen-sidebar-nav.is_stuck {
z-index: 500;
}
.sticky-enabled .main-navigation.is_stuck {
box-shadow: 0 2px 2px -2px rgba(0, 0, 0, .2);
}
.sticky-enabled .fixfixed .is_stuck {
position: relative !important;
}
.navigation-stick:not(.gen-sidebar-nav) {
left: 0;
right: 0;
width: 100% !important;
}
.both-sticky-menu .main-navigation:not(#mobile-header).toggled .main-nav,
.mobile-sticky-menu .main-navigation:not(#mobile-header).toggled .main-nav {
clear: both;
}
.both-sticky-menu .main-navigation:not(#mobile-header).toggled .main-nav > ul,
.mobile-sticky-menu .main-navigation:not(#mobile-header).toggled .main-nav > ul,
.mobile-header-sticky #mobile-header.toggled .main-nav > ul {
position: absolute;
left: 0;
right: 0;
z-index: 999;
}
#sticky-placeholder.mobile-header-navigation .mobile-header-logo,
#sticky-placeholder .navigation-branding {
2020-04-07 13:03:04 +00:00
display: none;
}
.nav-float-right .is_stuck.main-navigation:not(.toggled) .menu > li {
float: none;
display: inline-block;
}
.nav-float-right .is_stuck.main-navigation:not(.toggled) .menu > li.slideout-toggle,
.nav-float-right .is_stuck.main-navigation:not(.toggled) .menu > li.search-item,
.nav-float-right .is_stuck.main-navigation:not(.toggled) .menu > li.wc-menu-item {
display: block;
float: right;
}
.nav-float-right .is_stuck.main-navigation:not(.toggled) ul {
letter-spacing: -0.31em;
font-size: 1em;
}
.nav-float-right .is_stuck.main-navigation:not(.toggled) ul li {
letter-spacing: normal;
}
.nav-float-right .is_stuck.main-navigation:not(.toggled) {
text-align: right;
}
.nav-float-right .is_stuck.main-navigation.has-branding:not(.toggled) ul,
.nav-float-right .is_stuck.main-navigation.has-sticky-branding:not(.toggled) ul {
letter-spacing: unset;
}
.nav-float-right .is_stuck.main-navigation.has-branding:not(.toggled) .menu > li,
.nav-float-right .is_stuck.main-navigation.has-sticky-branding:not(.toggled) .menu > li {
display: block;
float: left;
}