summaryrefslogtreecommitdiffstats
path: root/core/css
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-04-03 10:23:14 +0200
committernpmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>2020-04-10 06:49:21 +0000
commit0b53084ccb3e7481134a6ec0e2cc016ff963bd0b (patch)
treee3f118ae4fbbc0c620bdd1649a899c349cc6c0b8 /core/css
parentb68680596d3dfec4a156a1ce3224ea9c1c8f272c (diff)
downloadnextcloud-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.scss6
-rw-r--r--core/css/header.scss2
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;