show non landscape icons bigger on the login page

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2017-05-01 19:05:21 +02:00
parent 18b5e2fced
commit fa52f906e3
No known key found for this signature in database
GPG Key ID: CBCA68FBAEBF98C9
2 changed files with 11 additions and 1 deletions

View File

@ -70,9 +70,16 @@ h3 {
background-size: 175px;
background-position: center;
width: 252px;
height: 120px;
min-height: 120px;
max-height: 300px;
margin: 0 auto;
}
#header .logo img {
opacity: 0;
max-width: 100%;
max-height: 300px;
}
.wrapper {
min-height: 100%;
margin: 0 auto -70px;

View File

@ -40,6 +40,9 @@
<h1 class="hidden-visually">
<?php p($theme->getName()); ?>
</h1>
<?php if(\OC::$server->getConfig()->getAppValue('theming', 'logoMime', false)): ?>
<img src="<?php p(\OC::$server->getURLGenerator()->getAbsoluteURL('apps/theming/logo') . '?' . \OC::$server->getConfig()->getAppValue('theming', 'cachebuster', '0')) ?>"/>
<?php endif; ?>
</div>
<div id="logo-claim" style="display:none;"><?php p($theme->getLogoClaim()); ?></div>
</div>