Always give primary button a border for light primary colors

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
This commit is contained in:
Jan-Christoph Borchardt 2018-11-21 14:30:05 +01:00
parent 325396330c
commit f80a023431
No known key found for this signature in database
GPG Key ID: CBD846FC845CBE17
2 changed files with 4 additions and 5 deletions

View File

@ -82,10 +82,9 @@ $invert: luma($color-primary) > 0.6;
@include icon-color('checkbox-mark', 'actions', $color-white, 1, true);
}
}
#body-user {
.primary {
border: 1px solid transparent;
}
/* Always give primary button a border for light primary colors */
.primary {
border-color: var(--color-border) !important;
}
} @else {
#appmenu:not(.inverted) svg {

View File

@ -90,7 +90,7 @@ div[contenteditable=true],
cursor: pointer;
/* Apply border to primary button if on log in page (and not in a dark container) or if in header */
#body-login :not(body-login-container) &,
#body-login :not(.body-login-container) &,
#header & {
border-color: var(--color-primary-text);
}