mirror of
https://github.com/friendica/friendica
synced 2024-12-23 00:00:21 +00:00
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:
commit
bb528a44d4
2 changed files with 48 additions and 0 deletions
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue