Merge pull request #14885 from nextcloud/bugfix/14639/theming

Fix various theming issues on bright colors
This commit is contained in:
Roeland Jago Douma 2019-03-28 08:53:05 +01:00 committed by GitHub
commit 76b22bd76e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 4 deletions

View File

@ -68,7 +68,8 @@ $invert: luma($color-primary) > 0.6;
a, a,
label, label,
p, p,
#alternative-logins legend { #alternative-logins legend,
.lost-password-container #lost-password {
color: $color-primary-text; color: $color-primary-text;
} }
input[type='checkbox'].checkbox--white + label:before { input[type='checkbox'].checkbox--white + label:before {
@ -175,9 +176,27 @@ input.primary,
} }
@if ($invert) { @if ($invert) {
#body-login #submit-wrapper .icon-confirm-white { #body-login {
.body-login-container {
background-color: $color-main-background;
}
#submit-wrapper .icon-confirm-white {
background-image: url('../../../core/img/actions/confirm.svg'); 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);
}
} }
// plain background color for login page // plain background color for login page

View File

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