diff options
author | Joas Schilling <coding@schilljs.com> | 2020-04-03 10:23:14 +0200 |
---|---|---|
committer | npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com> | 2020-04-10 06:49:21 +0000 |
commit | 0b53084ccb3e7481134a6ec0e2cc016ff963bd0b (patch) | |
tree | e3f118ae4fbbc0c620bdd1649a899c349cc6c0b8 /core/css | |
parent | b68680596d3dfec4a156a1ce3224ea9c1c8f272c (diff) | |
download | nextcloud-server-0b53084ccb3e7481134a6ec0e2cc016ff963bd0b.tar.gz nextcloud-server-0b53084ccb3e7481134a6ec0e2cc016ff963bd0b.zip |
Use the primary element color in case it primary color is too bright
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Diffstat (limited to 'core/css')
-rw-r--r-- | core/css/apps.scss | 6 | ||||
-rw-r--r-- | core/css/header.scss | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/core/css/apps.scss b/core/css/apps.scss index 076e4a556a2..420e5bb4a04 100644 --- a/core/css/apps.scss +++ b/core/css/apps.scss @@ -161,7 +161,7 @@ kbd { &, > a { opacity: 1; - box-shadow: inset 4px 0 var(--color-primary); + box-shadow: inset 4px 0 var(--color-primary-element); } } @@ -217,7 +217,7 @@ kbd { } &.active { - box-shadow: inset 4px 0 var(--color-primary); + box-shadow: inset 4px 0 var(--color-primary-element); } /* align loader */ @@ -740,7 +740,7 @@ $min-content-width: $breakpoint-mobile - $navigation-width - $list-min-width; &.opened { background-color: var(--color-main-background); opacity: 1; - box-shadow: inset 4px 0 var(--color-primary); + box-shadow: inset 4px 0 var(--color-primary-element); } } diff --git a/core/css/header.scss b/core/css/header.scss index ccaeb72165f..356ee93cf26 100644 --- a/core/css/header.scss +++ b/core/css/header.scss @@ -143,7 +143,7 @@ &:active, &.active { opacity: 1; - box-shadow: inset 4px 0 var(--color-primary); + box-shadow: inset 4px 0 var(--color-primary-element); } span { display: inline-block; |