Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>tags/v13.0.0beta1
@@ -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; |
@@ -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()); | |||
} |
@@ -23,7 +23,7 @@ body { | |||
color: #000; | |||
text-align: center; | |||
background-color: #0082c9; | |||
background-image: url('../img/background.jpg?v=1'); | |||
background-image: url('../img/background.png?v=2'); | |||
background-position: 50% 50%; | |||
background-repeat: no-repeat; | |||
background-size: cover; |
@@ -90,7 +90,7 @@ body { | |||
#body-login { | |||
text-align: center; | |||
background-color: $color-primary; | |||
background-image: url('../img/background.jpg?v=1'); | |||
background-image: url('../img/background.png?v=2'); | |||
background-position: 50% 50%; | |||
background-repeat: no-repeat; | |||
background-size: cover; |
@@ -15,8 +15,8 @@ $color-success: #46ba61; | |||
} | |||
$image-logo: '../img/logo-icon.svg?v=1'; | |||
$image-login-background: '../img/background.jpg?v=1'; | |||
$image-login-background: '../img/background.png?v=2'; | |||
$color-loading: #969696; | |||
$color-loading-dark: #bbbbbb; | |||
$color-box-shadow: rgba(nc-lighten($color-main-text, 20%), 0.75); | |||
$color-box-shadow: rgba(nc-lighten($color-main-text, 20%), 0.75); |