discourse/app/assets/stylesheets/common/admin/schema_field.scss

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

67 lines
1.1 KiB
SCSS
Raw Normal View History

.schema-field {
margin-bottom: 1em;
width: 50%;
min-width: 200px;
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;
}
.schema-field__input {
display: flex;
flex-direction: column;
align-items: flex-start;
input {
width: 100%;
margin-bottom: 0;
}
input[type="checkbox"] {
width: auto;
}
.select-kit {
width: 100%;
&.--invalid {
summary {
border-color: var(--danger);
}
}
}
.schema-field__input-description {
font-size: var(--font-down-1);
color: var(--primary-medium);
}
}
.schema-field__input-supporting-text {
display: flex;
flex-direction: row;
margin-top: 0.2em;
.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);
}
}
}