207 lines
3.8 KiB
SCSS
207 lines
3.8 KiB
SCSS
@charset "utf-8";
|
|
|
|
@import "../initial";
|
|
|
|
.layout-header {
|
|
position: relative;
|
|
margin-bottom: 0;
|
|
border: none;
|
|
border-radius: 0;
|
|
z-index: 1;
|
|
min-height: inherit;
|
|
.container {
|
|
@extend .response-content;
|
|
}
|
|
|
|
.header-nav {
|
|
color: #FFF;
|
|
font-family: $main-font;
|
|
padding: 6px 15px;
|
|
& > *:not(p) {
|
|
display: inline-block;
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
font-size: 0.8em;
|
|
color: #595959;
|
|
}
|
|
ul{
|
|
padding: 0;
|
|
margin: 0;
|
|
list-style: none;
|
|
}
|
|
li{
|
|
display: inline-block;
|
|
padding: 0 5px;
|
|
}
|
|
|
|
a {
|
|
color: #595959;
|
|
text-decoration: none;
|
|
&:hover{
|
|
color: $theme-color-five;
|
|
}
|
|
}
|
|
|
|
@media (min-width: $screen-sm) {
|
|
text-align: right;
|
|
background-color: #e7e7e7;
|
|
padding: 4px 10px;
|
|
border: 1px solid #fff;
|
|
border-top: 0;
|
|
background-image: linear-gradient(to top, #e5e5e5 0%, #f7f7f7 100%);
|
|
box-shadow: 0 2px 3px rgba(0,0,0,0.3);
|
|
|
|
}
|
|
@media (max-width: $screen-sm) {
|
|
display: block;
|
|
margin: 0;
|
|
background-color: #f5f5f5;
|
|
letter-spacing: 0.03rem;
|
|
position: absolute;
|
|
right: 0;
|
|
top: 0;
|
|
& *{
|
|
color: #333;
|
|
}
|
|
a{
|
|
color: #333;
|
|
}
|
|
}
|
|
}
|
|
|
|
.navbar-header {
|
|
|
|
|
|
.navbar-toggle {
|
|
padding: 18px 20px;
|
|
border-radius: 2px;
|
|
border-width: 2px;
|
|
border-color: #fff;
|
|
|
|
.icon-bar {
|
|
background-color: #fff;
|
|
}
|
|
|
|
&.collapsed {
|
|
.icon-bar-top {
|
|
top: 0;
|
|
-webkit-transform: rotate(0);
|
|
transform: rotate(0);
|
|
}
|
|
|
|
.icon-bar-middle {
|
|
opacity: 1;
|
|
}
|
|
|
|
.icon-bar-bottom {
|
|
top: 0;
|
|
-webkit-transform: rotate(0);
|
|
transform: rotate(0);
|
|
}
|
|
}
|
|
|
|
// icon bar animation
|
|
.icon-bar {
|
|
transition: .2s all;
|
|
position: relative;
|
|
}
|
|
|
|
.icon-bar-top {
|
|
top: 6px;
|
|
-webkit-transform: rotate(45deg);
|
|
transform: rotate(45deg);
|
|
}
|
|
|
|
.icon-bar-middle {
|
|
opacity: 0;
|
|
}
|
|
|
|
.icon-bar-bottom {
|
|
top: -6px;
|
|
-webkit-transform: rotate(-45deg);
|
|
transform: rotate(-45deg);
|
|
}
|
|
@media (max-width: $screen-sm) {
|
|
float:none;
|
|
width:100%;
|
|
border:0;
|
|
background:$theme-color-second;
|
|
margin: 10px 0 0 0;
|
|
border-radius:0;
|
|
.icob-box{
|
|
float: right;
|
|
line-height: 1;
|
|
color: #fff;
|
|
padding-left: 8px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.navbar-brand {
|
|
height: auto;
|
|
margin: 8px 0;
|
|
padding-top: 10px;
|
|
padding-bottom: 0;
|
|
line-height: 34px;
|
|
color: #FFF;
|
|
font-size: 1.4em;
|
|
font-family: $main-font;
|
|
|
|
@media (min-width: $screen-sm) {
|
|
// height: 46px;
|
|
margin: 0;
|
|
padding: 10px 17px 0px 17px;
|
|
line-height: 60px;
|
|
font-size: 1.5em;
|
|
img.site-logo{
|
|
height: 100%;
|
|
width: auto;
|
|
margin-right: 0;
|
|
}
|
|
&:hover img{
|
|
opacity: 0.7;
|
|
transition: all 0.2s;
|
|
}
|
|
}
|
|
|
|
.site-logo {
|
|
max-width: 100%;
|
|
}
|
|
.site_name{
|
|
display: none;
|
|
}
|
|
@media (max-width: $screen-sm) {
|
|
float:none;
|
|
display:block;
|
|
}
|
|
}
|
|
@media (min-width: $screen-sm) {
|
|
padding: 0 0 15px 0;
|
|
}
|
|
}
|
|
@media (min-width: $screen-sm){
|
|
.container {
|
|
position: relative;
|
|
}
|
|
.header-nav {
|
|
position: absolute;
|
|
right: 0;
|
|
top: 0;
|
|
z-index: 1;
|
|
}
|
|
.navbar-header {
|
|
}
|
|
}
|
|
@media (max-width: $screen-sm) {
|
|
background-color: #fff;
|
|
.container{padding: 0;}
|
|
|
|
.navbar-brand {
|
|
text-align: center;
|
|
.site-logo {
|
|
display: inline;
|
|
}
|
|
}
|
|
|
|
}
|
|
} |