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

222 lines
5.5 KiB
CSS
Raw Permalink Normal View History

2022-11-22 20:23:31 +01:00
/*------------------------------------*
$TOP HEADER
*------------------------------------*/
#site-header.top-header {
border-bottom: 0 !important;
}
#site-header.top-header .header-top {
background-color: #fff;
-webkit-box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.1);
-moz-box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.1);
box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.1);
z-index: 100;
}
#site-header.top-header .header-top .left {
float: left;
}
#site-header.top-header .header-top .right {
float: right;
}
#site-header.top-header .header-top .right .inner {
display: table;
position: relative;
}
#site-header.top-header #searchform-header-replace {
background-color: #fff;
}
#site-header.top-header.header-replace .left, #site-header.top-header.header-replace .right {
transition: opacity 0.25s ease-in-out;
-webkit-transition: opacity 0.25s ease-in-out;
-moz-transition: opacity 0.25s ease-in-out;
-o-transition: opacity 0.25s ease-in-out;
-ms-transition: opacity 0.25s ease-in-out;
}
#site-header.top-header.header-replace .left.hide, #site-header.top-header.header-replace .right.hide {
visibility: hidden;
opacity: 0;
}
#site-header.top-header #site-navigation-wrap {
float: none;
right: auto !important;
left: -15px;
}
#site-header.top-header #site-navigation-wrap .dropdown-menu > li > a {
font-size: 10px;
line-height: 40px;
font-weight: 600;
letter-spacing: 2px;
text-transform: uppercase;
}
#site-header.top-header #oceanwp-social-menu,
#site-header.top-header #search-toggle {
float: none;
display: table-cell;
vertical-align: middle;
height: 40px;
}
#site-header.top-header #oceanwp-social-menu .social-menu-inner {
display: block;
height: auto;
}
#site-header.top-header #oceanwp-social-menu {
right: 0;
padding: 0 10px;
}
#site-header.top-header #oceanwp-social-menu .colored ul li a,
#site-header.top-header #oceanwp-social-menu .minimal ul li a,
#site-header.top-header #oceanwp-social-menu .dark ul li a {
padding: 0 3px;
}
#site-header.top-header #oceanwp-social-menu .colored ul li a span,
#site-header.top-header #oceanwp-social-menu .minimal ul li a span,
#site-header.top-header #oceanwp-social-menu .dark ul li a span {
width: 26px;
height: 26px;
line-height: 26px;
}
#site-header.top-header #search-toggle {
border-right: 1px solid #f1f1f1;
border-left: 1px solid #f1f1f1;
padding: 0 6px;
}
#site-header.top-header #search-toggle a {
display: inline-block;
font-size: 12px;
width: 28px;
text-align: center;
}
#site-header.top-header.search-overlay #search-toggle .search-overlay-toggle {
position: relative;
z-index: 101;
}
#site-header.top-header.search-overlay #search-toggle .search-overlay-toggle.exit > span:before {
content: '✕';
color: #fff;
}
#site-header.top-header #searchform-header-replace input {
color: #222;
font-size: 10px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 2px;
}
#site-header.top-header #searchform-header-replace-close {
font-size: 16px;
padding: 0 6px;
}
#site-header.top-header .header-bottom {
text-align: center;
}
#site-header.top-header #site-logo {
float: none;
display: inline-block;
padding: 50px 0;
}
#site-header.top-header #site-logo #site-logo-inner {
display: block;
height: auto;
}
#site-header.top-header #site-logo #site-description {
padding-top: 20px;
}
#site-header.top-header #site-logo #site-description h2 {
color: #929292;
font-size: 12px;
line-height: 20px;
letter-spacing: 2px;
text-transform: uppercase;
margin: 0;
}
/* Top Menu header mobile menu */
#site-header.top-header #oceanwp-mobile-menu-icon {
float: none;
left: -15px;
right: auto;
}
#site-header.top-header #oceanwp-mobile-menu-icon a {
font-size: 10px;
line-height: 40px;
font-weight: 600;
letter-spacing: 2px;
text-transform: uppercase;
}
/*------------------------------------*
All Devices under 960px
*------------------------------------*/
@media only screen and (max-width: 959px) {
/* Hide social and search form in sidr for the top menu header style */
.top-header-style .sidr-class-social-menu-inner,
.top-header-style .sidr-class-mobile-searchform {
display: none;
}
}
/*------------------------------------*
Phone Landscape
*------------------------------------*/
@media only screen and (max-width: 480px) {
/* Hide social and search in menu and show them in sidr for the top menu header style */
#site-header.top-header .right {
display: none;
}
#site-header.top-header.header-replace .left.hide,
#site-header.top-header.header-replace .right.hide {
visibility: visible;
opacity: 1;
}
#site-header.top-header .header-top .left,
#site-header.top-header .header-top .right {
float: none !important;
text-align: center;
}
#site-header.top-header #oceanwp-mobile-menu-icon {
float: none;
left: auto !important;
right: auto !important;
}
#site-header.top-header #oceanwp-mobile-menu-icon a {
float: none;
}
#site-header.top-header .header-top .right .inner {
display: block;
padding-bottom: 10px;
}
#site-header.top-header #oceanwp-social-menu,
#site-header.top-header #search-toggle {
float: none;
display: inline-block;
height: auto;
}
.top-header-style .sidr-class-social-menu-inner,
.top-header-style .sidr-class-mobile-searchform {
display: block;
}
}