78 lines
1.6 KiB
CSS
78 lines
1.6 KiB
CSS
|
h2 {
|
||
|
font-weight:300;
|
||
|
text-align:center;
|
||
|
}
|
||
|
#login-form-wrap {
|
||
|
background-color: rgba(255, 255, 255, .15);
|
||
|
backdrop-filter: blur(200px);
|
||
|
width: 35%;
|
||
|
margin: 30px auto;
|
||
|
text-align: center;
|
||
|
padding:20px 0 0 0;
|
||
|
border-radius: 4px;
|
||
|
box-shadow: 0px 30px 50px 0px rgba(0, 0, 0, 0.2);
|
||
|
}
|
||
|
.login-form {
|
||
|
padding:1em 2em;
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
justify-items: center;
|
||
|
gap: 1em;
|
||
|
}
|
||
|
|
||
|
.login-form input {
|
||
|
width: 100%;
|
||
|
padding: 0 0 0 10px;
|
||
|
margin: 0;
|
||
|
color: var(--fg);
|
||
|
border: 1px solid var(--fg);
|
||
|
box-sizing: border-box;
|
||
|
outline: none;
|
||
|
height: 60px;
|
||
|
line-height: 60px;
|
||
|
border-radius: 4px;
|
||
|
font-style: normal;
|
||
|
font-size: 16px;
|
||
|
appearance: none;
|
||
|
position: relative;
|
||
|
display: inline-block;
|
||
|
background: none;
|
||
|
&:focus {
|
||
|
&:invalid {
|
||
|
color: var(--red);
|
||
|
border-color: var(--red);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&:valid {
|
||
|
border-color: var(--green);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.login-form input[type="submit"] {
|
||
|
border: none;
|
||
|
display:block;
|
||
|
background-color: rgba(255, 255, 255, .10);
|
||
|
color: var(--fg);
|
||
|
font-weight: bold;
|
||
|
text-transform:uppercase;
|
||
|
cursor: pointer;
|
||
|
transition: all 0.2s ease;
|
||
|
font-size: 18px;
|
||
|
position: relative;
|
||
|
display: inline-block;
|
||
|
cursor: pointer;
|
||
|
text-align: center;
|
||
|
&:hover {
|
||
|
background-color: rgba(255, 255, 255, .20);
|
||
|
transition: all 0.2s ease;
|
||
|
}
|
||
|
}
|
||
|
#create-account-wrap {
|
||
|
background-color: rgba(255, 255, 255, .15);
|
||
|
color:#dfdfdf;
|
||
|
font-size:14px;
|
||
|
width:100%;
|
||
|
padding:10px 0;
|
||
|
border-radius: 0 0 4px 4px;
|
||
|
}
|