124 lines
2.2 KiB
SCSS
124 lines
2.2 KiB
SCSS
|
@charset "utf-8";
|
||
|
|
||
|
@import "../initial";
|
||
|
|
||
|
.layout-header {
|
||
|
position: relative;
|
||
|
margin-bottom: 0;
|
||
|
border: none;
|
||
|
border-radius: 0;
|
||
|
z-index: 1;
|
||
|
|
||
|
.container {
|
||
|
width: 940px;
|
||
|
@extend .response-content;
|
||
|
@media (max-width: 767px) {
|
||
|
width: 100%;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.header-nav {
|
||
|
padding: 2em 0;
|
||
|
color: #999;
|
||
|
font-family: $main-font;
|
||
|
float: right;
|
||
|
|
||
|
& > *:not(p) {
|
||
|
display: inline-block;
|
||
|
margin-top: 0;
|
||
|
margin-bottom: 0;
|
||
|
font-size: 0.8em;
|
||
|
color: #999;
|
||
|
}
|
||
|
|
||
|
a {
|
||
|
color: #999;
|
||
|
text-decoration: none;
|
||
|
&:hover {
|
||
|
text-decoration: underline;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@media (min-width: $screen-sm) {
|
||
|
text-align: right;
|
||
|
}
|
||
|
@media (max-width: 768px) {
|
||
|
display: none;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.navbar-header {
|
||
|
padding: 1.2em 0 1.2em;
|
||
|
margin: 0;
|
||
|
|
||
|
.navbar-toggle {
|
||
|
padding: 0.875em 0.625em;
|
||
|
border-radius: 0.125em;
|
||
|
border-width: 0.125em;
|
||
|
border-color: lighten($theme-gray, 30%);
|
||
|
|
||
|
.icon-bar {
|
||
|
background-color: lighten($theme-gray, 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);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.navbar-brand {
|
||
|
height: auto;
|
||
|
margin: 0;
|
||
|
padding-top: 0;
|
||
|
padding-bottom: 0;
|
||
|
padding-left: 0;
|
||
|
line-height: 2.125em;
|
||
|
color: #FFF;
|
||
|
font-size: 1.4em;
|
||
|
font-family: $main-font;
|
||
|
|
||
|
.site-logo {
|
||
|
width: auto;
|
||
|
height: 100%;
|
||
|
margin-right: 0.5em;
|
||
|
float: left;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|