2018-04-12 02:23:35 +03:00
|
|
|
/*
|
|
|
|
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 {
|
2019-01-29 23:14:16 +03:00
|
|
|
display: flex;
|
|
|
|
padding-bottom: 10px;
|
2019-12-23 06:56:19 +03:00
|
|
|
align-items: flex-start;
|
2018-04-12 02:23:35 +03:00
|
|
|
}
|
|
|
|
|
2019-02-01 19:32:46 +03:00
|
|
|
.mx_MemberDeviceInfo_icon {
|
|
|
|
margin-top: 4px;
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
|
|
|
mask-repeat: no-repeat;
|
2019-11-19 14:55:28 +03:00
|
|
|
mask-size: 100%;
|
2019-02-01 19:32:46 +03:00
|
|
|
}
|
|
|
|
.mx_MemberDeviceInfo_icon_blacklisted {
|
2019-02-26 23:31:28 +03:00
|
|
|
mask-image: url('$(res)/img/e2e/blacklisted.svg');
|
2019-02-01 19:32:46 +03:00
|
|
|
background-color: $warning-color;
|
|
|
|
}
|
|
|
|
.mx_MemberDeviceInfo_icon_verified {
|
2019-02-26 23:31:28 +03:00
|
|
|
mask-image: url('$(res)/img/e2e/verified.svg');
|
2019-02-01 19:32:46 +03:00
|
|
|
background-color: $accent-color;
|
|
|
|
}
|
|
|
|
.mx_MemberDeviceInfo_icon_unverified {
|
2019-02-26 23:31:28 +03:00
|
|
|
mask-image: url('$(res)/img/e2e/warning.svg');
|
2019-02-01 19:32:46 +03:00
|
|
|
background-color: $warning-color;
|
|
|
|
}
|
|
|
|
|
2019-01-29 23:14:16 +03:00
|
|
|
.mx_MemberDeviceInfo > .mx_DeviceVerifyButtons {
|
2018-04-12 02:23:35 +03:00
|
|
|
display: flex;
|
2019-01-29 23:14:16 +03:00
|
|
|
flex-direction: column;
|
|
|
|
flex: 0 1 auto;
|
|
|
|
align-items: stretch;
|
2018-04-12 02:23:35 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_MemberDeviceInfo_textButton {
|
|
|
|
@mixin mx_DialogButton_small;
|
|
|
|
margin: 2px;
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_MemberDeviceInfo_textButton:hover {
|
|
|
|
@mixin mx_DialogButton_hover;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_MemberDeviceInfo_deviceId {
|
2019-06-30 21:21:19 +03:00
|
|
|
word-break: break-word;
|
2020-03-31 17:26:23 +03:00
|
|
|
font-size: $font-13px;
|
2018-04-12 02:23:35 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_MemberDeviceInfo_deviceInfo {
|
2019-01-29 23:14:16 +03:00
|
|
|
margin: 0 5px 5px 8px;
|
2019-01-30 13:20:20 +03:00
|
|
|
flex: 1;
|
2018-04-12 02:23:35 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* "Unblacklist" is too long for a regular button: make it wider and
|
|
|
|
reduce the padding. */
|
|
|
|
.mx_EncryptedEventDialog .mx_MemberDeviceInfo_blacklist,
|
|
|
|
.mx_EncryptedEventDialog .mx_MemberDeviceInfo_unblacklist {
|
|
|
|
padding-left: 1em;
|
|
|
|
padding-right: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_MemberDeviceInfo div.mx_MemberDeviceInfo_verified,
|
|
|
|
.mx_MemberDeviceInfo div.mx_MemberDeviceInfo_unverified,
|
|
|
|
.mx_MemberDeviceInfo div.mx_MemberDeviceInfo_blacklisted {
|
|
|
|
float: right;
|
|
|
|
padding-left: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_MemberDeviceInfo div.mx_MemberDeviceInfo_verified {
|
|
|
|
color: $e2e-verified-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_MemberDeviceInfo div.mx_MemberDeviceInfo_unverified {
|
|
|
|
color: $e2e-unverified-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_MemberDeviceInfo div.mx_MemberDeviceInfo_blacklisted {
|
|
|
|
color: $e2e-warning-color;
|
|
|
|
}
|