diff options
Diffstat (limited to 'apps/theming/lib/controller/themingcontroller.php')
-rw-r--r-- | apps/theming/lib/controller/themingcontroller.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/theming/lib/controller/themingcontroller.php b/apps/theming/lib/controller/themingcontroller.php index eb377f27ff8..32d96203d62 100644 --- a/apps/theming/lib/controller/themingcontroller.php +++ b/apps/theming/lib/controller/themingcontroller.php @@ -214,6 +214,7 @@ class ThemingController extends Controller { $cacheBusterValue = $this->config->getAppValue('theming', 'cachebuster', '0'); $responseCss = ''; $color = $this->config->getAppValue($this->appName, 'color'); + $elementColor = Util::elementColor($color); if($color !== '') { $responseCss .= sprintf( '#body-user #header,#body-settings #header,#body-public #header,#body-login,.searchbox input[type="search"]:focus,.searchbox input[type="search"]:active,.searchbox input[type="search"]:valid {background-color: %s}', @@ -221,11 +222,11 @@ class ThemingController extends Controller { ); $responseCss .= sprintf(' input[type="checkbox"].checkbox:checked + label:before { - background-image:url(/core/img/actions/checkmark-white.svg); + background-image:url(\'' . \OC::$WEBROOT . '/core/img/actions/checkmark-white.svg\'); background-color: %s; background-position: center center; background-size:contain; width:12px; height:12px; padding:0; margin:1px 6px 7px 2px; }', - $color + $elementColor ); } $logo = $this->config->getAppValue($this->appName, 'logoMime'); |