mirror of
https://github.com/ENSL/ensl.org.git
synced 2025-01-16 23:00:41 +00:00
5487854a6c
Added new ISO country code flag icons to asset pipeline Lots and lots of new style changes Began converting to JS to coffeescript
213 lines
3.6 KiB
SCSS
213 lines
3.6 KiB
SCSS
nav.top {
|
|
$navigation-background: $dark-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: $monserrat;
|
|
height: $navigation-height;
|
|
width: 100%;
|
|
z-index: 999;
|
|
|
|
.menu-wrapper {
|
|
@include outer-container;
|
|
@extend %container-padded;
|
|
position: relative;
|
|
z-index: 9999;
|
|
}
|
|
|
|
.navigation-menu-button {
|
|
color: $navigation-color;
|
|
cursor: pointer;
|
|
display: block;
|
|
float: right;
|
|
font-family: $monserrat;
|
|
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 {
|
|
#logo {
|
|
@include span-columns(8);
|
|
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(4);
|
|
height: em(190);
|
|
margin: em(20) 0;
|
|
padding: em(20);
|
|
border: 1px solid $dark-gray;
|
|
background: $dark-gray;
|
|
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);
|
|
border: 1px solid $medium-gray;
|
|
background: $medium-gray;
|
|
margin: 0 em(20) em(20) 0;
|
|
text-align: center;
|
|
|
|
img {
|
|
padding: em(10);
|
|
}
|
|
}
|
|
|
|
.timezone {
|
|
text-align: center;
|
|
}
|
|
}
|
|
}
|
|
}
|