From fdb1dbf397978bcfa93913cfb9572c015ee64f90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Thu, 28 Jun 2018 16:02:24 +0200 Subject: [PATCH] Invert color picker icon on bright backgrounds MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- css/style.scss | 7 +++++-- img/color_picker.svg | 6 +----- templates/part.board.sidebarView.php | 4 ++-- templates/part.boardlist.php | 4 ++-- templates/part.navigation.php | 4 ++-- 5 files changed, 12 insertions(+), 13 deletions(-) diff --git a/css/style.scss b/css/style.scss index 30e518921..4245715f7 100644 --- a/css/style.scss +++ b/css/style.scss @@ -973,8 +973,8 @@ input.input-inline { } } - .colorselect-label { - background-image: url('../img/color_picker.svg'); + .colorselect-label, .colorselect-label-white { + background-image: url('../img/color_picker-dark.svg'); background-position: center center; background-repeat: no-repeat; opacity: 1; @@ -985,6 +985,9 @@ input.input-inline { width: 40px; } } + .colorselect-label-white { + background-image: url('../img/color_picker.svg'); + } } .labels { diff --git a/img/color_picker.svg b/img/color_picker.svg index acd651fbb..f4b23e3f6 100644 --- a/img/color_picker.svg +++ b/img/color_picker.svg @@ -1,5 +1 @@ - - - - -image/svg+xmlOpenclipart + diff --git a/templates/part.board.sidebarView.php b/templates/part.board.sidebarView.php index d51852f2c..7229af2dd 100644 --- a/templates/part.board.sidebarView.php +++ b/templates/part.board.sidebarView.php @@ -86,7 +86,7 @@

-
@@ -104,7 +104,7 @@

-
diff --git a/templates/part.boardlist.php b/templates/part.boardlist.php index 5025fd80b..f7043b51f 100644 --- a/templates/part.boardlist.php +++ b/templates/part.boardlist.php @@ -35,7 +35,7 @@
-
@@ -107,7 +107,7 @@ autofocus-on-insert ng-model="newBoard.title" maxlength="100" ng-model-options="{ debounce: 250 }">
-
diff --git a/templates/part.navigation.php b/templates/part.navigation.php index 53dfa592d..bc4095863 100644 --- a/templates/part.navigation.php +++ b/templates/part.navigation.php @@ -40,7 +40,7 @@
-
@@ -58,7 +58,7 @@

-