summaryrefslogtreecommitdiffstats
path: root/apps/theming/lib
diff options
context:
space:
mode:
authorJulius Haertl <jus@bitgrid.net>2016-07-16 08:56:40 +0200
committerJulius Haertl <jus@bitgrid.net>2016-07-16 09:18:34 +0200
commit48ac845266fb4b4d9b3266ee58e622ac5965d0d3 (patch)
treeb6e6def939792bfe9b2a875476d28f90b199a29b /apps/theming/lib
parent3f47138d2791d64817644c755e6ab763d26ebc7b (diff)
downloadnextcloud-server-48ac845266fb4b4d9b3266ee58e622ac5965d0d3.tar.gz
nextcloud-server-48ac845266fb4b4d9b3266ee58e622ac5965d0d3.zip
Theming: Fix image paths for caret icon
Diffstat (limited to 'apps/theming/lib')
-rw-r--r--apps/theming/lib/controller/themingcontroller.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/theming/lib/controller/themingcontroller.php b/apps/theming/lib/controller/themingcontroller.php
index 6eec5aafefa..303bb85f540 100644
--- a/apps/theming/lib/controller/themingcontroller.php
+++ b/apps/theming/lib/controller/themingcontroller.php
@@ -234,8 +234,8 @@ class ThemingController extends Controller {
}
if(Util::invertTextColor($color)) {
$responseCss .= '#header .header-appname, #expandDisplayName { color: #000000; } ';
- $responseCss .= '#header .icon-caret { background-image: url(/core/img/actions/caret-dark.svg); } ';
- $responseCss .= '.searchbox input[type="search"] { background: transparent url(\'../../../core/img/actions/search.svg\') no-repeat 6px center; color: #000; }';
+ $responseCss .= '#header .icon-caret { background-image: url(\'' . \OC::$WEBROOT . '/core/img/actions/caret-dark.svg\'); } ';
+ $responseCss .= '.searchbox input[type="search"] { background: transparent url(\'' . \OC::$WEBROOT . '/core/img/actions/search.svg\') no-repeat 6px center; color: #000; }';
$responseCss .= '.searchbox input[type="search"]:focus,.searchbox input[type="search"]:active,.searchbox input[type="search"]:valid { color: #000; border: 1px solid rgba(0, 0, 0, .5); }';
}