Skip to content

Commit 5ade4b2

Browse files
authored
Merge pull request element-hq#6281 from vector-im/luke/fix-room-tile-cosmetics
Add transparent CSS class for RoomTile
2 parents 8f578f7 + 1b6cb2d commit 5ade4b2

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

‎src/skins/vector/css/matrix-react-sdk/views/rooms/_RoomTile.scss‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,3 +180,11 @@ limitations under the License.
180180
right: 0px;
181181
}
182182

183+
.mx_RoomTile.mx_RoomTile_transparent {
184+
background-color: transparent;
185+
}
186+
187+
.mx_RoomTile.mx_RoomTile_transparent:focus {
188+
background-color: $roomtile-transparent-focused-color;
189+
}
190+

‎src/skins/vector/css/themes/_base.scss‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ $roomtile-name-color: rgba(69, 69, 69, 0.8);
104104
$roomtile-selected-bg-color: rgba(255, 255, 255, 0.8);
105105
$roomtile-focused-bg-color: rgba(255, 255, 255, 0.9);
106106

107+
$roomtile-transparent-focused-color: rgba(0, 0, 0, 0.1);
108+
107109
$roomsublist-background: rgba(0, 0, 0, 0.05);
108110
$roomsublist-label-fg-color: $h3-color;
109111
$roomsublist-label-bg-color: $tertiary-accent-color;

0 commit comments

Comments
 (0)