Skip to content

Commit 2a85b22

Browse files
committed
tweak MemberInfo CSS
1 parent cb2c2c1 commit 2a85b22

File tree

2 files changed

+25
-7
lines changed

2 files changed

+25
-7
lines changed

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

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,27 +26,44 @@ limitations under the License.
2626
text-align: center;
2727
padding-left: 1em;
2828
padding-right: 1em;
29+
width: 95px;
30+
border: 0px;
31+
font-size: 14px;
2932

3033
cursor: pointer;
3134
display: inline;
3235
}
3336

37+
.mx_MemberDeviceInfo_deviceId {
38+
font-size: 13px;
39+
}
40+
41+
.mx_MemberDeviceInfo_deviceInfo {
42+
margin-bottom: 10px;
43+
padding-bottom: 10px;
44+
border-bottom: 1px solid rgba(0,0,0,0.1);
45+
}
46+
47+
.mx_MemberDeviceInfo_block,
48+
.mx_MemberDeviceInfo_unblock {
49+
float: right;
50+
}
51+
3452
.mx_MemberDeviceInfo div.mx_MemberDeviceInfo_verified,
3553
.mx_MemberDeviceInfo div.mx_MemberDeviceInfo_unverified,
3654
.mx_MemberDeviceInfo div.mx_MemberDeviceInfo_blocked {
37-
width: 17px;
38-
border-radius: 17px;
39-
text-align: center;
55+
float: right;
56+
padding-left: 1em;
4057
}
4158

4259
.mx_MemberDeviceInfo div.mx_MemberDeviceInfo_verified {
43-
color: #76cfa6;
60+
color: #76cfa5;
4461
}
4562

4663
.mx_MemberDeviceInfo div.mx_MemberDeviceInfo_unverified {
47-
color: #b2b2b2;
64+
color: #e8bf37;
4865
}
4966

5067
.mx_MemberDeviceInfo div.mx_MemberDeviceInfo_blocked {
51-
color: #e55e5e;
68+
color: #ba6363;
5269
}

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ limitations under the License.
1616

1717
.mx_MemberInfo {
1818
margin-top: 20px;
19+
margin-right: 20px;
1920
height: 100%;
2021
overflow-y: auto;
2122
}
@@ -26,7 +27,7 @@ limitations under the License.
2627

2728
.mx_MemberInfo_cancel {
2829
float: right;
29-
margin-right: 18px;
30+
margin-right: 10px;
3031
cursor: pointer;
3132
}
3233

0 commit comments

Comments
 (0)