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 {
|
2017-01-04 19:27:52 -05:00
|
|
|
font-size: 16px;
|
2016-11-30 08:25:25 -05:00
|
|
|
color: $login-brand-holder-color;
|
2014-08-15 10:52:20 -04:00
|
|
|
}
|
|
|
|
|
2017-01-04 19:27:52 -05:00
|
|
|
h3 {
|
|
|
|
font-size: 22px;
|
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 {
|
2017-08-24 10:13:24 -04:00
|
|
|
font-weight: $gl-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-10-15 23:40:25 -04:00
|
|
|
|
2016-10-24 16:22:06 -04:00
|
|
|
.login-box,
|
|
|
|
.omniauth-container {
|
2016-09-09 08:21:00 -04:00
|
|
|
box-shadow: 0 0 0 1px $border-color;
|
2019-05-27 09:20:27 -04:00
|
|
|
border-bottom-right-radius: $border-radius;
|
|
|
|
border-bottom-left-radius: $border-radius;
|
2015-01-07 20:07:36 -05:00
|
|
|
padding: 15px;
|
|
|
|
|
|
|
|
.login-heading h3 {
|
2017-08-24 10:13:24 -04:00
|
|
|
font-weight: $gl-font-weight-normal;
|
2015-01-07 20:07:36 -05:00
|
|
|
line-height: 1.5;
|
2016-03-18 17:18:00 -04:00
|
|
|
margin: 0 0 10px;
|
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
|
|
|
|
2016-09-27 08:06:18 -04:00
|
|
|
// Styles the glowing border of focused input for username async validation
|
|
|
|
.login-body {
|
|
|
|
font-size: 13px;
|
2014-01-01 13:53:44 -05:00
|
|
|
|
2016-09-27 08:06:18 -04:00
|
|
|
input + p {
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
2016-09-09 08:21:00 -04:00
|
|
|
|
2016-10-21 07:49:09 -04:00
|
|
|
.username .validation-success {
|
2017-03-23 12:04:25 -04:00
|
|
|
color: $green-600;
|
2016-09-27 08:06:18 -04:00
|
|
|
}
|
2016-09-09 08:21:00 -04:00
|
|
|
|
2016-10-21 07:49:09 -04:00
|
|
|
.username .validation-error {
|
2017-03-23 12:04:25 -04:00
|
|
|
color: $red-500;
|
2016-09-09 08:21:00 -04:00
|
|
|
}
|
|
|
|
}
|
2016-09-27 08:06:18 -04:00
|
|
|
}
|
2016-09-09 08:21:00 -04:00
|
|
|
|
2016-09-27 08:06:18 -04:00
|
|
|
.omniauth-container {
|
2019-05-27 09:20:27 -04:00
|
|
|
border-radius: $border-radius;
|
2017-09-14 13:58:15 -04:00
|
|
|
font-size: 13px;
|
|
|
|
|
2016-09-27 08:06:18 -04:00
|
|
|
p {
|
|
|
|
margin: 0;
|
2016-09-09 08:21:00 -04:00
|
|
|
}
|
2018-09-06 05:43:14 -04:00
|
|
|
|
|
|
|
.omniauth-btn {
|
|
|
|
margin-bottom: $gl-padding;
|
|
|
|
width: 48%;
|
|
|
|
padding: $gl-padding-8;
|
|
|
|
|
|
|
|
@include media-breakpoint-down(md) {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
width: $default-icon-size;
|
|
|
|
height: $default-icon-size;
|
|
|
|
margin-right: $gl-padding;
|
|
|
|
}
|
|
|
|
}
|
2016-09-09 08:21:00 -04:00
|
|
|
}
|
2016-10-15 23:40:25 -04:00
|
|
|
|
2016-09-27 08:06:18 -04:00
|
|
|
.new-session-tabs {
|
2016-09-09 08:21:00 -04:00
|
|
|
display: flex;
|
|
|
|
box-shadow: 0 0 0 1px $border-color;
|
2016-10-18 06:54:02 -04:00
|
|
|
border-top-right-radius: $border-radius-default;
|
|
|
|
border-top-left-radius: $border-radius-default;
|
2016-09-09 08:21:00 -04:00
|
|
|
|
2017-07-12 05:50:26 -04:00
|
|
|
// Ldap configurations may need more tabs & the tab labels are user generated (arbitrarily long).
|
|
|
|
// These styles prevent this from breaking the layout, and only applied when providers are configured.
|
|
|
|
&.custom-provider-tabs {
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
|
|
li {
|
|
|
|
min-width: 85px;
|
|
|
|
flex-basis: auto;
|
|
|
|
|
|
|
|
// This styles tab elements that have wrapped to a second line. We cannot easily predict when this will happen.
|
|
|
|
// We are making somewhat of an assumption about the configuration here: that users do not have more than
|
|
|
|
// 3 LDAP servers configured (in addition to standard login) and they are not using especially long names for any
|
|
|
|
// of them. If either condition is false, this will work as expected. If both are true, there may be a missing border
|
|
|
|
// above one of the bottom row elements. If you know a better way, please implement it!
|
|
|
|
&:nth-child(n+5) {
|
|
|
|
border-top: 1px solid $border-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-09-09 08:21:00 -04:00
|
|
|
li {
|
|
|
|
flex: 1;
|
|
|
|
text-align: center;
|
2016-12-28 09:05:17 -05:00
|
|
|
border-left: 1px solid $border-color;
|
2014-01-01 13:53:44 -05:00
|
|
|
|
2016-10-17 14:04:21 -04:00
|
|
|
&:first-of-type {
|
2017-11-02 19:59:51 -04:00
|
|
|
border-left: 0;
|
2016-10-18 06:54:02 -04:00
|
|
|
border-top-left-radius: $border-radius-default;
|
2016-10-17 14:04:21 -04:00
|
|
|
}
|
|
|
|
|
2016-09-09 08:21:00 -04:00
|
|
|
&:last-of-type {
|
2016-10-18 06:54:02 -04:00
|
|
|
border-top-right-radius: $border-radius-default;
|
2016-09-09 08:21:00 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
&:not(.active) {
|
|
|
|
background-color: $gray-light;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
width: 100%;
|
|
|
|
font-size: 18px;
|
|
|
|
}
|
|
|
|
|
2018-01-07 10:09:42 -05:00
|
|
|
&.active > a {
|
|
|
|
cursor: default;
|
2016-09-09 08:21:00 -04:00
|
|
|
}
|
2014-01-01 13:53:44 -05:00
|
|
|
}
|
2016-09-09 08:21:00 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.form-control {
|
2016-10-24 16:22:06 -04:00
|
|
|
&:active,
|
|
|
|
&:focus {
|
2016-11-30 08:25:25 -05:00
|
|
|
background-color: $white-light;
|
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-23 07:38:39 -04:00
|
|
|
.submit-container {
|
|
|
|
margin-top: 16px;
|
|
|
|
}
|
|
|
|
|
2019-02-25 14:03:21 -05:00
|
|
|
input[type='submit'] {
|
2016-09-23 07:30:26 -04:00
|
|
|
@extend .btn-block;
|
2016-09-27 08:06:18 -04:00
|
|
|
margin-bottom: 0;
|
2016-09-23 07:30:26 -04:00
|
|
|
}
|
|
|
|
|
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;
|
2018-08-22 12:40:38 -04:00
|
|
|
color: $red-700;
|
2014-01-01 13:53:44 -05:00
|
|
|
}
|
2013-12-16 14:09:15 -05:00
|
|
|
}
|
2015-01-07 20:07:36 -05:00
|
|
|
}
|
|
|
|
|
2018-04-09 11:26:28 -04:00
|
|
|
@include media-breakpoint-down(xs) {
|
2015-01-07 20:07:36 -05:00
|
|
|
.login-page {
|
2018-04-09 11:26:28 -04:00
|
|
|
.col-md-5.float-right {
|
2015-01-07 20:07:36 -05:00
|
|
|
float: none !important;
|
2016-10-19 08:40:58 -04:00
|
|
|
margin-bottom: 45px;
|
2015-01-07 20:07:36 -05:00
|
|
|
}
|
2014-08-15 10:52:20 -04:00
|
|
|
}
|
2013-12-16 14:09:15 -05:00
|
|
|
}
|
2015-03-21 20:44:40 -04:00
|
|
|
|
2016-09-09 08:21:00 -04:00
|
|
|
.devise-layout-html {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
height: 100%;
|
|
|
|
|
2017-07-12 05:50:26 -04:00
|
|
|
// Fixes footer container to bottom of viewport
|
|
|
|
body {
|
|
|
|
// offset height of fixed header + 1 to avoid scroll
|
|
|
|
height: calc(100% - 51px);
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2016-09-09 08:21:00 -04:00
|
|
|
|
2017-07-12 05:50:26 -04:00
|
|
|
.page-wrap {
|
|
|
|
min-height: 100%;
|
|
|
|
position: relative;
|
|
|
|
}
|
2016-09-09 08:21:00 -04:00
|
|
|
|
2017-07-12 05:50:26 -04:00
|
|
|
.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
|
|
|
|
2017-11-28 00:19:55 -05:00
|
|
|
.login-page-broadcast {
|
2018-07-23 23:16:46 -04:00
|
|
|
margin-top: 40px;
|
2017-11-28 00:19:55 -05:00
|
|
|
}
|
|
|
|
|
2017-07-12 05:50:26 -04:00
|
|
|
.navless-container {
|
|
|
|
padding: 65px 15px; // height of footer + bottom padding of email confirmation link
|
2016-10-19 08:40:58 -04:00
|
|
|
|
2018-04-09 11:26:28 -04:00
|
|
|
@include media-breakpoint-down(xs) {
|
2017-07-12 05:50:26 -04:00
|
|
|
padding: 0 15px 65px;
|
|
|
|
}
|
2016-10-19 08:40:58 -04:00
|
|
|
}
|
2016-09-23 00:47:53 -04:00
|
|
|
}
|
2016-09-09 08:21:00 -04:00
|
|
|
}
|