Skip to content

Commit

Permalink
Merge pull request #2139 from vector-im/wmwragg/one-to-one-indicators
Browse files Browse the repository at this point in the history
Wmwragg/one to one indicators
  • Loading branch information
ara4n authored Sep 9, 2016
2 parents 7e379e9 + 965d9aa commit c4421f6
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ limitations under the License.

/* Make sure the scrollbar is above the sticky headers from RoomList */
.mx_RoomList_scrollbar .gm-scrollbar.-vertical {
z-index: 5;
z-index: 6;
}
17 changes: 14 additions & 3 deletions src/skins/vector/css/matrix-react-sdk/views/rooms/RoomTile.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ limitations under the License.
height: 24px;
}

.mx_RoomTile_avatar_container {
position: relative;
}

.mx_RoomTile_avatar {
display: inline-block;
padding-top: 5px;
Expand All @@ -47,6 +51,14 @@ limitations under the License.
vertical-align: middle;
}

.mx_RoomTile_dm {
display: block;
position: absolute;
bottom: 0;
right: -5px;
z-index: 2;
}

.mx_RoomTile_avatar_container:hover:before,
.mx_RoomTile_avatar_container.mx_RoomTile_avatar_roomTagMenu:before {
display: block;
Expand All @@ -55,7 +67,6 @@ limitations under the License.
border-radius: 40px;
background-image: url("img/icons_ellipsis.svg");
background-size: 25px;
left: 15px;
width: 24px;
height: 24px;
z-index: 4;
Expand All @@ -68,11 +79,11 @@ limitations under the License.
content: "";
border-radius: 40px;
background: #4A4A4A;
top: 5px;
bottom: 0;
width: 24px;
height: 24px;
opacity: 0.6;
z-index: 2;
z-index: 1;
}

.collapsed .mx_RoomTile_avatar_container:hover:before {
Expand Down
2 changes: 1 addition & 1 deletion src/skins/vector/css/vector-web/structures/LeftPanel.css
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ limitations under the License.
flex: 1 1 0;

overflow-y: auto;
z-index: 5;
z-index: 6;
}

.mx_LeftPanel.collapsed .mx_BottomLeftMenu {
Expand Down
2 changes: 1 addition & 1 deletion src/skins/vector/css/vector-web/structures/RoomSubList.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ limitations under the License.
.mx_RoomSubList_label.mx_RoomSubList_fixed {
position: fixed;
top: 0;
z-index: 4;
z-index: 5;
/* pointer-events: none; */
}

Expand Down
23 changes: 23 additions & 0 deletions src/skins/vector/img/icon_person.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c4421f6

Please sign in to comment.