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

224 lines
4.1 KiB
SCSS

@charset "utf-8";
@import "../initial";
.default_site_h1{
display: contents;
@media (min-width: 480px){
font-size: 1.2em!important;
}
@media (max-width: 480px){
font-size: 1.5em!important;
display: grid;
padding: 0 0 0 0.5em !important;
.site-logo{
margin-left: -0.8em;
width: 100% !important;
margin-top: 0;
}
}
}
.layout-header {
position: relative;
margin-bottom: 0;
border: none;
border-radius: 0;
z-index: 1;
background-color: #fff;
background-color: #F5F5F5;
border-bottom: 1px solid #e8e8e8;
color: #333;
.container {
@extend .response-container;
}
.header-banner { overflow: hidden; }
.header-nav {
padding: 1em 0;
color: $theme-color-main;
font-family: $main-font;
text-transform:uppercase;
& > * {
display: inline-block;
margin-top: 0;
margin-bottom: 0;
font-size: 0.8em;
color: $theme-color-main;
}
a {
color: $theme-color-main;
text-decoration: none;
padding: 15px;
}
@media (min-width: $screen-sm) {
text-align: inherit;
top: 131px;
position: fixed!important;
}
@media (min-width: 1100px) and (min-width: 1100px){
width: 430px!important;
}
@media (min-width: 1100px) and (min-width: 1350px){
width: 380px!important;
}
}
.navbar-header {
z-index: 9999;
padding: 0;
margin: 0;
position: fixed;
@media (max-width: 1025px) {
position:relative!important;
}
@media (min-width: $screen-sm) {
height: 64px;
margin:0;
padding: 0;
line-height: 3.75em;
font-size: 1em;
}
.navbar-brand {
margin: 0.5em;
padding: 0;
line-height: 3.75em;
color: $theme-color-main;
font-family: $main-font;
@media (min-width: 1300px){
margin: 0.5em 0.5em 0.5em 3em;
}
@media (max-width: 767px) {
height: 5em;
}
@media (max-width: 480px) {
height: 3.5em;
padding: 0.5rem;
}
.site-logo {
width: 180px;
height: auto;
margin-right: 0.5em;
float: left;
}
}
}
}
.navbar-toggle {
padding: 0.875em 0.625em;
margin-top: 1em;
// border-radius: 0.125em;
// border-width: 0.125em;
// border-color: lighten($theme-color-main, 30%);
.icon-bar {
background-color: lighten($theme-color-main, 30%);
}
&.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: 0.375em;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
}
.icon-bar-middle {
opacity: 0;
}
.icon-bar-bottom {
top: -0.375em;
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
}
}
.navFixed {
z-index: 10;
position: fixed!important;
left: 0;
top:2.5em;
background-color: #fff;
margin-top: 0;
min-width: 100%;
opacity: 0.94;
transition: opacity .5s ease-out;
}
@media (width: 768px) {
.navbar-toggle{
display: block!important;
}
}
.outdropdowns{
background-color: #fff;
@media (max-width: 480px) {
height: 156px;
background-color: #F8F8F8;
}
}
.header-nav{
padding:0 3em!important;
}
.nav-menu{
display:flex!important;
float: right;
li{
padding: 1em 0;
&:hover{
background-color: #C40516;
a{
color: #FFFFFF;
}
}
}
}
.nav{
font-family: "Industry_Demi", Sans-serif;
font-size: 11px;
font-weight: 600;
text-transform: uppercase;
padding: 1em 0;
&:hover{
background-color: #e4002b;
color: #fff;
}
}
.navone ::before{
content: '';
position: absolute;
background: url("/assets/account-icon.png") no-repeat;
width: 23px;
height: 23px;
left: -10px;
top: 10px;
display: inline-block;
left: 5px;
}