ensl.org/app/assets/stylesheets/layout/_header.scss

116 lines
1.8 KiB
SCSS

/*
Banner
*/
header .banner {
@include linear-gradient($dark-blue, $deep-blue);
height: 250px;
#logo {
@include span-columns(9 of 12);
min-height: 200px;
position: relative;
img {
height: 180px;
position: absolute;
top: 15px;
left: 0;
z-index: 1;
}
}
#authentication {
@include span-columns(3 of 12);
margin-top: 10px;
padding: 10px 0;
color: white;
a {
color: white;
}
form {
display: inline;
}
.fields {
@include span-columns(12);
input {
@include span-columns(6);
margin-bottom: 10px;
}
}
.controls {
margin-top: 10px;
text-align: right;
input {
@include span-columns(12);
margin-bottom: 10px;
}
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: 10px;
}
}
.profile {
vertical-align: middle;
.avatar {
margin: 0 10px 0 0;
text-align: center;
border-radius: 100px;
padding: 5px;
vertical-align: middle;
position: relative;
width: 100%;
padding-bottom: 100%;
float: left;
height: 0;
img {
background: transparentize($light-gray, 0.75);
width: 100%;
height: 100%;
position: absolute;
left: 0;
border-radius: 100px;
padding: 5px;
}
}
.timezone {
text-align: center;
}
}
}
}