aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2024-01-20 03:52:35 +0100
committerFerdinand Thiessen <opensource@fthiessen.de>2024-01-23 02:02:12 +0100
commitea19bc58c5f251f181475bff730912fd2e0f143e (patch)
treef3a3cff047998cf8a3e78a77defcfc4dacb4eacf /core
parentb37d4925b75187035de69a58335d7b3fff20cd4c (diff)
downloadnextcloud-server-ea19bc58c5f251f181475bff730912fd2e0f143e.tar.gz
nextcloud-server-ea19bc58c5f251f181475bff730912fd2e0f143e.zip
fix(core): Do not apply invert-color filter to unified search
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'core')
-rw-r--r--core/css/header.scss7
-rw-r--r--core/src/views/UnifiedSearch.vue2
2 files changed, 2 insertions, 7 deletions
diff --git a/core/css/header.scss b/core/css/header.scss
index ca4a1a6331e..507ccf5e34b 100644
--- a/core/css/header.scss
+++ b/core/css/header.scss
@@ -171,7 +171,7 @@
/* Right header standard */
.header-right {
- > .header-menu:not(.user-menu) {
+ > .header-menu:not(.user-menu):not(.unified-search-menu) {
// For general
> .header-menu__trigger {
filter: var(--background-image-invert-if-bright) !important;
@@ -181,11 +181,6 @@
> .trigger {
filter: var(--background-image-invert-if-bright) !important;
}
-
- // For unified search button
- .unified-search__trigger {
- filter: var(--background-image-invert-if-bright) !important;
- }
}
> div,
> form {
diff --git a/core/src/views/UnifiedSearch.vue b/core/src/views/UnifiedSearch.vue
index c151516c205..d2ecfe2a76b 100644
--- a/core/src/views/UnifiedSearch.vue
+++ b/core/src/views/UnifiedSearch.vue
@@ -88,7 +88,7 @@ export default {
&-icon {
// ensure the icon has the correct color
- color: var(--color-background-plain-text) !important;
+ color: var(--color-primary-text) !important;
}
}
}