Merge pull request #2055 from overleaf/jel-sso-layouts

Layouts for login, register, institutional log in, & linking pages

GitOrigin-RevId: af0ea36e3bd6e39b0a6305bf0882c296eb931d5b
This commit is contained in:
Eric Mc Sween 2019-08-20 08:43:17 -04:00 committed by sharelatex
parent 0e8866f651
commit ced31d6131
4 changed files with 19 additions and 2 deletions

View file

@ -50,6 +50,8 @@ module.exports = Features = {
return Settings.overleaf != null
case 'references':
return Settings.apis.references.url != null
case 'saml':
return Settings.enableSaml != null
default:
throw new Error(`unknown feature: ${feature}`)
}

View file

@ -4,6 +4,12 @@
@brand-orcid-color : #A6CE39;
@brand-sharelatex-color : #A93529;
.login-register-alternatives {
.form-group:last-child {
margin-bottom: 0;
}
}
.login-register-container {
max-width: 400px;
margin: 0 auto;
@ -39,7 +45,6 @@
.login-register-text,
.login-register-hr-text-container {
margin: 0;
font-size: 90%;
}
.login-register-text {

View file

@ -58,4 +58,8 @@
.card-border {
border: @border-width-base solid @border-color-base;
}
}
.card-content {
padding: @padding-md;
}

View file

@ -83,6 +83,12 @@ p {
small,
.small { font-size: 90%; color: @text-small-color; }
.login-register-text,
.login-register-hr-text-container,
.text-small {
font-size: 90%;
}
// Undo browser default styling
cite { font-style: normal; }