Merge pull request #18873 from nextcloud/design/install-page

Install page design fixes
This commit is contained in:
Roeland Jago Douma 2020-01-15 07:24:57 +01:00 committed by GitHub
commit 060dd35ef9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 14 deletions

View File

@ -649,6 +649,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,

View File

@ -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);
}
});

View File

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