Fix layout of alternative login buttons

* fixes #6367

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
Morris Jobke 2017-09-05 18:46:57 +02:00
parent 15cd21d252
commit f5aea79bd7
No known key found for this signature in database
GPG Key ID: FE03C3A163FEDE68
2 changed files with 27 additions and 6 deletions

View File

@ -31,13 +31,18 @@
#body-login { #body-login {
input { input,
#alternative-logins li a {
border: 1px solid nc-lighten($color-primary-text, 50%); border: 1px solid nc-lighten($color-primary-text, 50%);
} }
input.primary { input.primary,
#alternative-logins li a {
background-color: $color-primary; background-color: $color-primary;
} }
a, label, p { a,
label,
p,
#alternative-logins legend {
color: $color-primary-text !important; color: $color-primary-text !important;
} }
input[type='checkbox'].checkbox--white + label:before { input[type='checkbox'].checkbox--white + label:before {
@ -83,7 +88,8 @@
background-color: $color-primary; background-color: $color-primary;
} }
input.primary { input.primary,
#alternative-logins li a {
background-color: $color-primary-element; background-color: $color-primary-element;
border: 1px solid $color-primary-text; border: 1px solid $color-primary-text;
color: $color-primary-text; color: $color-primary-text;

View File

@ -400,8 +400,23 @@ form .warning input[type='checkbox']+label {
} }
/* Alternative Logins */ /* Alternative Logins */
#alternative-logins legend { margin-bottom:10px; } #alternative-logins legend {
#alternative-logins li { height:40px; display:inline-block; white-space:nowrap; } margin-bottom: 10px;
}
#alternative-logins li {
height: 40px;
white-space: nowrap;
padding: 05px;
}
#alternative-logins li a {
width: 100%;
display: inline-block;
text-align: center;
box-sizing: border-box;
background-color: #0082c9;
color: white;
border-radius: 3px;
}
/* fixes for update page TODO should be fixed some time in a proper way */ /* fixes for update page TODO should be fixed some time in a proper way */
/* this is just for an error while updating the ownCloud instance */ /* this is just for an error while updating the ownCloud instance */