Merge pull request #1688 from vector-im/rav/device_blocking
CSS for device blocking
This commit is contained in:
commit
773f592c3f
|
@ -16,18 +16,18 @@ limitations under the License.
|
||||||
|
|
||||||
.mx_MemberDeviceInfo {
|
.mx_MemberDeviceInfo {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
margin-top: 5px;
|
display: table-row;
|
||||||
|
height: 17px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_MemberDeviceInfo div {
|
.mx_MemberDeviceInfo div {
|
||||||
display: inline;
|
display: table-cell;
|
||||||
margin-right: 5px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_MemberDeviceInfo_textButton {
|
.mx_MemberDeviceInfo_textButton {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
height: 20px;
|
background-color: #76cfa6;
|
||||||
border-radius: 20px;
|
border-radius: 17px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding-left: 1em;
|
padding-left: 1em;
|
||||||
padding-right: 1em;
|
padding-right: 1em;
|
||||||
|
@ -35,10 +35,23 @@ limitations under the License.
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_MemberDeviceInfo_verify {
|
.mx_MemberDeviceInfo div.mx_MemberDeviceInfo_verified,
|
||||||
|
.mx_MemberDeviceInfo div.mx_MemberDeviceInfo_unverified,
|
||||||
|
.mx_MemberDeviceInfo div.mx_MemberDeviceInfo_blocked {
|
||||||
|
color: #fff;
|
||||||
|
width: 17px;
|
||||||
|
border-radius: 17px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mx_MemberDeviceInfo div.mx_MemberDeviceInfo_verified {
|
||||||
background-color: #76cfa6;
|
background-color: #76cfa6;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_MemberDeviceInfo_unverify {
|
.mx_MemberDeviceInfo div.mx_MemberDeviceInfo_unverified {
|
||||||
|
background-color: #eca46f;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mx_MemberDeviceInfo div.mx_MemberDeviceInfo_blocked {
|
||||||
background-color: #e55e5e;
|
background-color: #e55e5e;
|
||||||
}
|
}
|
||||||
|
|
|
@ -72,3 +72,8 @@ limitations under the License.
|
||||||
margin-left: 8px;
|
margin-left: 8px;
|
||||||
line-height: 23px;
|
line-height: 23px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.mx_MemberInfo_devices {
|
||||||
|
display: table;
|
||||||
|
border-spacing: 5px;
|
||||||
|
}
|
Loading…
Reference in New Issue