Improvements to login forms for small screen

This commit is contained in:
Stian Thorgersen 2014-03-04 09:54:30 +00:00
parent 9d4cc19e62
commit 9816fdd842
2 changed files with 18 additions and 14 deletions

View file

@ -47,7 +47,6 @@
#kc-login {
float: right;
margin-left: 10px;
margin-bottom: 10px;
}
#kc-feedback-wrapper {
@ -210,19 +209,19 @@ ol#kc-totp-settings li:first-of-type {
height: 37px;
margin: 20px;
margin: 15px;
}
#kc-header {
padding-left: 40px;
padding-right: 40px;
padding-left: 15px;
padding-right: 15px;
white-space: normal;
float: none;
}
#kc-feedback {
padding-left: 40px;
padding-right: 40px;
padding-left: 15px;
padding-right: 15px;
float: none;
}
@ -232,21 +231,26 @@ ol#kc-totp-settings li:first-of-type {
}
#kc-form {
padding-left: 40px;
padding-right: 40px;
padding-left: 15px;
padding-right: 15px;
float: none;
}
#kc-info-wrapper {
border-top: 1px solid rgba(255, 255, 255, 0.1);
margin-top: 20px;
padding-top: 20px;
padding-left: 20px;
padding-right: 40px;
margin-top: 15px;
padding-top: 15px;
padding-left: 0px;
padding-right: 15px;
}
#kc-social-providers li {
display: inline-block;
margin-right: 5px;
}
.login-pf .container {
padding-top: 15px;
padding-bottom: 15px;
}
}

View file

@ -19,7 +19,7 @@ kcLabelClass=control-label
kcLabelWrapperClass=col-xs-12 col-sm-12 col-md-4 col-lg-3
kcInputClass=form-control
kcInputWrapperClass=col-xs-12 col-sm-12 col-md-8 col-lg-9
kcFormOptionsClass=col-xs-5 col-sm-5 col-md-offset-4 col-md-4 col-lg-offset-3 col-lg-5
kcFormButtonsClass=col-xs-7 col-sm-7 col-md-4 col-lg-4 submit
kcFormOptionsClass=col-xs-4 col-sm-5 col-md-offset-4 col-md-4 col-lg-offset-3 col-lg-5
kcFormButtonsClass=col-xs-8 col-sm-7 col-md-4 col-lg-4 submit
kcInfoAreaClass=col-xs-12 col-sm-4 col-md-4 col-lg-6 details