mirror of
https://github.com/discourse/discourse.git
synced 2024-12-03 16:13:40 +08:00
1ad06eb764
This merges the two modals code to remove duplication and implements a more consistent design.
91 lines
1.5 KiB
SCSS
91 lines
1.5 KiB
SCSS
.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;
|
|
|
|
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 0px;
|
|
}
|
|
}
|
|
}
|
|
}
|