1
0
forked from noxious/client

Crisis averted

Also changed the styling for Login
This commit is contained in:
2024-05-03 20:47:37 +02:00
parent 4d4df7cd99
commit b4797365f5
4 changed files with 132 additions and 120 deletions

View File

@ -12,90 +12,88 @@
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
justify-content: space-between;
flex-direction: column;
position: relative;
.login-form {
position: absolute;
bottom: 9rem;
width: 100%;
form {
display: grid;
gap: 1.5rem;
.content-elements {
margin: 5rem 0;
width: inherit;
display: flex;
flex-direction: column;
gap: 1.5rem;
.login-form {
width: inherit;
.form-field {
display: flex;
flex-direction: column;
background-color: rgba(255, 255, 255, 0.5);
border-radius: 3px;
width: 30%;
margin: 0 auto;
form {
display: grid;
gap: 1rem;
width: inherit;
label {
color: #000;
.form-field {
display: flex;
flex-direction: column;
background-color: rgba(255, 255, 255, 0.5);
padding: 0.15rem 0.5rem;
}
input {
background-color: transparent;
border: none;
padding: 0.25rem 0.25rem;
font-size: 16px;
border-radius: 3px;
min-width: 25rem;
margin: 0 auto;
label {
color: #000;
background-color: rgba(255, 255, 255, 0.5);
padding: 0.25rem 0.5rem;
font-weight: 600;
font-size: 0.875rem;
}
input {
background-color: transparent;
border: none;
padding: 0.3rem 0.25rem;
font-size: 0.875rem;
&:focus-visible {
outline: none;
}
}
}
}
}
}
.row-buttons {
display: flex;
gap: 0.5rem;
position: absolute;
bottom: 5rem;
.row-buttons {
display: flex;
justify-content: center;
gap: 0.5rem;
.button {
padding: 1rem 0;
min-width: 6rem;
text-align: center;
position: relative;
font-size: 10px;
.button {
padding: 0.875rem 0;
min-width: 6.25rem;
text-align: center;
position: relative;
font-size: 0.875rem;
&.button-1 {
background-image: url('/assets/Button_1.png');
}
&.button-2 {
background-image: url('/assets/Button_2.png');
}
&.button-3 {
background-image: url('/assets/Button_3.png');
}
&.button-4 {
background-image: url('/assets/Button_4.png');
}
p {
margin: auto;
}
background-color: transparent;
background-position: center;
background-repeat: no-repeat;
background-size: 100%;
border: none;
cursor: pointer;
overflow: hidden;
outline: none;
color:white;
img {
position: absolute;
top: 0;
left: 0;
width: 100%;
z-index: -1;
}
&:hover {
filter: brightness(60%);
&:hover {
filter: brightness(60%);
cursor: pointer;
}
}
}
}
}
.main-title {
position: absolute;
margin-top: 7rem;
text-align: center;
top: 40%;
font-size: 3rem;
color: #FFF;
text-shadow: -1px -1px 0 gray, 1px -1px 0 gray, -1px 1px 0 gray, 1px 1px 0 gray;

View File

@ -15,6 +15,11 @@ p, a, li, label {
color: #FFF;
}
button {
background-color: transparent;
border: none;
}
a {
text-decoration: none;
}