AsiaH7_2/assets/stylesheets/template/layout/header.scss

201 lines
3.6 KiB
SCSS

@charset "utf-8";
@import "../initial";
.layout-header {
position: relative;
margin-bottom: 0;
border: none;
border-radius: 0;
z-index: 100;
.container {
@extend .response-content;
}
.header-nav {
color: #FFF;
font-family: $main-font;
.header-nav2 {
padding: 0;
padding: 9px 10px;
border-top: 0;
border-radius: 3px;
behavior: url("/assets/ie_support/PIE2/PIE.htc");
background-color: #a25a05;
}
& > *:not(p) {
display: inline-block;
margin-top: 0;
margin-bottom: 0;
font-size: 0.8em;
color: #fff;
}
ul{
padding: 0;
margin: 0;
list-style: none;
}
li{
display: inline-block;
padding: 0 5px;
}
a {
color: #fff;
text-decoration: none;
&:hover{
text-decoration:underline;
}
}
@media (min-width: $screen-sm) {
text-align: right;
padding: 37px 70px 0px 0px;
}
}
.navbar-header {
.navbar-toggle {
padding: 18px 20px;
border-radius: 2px;
behavior: url("/assets/ie_support/PIE2/PIE.htc");
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:5px 0 0 0;
border-radius:0;
.icob-box{
float: right;
line-height: 1;
color: #fff;
padding-left: 8px;
}
}
}
.navbar-brand {
height: 59px;
margin: 8px 0;
padding-top: 0;
padding-bottom: 0;
line-height: 34px;
color: #FFF;
font-size: 1.4em;
font-family: $main-font;
@media (min-width: $screen-sm) {
height: 79px;
margin: 12px 0 ;
padding-left: 0;
line-height: 60px;
font-size: 1.5em;
}
.site-logo {
width: auto;
height: 100%;
margin-right: 0.5em;
float: left;
}
.site_name{
display: none;
}
@media (max-width: $screen-sm) {
float:none;
display:block;
}
}
}
@media (max-width: $screen-lg)and(min-width: $screen-sm){
.container{
width: 100%;
}
#layout-navigation{
margin: 0 -15px;
}
.navbar-brand{
position: relative;
z-index: 1;
}
}
@media (min-width: $screen-sm){
.header-nav {
float: right;
width: 40%;
position: relative;
z-index: 1;
}
.navbar-header {
float: left;
width: 60%;
}
&:after{
content: "";
display: table;
width: 621px;
height: 103px;
position: absolute;
top: 0;
right: 0;
}
}
@media (min-width: $screen-md){
min-height:145px;
.container{}
}
}