/*
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.
*/

// CSS voodoo to support a gemini-scrollbar for the contents of the dialog
.mx_Dialog_unknownDevice .mx_Dialog {
    // ideally we'd shrink the height to fit when needed, but in practice this
    // is a pain in the ass. plus might as well make the dialog big given how
    // important it is.
    height: 100%;

    // position the gemini scrollbar nicely
    padding-right: 58px;
}

.mx_UnknownDeviceDialog {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mx_UnknownDeviceDialog .mx_Dialog_content {
    margin-bottom: 24px;
}

.mx_UnknownDeviceDialog .mx_MemberDeviceInfo {
    float: right;
    clear: both;
    padding: 0px;
    padding-top: 8px;
}

.mx_UnknownDeviceDialog .mx_MemberDeviceInfo_textButton {
    border: 0px;
    height: 24px;
    border-radius: 40px;
    border: solid 1px $accent-color;
    font-weight: 600;
    font-size: 13px;
    font-family: 'Open Sans', Arial, Helvetica, Sans-Serif;
    margin-left: 0px;
    margin-right: 8px;
    padding-left: 0.5em;
    padding-right: 0.5em;
    width: 85px;
    outline: none;
    cursor: pointer;
    color: $accent-color;
    background-color: $primary-bg-color;
}

.mx_UnknownDeviceDialog .mx_UnknownDeviceDialog_deviceList li {
    height: 40px;
    border-bottom: 1px solid $primary-hairline-color;
}