Browse Source

Merge pull request #4632 from nextcloud/login-logo-ratio

show non landscape logos bigger on the login page
tags/v12.0.0beta2
Lukas Reschke 7 years ago
parent
commit
fecf72fb70
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: 200px;
margin: 0 auto;
}

#header .logo img {
opacity: 0;
max-width: 100%;
max-height: 200px;
}
.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($theme->getLogo()); ?>"/>
<?php endif; ?>
</div>
<div id="logo-claim" style="display:none;"><?php p($theme->getLogoClaim()); ?></div>
</div>

Loading…
Cancel
Save