* { box-sizing: border-box; &:before, &:after { box-sizing: border-box; } } .login-background { background: url(../img/login-background.jpg); background-repeat: no-repeat; background-position: center; } .welcome-box { margin-left: auto; margin-right: auto; margin-top: 50px; width: 600px; height: 800px; background: white; } .login-rhizi-logo { margin-left: auto; display: block; margin-right: auto; padding-top: 25px; } .login-header { margin-top: 35px; margin-bottom: 35px; text-align: center; color: $magenta; } .login-text { margin-left:35px; margin-right:35px; text-align: center; } .login-form { margin-top: 50px; margin-bottom: 50px; margin-left: 150px; margin-right: 150px; text-align: center; padding: 20px; width: 300px; position: relative; } .clearfix { *zoom: 1; &:before, &:after { content: ' '; display: table; } &:after { clear: both; } } .login-input { border: none; font-family: inherit; font-size: inherit; margin: 0; -webkit-appearance: none; &:focus { outline: none; } &[type="submit"] { width: 100%; cursor: pointer; background: #ee3654; border-radius: 3px; color: #fff; float: right; font-weight: bold; margin-top: 20px; margin-bottom: 15px; padding: 12px 20px; &:hover { background: $dark-magenta; } } &[type="email"] { background: url(../img/mail-icon.png) no-repeat scroll 20px 15px; border: 1px solid #dcdcdc; padding: 12px 10px; width: 100%; border-radius: 3px 3px 0 0; padding-left:60px; } &[type="password"] { background: url(../img/password-icon.png) no-repeat scroll 20px 15px; border: 1px solid #dcdcdc; padding: 12px 10px; width: 100%; border-top: none; border-radius: 0px 0px 3px 3px; padding-left:60px; } } .forgot-password { color: $mid-grey; text-decoration: none; &:hover { color: $dark-grey; } }