mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 01:35:49 +03:00
Refactored the queryList into seperate AddressSelector component
This commit is contained in:
parent
e6c4273404
commit
2bf177dbcc
2 changed files with 45 additions and 26 deletions
|
@ -45,32 +45,6 @@ limitations under the License.
|
||||||
overflow: hidden;
|
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 {
|
.mx_ChatInviteDialog_cancel {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 11px;
|
right: 11px;
|
||||||
|
|
|
@ -0,0 +1,45 @@
|
||||||
|
/*
|
||||||
|
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_AddressSelector {
|
||||||
|
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_AddressSelector.mx_AddressSelector_empty {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mx_AddressSelector_addressListElement .mx_AddressTile {
|
||||||
|
background-color: #fff;
|
||||||
|
border: solid 1px #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mx_AddressSelector_addressListElement.mx_AddressSelector_selected {
|
||||||
|
background-color: #eaf5f0; /* selected colour */
|
||||||
|
}
|
||||||
|
|
||||||
|
.mx_AddressSelector_addressListElement.mx_AddressSelector_selected .mx_AddressTile {
|
||||||
|
background-color: #eaf5f0; /* selected colour */
|
||||||
|
border: solid 1px #eaf5f0; /* selected colour */
|
||||||
|
}
|
Loading…
Reference in a new issue