UX: improves topic-notifications-button loading behavior (#9832)

This commit is contained in:
Joffrey JAFFEUX
2020-05-19 17:13:40 +02:00
committed by GitHub
parent 38c05a4f07
commit ab6737c44a
4 changed files with 26 additions and 25 deletions

View File

@@ -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;

View File

@@ -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;
}
}
}