discourse/app/assets/stylesheets/common/form-kit/_control-radio.scss
Krzysztof Kotlarek 300ef67481
UX: move admin flag form to form-kit (#28187)
Rewrite the admin flag form to use FormKit. This is a draft because waiting for Checkbox improvements.
2024-08-05 11:01:25 +10:00

35 lines
623 B
SCSS

.form-kit__control-radio-label {
display: flex;
gap: 0.5em;
font-weight: normal !important;
margin: 0;
color: var(--primary);
.form-kit__field[data-disabled] & {
cursor: not-allowed;
}
input[type="radio"] {
margin-right: 0; //old input overrule
}
}
.form-kit__control-radio-content {
display: flex;
flex-direction: column;
}
.form-kit__control-radio-description {
color: var(--primary-medium);
font-size: var(--font-down-1-rem);
}
.form-kit__inline-radio {
display: flex;
gap: 1.5rem;
align-items: center;
input[type="radio"] {
margin-right: 0; //old input overrule
}
}