mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
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:
parent
0e8866f651
commit
ced31d6131
4 changed files with 19 additions and 2 deletions
|
@ -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}`)
|
||||
}
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -58,4 +58,8 @@
|
|||
|
||||
.card-border {
|
||||
border: @border-width-base solid @border-color-base;
|
||||
}
|
||||
}
|
||||
|
||||
.card-content {
|
||||
padding: @padding-md;
|
||||
}
|
||||
|
|
|
@ -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; }
|
||||
|
||||
|
|
Loading…
Reference in a new issue