mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
UX: improves topic-notifications-button loading behavior (#9832)
This commit is contained in:
@@ -1026,14 +1026,6 @@ a.mention-group {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.topic-notifications-button.is-loading {
|
||||
pointer-events: none;
|
||||
user-select: none;
|
||||
.topic-notifications-options {
|
||||
opacity: 0.5;
|
||||
}
|
||||
}
|
||||
|
||||
.pinned-button,
|
||||
.topic-notifications-button {
|
||||
margin: 1em 0;
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
.topic-notifications-button {
|
||||
&.is-loading {
|
||||
pointer-events: none;
|
||||
user-select: none;
|
||||
|
||||
.d-icon-spinner {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.selected-name .d-icon {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.topic-notifications-options {
|
||||
opacity: 0.5;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user