A bunch of updates to the device info: * format as a table * make the buttons green, because the old way was super confusing * instead make the status indicator red/orange/green.
58 lines
1.4 KiB
CSS
58 lines
1.4 KiB
CSS
/*
|
|
Copyright 2016 OpenMarket Ltd
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/
|
|
|
|
.mx_MemberDeviceInfo {
|
|
font-size: 12px;
|
|
display: table-row;
|
|
height: 17px;
|
|
}
|
|
|
|
.mx_MemberDeviceInfo div {
|
|
display: table-cell;
|
|
}
|
|
|
|
.mx_MemberDeviceInfo_textButton {
|
|
color: #fff;
|
|
background-color: #76cfa6;
|
|
border-radius: 17px;
|
|
text-align: center;
|
|
padding-left: 1em;
|
|
padding-right: 1em;
|
|
|
|
cursor: pointer;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.mx_MemberDeviceInfo div.mx_MemberDeviceInfo_unverified {
|
|
background-color: #eca46f;
|
|
}
|
|
|
|
.mx_MemberDeviceInfo div.mx_MemberDeviceInfo_blocked {
|
|
background-color: #e55e5e;
|
|
}
|