mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-15 20:54:59 +08:00
Initial RoomTagContextMenu wired in
This commit is contained in:
parent
7880734d77
commit
b3459be707
@ -46,6 +46,7 @@ module.exports = React.createClass({
|
|||||||
// return {
|
// return {
|
||||||
// areNotifsMuted: areNotifsMuted,
|
// areNotifsMuted: areNotifsMuted,
|
||||||
// };
|
// };
|
||||||
|
return null;
|
||||||
},
|
},
|
||||||
|
|
||||||
// _save: function( isMuted ) {
|
// _save: function( isMuted ) {
|
||||||
@ -104,7 +105,7 @@ module.exports = React.createClass({
|
|||||||
|
|
||||||
var lowPriorityClasses = classNames({
|
var lowPriorityClasses = classNames({
|
||||||
'mx_RoomTagContextMenu_field': true,
|
'mx_RoomTagContextMenu_field': true,
|
||||||
'mx_RoomTagContextMenu_fieldSet': !this.state.areNotifsMuted,
|
'mx_RoomTagContextMenu_fieldSet': true,
|
||||||
});
|
});
|
||||||
|
|
||||||
var leaveClasses = classNames({
|
var leaveClasses = classNames({
|
||||||
|
@ -116,13 +116,13 @@ limitations under the License.
|
|||||||
}
|
}
|
||||||
|
|
||||||
.mx_RoomTile .mx_RoomTile_badge.mx_RoomTile_badgeButton,
|
.mx_RoomTile .mx_RoomTile_badge.mx_RoomTile_badgeButton,
|
||||||
.mx_RoomTile.mx_RoomTile_menu .mx_RoomTile_badge {
|
.mx_RoomTile.mx_RoomTile_notificationStateMenu .mx_RoomTile_badge {
|
||||||
letter-spacing: 0.1em;
|
letter-spacing: 0.1em;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_RoomTile.mx_RoomTile_noBadges .mx_RoomTile_badge.mx_RoomTile_badgeButton,
|
.mx_RoomTile.mx_RoomTile_noBadges .mx_RoomTile_badge.mx_RoomTile_badgeButton,
|
||||||
.mx_RoomTile.mx_RoomTile_menu.mx_RoomTile_noBadges .mx_RoomTile_badge {
|
.mx_RoomTile.mx_RoomTile_notificationStateMenu.mx_RoomTile_noBadges .mx_RoomTile_badge {
|
||||||
background-color: rgb(214, 214, 214);
|
background-color: rgb(214, 214, 214);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user