feat: styling cage selector
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
moanos [he/him] 2024-07-19 23:44:33 +02:00
parent 583b0fb49f
commit 3b4cbd8ae1
2 changed files with 24 additions and 11 deletions

View File

@ -118,16 +118,22 @@ label {
.cage-selector{
gap: 15px;
display: flex;
flex-wrap: wrap;
}
.card {
text-align: center;
color: var(--text-two);
flex: 1 25%;
}
.card-photo {
height: 200px;
width: 200px;
background-color: #ffffff;
min-width: 200px;
background-color: var(--background-one);
box-shadow: 0 0 25px rgba(17, 1, 68, 0.08);
border-radius: 8px;
position: relative;
@ -175,6 +181,9 @@ input[type="checkbox"]:checked:after {
.form-measurements {
max-height: 90%;
}
.form-measurements input {
width: 70%;
}
input.measurement {
margin-top: 5%;
}

View File

@ -48,17 +48,21 @@
<div class="card-photo">
<input type="checkbox" id="tiaki"/>
<form class="form-measurements">
<input class="measurement" type="number" id="width">
<div class="input-measurement">
<label for="width">Breite</label>
<input class="measurement" type="number" id="depth">
<input class="measurement" type="number" id="width">
</div>
<div class="input-measurement">
<label for="depth">Tiefe</label>
<input class="measurement" type="number" id="height">
<input class="measurement" type="number" id="depth">
</div>
<div class="input-measurement">
<label for="height">Höhe</label>
<input class="measurement" type="number" id="height">
</div>
</form>
</div>
<label>Anderer Käfig</label>
<label>Käfigmaße</label>
</div>
</div>