Skip to content

Commit 7894e52

Browse files
committed
Merge pull request element-hq#1610 from vector-im/rav/device_verification
CSS support for device verification
2 parents 7999a70 + 5f29729 commit 7894e52

2 files changed

Lines changed: 45 additions & 0 deletions

File tree

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@ limitations under the License.
3636
margin-top: 8px ! important;
3737
}
3838

39+
.mx_EventTile_verified {
40+
background-color: #eaf5f0;
41+
}
42+
43+
.mx_EventTile_unverified {
44+
background-color: #ffa0a0;
45+
}
46+
3947
.mx_EventTile .mx_SenderProfile {
4048
color: #454545;
4149
opacity: 0.5;
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
/*
2+
Copyright 2016 OpenMarket 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_MemberDeviceInfo {
18+
font-size: 12px;
19+
margin-top: 5px;
20+
}
21+
22+
.mx_MemberDeviceInfo div {
23+
display: inline;
24+
margin-right: 5px;
25+
}
26+
27+
.mx_MemberDeviceInfo_textButton {
28+
color: #fff;
29+
background-color: #76cfa6;
30+
height: 20px;
31+
border-radius: 20px;
32+
text-align: center;
33+
padding-left: 1em;
34+
padding-right: 1em;
35+
36+
cursor: pointer;
37+
}

0 commit comments

Comments
 (0)