optimized layout

This commit is contained in:
jo.kuehner
2023-11-13 19:30:52 +01:00
parent ffff6f4467
commit fee9acfd6d
17 changed files with 463 additions and 506 deletions

View File

@ -59,12 +59,12 @@ export default {
flex-direction: column;
align-items: center;
justify-content: center;
width: 500px;
height: 500px;
border-radius: 10px;
padding: 40px 30px;
gap: 30px;
border: 1px solid #000;
width: 31.25rem;
height: 31.25rem;
border-radius: 0.625rem;
padding: 2.5rem 1.875rem;
gap: 1.875rem;
border: 0.0625rem solid #000;
background-color: #2c2c2c;
}
@ -74,19 +74,19 @@ export default {
flex-direction: column;
align-items: center;
justify-content: center;
gap: 20px;
gap: 1.25rem;
}
.title-icon {
justify-content: center;
align-items: center;
width: 50px;
height: 50px;
width: 3.125rem;
height: 3.125rem;
}
.title-icon > img {
width: 50px;
height: 50px;
width: 3.125rem;
height: 3.125rem;
object-fit: contain;
object-position: center;
overflow: hidden;
@ -95,9 +95,9 @@ export default {
.title {
margin: 0;
color: #fff;
letter-spacing: 1.6px;
letter-spacing: 5%;
white-space: nowrap;
font: 400 30px/30px Overpass, sans-serif;
font: 400 1.875rem/1.875rem Overpass, sans-serif;
}
@ -106,8 +106,8 @@ export default {
flex-direction: column;
align-items: center;
justify-content: center;
padding: 10px 20px;
gap: 20px;
padding: 0.625rem 1.25rem;
gap: 1.25rem;
}
.form-field {
@ -115,10 +115,10 @@ export default {
flex-direction: column;
align-items: flex-start;
justify-content: space-between;
width: 400px;
height: 80px;
padding: 10px;
gap: 10px;
width: 25rem;
height: 5rem;
padding: 0.625rem;
gap: 0.625rem;
}
label {
@ -126,8 +126,8 @@ export default {
flex-direction: row;
align-items: flex-start;
width: fit-content;
height: 30px;
gap: 10px;
height: 1.875rem;
gap: 0.625rem;
}
.icon {
@ -135,8 +135,8 @@ export default {
flex-direction: row;
align-items: center;
justify-content: center;
width: 30px;
height: 30px;
width: 1.875rem;
height: 1.875rem;
}
.icon > img {
@ -147,17 +147,17 @@ export default {
}
#username-icon > img {
width: auto;
height: 15px;
height: 0.9375rem;
}
#password-icon > img {
width: 15px;
width: 0.9375rem;
height: auto;
}
.label {
color: #fff;
letter-spacing: 0.3px;
font: 400 15px/30px Overpass, sans-serif;
letter-spacing: 2%;
font: 400 0.9375rem/1.875rem Overpass, sans-serif;
}
.input-field {
@ -167,10 +167,10 @@ export default {
justify-content: stretch;
align-self: stretch;
width: 100%;
height: 30px;
border-radius: 5px;
padding: 3px 10px;
box-shadow: 1px 1px 4px 0px rgba(0, 0, 0, 0.25) inset;
height: 1.875rem;
border-radius: 0.3125rem;
padding: 0.1875rem 0.625rem;
box-shadow: 0.0625rem 0.0625rem 0.25rem 0rem rgba(0, 0, 0, 0.25) inset;
background-color: #212121;
}
@ -180,9 +180,9 @@ export default {
background-color: #00000000;
border: none;
color: #8e8e8e;
letter-spacing: 0.6px;
letter-spacing: 5%;
white-space: nowrap;
font: 100 12px/20px Overpass, sans-serif;
font: 100 0.75rem/1.25rem Overpass, sans-serif;
}
input[type=button] {
width: fit-content;
@ -190,23 +190,23 @@ export default {
background-color: #00000000;
border: none;
color: #fff;
letter-spacing: 0.6px;
letter-spacing: 5%;
white-space: nowrap;
font: 300 12px/20px Overpass, sans-serif;
font: 300 0.75rem/1.25rem Overpass, sans-serif;
}
#login-button {
width: 220px;
height: 70px;
padding: 10px;
border-radius: 10px;
width: 13.75rem;
height: 4.375rem;
padding: 0.625rem;
border-radius: 0.625rem;
align-self: center;
border: none;
background: linear-gradient(93deg, #ff0f00 3.67%, #ffe608 100%);
color: #fff;
letter-spacing: 0.4px;
letter-spacing: 2%;
white-space: nowrap;
font: 600 20px/30px Overpass, sans-serif;
font: 600 1.25rem/1.875rem Overpass, sans-serif;
}