Always give primary button a border for light primary colors
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
This commit is contained in:
parent
325396330c
commit
f80a023431
2 changed files with 4 additions and 5 deletions
|
@ -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 {
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue