mirror of https://github.com/vector-im/riot-web
84 lines
2.1 KiB
CSS
84 lines
2.1 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.
|
|
*/
|
|
|
|
/* Using a textarea for this element, to circumvent autofill */
|
|
.mx_ChatInviteDialog_input,
|
|
.mx_ChatInviteDialog_input:focus
|
|
{
|
|
height: 26px;
|
|
font-size: 14px;
|
|
font-family: 'Open Sans', Arial, Helvetica, Sans-Serif;
|
|
padding-left: 12px;
|
|
padding-right: 12px;
|
|
margin: 0 !important;
|
|
border: 0 !important;
|
|
outline: 0 !important;
|
|
width: 1000%; /* Pretend that this is an "input type=text" */
|
|
resize: none;
|
|
overflow: hidden;
|
|
vertical-align: middle;
|
|
box-sizing: border-box;
|
|
word-wrap: nowrap;
|
|
}
|
|
|
|
.mx_ChatInviteDialog_inputContainer {
|
|
border-radius: 3px;
|
|
border: solid 1px #f0f0f0;
|
|
line-height: 36px;
|
|
padding-left: 4px;
|
|
padding-right: 4px;
|
|
padding-top: 1px;
|
|
padding-bottom: 1px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.mx_ChatInviteDialog_queryList {
|
|
position: absolute;
|
|
background-color: #fff;
|
|
width: 485px;
|
|
max-height: 116px;
|
|
overflow-y: scroll;
|
|
border-radius: 3px;
|
|
background-color: #fff;
|
|
border: solid 1px #76cfa6;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.mx_ChatInviteDialog_queryListElement .mx_AddressTile {
|
|
background-color: #fff;
|
|
border: solid 1px #fff;
|
|
}
|
|
|
|
.mx_ChatInviteDialog_queryListElement.mx_ChatInviteDialog_selected {
|
|
background-color: #eaf5f0; /* selected colour */
|
|
}
|
|
|
|
.mx_ChatInviteDialog_queryListElement.mx_ChatInviteDialog_selected .mx_AddressTile {
|
|
background-color: #eaf5f0; /* selected colour */
|
|
border: solid 1px #eaf5f0; /* selected colour */
|
|
}
|
|
|
|
.mx_ChatInviteDialog_cancel {
|
|
position: absolute;
|
|
right: 11px;
|
|
top: 13px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.mx_ChatInviteDialog_cancel object {
|
|
pointer-events: none;
|
|
}
|