mirror of
https://github.com/ENSL/ensl.org.git
synced 2025-01-01 07:11:41 +00:00
214 lines
3.6 KiB
SCSS
214 lines
3.6 KiB
SCSS
nav.top {
|
|
$navigation-background: $medium-gray;
|
|
$navigation-color: transparentize(white, 0.3);
|
|
$navigation-color-hover: white;
|
|
$navigation-height: em(40);
|
|
|
|
background-color: $navigation-background;
|
|
border-bottom: 1px solid $medium-gray;
|
|
font-family: $montserrat;
|
|
height: $navigation-height;
|
|
width: 100%;
|
|
z-index: 999;
|
|
|
|
.menu-wrapper {
|
|
@include outer-container;
|
|
position: relative;
|
|
z-index: 9999;
|
|
}
|
|
|
|
.navigation-menu-button {
|
|
color: $navigation-color;
|
|
cursor: pointer;
|
|
display: block;
|
|
float: right;
|
|
font-family: $montserrat;
|
|
font-weight: 700;
|
|
line-height: $navigation-height;
|
|
margin: 0;
|
|
padding-right: 1em;
|
|
text-transform: uppercase;
|
|
|
|
@include media ($large-screen) {
|
|
display: none;
|
|
}
|
|
|
|
&:hover {
|
|
color: $navigation-color-hover;
|
|
}
|
|
}
|
|
|
|
.nav {
|
|
@include media ($large-screen) {
|
|
float: left;
|
|
}
|
|
}
|
|
|
|
#navigation-menu {
|
|
@include span-columns(12);
|
|
|
|
.gathers {
|
|
@include span-columns(6);
|
|
}
|
|
|
|
.pages {
|
|
@include span-columns(6);
|
|
@include omega;
|
|
|
|
text-align: right;
|
|
|
|
li:last-child {
|
|
padding-right: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
#navigation-menu ul {
|
|
-webkit-transform-style: preserve-3d; // stop webkit flicker
|
|
display: none;
|
|
margin: 0 auto;
|
|
overflow: hidden;
|
|
padding: 0;
|
|
width: 100%;
|
|
z-index: 9999;
|
|
|
|
@include media ($large-screen) {
|
|
display: block;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
}
|
|
|
|
ul li {
|
|
background: $navigation-background;
|
|
display: block;
|
|
line-height: $navigation-height;
|
|
overflow: hidden;
|
|
padding-right: .8em;
|
|
text-align: right;
|
|
width: 100%;
|
|
z-index: 9999;
|
|
|
|
@include media ($large-screen) {
|
|
background: transparent;
|
|
display: inline;
|
|
line-height: $navigation-height;
|
|
padding-right: 2em;
|
|
text-decoration: none;
|
|
width: auto;
|
|
}
|
|
|
|
a {
|
|
font-weight: 400;
|
|
color: $navigation-color;
|
|
|
|
&:hover {
|
|
color: $navigation-color-hover;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
header .banner {
|
|
@include linear-gradient($dark-blue, #12526E);
|
|
height: em(295);
|
|
|
|
#logo {
|
|
@include span-columns(9 of 12);
|
|
min-height: em(200);
|
|
position: relative;
|
|
|
|
img {
|
|
width: em(430);
|
|
height: em(200);
|
|
position: absolute;
|
|
top: em(20);
|
|
left: 0;
|
|
z-index: 1;
|
|
}
|
|
}
|
|
|
|
#authentication {
|
|
@include span-columns(3 of 12);
|
|
height: em(190);
|
|
margin: em(20) 0;
|
|
padding: em(20) 0;
|
|
color: white;
|
|
|
|
a {
|
|
color: white;
|
|
}
|
|
|
|
form {
|
|
display: inline;
|
|
}
|
|
|
|
.fields {
|
|
@include span-columns(12);
|
|
|
|
input {
|
|
@include span-columns(6);
|
|
margin-bottom: em(10);
|
|
}
|
|
}
|
|
|
|
.controls {
|
|
margin-top: em(20);
|
|
text-align: right;
|
|
|
|
input {
|
|
@include span-columns(12);
|
|
margin-bottom: em(10);
|
|
}
|
|
|
|
a {
|
|
@include span-columns(12);
|
|
text-align: left;
|
|
}
|
|
}
|
|
|
|
.password-reset {
|
|
float: right;
|
|
}
|
|
|
|
.links,
|
|
.profile {
|
|
@include span-columns(6);
|
|
}
|
|
|
|
.links {
|
|
position: relative;
|
|
|
|
h5 {
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
li i {
|
|
display: inline-block;
|
|
width: 1em;
|
|
text-align: center;
|
|
margin-right: em(10);
|
|
}
|
|
}
|
|
|
|
.profile {
|
|
|
|
.avatar {
|
|
@include span-columns(12);
|
|
background: transparentize($light-gray, 0.5);
|
|
margin: 0 em(20) em(20) 0;
|
|
text-align: center;
|
|
border-radius: 75px;
|
|
|
|
img {
|
|
padding: em(10);
|
|
float: left;
|
|
}
|
|
}
|
|
|
|
.timezone {
|
|
text-align: center;
|
|
}
|
|
}
|
|
}
|
|
}
|