proj-iott/assets/stylesheets/template/layout/header.scss

217 lines
4.0 KiB
SCSS
Executable File

@charset "utf-8";
@import "../initial";
#orbit-bar .orbit-bar-title a{
color: transparent!important;
}
.orbit-bar-title{
display: none!important;
}
html[lang="en"]{
.layout-header .navbar-header .navbar-brand{
@media (max-width: 480px){
height: 2em;
margin-top: 1em;
width: 80%;
}
}
}
.navFixed {
z-index: 10;
position: fixed!important;
left: 0;
top:2.5em;
background-color: #fff;
margin-top: 0;
min-width: 100%;
-webkit-transition: .3s ease-out;
-moz-transition: .3s ease-out;
-ms-transition: .3s ease-out;
-o-transition: .3s ease-out;
transition: .3s ease-out;
}
.navbar-header h1.default_site_h1, .navbar-header h2.default_site_h1{
display: flex;
align-items: center;
font-weight: bold;
color: #14324f;
}
.header-nav {
padding: 1em 0;
color: $theme-color-main;
font-family: $main-font;
z-index: 99999;
@media(max-width: 769px){
display: flex;
flex-wrap: wrap;
color: #fff;
a{
color: #fff;
}
}
@media (min-width: 1900px) {
left: 16%!important;
}
@media(min-width: 769px){
position: fixed;
top: -7px;
left: 11%;
color: #fff;
a{
color: #fff;
}
}
& > * {
display: inline-block;
margin-top: 0;
margin-bottom: 0;
font-size: 0.8em;
color: $theme-color-main;
}
a {
text-decoration: none;
}
@media (min-width: $screen-sm) {
text-align: right;
}
}
.layout-header {
padding-bottom: 0;
background: #fff;
box-shadow: 0px 2px 5px #33333369;
z-index: 999;
position: relative;
margin-bottom: 0;
border: none;
border-radius: 0;
@media(max-width: $screen-xs){
padding-bottom: 0.8em;
}
.container {
@extend .response-container;
}
.header-banner { overflow: hidden; }
.navbar-header {
position: relative;
width: 100%;
padding: 0;
@media(min-width: 769px)and(max-width: 1024px){
margin-left: 1em;
}
@media(min-width: 769px){
position: absolute;
}
p{
float: right;
position: absolute;
top: 3.5em;
left: 6.7em;
color: #1a3e5f;
line-height: 2.5;
font-size: 12px;
font-weight: bold;
}
.navbar-brand {
height: unset;
margin:0;
padding-top: 0;
padding-bottom: 0;
line-height: 2.125em;
color: $theme-color-main;
font-size: 1.4em;
font-family: $main-font;
h1{
margin: 0!important;
}
@media (min-width: $screen-sm) {
height: unset;
margin: 0;
padding-left: 0;
line-height: 3.75em;
font-size: 1.5em;
}
@media (max-width: 767px) {
height: 5em;
}
@media (max-width: 480px) {
height: 3.5em;
padding: 0;
margin: 0;
}
.site-logo {
width: auto;
margin-right:0.5em!important;
float: left;
padding-top:0.2em;
}
}
}
}
.navbar-toggle {
padding: 0.875em 0.625em;
border-radius: 0.125em;
border-width: 0.125em;
border-color: lighten($theme-color-main, 30%);
@media(max-width: 768px)and(min-width:$screen-xs ){
margin-top: 2em;
}
@media(max-width: $screen-xs){
margin-top: 1.3em;
}
.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);
}
}