diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-08-29 19:09:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-29 19:09:54 +0200 |
commit | 4edb26180582cbad84d9b1baf9f4124885c9fe36 (patch) | |
tree | 0b0005f8495cd8dc43d0dd72c6880f165dd47a67 /apps | |
parent | d86bb5aed831376ebb5091f3da0d7ad4178c380e (diff) | |
parent | 2e6d1a3453abf6dda86b981b7e69ae77079a9d01 (diff) | |
download | nextcloud-server-4edb26180582cbad84d9b1baf9f4124885c9fe36.tar.gz nextcloud-server-4edb26180582cbad84d9b1baf9f4124885c9fe36.zip |
Merge pull request #6303 from nextcloud/background-image
Adjust background image to the one used on the website
Diffstat (limited to 'apps')
-rw-r--r-- | apps/theming/css/theming.scss | 3 | ||||
-rw-r--r-- | apps/theming/lib/ThemingDefaults.php | 2 | ||||
-rw-r--r-- | apps/theming/tests/ThemingDefaultsTest.php | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/apps/theming/css/theming.scss b/apps/theming/css/theming.scss index 252d009289e..339bf8a58b9 100644 --- a/apps/theming/css/theming.scss +++ b/apps/theming/css/theming.scss @@ -60,8 +60,7 @@ } input.primary { - background-color: nc-lighten($color-primary, .9); - border: 1px solid $color-primary; + background-color: $color-primary; color: $color-primary-text; } diff --git a/apps/theming/lib/ThemingDefaults.php b/apps/theming/lib/ThemingDefaults.php index dff24ee7960..b10dc4b7ea8 100644 --- a/apps/theming/lib/ThemingDefaults.php +++ b/apps/theming/lib/ThemingDefaults.php @@ -183,7 +183,7 @@ class ThemingDefaults extends \OC_Defaults { $cacheBusterCounter = $this->config->getAppValue('theming', 'cachebuster', '0'); if(!$backgroundLogo || !$backgroundExists) { - return $this->urlGenerator->imagePath('core','background.jpg') . '?v=' . $cacheBusterCounter; + return $this->urlGenerator->imagePath('core','background.png') . '?v=' . $cacheBusterCounter; } return $this->urlGenerator->linkToRoute('theming.Theming.getLoginBackground') . '?v=' . $cacheBusterCounter; diff --git a/apps/theming/tests/ThemingDefaultsTest.php b/apps/theming/tests/ThemingDefaultsTest.php index 057229483e9..cb827773470 100644 --- a/apps/theming/tests/ThemingDefaultsTest.php +++ b/apps/theming/tests/ThemingDefaultsTest.php @@ -400,7 +400,7 @@ class ThemingDefaultsTest extends TestCase { ->willThrowException(new \Exception()); $this->urlGenerator->expects($this->once()) ->method('imagePath') - ->with('core', 'background.jpg') + ->with('core', 'background.png') ->willReturn('core-background'); $this->assertEquals('core-background?v=0', $this->template->getBackground()); } |