gitlab-org--gitlab-foss/app/assets/stylesheets/pages/login.scss
connorshea d80b8ed6d4 Enable SpaceBeforeBrace rule for SCSS Lint
Also resolve all instances of spaces not being included before opening
braces.
2016-03-30 14:30:06 -06:00

129 lines
1.8 KiB
SCSS

/* Login Page */
.login-page {
.container {
max-width: 960px;
}
.navbar-gitlab .container {
max-width: none;
}
.flash-container {
margin-bottom: $gl-padding;
}
.brand-holder {
font-size: 18px;
line-height: 1.5;
p {
color: #888;
}
h1:first-child {
font-weight: normal;
margin-bottom: 30px;
margin-top: 0;
}
img {
max-width: 100%;
margin-bottom: 30px;
}
a {
font-weight: bold;
}
}
.login-box {
background: #fafafa;
border-radius: 10px;
box-shadow: 0 0 2px #ccc;
padding: 15px;
.login-heading h3 {
font-weight: 300;
line-height: 1.5;
margin: 0 0 10px;
}
.login-footer {
margin-top: 10px;
p:last-child {
margin-bottom: 0;
}
}
a.forgot {
float: right;
padding-top: 6px
}
.nav .active a {
background: transparent;
}
}
.form-control {
font-size: 14px;
padding: 10px 8px;
width: 100%;
height: auto;
&.top {
@include border-radius(5px 5px 0 0);
margin-bottom: 0;
}
&.bottom {
@include border-radius(0 0 5px 5px);
border-top: 0;
margin-bottom: 20px;
}
&.middle {
border-top: 0;
margin-bottom: 0;
@include border-radius(0);
}
&:active, &:focus {
background-color: #fff;
}
}
.devise-errors {
h2 {
margin-top: 0;
font-size: 14px;
color: #a00;
}
}
.remember-me {
margin-top: -10px;
label {
font-weight: normal;
}
}
}
@media (max-width: $screen-xs-max) {
.login-page {
.col-sm-5.pull-right {
float: none !important;
}
}
}
.oauth-image-link {
margin-right: 10px;
img {
width: 32px;
height: 32px;
}
}