snappymail/dev/Styles/Login.less
djmaze 4adc672ccd Cleanup Login and removed the ancient obsolete <center> with small redesign
Also placed the loading description above the login form
2020-11-26 10:41:53 +01:00

168 lines
2.5 KiB
Text

.rl-view-model {
&.RL-Login, &.RL-AdminLogin {
position: fixed;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 100%;
max-width: 450px;
z-index: 5;
}
}
.b-login-content {
.loginFormWrapper {
position: relative;
.descWrapper {
margin-bottom: 10px;
text-align: center;
.desc {
font-size: 30px;
}
}
.loginForm {
background-color: #efefef;
color: #333;
margin: 0;
}
.controls, .control-group {
margin-bottom: 25px;
}
.wrapper {
padding: 40px 40px 20px 40px;
}
.controls {
.inputLoginForm, .inputEmail, .inputLogin, .inputPassword, .inputAdditionalCode {
font-size: 18px;
height: 40px;
line-height: 20px;
padding-left: 12px;
padding-right: 12px;
}
.inputEmail, .inputPassword {
padding-right: 35px;
}
}
.signMeLabel .e-checkbox {
margin-top: 5px;
}
.input-append .add-on {
position: relative;
height: 30px;
background: none;
margin-left: -35px;
z-index: 1000;
border: 0;
}
.input-append .add-on i {
font-size: 17px;
line-height: 29px;
color: #999;
&.login-submit-icon{
font-size: 24px;
padding-top: 2px;
cursor: pointer;
}
}
.controls.error .add-on i, .control-group.error .add-on i {
color: #b94a48;
}
.e-mobile-switcher {
text-align: center;
}
}
.buttonLogin {
margin: 0;
}
.alert {
position: absolute;
left: 0;
right: 0;
z-index: 1;
}
.flag-selector {
margin-bottom: 0;
}
.language-buttons {
margin-top: 5px;
}
.language-button {
padding: 5px;
outline: none;
}
}
@media screen and (max-width: 480px) {
.b-login-content .loginFormWrapper {
.wrapper {
padding: 30px 4vw 10px;
}
}
}
@keyframes loginRotation {
to {transform: rotate(1turn);}
}
.submitting-pane {
position: relative;
&.submitting:before{
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: transparent;
background: rgba(0,0,0,.3);
z-index: 1051;
border-radius: 8px;
}
html &.submitting:after{
content: '';
position: absolute;
width: 60px;
height: 60px;
top: 50%;
left: 50%;
margin-top: -30px;
margin-left: -30px;
border: 8px solid transparent;
border-color: transparent;
border-top-color: #fff;
animation: loginRotation 1s infinite ease-in-out;
border-radius: 50%;
z-index: 1052;
}
}
.btn-submit-icon-wrp {
border: none;
background: none;
display: inline-block;
margin: 0;
padding: 0;
outline: none;
cursor: pointer;
}