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

background-position: center; background-position: center;
width: 252px; width: 252px;
min-height: 120px; min-height: 120px;
max-height: 300px;
max-height: 200px;
margin: 0 auto; margin: 0 auto;
} }


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

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

<?php p($theme->getName()); ?> <?php p($theme->getName()); ?>
</h1> </h1>
<?php if(\OC::$server->getConfig()->getAppValue('theming', 'logoMime', false)): ?> <?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; ?> <?php endif; ?>
</div> </div>
<div id="logo-claim" style="display:none;"><?php p($theme->getLogoClaim()); ?></div> <div id="logo-claim" style="display:none;"><?php p($theme->getLogoClaim()); ?></div>

Loading…
Cancel
Save