Skip to content

Commit 5a1b0a1

Browse files
committed
Merge pull request element-hq#657 from vector-im/matthew/memberlist
Fix up MemberList and MemberInfo cosmetics a bit
2 parents 77621fe + 8792be4 commit 5a1b0a1

4 files changed

Lines changed: 55 additions & 17 deletions

File tree

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

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,19 @@ limitations under the License.
3636
border-radius: 48px;
3737
}
3838

39+
.mx_MemberInfo_profile {
40+
margin-bottom: 16px;
41+
}
42+
43+
.mx_MemberInfo h3 {
44+
text-transform: uppercase;
45+
color: #3d3b39;
46+
font-weight: 600;
47+
font-size: 13px;
48+
margin-top: 16px;
49+
margin-bottom: 14px;
50+
}
51+
3952
.mx_MemberInfo_profileField {
4053
font-color: #999999;
4154
font-size: 13px;
@@ -44,21 +57,13 @@ limitations under the License.
4457
}
4558

4659
.mx_MemberInfo_buttons {
47-
margin-top: 18px;
60+
margin-bottom: 16px;
4861
}
4962

5063
.mx_MemberInfo_field {
5164
cursor: pointer;
52-
width: 100px;
53-
text-align: center;
54-
font-size: 11px;
55-
background-color: #888;
56-
color: #fff;
57-
font-weight: bold;
58-
border-radius: 20px;
59-
padding-left: 6px;
60-
padding-right: 6px;
61-
padding-top: 4px;
62-
padding-bottom: 2px;
63-
margin-bottom: 4px;
65+
font-size: 13px;
66+
color: #76cfa6;
67+
margin-left: 8px;
68+
line-height: 23px;
6469
}

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ limitations under the License.
3535

3636
.mx_MemberTile_power {
3737
position: absolute;
38-
width: 44px;
39-
height: 44px;
40-
left: 10px;
41-
top: -1px;
38+
width: 16px;
39+
height: 17px;
40+
top: 0px;
41+
right: 6px;
4242
}
4343

4444
.mx_MemberTile_name {

‎src/skins/vector/img/admin.svg‎

Lines changed: 17 additions & 0 deletions
Loading

‎src/skins/vector/img/mod.svg‎

Lines changed: 16 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)