/* Page Header */
.header {
position: relative;
top: 0;
left: 0;
right: 0;
z-index: 1020;
margin-bottom: 0;
padding: 0;
transition: box-shadow .2s linear;
}
.header:before,
.header:after {
content: '';
display: table;
clear: both;
}
.header .navbar-toggle {
position: relative;
float: right;
padding: 10px;
margin-top: 8px;
margin-right: 15px;
margin-bottom: 8px;
background-color: transparent;
background-image: none;
border: none;
border-radius: 4px;
outline: none;
}
.header .navbar-toggle:hover,
.header .navbar-toggle:focus {
background: none !important;
opacity: 0.6;
}
.header .navbar-toggle.pull-left {
margin-left: 15px;
margin-right: 0;
}
.header .navbar-toggle .icon-bar {
display: block;
width: 22px;
height: 2px;
border-radius: 1px;
}
.header .navbar-toggle .icon-bar + .icon-bar {
margin-top: 4px;
}
.header .navbar-header:before,
.header .navbar-header:after {
content: '';
display: table;
clear: both;
}
.header .navbar-brand {
float: left;
margin-right: 10px;
padding: 10px 20px;
height: 50px;
width: 220px;
font-weight: 100;
font-size: 18px;
line-height: 30px;
text-decoration: none;
}
.header .navbar-brand img {
max-width: 100%;
max-height: 100%;
}
.header .navbar-logo {
float: left;
margin-right: 10px;
margin-top: 5px;
background: @teal;
border: 10px solid transparent;
border-color: rgba(0,0,0,0) rgba(0,0,0,0.15) rgba(0,0,0,0.3);
position: relative;
overflow: hidden;
border-radius: 4px;
}
.header .navbar {
border: none;
border-radius: 0;
box-shadow: none;
}
.header .navbar-nav {
list-style-type: none;
margin: 0;
padding: 0;
display: block;
}
.header .navbar-nav > li {
float: left;
position: relative;
}
.header .navbar-nav > li.divider {
height: 34px;
margin-top: 10px;
background: #e2e7eb;
width: 1px;
}
.header .navbar-nav > li > a,
.header .navbar-nav > li .dropdown-toggle {
display: block;
text-decoration: none;
line-height: 20px;
padding: 15px;
border: none;
}
.header .navbar-nav > li > a:hover,
.header .navbar-nav > li > a:focus {
opacity: 0.6;
}
.header .navbar-nav > li > a .label,
.header .navbar-nav > li .dropdown-toggle .label {
position: absolute;
top: 8px;
right: 5px;
display: block;
background: @teal;
line-height: 12px;
font-weight: 600;
color: #fff;
padding: .3em .6em .3em;
border-radius: 20px;
}
.header .navbar-nav > li > a > i {
top: 1px;
position: relative;
font-size: 16px;
}
.header .navbar-nav > li > a.icon i {
font-size: 24px;
height: 24px;
margin: -2px 0;
display: block;
}
.header .navbar-nav > .open > a,
.header .navbar-nav > .open > a:hover,
.header .navbar-nav > .open > a:focus {
background: none !important;
color: #333;
opacity: 1.0;
}
.header .navbar-nav .dropdown-toggle:after {
display: none;
}
.header .navbar-nav > li > .dropdown-menu {
margin-top: 0;
border-top: 1px solid #f2f3f4;
box-shadow: 0 13px 25px -2px rgba(0, 0, 0, 0.2);
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.header .navbar-nav > li > .dropdown-menu.media-list .media-heading {
font-weight: 600;
margin: 0;
line-height: 16px;
font-size: 12px;
}
.header .navbar-form {
padding: 0 15px;
margin: 9px 0;
}
.header .navbar-form .form-group {
margin: 0;
}
.header .navbar-form .btn-search {
position: absolute;
right: 15px;
top: 9px;
height: 32px;
padding-top: 5px;
padding-bottom: 5px;
border: none;
background: none;
border-radius: 0 30px 30px 0;
}
.header .navbar-form .btn-search > i[class*=ion-] {
font-size: 22px;
display: block;
}
.header .navbar-form .form-control {
width: 220px;
padding: 5px 15px;
height: 32px;
background: #f2f3f4;
border-color: #f2f3f4;
border-radius: 30px;
}
@keyframes expand {
from { width: 220px; }
to { width: 300px; }
}
@-webkit-keyframes expand {
from { width: 220px; }
to { width: 300px; }
}
.header .navbar-form .form-control:focus {
width: 300px;
border-color: #f2f3f4;
box-shadow: none;
-webkit-animation: expand .2s;
animation: expand .2s;
}
.fade .navbar-form .form-control {
-webkit-animation: none;
}
.header .navbar-user img {
float: left;
width: 30px;
height: 30px;
margin: -5px 10px -5px 0;
border-radius: 30px;
}
.header .navbar-user .image {
float: left;
width: 30px;
height: 30px;
margin: -5px 10px -5px 0;
border-radius: 30px;
overflow: hidden;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
.header .navbar-user .image.image-icon {
float: left;
width: 30px;
height: 30px;
margin: -5px 10px -5px 0;
border-radius: 30px;
text-align: center;
font-size: 22px;
line-height: 40px;
overflow: hidden;
}
.navbar-header.navbar-header-without-bg .navbar-brand {
background: none !important;
}
.navbar-language .flag-icon {
font-size: 15px;
margin: 2px 7px 0;
float: left;
}
/* Page Header - Default */
.header.navbar-default {
background: #fff;
}
.header.navbar-default .brand,
.header.navbar-default .navbar-brand {
color: #333;
}
.header.navbar-default .navbar-toggle .icon-bar {
background: @black;
}
.header.navbar-default .navbar-nav > li > a,
.header.navbar-default .navbar-nav > li .dropdown-toggle {
color: #585663;
}
.header.navbar-default .navbar-nav .open .dropdown-menu > li > a {
color: #333;
}
/* Page Header - Inverse */
.header.navbar-inverse {
background: #1a2229;
}
.header.navbar-inverse .navbar-toggle .icon-bar {
background: #585d61;
}
.header.navbar-inverse .navbar-brand,
.header.navbar-inverse .navbar-nav > li > a,
.header.navbar-inverse .navbar-nav > li .dropdown-toggle {
color: #a8acb1;
}
.header.navbar-inverse .navbar-nav > li.divider {
background: #3F4B55;
}
.header.navbar-inverse .navbar-form {
margin: 10px 0;
}
.header.navbar-inverse .navbar-form .form-control,
.header.navbar-inverse .navbar-form .form-control:focus {
background: #585d62;
border-color: #585d62;
color: #fff;
height: 30px;
}
.header.navbar-inverse .navbar-form .form-control::-webkit-input-placeholder { color: #a8acb1; }
.header.navbar-inverse .navbar-form .form-control::-moz-placeholder { color: #a8acb1; }
.header.navbar-inverse .navbar-form .form-control:-ms-input-placeholder { color: #a8acb1; }
.header.navbar-inverse .navbar-form .form-control:-moz-placeholder { color: #a8acb1; }
.header.navbar-inverse .navbar-form .btn-search {
color: #a8acb1;
}
/* Page Header - Mega Menu (Added in V1.7) */
.dropdown.dropdown-lg,
.header .dropdown.dropdown-lg {
position: static;
}
.dropdown-menu.dropdown-menu-lg {
left: 20px;
right: 20px;
padding: 20px;
}
.dropdown-header {
font-size: 14px;
font-weight: bold;
color: @black_darker;
padding: 0;
margin: 0 0 10px;
}
.dropdown-menu.dropdown-menu-lg .nav > li > a {
padding: 0;
background: none;
line-height: 24px;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active.open > a,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > .active > a:hover {
background: @silver_lighter !important;
opacity: 1.0;
}
|