More form styles

This commit is contained in:
Kuba Orlik 2025-09-22 15:17:31 +02:00
parent 423d96bb06
commit bc7b747c98
2 changed files with 33 additions and 24 deletions

View File

@ -11,15 +11,6 @@
body:not(*:has(.jdd-container)) .form-container {
container-type: inline-size;
label {
font-weight: bold;
font-size: 16px;
}
.form-input .form-input label {
font-weight: normal; /* for labels in checkboxed list */
}
.form {
.form-input__wrapper--file:not(.form-input__wrapper--control-type__photo) {
grid-row: span 2;

View File

@ -56,21 +56,6 @@
gap: 8px;
}
.form-input__wrapper--checkbox {
display: flex;
flex-flow: row nowrap;
align-items: center;
& > input[type="checkbox"] {
width: 15px;
height: 15px;
+ label {
padding-left: 10px;
}
}
}
.form-input__wrapper--multiple-files--photos {
ul {
list-style: none;
@ -130,6 +115,24 @@
max-width: 1224px;
margin: 0 auto;
label,
fieldset legend {
font-weight: bold;
font-size: 16px;
}
& > fieldset legend {
padding: 0 8px;
}
.form-input .form-input label {
font-weight: normal; /* for labels in checkboxed list */
}
fieldset {
border-radius: 4px;
}
.form-messages {
grid-column: span var(--column-count);
position: sticky;
@ -215,6 +218,21 @@
}
}
.form-input__wrapper--checkbox {
display: flex;
flex-flow: row nowrap;
align-items: center;
& > input[type="checkbox"] {
width: 15px;
height: 15px;
+ label {
padding-left: 10px;
}
}
}
.file_preview__icon {
display: flex;
flex-flow: row;