/*
Copyright 2015, 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_NetworkDropdown {
    position: relative;
}

.mx_NetworkDropdown_input {
    position: relative;
    border-radius: 3px;
    border: 1px solid $strong-input-border-color;
    font-weight: 300;
    font-size: 13px;
    user-select: none;
}

.mx_NetworkDropdown_arrow {
    border-color: $primary-fg-color transparent transparent;
    border-style: solid;
    border-width: 5px 5px 0;
    display: block;
    height: 0;
    position: absolute;
    right: 10px;
    top: 16px;
    width: 0;
}

.mx_NetworkDropdown_networkoption {
    height: 37px;
    line-height: 37px;
    padding-left: 8px;
    padding-right: 8px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.mx_NetworkDropdown_networkoption img {
    margin: 5px;
    width: 25px;
    vertical-align: middle;
}

input.mx_NetworkDropdown_networkoption, input.mx_NetworkDropdown_networkoption:focus {
    border: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.mx_NetworkDropdown_menu {
    position: absolute;
    left: -1px;
    right: -1px;
    top: 100%;
    z-index: 2;
    margin: 0;
    padding: 0px;
    border-radius: 3px;
    border: 1px solid $accent-color;
    background-color: $primary-bg-color;
}

.mx_NetworkDropdown_menu .mx_NetworkDropdown_networkoption:hover {
    background-color: $focus-bg-color;
}

.mx_NetworkDropdown_menu_network {
    font-weight: bold;
}

