summaryrefslogtreecommitdiffstats
path: root/apps/theming
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2016-07-28 16:32:39 +0200
committerBjoern Schiessle <bjoern@schiessle.org>2016-07-28 16:32:39 +0200
commit14ca7c9cdc57376603b9a54fa8bf54a76cdf3f06 (patch)
treeaaa51156f4e791c46075e20106d2d80432cf16e6 /apps/theming
parent1e4266b0768eb8d267f44b892e4a88baa052e6fb (diff)
downloadnextcloud-server-14ca7c9cdc57376603b9a54fa8bf54a76cdf3f06.tar.gz
nextcloud-server-14ca7c9cdc57376603b9a54fa8bf54a76cdf3f06.zip
fix background id selector for the first run wizard
Diffstat (limited to 'apps/theming')
-rw-r--r--apps/theming/lib/controller/themingcontroller.php2
-rw-r--r--apps/theming/tests/lib/controller/ThemingControllerTest.php6
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/theming/lib/controller/themingcontroller.php b/apps/theming/lib/controller/themingcontroller.php
index 8c03060f884..61bc0b86bf4 100644
--- a/apps/theming/lib/controller/themingcontroller.php
+++ b/apps/theming/lib/controller/themingcontroller.php
@@ -261,7 +261,7 @@ class ThemingController extends Controller {
$backgroundLogo = $this->config->getAppValue($this->appName, 'backgroundMime');
if($backgroundLogo !== '') {
$responseCss .= '#body-login {background-image: url(\'./loginbackground?v='.$cacheBusterValue.'\');}' . "\n";
- $responseCss .= 'firstrunwizard .firstrunwizard-header {' .
+ $responseCss .= '#firstrunwizard .firstrunwizard-header {' .
'background-image: url(\'./loginbackground?v='.$cacheBusterValue.'\');' .
'}' . "\n";
}
diff --git a/apps/theming/tests/lib/controller/ThemingControllerTest.php b/apps/theming/tests/lib/controller/ThemingControllerTest.php
index 253c263916f..0cbf125d8fd 100644
--- a/apps/theming/tests/lib/controller/ThemingControllerTest.php
+++ b/apps/theming/tests/lib/controller/ThemingControllerTest.php
@@ -486,7 +486,7 @@ class ThemingControllerTest extends TestCase {
->willReturn('text/svg');
$expectedData = '#body-login {background-image: url(\'./loginbackground?v=0\');}' . "\n";
- $expectedData .= 'firstrunwizard .firstrunwizard-header {' .
+ $expectedData .= '#firstrunwizard .firstrunwizard-header {' .
'background-image: url(\'./loginbackground?v=0\');' .
'}' . "\n";
@@ -559,7 +559,7 @@ class ThemingControllerTest extends TestCase {
'}' . "\n"
);
$expectedData .= '#body-login {background-image: url(\'./loginbackground?v=0\');}' . "\n";
- $expectedData .= 'firstrunwizard .firstrunwizard-header {' .
+ $expectedData .= '#firstrunwizard .firstrunwizard-header {' .
'background-image: url(\'./loginbackground?v=0\');' .
'}' . "\n";
$expected = new Http\DataDownloadResponse($expectedData, 'style', 'text/css');
@@ -631,7 +631,7 @@ class ThemingControllerTest extends TestCase {
'}' . "\n"
);
$expectedData .= '#body-login {background-image: url(\'./loginbackground?v=0\');}' . "\n";
- $expectedData .= 'firstrunwizard .firstrunwizard-header {' .
+ $expectedData .= '#firstrunwizard .firstrunwizard-header {' .
'background-image: url(\'./loginbackground?v=0\');' .
'}' . "\n";
$expectedData .= '#header .header-appname, #expandDisplayName { color: #000000; }' . "\n";