mirror of
https://github.com/discourse/discourse.git
synced 2024-12-11 16:53:49 +08:00
4908a669e0
This PR adds a new "Pause notifications" checkbox to the user status modal. This checkbox allows enabling the Do-Not-Disturb mode together with user status. Note that we don't remove and don't rename the existing DnD menu item in this PR, so the old way of entering the DnD mode is still available. Also, we're not making DnD mode a part of user status on backend and in database. The reason is that the DnD mode should still be available on sites with disabled user status, having them separated helps keep the implementation simple.
39 lines
560 B
SCSS
39 lines
560 B
SCSS
.user-status.modal {
|
|
.modal-inner-container {
|
|
box-sizing: border-box;
|
|
min-width: 310px;
|
|
}
|
|
|
|
.modal-footer {
|
|
margin: 0;
|
|
border-top: 0;
|
|
padding: 10px 0;
|
|
|
|
.delete-status {
|
|
margin-left: auto;
|
|
margin-right: 0;
|
|
}
|
|
}
|
|
|
|
.modal-body {
|
|
width: 375px;
|
|
box-sizing: border-box;
|
|
|
|
@media (max-width: 600px) {
|
|
width: 100%;
|
|
}
|
|
|
|
.control-group-remove-status {
|
|
margin-top: 25px;
|
|
}
|
|
|
|
.pause-notifications {
|
|
margin-top: 1.5em;
|
|
}
|
|
|
|
.control-label {
|
|
font-weight: 700;
|
|
}
|
|
}
|
|
}
|