mail/src/sass/views/_login.scss

208 lines
4.2 KiB
SCSS

.view-login {
position: relative;
height: 100%;
background-color: $color-grey-lightest;
color: $color-grey-dark;
text-align: center;
padding: 20px;
overflow-y: auto;
.logo {
max-width: 700px;
margin: 45px auto;
img {
display: block;
max-width: 50%;
width: 320px;
}
@include respond-to(md) {
margin: 115px auto 75px;
}
}
.working {
text-align: center;
}
.spinner {
font-size: 150%;
}
.content {
max-width: 400px;
margin-left: auto;
margin-right: auto;
text-align: left;
b, a {
color: $color-blue;
}
button, a.btn {
margin-right: 10px;
margin-bottom: 10px;
width: 100%;
}
p, label {
line-height: 150%;
}
div {
margin: 20px 0;
}
fieldset {
margin: 30px 0 40px;
legend {
color: $color-blue;
}
p {
margin: 0;
}
}
input {
margin-right: 10px;
}
label,
input[type="tel"],
input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"] {
margin-bottom: 10px;
width: 100%;
}
input.token {
width: auto;
}
input[type=file] {
width: 100%;
background-color: white;
border-width: 1px;
border-style: solid;
border-color: $color-grey-lighter;
color: $color-grey-input;
font-size: 1em;
padding: 4px 4px;
outline: none;
&::-webkit-file-upload-button {
background-color: $color-grey-input;
border-width: 0px;
border-style: solid;
color: white;
padding: 4px 10px;
font-family: inherit;
font-size: inherit;
line-height: inherit;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
outline: none;
cursor: pointer;
}
}
}
}
.view-login-existing {
}
.view-login-initial {
.content {
form {
.option {
width: 90%;
font-size: $font-size-small;
margin: 0 auto;
}
.terms {
margin-top: 30px;
margin-bottom: 15px;
}
.newsletter {
margin-bottom: 40px;
}
}
}
}
.view-login-privatekey-download {
.content {
fieldset {
margin-top: 20px;
}
.code {
max-width: 240px;
margin: 0 auto;
input {
margin-right: 0;
width: auto;
}
}
}
}
.view-login-set-credentials {
.content {
b, a {
text-decoration: none;
}
.connection-error {
margin: 30px 0;
p {
margin-bottom: 15px;
}
}
.details {
fieldset {
margin: 0 0 10px 0;
select {
width: 100%;
}
div {
width: 100%;
margin: 0;
display: flex;
input[type="text"] {
flex: 2;
}
input[type="number"] {
flex: 1;
margin-right: 0;
}
}
label {
position:relative
}
label:after {
content: '<>';
color: $color-grey-dark;
transform:rotate(90deg);
right: 8px;
top: -3px;
position:absolute;
pointer-events:none;
}
}
}
}
}