From: Greta Doci Date: Thu, 23 May 2019 16:44:07 +0000 (+0200) Subject: Change text color in search box in darktheme, ref #15598 X-Git-Tag: v16.0.2RC1~51^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F15768%2Fhead;p=nextcloud-server.git Change text color in search box in darktheme, ref #15598 Signed-off-by: Greta Doci --- diff --git a/apps/accessibility/css/themedark.scss b/apps/accessibility/css/themedark.scss index 185b921fe67..6ee73a0301b 100644 --- a/apps/accessibility/css/themedark.scss +++ b/apps/accessibility/css/themedark.scss @@ -42,8 +42,7 @@ $color-border-dark: lighten($color-main-background, 14%); // since svg icons are inverted, revert to white for the header .header-right > * { - >[class^='icon-'], - >[class*=' icon-'] { + >[class^='icon-'] { filter: invert(100%); } } diff --git a/core/css/header.scss b/core/css/header.scss index 159083da912..c1e89b5cc8e 100644 --- a/core/css/header.scss +++ b/core/css/header.scss @@ -631,7 +631,7 @@ nav[role='navigation'] { width: 155px; cursor: text; background-color: transparent !important; - border: 1px solid var(--color-border) !important; + border: 1px solid var(--color-primary-text) !important; } &:hover, &:focus, &:active { opacity: 1; @@ -656,6 +656,9 @@ nav[role='navigation'] { -webkit-appearance: none; } } + .icon-search-force-white { + @include icon-color('search', 'actions', '#fffffe', 1, true); + } } /* Empty content messages in the header e.g. notifications, contacts menu, … */ diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php index 9b558b198ee..458af24696b 100644 --- a/core/templates/layout.user.php +++ b/core/templates/layout.user.php @@ -105,7 +105,7 @@ t('Search'));?>