2012-01-27 12:58:10 -05:00
|
|
|
/* Login Page */
|
2014-01-01 13:53:44 -05:00
|
|
|
.login-page {
|
2015-01-07 20:07:36 -05:00
|
|
|
.container {
|
|
|
|
max-width: 960px;
|
2013-09-24 05:27:25 -04:00
|
|
|
}
|
2012-01-27 12:58:10 -05:00
|
|
|
|
2015-01-07 20:07:36 -05:00
|
|
|
.navbar-gitlab .container {
|
|
|
|
max-width: none;
|
|
|
|
}
|
2014-08-15 10:52:20 -04:00
|
|
|
|
2016-03-01 09:36:19 -05:00
|
|
|
.flash-container {
|
|
|
|
margin-bottom: $gl-padding;
|
|
|
|
}
|
|
|
|
|
2015-01-07 20:07:36 -05:00
|
|
|
.brand-holder {
|
|
|
|
font-size: 18px;
|
|
|
|
line-height: 1.5;
|
2014-08-15 10:52:20 -04:00
|
|
|
|
2015-01-07 20:07:36 -05:00
|
|
|
p {
|
2016-09-09 08:21:00 -04:00
|
|
|
font-size: 18px;
|
2015-01-07 20:07:36 -05:00
|
|
|
color: #888;
|
2014-08-15 10:52:20 -04:00
|
|
|
}
|
|
|
|
|
2015-01-07 20:07:36 -05:00
|
|
|
h1:first-child {
|
|
|
|
font-weight: normal;
|
|
|
|
margin-bottom: 30px;
|
2015-12-03 12:51:44 -05:00
|
|
|
margin-top: 0;
|
2014-08-15 10:52:20 -04:00
|
|
|
}
|
2014-07-11 08:05:40 -04:00
|
|
|
|
|
|
|
img {
|
2014-07-13 13:56:29 -04:00
|
|
|
max-width: 100%;
|
2016-03-16 19:40:12 -04:00
|
|
|
margin-bottom: 30px;
|
2014-07-11 08:05:40 -04:00
|
|
|
}
|
2014-08-13 12:35:49 -04:00
|
|
|
|
2015-01-07 20:07:36 -05:00
|
|
|
a {
|
|
|
|
font-weight: bold;
|
2014-08-13 12:35:49 -04:00
|
|
|
}
|
2014-01-01 13:53:44 -05:00
|
|
|
}
|
2012-11-06 08:30:48 -05:00
|
|
|
|
2016-09-09 08:21:00 -04:00
|
|
|
p {
|
|
|
|
font-size: 13px;
|
|
|
|
}
|
2016-03-30 16:30:06 -04:00
|
|
|
.login-box {
|
2016-09-09 08:21:00 -04:00
|
|
|
box-shadow: 0 0 0 1px $border-color;
|
|
|
|
border-bottom-right-radius: 2px;
|
|
|
|
border-bottom-left-radius: 2px;
|
2015-01-07 20:07:36 -05:00
|
|
|
padding: 15px;
|
|
|
|
|
|
|
|
.login-heading h3 {
|
|
|
|
font-weight: 300;
|
|
|
|
line-height: 1.5;
|
2016-03-18 17:18:00 -04:00
|
|
|
margin: 0 0 10px;
|
2015-01-07 20:07:36 -05:00
|
|
|
}
|
|
|
|
|
2016-10-13 14:58:31 -04:00
|
|
|
.new_user {
|
|
|
|
position: relative;
|
|
|
|
padding-bottom: 35px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sign-in {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
|
2015-01-07 20:07:36 -05:00
|
|
|
.login-footer {
|
|
|
|
margin-top: 10px;
|
2015-02-05 09:56:58 -05:00
|
|
|
|
|
|
|
p:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2015-01-07 20:07:36 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
a.forgot {
|
|
|
|
float: right;
|
2016-10-14 16:39:08 -04:00
|
|
|
padding-top: 6px;
|
2015-01-07 20:07:36 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.nav .active a {
|
|
|
|
background: transparent;
|
|
|
|
}
|
2013-08-12 05:38:30 -04:00
|
|
|
|
2014-01-01 13:53:44 -05:00
|
|
|
.form-control {
|
2015-01-07 20:07:36 -05:00
|
|
|
font-size: 14px;
|
|
|
|
padding: 10px 8px;
|
2014-01-22 20:46:01 -05:00
|
|
|
width: 100%;
|
2014-01-01 13:53:44 -05:00
|
|
|
height: auto;
|
|
|
|
|
|
|
|
&.top {
|
2016-09-09 12:59:36 -04:00
|
|
|
border-radius: 5px 5px 0 0;
|
2016-03-16 19:29:47 -04:00
|
|
|
margin-bottom: 0;
|
2014-01-01 13:53:44 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
&.bottom {
|
2016-09-09 12:59:36 -04:00
|
|
|
border-radius: 0 0 5px 5px;
|
2014-01-01 13:53:44 -05:00
|
|
|
border-top: 0;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
2016-09-09 08:21:00 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
// Styles the glowing border of focused input for username async validation
|
|
|
|
.login-body {
|
|
|
|
font-size: 13px;
|
|
|
|
|
|
|
|
|
|
|
|
input + p {
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gl-field-success-outline {
|
|
|
|
border: 1px solid $green-normal;
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
box-shadow: 0 0 0 1px $green-normal inset, 0 0 4px 0 $green-normal;
|
|
|
|
border: 0 none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.gl-field-error-outline {
|
|
|
|
border: 1px solid $red-normal;
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
opacity: .6;
|
|
|
|
box-shadow: 0 0 0 1px $red-normal inset, 0 0 4px 0 $red-normal;
|
|
|
|
border: 0 none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.username .validation-success,
|
|
|
|
.gl-field-success-message {
|
|
|
|
color: $green-normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.username .validation-error,
|
|
|
|
.gl-field-error-message {
|
|
|
|
color: $red-normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gl-field-hint {
|
|
|
|
color: $gl-text-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.new-session-tabs { // Are these being applied to other login-related screens? They need to be.
|
|
|
|
display: flex;
|
|
|
|
box-shadow: 0 0 0 1px $border-color;
|
|
|
|
border-top-right-radius: 2px;
|
|
|
|
border-top-left-radius: 2px;
|
|
|
|
|
|
|
|
li {
|
|
|
|
flex: 1;
|
|
|
|
text-align: center;
|
2014-01-01 13:53:44 -05:00
|
|
|
|
|
|
|
&.middle {
|
|
|
|
border-top: 0;
|
2016-03-16 19:40:12 -04:00
|
|
|
margin-bottom: 0;
|
2016-09-09 12:59:36 -04:00
|
|
|
border-radius: 0;
|
2016-09-09 08:21:00 -04:00
|
|
|
&:last-of-type {
|
|
|
|
border-left: 1px solid $border-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(.active) {
|
|
|
|
background-color: $gray-light;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
width: 100%;
|
|
|
|
font-size: 18px;
|
|
|
|
&:hover {
|
|
|
|
border: 1px solid transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
border-bottom: 1px solid $border-color;
|
|
|
|
|
|
|
|
a {
|
|
|
|
border: none;
|
|
|
|
border-bottom: 2px solid $link-underline-blue;
|
|
|
|
color: $black;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
border-bottom: 2px solid $link-underline-blue;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-01-01 13:53:44 -05:00
|
|
|
}
|
2016-09-09 08:21:00 -04:00
|
|
|
}
|
|
|
|
|
2014-07-11 09:05:57 -04:00
|
|
|
|
2016-09-09 08:21:00 -04:00
|
|
|
.form-control {
|
2014-07-11 09:05:57 -04:00
|
|
|
&:active, &:focus {
|
2016-03-15 15:56:28 -04:00
|
|
|
background-color: #fff;
|
2014-07-11 09:05:57 -04:00
|
|
|
}
|
2014-01-01 13:53:44 -05:00
|
|
|
}
|
2013-08-12 05:38:30 -04:00
|
|
|
|
2016-09-09 08:21:00 -04:00
|
|
|
label {
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
2016-09-23 07:38:39 -04:00
|
|
|
.submit-container {
|
|
|
|
margin-top: 16px;
|
|
|
|
}
|
|
|
|
|
2016-09-23 07:30:26 -04:00
|
|
|
input[type="submit"] {
|
|
|
|
@extend .btn-block;
|
|
|
|
margin-bottom: 0px;
|
|
|
|
}
|
|
|
|
|
2014-01-01 13:53:44 -05:00
|
|
|
.devise-errors {
|
|
|
|
h2 {
|
2015-02-05 09:56:58 -05:00
|
|
|
margin-top: 0;
|
2014-01-01 13:53:44 -05:00
|
|
|
font-size: 14px;
|
|
|
|
color: #a00;
|
|
|
|
}
|
2013-12-16 14:09:15 -05:00
|
|
|
}
|
2015-01-07 20:07:36 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: $screen-xs-max) {
|
|
|
|
.login-page {
|
|
|
|
.col-sm-5.pull-right {
|
|
|
|
float: none !important;
|
|
|
|
}
|
2014-08-15 10:52:20 -04:00
|
|
|
}
|
2013-12-16 14:09:15 -05:00
|
|
|
}
|
2015-03-21 20:44:40 -04:00
|
|
|
|
|
|
|
.oauth-image-link {
|
|
|
|
margin-right: 10px;
|
|
|
|
|
|
|
|
img {
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
}
|
|
|
|
}
|
2016-09-09 08:21:00 -04:00
|
|
|
|
|
|
|
.devise-layout-html {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Fixes footer container to bottom of viewport
|
|
|
|
.devise-layout-html body {
|
|
|
|
// offset height of fixed header + 1 to avoid scroll
|
|
|
|
height: calc(100% - 51px);
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
.page-wrap {
|
|
|
|
min-height: 100%;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.footer-container, hr.footer-fixed {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
height: 40px;
|
|
|
|
background: $white-light;
|
|
|
|
}
|
2016-09-23 00:47:53 -04:00
|
|
|
|
|
|
|
.navless-container {
|
|
|
|
padding: 65px; // height of footer + bottom padding of email confirmation link
|
|
|
|
}
|
2016-09-09 08:21:00 -04:00
|
|
|
}
|