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

180 lines
3.5 KiB
SCSS
Executable File

@charset "utf-8";
@import "../initial";
.layout-header {
position: relative;
margin-bottom: 0;
border: none;
border-radius: 0;
z-index: 0;
.header-inner {
-webkit-box-shadow: 0px 3px 8px 0px rgba(0, 0, 0, 0.3);
box-shadow: 0px 3px 8px 0px rgba(0, 0, 0, 0.3);
display: flex;
flex-direction: column;
@media(max-width:767px) {
box-shadow: unset;
}
}
.container {
min-height: 130px;
@extend .response-content;
}
.header-banner {
position: absolute;
top: 0;
}
.header-nav {
padding: 1em 1em 0;
color: $theme-color-main;
font-family: $main-font;
& > * {
display: inline-block;
margin-top: 0;
margin-bottom: 0;
font-size: 0.6em;
color: $theme-color-main;
}
a {
color: $theme-gray;
text-decoration: none;
&:hover {
color: $hover-color;
}
}
@media (min-width: $screen-sm) {
text-align: right;
}
}
.navbar-header {
padding: 0 0 0 2.7em;
.navbar-toggle {
padding: 0.875em 0.625em;
.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);
}
}
.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;
padding: 0 !important;
@media (max-width: 767px) {
width: 80%;
}
.site-logo {
width: auto;
height: 100%;
margin-right: 0.5em;
float: left;
}
}
}
.slider {
padding: 0;
width: 82%;
.widget-announcement-2 {
margin-top: -10px;
padding: 0.5em 1em;
margin-left: 40px;
margin-bottom: 25px;
.w-annc__item { margin: 0; }
}
}
.extra-menu-h {
z-index: 0;
// background: linear-gradient(180deg, rgba(22,69,172,1) 0%, rgba(11,37,89,1) 60%, rgba(7,22,54,1) 84%);
background: url(/assets/bg.jpg) 0 0 repeat-x #0a2a65;
}
.extra-menu.col-sm-3 {
width: 18%;
padding-bottom: 3.3em;
padding-top: 0.5em;
.widget-link.widget1 {
ul { margin: 0; }
.widget-content {
line-height: 1.8em;
text-align: center;
}
.widget-content+.widget-content { border-top: transparent; }
.widget-content-title {
font-size: 0.8em;
color: #fff;
&:hover {
color: $extra-menu-hover;
}
}
}
.superLink {
border-bottom: 1px solid rgba(239, 239, 239, 0.5);
a {
color: #fff;
display: flex;
flex-direction: column;
text-align: center;
padding: 1em;
}
.fa { font-size: 2em; padding-bottom: 5px; }
}
}
}