Browse Source

smaller max logo sizes and cleaner code

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

+ 2
- 2
core/css/guest.css View File

@@ -71,14 +71,14 @@ h3 {
background-position: center;
width: 252px;
min-height: 120px;
max-height: 300px;
max-height: 200px;
margin: 0 auto;
}

#header .logo img {
opacity: 0;
max-width: 100%;
max-height: 300px;
max-height: 200px;
}
.wrapper {
min-height: 100%;

+ 1
- 1
core/templates/layout.guest.php View File

@@ -41,7 +41,7 @@
<?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')) ?>"/>
<img src="<?php p($theme->getLogo()); ?>"/>
<?php endif; ?>
</div>
<div id="logo-claim" style="display:none;"><?php p($theme->getLogoClaim()); ?></div>

Loading…
Cancel
Save