0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-06 02:51:10 +08:00
discourse/app/assets/stylesheets/admin/penalty.scss
chapoi 754f25c26e
UX: penalty modal increase size + fixes (#40601)
| BC | AC |
|--------|--------|
| <img width="613" height="603" alt="CleanShot 2026-06-05 at 12 20 01"
src="https://github.com/user-attachments/assets/a52eb2f2-140c-49f1-b334-28fb6ebe378c"
/> | <img width="867" height="569" alt="CleanShot 2026-06-05 at 12 19
10"
src="https://github.com/user-attachments/assets/b64ac90d-c09e-4ea3-a953-f404f43819eb"
/> |
| <img width="410" height="886" alt="CleanShot 2026-06-05 at 12 19 51"
src="https://github.com/user-attachments/assets/76cc2987-c2f6-42f7-8ae2-79dd8c0ec09a"
/> | <img width="410" height="886" alt="CleanShot 2026-06-05 at 12 19
37"
src="https://github.com/user-attachments/assets/279b1be0-70aa-4c68-972d-66bb868b3352"
/> |
2026-06-05 12:59:59 +02:00

98 lines
1.6 KiB
SCSS
Vendored

@use "lib/viewport";
.silence-user-modal,
.suspend-user-modal {
.penalty-duration,
.penalty-suspend-forever,
.suspend-reason-title,
.penalty-reason-controls label,
.penalty-message-controls label,
.penalty-post-controls label {
font-weight: bold;
}
.penalty-reason-visibility,
.penalty-reason-controls,
.penalty-similar-users {
margin-bottom: 0.5em;
}
.penalty-duration-controls,
.penalty-reason-visibility,
.penalty-post-controls {
margin-bottom: 1em;
}
.penalty-duration-controls {
.future-date-input {
align-items: end;
display: flex;
justify-content: space-between;
@include viewport.until(sm) {
flex-direction: column;
gap: var(--space-2);
align-items: stretch;
}
input {
height: 34px;
}
.control-group {
margin-bottom: 0;
&:first-child {
width: 100%;
label {
font-weight: bold;
}
details {
width: 100%;
}
}
}
.future-date-input-date-picker,
.future-date-input-time-picker {
align-items: center;
display: flex;
margin-left: 0.5em;
}
}
}
.penalty-reason-controls {
input,
.combo-box {
width: 100%;
margin-bottom: 0.5em;
}
}
.penalty-post-controls {
.select-kit {
width: 100%;
}
}
.penalty-similar-users {
background-color: var(--primary-very-low);
padding: 0.5em;
.alert {
margin: 0 0 0.5em 0;
}
.table {
width: 100%;
th,
td {
padding: 8px 0;
}
}
}
}