2015-04-26 12:48:37 +05:30
|
|
|
/* Login Page */
|
|
|
|
.login-page {
|
|
|
|
.container {
|
|
|
|
max-width: 960px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-gitlab .container {
|
|
|
|
max-width: none;
|
|
|
|
}
|
|
|
|
|
2016-06-02 11:05:42 +05:30
|
|
|
.flash-container {
|
|
|
|
margin-bottom: $gl-padding;
|
2022-03-02 08:16:31 +05:30
|
|
|
position: relative;
|
|
|
|
top: 8px;
|
2016-06-02 11:05:42 +05:30
|
|
|
}
|
|
|
|
|
2015-04-26 12:48:37 +05:30
|
|
|
.brand-holder {
|
|
|
|
font-size: 18px;
|
|
|
|
line-height: 1.5;
|
|
|
|
|
|
|
|
p {
|
2017-08-17 22:00:37 +05:30
|
|
|
font-size: 16px;
|
|
|
|
color: $login-brand-holder-color;
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
h3 {
|
|
|
|
font-size: 22px;
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: 100%;
|
2016-06-02 11:05:42 +05:30
|
|
|
margin-bottom: 30px;
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
2018-03-17 18:26:18 +05:30
|
|
|
font-weight: $gl-font-weight-bold;
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-11-03 12:29:30 +05:30
|
|
|
p {
|
|
|
|
font-size: 13px;
|
|
|
|
}
|
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
.login-box,
|
|
|
|
.omniauth-container {
|
2016-11-03 12:29:30 +05:30
|
|
|
box-shadow: 0 0 0 1px $border-color;
|
2021-03-11 19:13:27 +05:30
|
|
|
border-radius: $border-radius;
|
2015-04-26 12:48:37 +05:30
|
|
|
padding: 15px;
|
|
|
|
|
|
|
|
.login-heading h3 {
|
2018-03-17 18:26:18 +05:30
|
|
|
font-weight: $gl-font-weight-normal;
|
2015-04-26 12:48:37 +05:30
|
|
|
line-height: 1.5;
|
2016-06-02 11:05:42 +05:30
|
|
|
margin: 0 0 10px;
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.login-footer {
|
|
|
|
margin-top: 10px;
|
|
|
|
|
|
|
|
p:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a.forgot {
|
|
|
|
float: right;
|
2016-11-03 12:29:30 +05:30
|
|
|
padding-top: 6px;
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.nav .active a {
|
|
|
|
background: transparent;
|
|
|
|
}
|
2016-11-03 12:29:30 +05:30
|
|
|
|
|
|
|
// Styles the glowing border of focused input for username async validation
|
|
|
|
.login-body {
|
|
|
|
font-size: 13px;
|
|
|
|
|
2019-09-04 21:01:54 +05:30
|
|
|
input + p,
|
|
|
|
input ~ p.field-validation {
|
2016-11-03 12:29:30 +05:30
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
.username .validation-success {
|
|
|
|
color: $green-600;
|
2016-11-03 12:29:30 +05:30
|
|
|
}
|
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
.username .validation-error {
|
|
|
|
color: $red-500;
|
2016-11-03 12:29:30 +05:30
|
|
|
}
|
|
|
|
}
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|
|
|
|
|
2016-11-03 12:29:30 +05:30
|
|
|
.omniauth-container {
|
2019-09-04 21:01:54 +05:30
|
|
|
border-radius: $border-radius;
|
2018-03-17 18:26:18 +05:30
|
|
|
font-size: 13px;
|
|
|
|
|
2016-11-03 12:29:30 +05:30
|
|
|
p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2018-11-20 20:47:30 +05:30
|
|
|
|
2020-06-23 00:09:42 +05:30
|
|
|
form {
|
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
|
|
|
background: none;
|
2021-09-04 01:27:46 +05:30
|
|
|
}
|
2016-11-03 12:29:30 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.new-session-tabs {
|
|
|
|
display: flex;
|
|
|
|
box-shadow: 0 0 0 1px $border-color;
|
|
|
|
border-top-right-radius: $border-radius-default;
|
|
|
|
border-top-left-radius: $border-radius-default;
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
// 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-11-03 12:29:30 +05:30
|
|
|
li {
|
|
|
|
flex: 1;
|
|
|
|
text-align: center;
|
2017-08-17 22:00:37 +05:30
|
|
|
border-left: 1px solid $border-color;
|
2016-11-03 12:29:30 +05:30
|
|
|
|
|
|
|
&:first-of-type {
|
2018-03-17 18:26:18 +05:30
|
|
|
border-left: 0;
|
2016-11-03 12:29:30 +05:30
|
|
|
border-top-left-radius: $border-radius-default;
|
|
|
|
}
|
2015-04-26 12:48:37 +05:30
|
|
|
|
2016-11-03 12:29:30 +05:30
|
|
|
&:last-of-type {
|
|
|
|
border-top-right-radius: $border-radius-default;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(.active) {
|
|
|
|
background-color: $gray-light;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
width: 100%;
|
|
|
|
font-size: 18px;
|
|
|
|
}
|
|
|
|
|
2018-10-15 14:42:47 +05:30
|
|
|
&.active > a {
|
|
|
|
cursor: default;
|
2016-11-03 12:29:30 +05:30
|
|
|
}
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|
2016-11-03 12:29:30 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.form-control {
|
2017-08-17 22:00:37 +05:30
|
|
|
&:active,
|
|
|
|
&:focus {
|
2020-04-22 19:07:51 +05:30
|
|
|
background-color: $white;
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-11-03 12:29:30 +05:30
|
|
|
.submit-container {
|
|
|
|
margin-top: 16px;
|
|
|
|
}
|
|
|
|
|
2019-07-07 11:18:12 +05:30
|
|
|
input[type='submit'] {
|
2016-11-03 12:29:30 +05:30
|
|
|
margin-bottom: 0;
|
2021-04-29 21:17:54 +05:30
|
|
|
display: block;
|
|
|
|
width: 100%;
|
2016-11-03 12:29:30 +05:30
|
|
|
}
|
|
|
|
|
2015-04-26 12:48:37 +05:30
|
|
|
.devise-errors {
|
|
|
|
h2 {
|
|
|
|
margin-top: 0;
|
|
|
|
font-size: 14px;
|
2018-11-20 20:47:30 +05:30
|
|
|
color: $red-700;
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-11-08 19:23:39 +05:30
|
|
|
@include media-breakpoint-down(xs) {
|
2015-04-26 12:48:37 +05:30
|
|
|
.login-page {
|
2018-11-08 19:23:39 +05:30
|
|
|
.col-md-5.float-right {
|
2015-04-26 12:48:37 +05:30
|
|
|
float: none !important;
|
2016-11-03 12:29:30 +05:30
|
|
|
margin-bottom: 45px;
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-11-03 12:29:30 +05:30
|
|
|
.devise-layout-html {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
height: 100%;
|
|
|
|
|
2021-11-18 22:05:49 +05:30
|
|
|
&.with-system-header {
|
|
|
|
.login-page-broadcast {
|
2022-03-02 08:16:31 +05:30
|
|
|
margin-top: calc(#{$system-header-height} + #{$header-height});
|
2021-11-18 22:05:49 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
// Fixes footer container to bottom of viewport
|
|
|
|
body {
|
|
|
|
// offset height of fixed header + 1 to avoid scroll
|
|
|
|
height: calc(100% - 51px);
|
2019-12-21 20:55:43 +05:30
|
|
|
|
|
|
|
// offset without the header
|
|
|
|
&.navless {
|
|
|
|
height: calc(100% - 11px);
|
|
|
|
}
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2016-11-03 12:29:30 +05:30
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
.page-wrap {
|
|
|
|
min-height: 100%;
|
|
|
|
position: relative;
|
|
|
|
}
|
2016-11-03 12:29:30 +05:30
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
.footer-container,
|
|
|
|
hr.footer-fixed {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
height: 40px;
|
2020-04-22 19:07:51 +05:30
|
|
|
background: $white;
|
2018-03-17 18:26:18 +05:30
|
|
|
}
|
2016-11-03 12:29:30 +05:30
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
.login-page-broadcast {
|
2018-11-18 11:00:15 +05:30
|
|
|
margin-top: 40px;
|
2018-03-17 18:26:18 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.navless-container {
|
2022-04-04 11:22:00 +05:30
|
|
|
padding: 0 15px 65px; // height of footer + bottom padding of email confirmation link
|
|
|
|
}
|
|
|
|
|
|
|
|
.flash-container {
|
|
|
|
padding-bottom: 65px;
|
2016-11-03 12:29:30 +05:30
|
|
|
|
2018-11-08 19:23:39 +05:30
|
|
|
@include media-breakpoint-down(xs) {
|
2022-04-04 11:22:00 +05:30
|
|
|
padding-bottom: 0;
|
2018-03-17 18:26:18 +05:30
|
|
|
}
|
2016-11-03 12:29:30 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|