Skip to content

Commit 014464d

Browse files
author
Luke Barnard
committed
CSS for "remove" button on GroupRoomTile
1 parent f35289a commit 014464d

2 files changed

Lines changed: 31 additions & 0 deletions

File tree

‎src/skins/vector/css/_components.scss‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
@import "./matrix-react-sdk/views/elements/_RichText.scss";
3434
@import "./matrix-react-sdk/views/elements/_RoleButton.scss";
3535
@import "./matrix-react-sdk/views/groups/_GroupInviteTile.scss";
36+
@import "./matrix-react-sdk/views/groups/_GroupRoomList.scss";
3637
@import "./matrix-react-sdk/views/login/_InteractiveAuthEntryComponents.scss";
3738
@import "./matrix-react-sdk/views/login/_ServerConfig.scss";
3839
@import "./matrix-react-sdk/views/messages/_MEmoteBody.scss";
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
/*
2+
Copyright 2017 New Vector Ltd
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
*/
16+
17+
.mx_GroupRoomTile_delete {
18+
opacity: 0.4;
19+
position: relative;
20+
top: 6px;
21+
right: 10px;
22+
cursor: pointer;
23+
24+
display: none;
25+
}
26+
27+
.mx_GroupRoomTile:hover > .mx_GroupRoomTile_delete {
28+
display: initial;
29+
}
30+

0 commit comments

Comments
 (0)