Fix various theming issues on bright colors

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2019-03-27 16:41:46 +01:00 committed by Roeland Jago Douma
parent 5ae9eda314
commit 3860373fd4
No known key found for this signature in database
GPG Key ID: F941078878347C0C
2 changed files with 23 additions and 4 deletions

View File

@ -68,7 +68,8 @@ $invert: luma($color-primary) > 0.6;
a,
label,
p,
#alternative-logins legend {
#alternative-logins legend,
.lost-password-container #lost-password {
color: $color-primary-text;
}
input[type='checkbox'].checkbox--white + label:before {
@ -175,8 +176,26 @@ input.primary,
}
@if ($invert) {
#body-login #submit-wrapper .icon-confirm-white {
background-image: url('../../../core/img/actions/confirm.svg');
#body-login {
.body-login-container {
background-color: $color-main-background;
}
#submit-wrapper .icon-confirm-white {
background-image: url('../../../core/img/actions/confirm.svg');
}
.body-login-container {
h2 {
color: $color-main-text;
}
.icon-search.icon-white {
// CSS variable is not used here since it is on the public page layout,
// where the dark theme doesn't apply at the moment
background-image: url('../../../core/img/actions/search.svg');
}
}
}
#body-public #header .icon-more-white {
background-image: var(--icon-more-000);
}
}

View File

@ -445,7 +445,7 @@ nav[role='navigation'] {
text-overflow: initial;
width: auto;
overflow: hidden;
background-color: var(--color-primary-element);
background-color: var(--color-primary);
padding: 0 5px;
z-index: 2;
}