From 444684821ca364d4d10b38d72b276bc557d7ddec Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Tue, 19 Jul 2016 12:05:57 +0200 Subject: [PATCH] fix searchbox overlapping on mobile --- apps/theming/lib/controller/themingcontroller.php | 4 ++-- core/css/styles.css | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/theming/lib/controller/themingcontroller.php b/apps/theming/lib/controller/themingcontroller.php index 0dec95cc677..12fea2f1975 100644 --- a/apps/theming/lib/controller/themingcontroller.php +++ b/apps/theming/lib/controller/themingcontroller.php @@ -70,7 +70,7 @@ class ThemingController extends Controller { IRootFolder $rootFolder ) { parent::__construct($appName, $request); - + $this->template = $template; $this->l = $l; $this->config = $config; @@ -213,7 +213,7 @@ class ThemingController extends Controller { $color = $this->config->getAppValue($this->appName, 'color'); if($color !== '') { $responseCss .= sprintf( - '#body-user #header,#body-settings #header,#body-public #header {background-color: %s}', + '#body-user #header,#body-settings #header,#body-public #header,.searchbox input[type="search"]:focus,.searchbox input[type="search"]:active,.searchbox input[type="search"]:valid {background-color: %s}', $color ); } diff --git a/core/css/styles.css b/core/css/styles.css index 830ff4bacbb..3c782813405 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -108,7 +108,7 @@ body { width: 155px; max-width: 50%; cursor: text; - background-color: transparent; + background-color: #0082c9; border: 1px solid rgba(255, 255, 255, .5); }