mirror of
https://github.com/discourse/discourse.git
synced 2024-12-14 17:03:45 +08:00
300ef67481
Rewrite the admin flag form to use FormKit. This is a draft because waiting for Checkbox improvements.
55 lines
900 B
SCSS
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%;
|
|
}
|
|
}
|