mirror of
https://github.com/documize/community.git
synced 2025-07-24 15:49:44 +02:00
Implement new refactored color scheme
This commit is contained in:
parent
da0861b3fd
commit
d7a46ceee6
70 changed files with 934 additions and 521 deletions
|
@ -31,10 +31,10 @@ export default Route.extend({
|
|||
|
||||
activate() {
|
||||
this.get('browser').setTitleAsPhrase('Forgot Password');
|
||||
$('body').addClass('background-color-theme-light d-flex justify-content-center align-items-center');
|
||||
$('body').addClass('background-color-theme-100 d-flex justify-content-center align-items-center');
|
||||
},
|
||||
|
||||
deactivate() {
|
||||
$('body').removeClass('background-color-theme-light d-flex justify-content-center align-items-center');
|
||||
$('body').removeClass('background-color-theme-100 d-flex justify-content-center align-items-center');
|
||||
}
|
||||
});
|
||||
|
|
|
@ -62,10 +62,10 @@ export default Route.extend({
|
|||
|
||||
activate() {
|
||||
this.get('browser').setTitleAsPhrase('Login');
|
||||
$('body').addClass('background-color-theme-light d-flex justify-content-center align-items-center');
|
||||
$('body').addClass('background-color-theme-100 d-flex justify-content-center align-items-center');
|
||||
},
|
||||
|
||||
deactivate() {
|
||||
$('body').removeClass('background-color-theme-light d-flex justify-content-center align-items-center');
|
||||
$('body').removeClass('background-color-theme-100 d-flex justify-content-center align-items-center');
|
||||
}
|
||||
});
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
{{/if}}
|
||||
</div>
|
||||
<button type="submit" class="btn btn-success font-weight-bold text-uppercase mt-4">Sign in</button>
|
||||
<div class="{{unless invalidCredentials "invisible"}} color-red mt-3">Invalid credentials</div>
|
||||
<div class="{{unless invalidCredentials "invisible"}} color-red-600 mt-3">Invalid credentials</div>
|
||||
{{#if isAuthProviderDocumize}}
|
||||
{{#link-to 'auth.forgot'}}Forgot your password?{{/link-to}}
|
||||
{{/if}}
|
||||
|
|
|
@ -19,10 +19,10 @@ export default Route.extend({
|
|||
|
||||
activate() {
|
||||
this.get('browser').setTitleAsPhrase('Reset Password');
|
||||
$('body').addClass('background-color-theme-light d-flex justify-content-center align-items-center');
|
||||
$('body').addClass('background-color-theme-100 d-flex justify-content-center align-items-center');
|
||||
},
|
||||
|
||||
deactivate() {
|
||||
$('body').removeClass('background-color-theme-light d-flex justify-content-center align-items-center');
|
||||
$('body').removeClass('background-color-theme-100 d-flex justify-content-center align-items-center');
|
||||
}
|
||||
});
|
||||
|
|
|
@ -37,10 +37,10 @@ export default Route.extend(AuthenticatedRouteMixin, {
|
|||
|
||||
activate() {
|
||||
this.get('browser').setTitle('Share Space');
|
||||
$('body').addClass('background-color-off-white');
|
||||
$('body').addClass('background-color-gray-200');
|
||||
},
|
||||
|
||||
deactivate() {
|
||||
$('body').removeClass('background-color-off-white');
|
||||
$('body').removeClass('background-color-gray-200');
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue