Improve layout of buttons for two factor auth

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
Morris Jobke 2017-05-14 22:19:09 -05:00
parent 3f201ec7f3
commit 30443ac177
2 changed files with 17 additions and 2 deletions

View File

@ -5,11 +5,13 @@
.challenge { .challenge {
margin-top: 0 !important; margin-top: 0 !important;
margin-left: 0 !important; margin-left: 0 !important;
box-sizing: border-box !important;
width: 100% !important;
} }
.confirm-inline { .confirm-inline {
position: absolute; position: absolute;
right: 10px; right: 0;
top: 0; top: 0;
margin: 0 !important; margin: 0 !important;
padding-right: 25px !important; padding-right: 25px !important;

View File

@ -347,8 +347,18 @@ form .warning input[type='checkbox']+label {
} }
.two-factor-link { .two-factor-link {
display: inline-block; display: inline-block;
padding: 12px;
color: rgba(255, 255, 255, 0.75); color: rgba(255, 255, 255, 0.75);
width: 100%;
}
.two-factor-link .button {
padding: 10px;
border-radius: 3px;
color: #555 !important;
display: inline-block;
margin: 5px 0;
text-align: center;
width: 100%;
box-sizing: border-box
} }
/* Additional login options */ /* Additional login options */
@ -453,6 +463,9 @@ form #selectDbType label.ui-state-active {
border-radius: 3px; border-radius: 3px;
cursor: default; cursor: default;
} }
.warning {
margin-top: 15px;
}
.warning.updateAnyways { .warning.updateAnyways {
text-align: center; text-align: center;
} }