Merge pull request #14255 from haheute/dark-schemes-for-login

Add CSS for dark and black schemes for the login form
This commit is contained in:
Hypolite Petovan 2024-06-24 03:56:06 -04:00 committed by GitHub
commit bb528a44d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 48 additions and 0 deletions

View file

@ -259,6 +259,30 @@ input[type="submit"],
color: #f2dede; color: #f2dede;
} }
/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
.mod-home.is-not-singleuser .login-form > #login-form,
.mod-home.is-not-singleuser .login-form > #login-extra-links,
.mod-login #content #login-form {
background-color: $background_color;
}
.mod-home.is-not-singleuser .login-form > #login-form label,
.mod-login #content #login-form label {
color: $font_color;
}
.mod-home.is-not-singleuser .login-form::before,
.mod-login #content #login-form::before {
background-color: rgba(0, 0, 0, 0.2);
}
.mod-home.is-not-singleuser .login-form::after,
.mod-login #content #login-form::after {
background-color: rgba(0, 0, 0, 0.3);
}
}
@media (min-width: 768px) { @media (min-width: 768px) {
.wall-item-container .wall-item-links, .wall-item-container .wall-item-links,
.wall-item-container .wall-item-actions button > a { .wall-item-container .wall-item-actions button > a {

View file

@ -248,6 +248,30 @@ input[type="submit"],
color: #f2dede; color: #f2dede;
} }
/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
.mod-home.is-not-singleuser .login-form > #login-form,
.mod-home.is-not-singleuser .login-form > #login-extra-links,
.mod-login #content #login-form {
background-color: $background_color;
}
.mod-home.is-not-singleuser .login-form > #login-form label,
.mod-login #content #login-form label {
color: $font_color;
}
.mod-home.is-not-singleuser .login-form::before,
.mod-login #content #login-form::before {
background-color: rgba(7, 34, 48, 0.25);
}
.mod-home.is-not-singleuser .login-form::after,
.mod-login #content #login-form::after {
background-color: rgba(7, 34, 48, 0.35);
}
}
@media (min-width: 768px) { @media (min-width: 768px) {
.wall-item-container .wall-item-links, .wall-item-container .wall-item-links,
.wall-item-container .wall-item-actions button > a { .wall-item-container .wall-item-actions button > a {