Browse Source

show non landscape icons bigger on the login page

Signed-off-by: Robin Appelman <robin@icewind.nl>
tags/v12.0.0beta2
Robin Appelman 7 years ago
parent
commit
fa52f906e3
No account linked to committer's email address
2 changed files with 11 additions and 1 deletions
  1. 8
    1
      core/css/guest.css
  2. 3
    0
      core/templates/layout.guest.php

+ 8
- 1
core/css/guest.css 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;

+ 3
- 0
core/templates/layout.guest.php 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>

Loading…
Cancel
Save