discourse/app/assets/stylesheets/common/admin/flags.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

55 lines
900 B
SCSS

.admin-flag-item {
&__name {
font-weight: bold;
padding-bottom: 0;
margin-bottom: 0;
}
&__description {
margin-top: 0.5em;
}
&__options {
display: flex;
align-items: center;
justify-content: space-between;
}
.d-toggle-switch__label {
margin-bottom: 0;
}
.d-toggle-switch {
margin-right: 2em;
}
.btn-secondary {
padding: 0.25em 0.325em;
margin-right: 0.75em;
}
.flag-menu-trigger {
padding: 0.25em 0.325em;
}
&__delete.btn,
&__delete.btn:hover {
border-top: 1px solid var(--primary-low);
color: var(--danger);
svg {
color: var(--danger);
}
}
}
.admin-flags__header {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
.btn-primary {
align-self: center;
}
h3 {
margin-top: 1em;
font-size: var(--font-0);
font-weight: normal;
flex-basis: 100%;
}
}