2024-03-14 19:47:42 -04:00
|
|
|
.schema-field {
|
|
|
|
margin-bottom: 1em;
|
2024-03-27 01:59:01 -04:00
|
|
|
width: 100%;
|
2024-03-21 00:39:25 -04:00
|
|
|
min-width: 200px;
|
2024-03-21 23:36:34 -04:00
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 25% 1fr;
|
|
|
|
gap: 1em;
|
|
|
|
|
|
|
|
.schema-field__label {
|
|
|
|
word-break: break-all;
|
|
|
|
}
|
|
|
|
|
|
|
|
.schema-field__input:has(input[type="checkbox"]) {
|
|
|
|
flex-direction: row;
|
|
|
|
}
|
2024-03-14 19:47:42 -04:00
|
|
|
|
|
|
|
.schema-field__input {
|
2024-03-21 23:36:34 -04:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: flex-start;
|
|
|
|
|
2024-03-14 19:47:42 -04:00
|
|
|
input {
|
2024-03-21 00:39:25 -04:00
|
|
|
width: 100%;
|
2024-03-14 19:47:42 -04:00
|
|
|
margin-bottom: 0;
|
2024-03-21 23:36:34 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
input[type="checkbox"] {
|
|
|
|
width: auto;
|
2024-03-14 19:47:42 -04:00
|
|
|
}
|
|
|
|
|
2024-03-21 00:39:25 -04:00
|
|
|
.select-kit {
|
|
|
|
width: 100%;
|
2024-03-22 03:32:00 -04:00
|
|
|
|
|
|
|
&.--invalid {
|
|
|
|
summary {
|
|
|
|
border-color: var(--danger);
|
|
|
|
}
|
|
|
|
}
|
2024-03-21 00:39:25 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.schema-field__input-description {
|
|
|
|
font-size: var(--font-down-1);
|
|
|
|
color: var(--primary-medium);
|
|
|
|
}
|
2024-03-14 19:47:42 -04:00
|
|
|
}
|
2024-03-21 23:36:34 -04:00
|
|
|
|
2024-03-21 00:39:25 -04:00
|
|
|
.schema-field__input-supporting-text {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
margin-top: 0.2em;
|
2024-03-26 00:54:04 -04:00
|
|
|
width: 100%;
|
2024-03-14 19:47:42 -04:00
|
|
|
|
2024-03-21 00:39:25 -04:00
|
|
|
.schema-field__input-count {
|
|
|
|
margin-left: auto;
|
|
|
|
font-size: var(--font-down-1);
|
|
|
|
|
|
|
|
&.--error {
|
|
|
|
color: var(--danger);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.schema-field__input-error {
|
|
|
|
font-size: var(--font-down-1);
|
|
|
|
color: var(--danger);
|
|
|
|
}
|
2024-03-14 19:47:42 -04:00
|
|
|
}
|
|
|
|
}
|