Add CSS for dark and black schemes for the login form

This commit is contained in:
Hannes Heute 2024-06-23 23:09:15 +02:00
parent cd8189e859
commit 7ae9805308
2 changed files with 48 additions and 0 deletions

View file

@ -259,6 +259,30 @@ input[type="submit"],
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) {
.wall-item-container .wall-item-links,
.wall-item-container .wall-item-actions button > a {

View file

@ -248,6 +248,30 @@ input[type="submit"],
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) {
.wall-item-container .wall-item-links,
.wall-item-container .wall-item-actions button > a {