Merge pull request #20281 from nextcloud/bugfix/noid/use-primary-element-color

Use the primary element color in case it primary color is too bright
This commit is contained in:
Roeland Jago Douma 2020-04-10 08:53:48 +02:00 committed by GitHub
commit 94e602d7b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 7 deletions

View File

@ -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);
}
}

View File

@ -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;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -188,7 +188,7 @@
padding: 4px 4px 4px 14px;
&.ui-state-focus, &.ui-state-active {
box-shadow: inset 4px 0 var(--color-primary);
box-shadow: inset 4px 0 var(--color-primary-element);
color: var(--color-main-text);
}
}