Merge pull request #4632 from nextcloud/login-logo-ratio
show non landscape logos bigger on the login page
This commit is contained in:
commit
fecf72fb70
|
@ -70,9 +70,16 @@ h3 {
|
||||||
background-size: 175px;
|
background-size: 175px;
|
||||||
background-position: center;
|
background-position: center;
|
||||||
width: 252px;
|
width: 252px;
|
||||||
height: 120px;
|
min-height: 120px;
|
||||||
|
max-height: 200px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#header .logo img {
|
||||||
|
opacity: 0;
|
||||||
|
max-width: 100%;
|
||||||
|
max-height: 200px;
|
||||||
|
}
|
||||||
.wrapper {
|
.wrapper {
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
margin: 0 auto -70px;
|
margin: 0 auto -70px;
|
||||||
|
|
|
@ -40,6 +40,9 @@
|
||||||
<h1 class="hidden-visually">
|
<h1 class="hidden-visually">
|
||||||
<?php p($theme->getName()); ?>
|
<?php p($theme->getName()); ?>
|
||||||
</h1>
|
</h1>
|
||||||
|
<?php if(\OC::$server->getConfig()->getAppValue('theming', 'logoMime', false)): ?>
|
||||||
|
<img src="<?php p($theme->getLogo()); ?>"/>
|
||||||
|
<?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>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue