aboutsummaryrefslogtreecommitdiffstats
path: root/core/css
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-08-05 14:42:08 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-09-03 09:03:10 +0200
commitf04b182b9447231b32cd5b5f8060314dee4fd801 (patch)
tree56b068420cc230af0ab6d7d036bdddc482b2cf52 /core/css
parentf359529555fbf6fa344869d01f0b3c17ecce46c8 (diff)
downloadnextcloud-server-f04b182b9447231b32cd5b5f8060314dee4fd801.tar.gz
nextcloud-server-f04b182b9447231b32cd5b5f8060314dee4fd801.zip
Fix search placeholder animation & dark theme compatibility
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/css')
-rw-r--r--core/css/css-variables.scss3
-rw-r--r--core/css/icons.scss1
-rw-r--r--core/css/variables.scss3
3 files changed, 7 insertions, 0 deletions
diff --git a/core/css/css-variables.scss b/core/css/css-variables.scss
index cf69a281237..8b09b006939 100644
--- a/core/css/css-variables.scss
+++ b/core/css/css-variables.scss
@@ -11,6 +11,9 @@
--color-background-dark: $color-background-dark;
--color-background-darker: $color-background-darker;
+ --color-placeholder-light: $color-placeholder-light;
+ --color-placeholder-dark: $color-placeholder-dark;
+
--color-primary: $color-primary;
--color-primary-light: $color-primary-light;
--color-primary-text: $color-primary-text;
diff --git a/core/css/icons.scss b/core/css/icons.scss
index 16ffc4a5874..71aa8214df0 100644
--- a/core/css/icons.scss
+++ b/core/css/icons.scss
@@ -307,6 +307,7 @@ audio, canvas, embed, iframe, img, input, object, video {
@include icon-black-white('upload', 'actions', 1, true);
@include icon-black-white('user', 'actions', 1, true);
@include icon-black-white('group', 'actions', 1, true);
+@include icon-black-white('filter', 'actions', 1, true);
@include icon-black-white('video', 'actions', 2, true);
.icon-video-white {
diff --git a/core/css/variables.scss b/core/css/variables.scss
index 796b5ffe3e2..6f2d19e8723 100644
--- a/core/css/variables.scss
+++ b/core/css/variables.scss
@@ -40,6 +40,9 @@ $color-background-hover: nc-darken($color-main-background, 4%) !default;
$color-background-dark: nc-darken($color-main-background, 7%) !default;
$color-background-darker: nc-darken($color-main-background, 14%) !default;
+$color-placeholder-light: nc-darken($color-main-background, 10%) !default;
+$color-placeholder-dark: nc-darken($color-main-background, 20%) !default;
+
$color-primary: #0082c9 !default;
$color-primary-light: mix($color-primary, $color-main-background, 10%) !default;
$color-primary-text: #ffffff !default;