site_oueb_2/wp-content/plugins/ocean-extra/assets/css/navigation.css

330 lines
6.1 KiB
CSS
Executable File

/*------------------------------------*
$NAVIGATIONS
*------------------------------------*/
#site-navigation-wrap {
float: right;
position: relative;
right: -15px;
}
#site-navigation-wrap .dropdown-menu {
list-style: none;
margin: 0;
padding: 0;
}
#site-navigation-wrap .dropdown-menu > li {
float: left;
position: relative;
}
#site-navigation-wrap .dropdown-menu > li > a {
display: block;
font-size: 13px;
line-height: 74px;
color: #555;
padding: 0 15px;
letter-spacing: 0.6px;
}
#site-navigation-wrap .dropdown-menu > li > a.site-search-toggle {
letter-spacing: 0;
}
#site-navigation-wrap .dropdown-menu > li > a:hover {
color: #13aff0;
}
#site-navigation-wrap .dropdown-menu > li > a .nav-arrow {
padding-left: 6px;
line-height: 1;
}
#site-navigation-wrap .dropdown-menu > li.btn > a > span {
background-color: #13aff0;
color: #fff;
padding: 12px 22px;
font-weight: 600;
border-radius: 4px;
cursor: pointer;
text-align: center;
transition: background-color .3s ease;
-webkit-transition: background-color .3s ease;
-moz-transition: background-color .3s ease;
-o-transition: background-color .3s ease;
-ms-transition: background-color .3s ease;
}
#site-navigation-wrap .dropdown-menu > li.btn > a:hover > span {
background-color: #0b7cac;
color: #fff;
}
#site-navigation-wrap .dropdown-menu > li.btn.rounded > a > span {
border-radius: 25px;
}
#site-navigation-wrap .has-current-style .dropdown-menu > .current-menu-item > a,
#site-navigation-wrap .has-current-style .dropdown-menu > .current-menu-parent > a {
padding: 0;
}
#site-navigation-wrap .has-current-style .dropdown-menu > .current-menu-item > a > span,
#site-navigation-wrap .has-current-style .dropdown-menu > .current-menu-parent > a > span {
padding: 12px 15px;
border-radius: 2px;
}
.has-social #site-navigation-wrap {
right: 0;
}
.minimal-header.left-menu #site-navigation-wrap,
.transparent-header.left-menu #site-navigation-wrap {
float: left;
right: 0;
}
.minimal-header.left-menu #site-logo,
.transparent-header.left-menu #site-logo {
padding-right: 20px;
}
.center-menu #site-navigation-wrap {
position: absolute;
float: none;
left: 50%;
right: auto;
-ms-transform: translateX(-50%);
-webkit-transform: translateX(-50%);
transform: translateX(-50%);
}
/**
* SuperFish
*/
.sf-menu,
.sf-menu * {
margin: 0;
padding: 0;
list-style: none;
}
.sf-menu li.menu-item {
position: relative;
white-space: nowrap;
*white-space: normal;
}
.sf-menu li:hover,
.sf-menu li.sfHover {
transition: none;
}
.sf-menu ul.sub-menu {
position: absolute;
display: none;
top: 100%;
left: 0;
z-index: 9999;
}
.sf-menu > li {
float: left;
}
.sf-menu li:hover > ul,
.sf-menu li.sfHover > ul {
display: block;
}
.sf-menu a.menu-link {
display: block;
position: relative;
zoom: 1;
}
.sf-menu ul.sub-menu ul {
top: 0;
left: 100%;
}
/**
* Dropdown
*/
.dropdown-menu,
.dropdown-menu * {
margin: 0;
padding: 0;
list-style: none;
}
.dropdown-menu .sub-menu {
position: absolute;
top: 100%;
left: 0;
background-color: #fff;
border-top: 3px solid #13aff0;
min-width: 180px;
line-height: 1;
text-align: left;
z-index: 999;
-webkit-box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
-moz-box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
}
.dropdown-menu li .sub-menu li.menu-item {
display: block;
float: none;
}
.dropdown-menu ul .sub-menu {
top: 0;
left: 100%;
}
.oceanwp-dropdown-top-border .sub-menu {
border: none;
}
.dropdown-menu ul li.menu-item {
display: block;
border-bottom: 1px solid #f1f1f1;
}
.dropdown-menu ul li.menu-item:last-child {
border-bottom: 0;
}
.dropdown-menu ul li a.menu-link {
display: block;
position: relative;
float: none;
font-size: 12px;
font-weight: 400;
line-height: 1.2em;
letter-spacing: 0.6px;
padding: 12px 15px;
text-transform: capitalize;
}
.dropdown-menu ul li a.menu-link:hover {
background-color: #f8f8f8;
color: #555;
}
.dropdown-menu ul li a.menu-link .nav-arrow {
position: absolute;
top: 50%;
right: 15px;
margin-top: -6.5px;
padding: 0;
}
.dropdown-menu ul li a.menu-link i {
position: relative;
width: 20px;
text-align: center;
margin-right: 3px;
}
/**
* Icons
*/
.dropdown-menu li a.menu-link i {
padding-right: 5px;
}
/**
* Item description
*/
.nav-content {
display: block;
font-size: 11px;
line-height: 1em;
padding: 5px 0;
opacity: 0.7;
}
/* Hide navigation on mobile menu */
#site-navigation-wrap .dropdown-menu > li.middle-site-logo > a.retina-logo-link {
display: none;
}
/**
* Menu Icons
*/
.navigation li a i.icon,
.navigation li a span.icon-wrap,
.navigation li a img.icon {
display: inline-block;
vertical-align: middle;
}
.navigation li a i.icon {
margin-top: -.265em;
width: auto;
height: auto;
font-size: 1.2em;
font-weight: 400;
line-height: 1;
padding: 0 !important;
}
.navigation li a i.before {
margin-right: 6px;
}
.navigation li a i.after {
margin-left: 6px;
}
.navigation li a i.elusive {
margin-top: -.3em;
}
.navigation li a span.icon-wrap {
text-align: center;
}
.navigation li a span.icon-wrap i.below,
.navigation li a span.icon-wrap img {
display: block;
margin: 0 0 8px;
}
.navigation li a span.icon-wrap img {
margin: 0 auto 8px auto;
}
.navigation li a span.icon-wrap span.menu-text {
display: block;
line-height: 1;
}
.navigation li a img.before {
margin-right: 6px;
}
.navigation li a img.after {
margin-left: 6px;
}
.navigation li a .svg {
width: 1em;
}
.navigation li a .hidden {
display: none !important;
}
/*------------------------------------*
All Devices under 960px
*------------------------------------*/
@media only screen and (max-width: 959px) {
/* header > navbar */
#site-navigation-wrap, #oceanwp-social-menu {
display: none;
}
}