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

141 lines
2.5 KiB
SCSS
Raw Normal View History

2021-04-19 02:10:17 +00:00
@charset "utf-8";
@import "../initial";
@media (width: 768px) {
.navbar-toggle{
display: block!important;
}
}
.layout-header {
position: relative;
margin-bottom: 0;
border: none;
border-radius: 0;
z-index: 1;
//background: #D90000;
.container {
// @extend .response-content;
@media (min-width: $screen-sm) {
& > div{
padding: 0;
}
}
}
.header-nav {
color: #FFF;
font-family: $main-font;
.header-nav2{
background-color: $theme-color-main;//#ad0c0d;
padding: 5px 10px;
margin: 10px 10px 0 10px;
}
2021-05-10 11:37:38 +00:00
& > *:not(p) {
2021-04-19 02:10:17 +00:00
display: inline-block;
margin-top: 0;
margin-bottom: 0;
font-size: 0.8em;
color: #fff;
}
a {
color: #fff;
text-decoration: none;
&:hover{
text-decoration:underline;
}
}
@media (min-width: $screen-sm) {
text-align: right;
}
}
.navbar-header {
padding: 0 0 70px;
.navbar-toggle {
padding: 14px 10px;
border-radius: 2px;
border-width: 2px;
border-color: #fff;
position: absolute;
top: 0;
right: 0;
.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);
}
}
.navbar-brand {
height: 40px;
margin: 25px 0 0px 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: 59px;
margin: 0 0 0 0.6em;
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;
}
}
}
}