Browse Source

smaller max logo sizes and cleaner code

Signed-off-by: Robin Appelman <robin@icewind.nl>
pull/4632/head
Robin Appelman 9 years ago
committed by Morris Jobke
parent
commit
c50b7addc7
No known key found for this signature in database GPG Key ID: 9CE5ED29E7FCD38A
  1. 4
      core/css/guest.css
  2. 2
      core/templates/layout.guest.php

4
core/css/guest.css

@ -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%;

2
core/templates/layout.guest.php

@ -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