Merge pull request #18901 from nextcloud/backport/18873/stable18
[stable18] Install page design fixes
This commit is contained in:
commit
bcb8ce3e07
3 changed files with 6 additions and 14 deletions
|
@ -645,6 +645,11 @@ form #selectDbType label span {
|
|||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
#install-recommended-apps + label span {
|
||||
display: inline-block;
|
||||
opacity: .7;
|
||||
}
|
||||
|
||||
/* Errors */
|
||||
/* Warnings and errors are the same */
|
||||
.body-login-container,
|
||||
|
|
|
@ -123,18 +123,4 @@ $(document).ready(function() {
|
|||
drawTitles: true,
|
||||
nonce: btoa(OC.requestToken),
|
||||
});
|
||||
|
||||
// centers the database chooser if it is too wide
|
||||
if($('#databaseBackend').width() > 300) {
|
||||
// this somehow needs to wait 250 milliseconds
|
||||
// otherwise it gets overwritten
|
||||
setTimeout(function(){
|
||||
// calculate negative left margin
|
||||
// half of the difference of width and default bix width of 300
|
||||
// add 10 to clear left side padding of button group
|
||||
var leftMargin = (($('#databaseBackend').width() - 300) / 2 + 10 ) * -1;
|
||||
|
||||
$('#databaseBackend').css('margin-left', Math.floor(leftMargin) + 'px');
|
||||
}, 250);
|
||||
}
|
||||
});
|
||||
|
|
|
@ -163,6 +163,7 @@ script('core', [
|
|||
<input type="checkbox" id="install-recommended-apps" name="install-recommended-apps" class="checkbox checkbox--white" checked>
|
||||
<label for="install-recommended-apps">
|
||||
<?php p($l->t( 'Install recommended apps' )); ?>
|
||||
<span><?php p($l->t( 'Calendar, Contacts, Talk & Mail' )); ?></span>
|
||||
</label>
|
||||
</p>
|
||||
</fieldset>
|
||||
|
|
Loading…
Reference in a new issue