/*
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 {
    padding: 10px 0px;
}

.mx_MemberDeviceInfo.mx_DeviceVerifyButtons {
    padding: 6px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.mx_MemberDeviceInfo_textButton {
    color: $accent-fg-color;
    background-color: $accent-color;
    border-radius: 17px;
    text-align: center;
    padding-left: 1em;
    padding-right: 1em;
    border: 0px;
    font-size: 14px;
    cursor: pointer;
    margin: 2px;
    flex: 1;
}

.mx_MemberDeviceInfo_deviceId {
    font-size: 13px;
}

.mx_MemberDeviceInfo_deviceInfo {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

/* "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 {
    width: 8em;
    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;
}
