2018-04-12 01:23:35 +02:00
|
|
|
/*
|
2019-02-08 17:11:30 +01:00
|
|
|
Copyright 2017, 2019 New Vector Ltd.
|
2018-04-12 01:23:35 +02:00
|
|
|
|
|
|
|
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_EditableItemList {
|
|
|
|
margin-top: 12px;
|
2019-02-08 17:11:30 +01:00
|
|
|
margin-bottom: 10px;
|
2018-04-12 01:23:35 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_EditableItem {
|
2020-03-16 17:29:35 +01:00
|
|
|
display: flex;
|
2019-02-08 17:11:30 +01:00
|
|
|
margin-bottom: 5px;
|
2018-04-12 01:23:35 +02:00
|
|
|
}
|
|
|
|
|
2019-02-08 17:11:30 +01:00
|
|
|
.mx_EditableItem_delete {
|
2022-05-07 21:08:00 +02:00
|
|
|
@mixin customisedCancelButton;
|
2020-03-16 17:29:35 +01:00
|
|
|
order: 3;
|
2019-02-08 17:11:30 +01:00
|
|
|
margin-right: 5px;
|
|
|
|
vertical-align: middle;
|
2020-03-16 17:29:35 +01:00
|
|
|
width: 14px;
|
|
|
|
height: 14px;
|
2021-11-11 14:37:29 +01:00
|
|
|
background-color: $alert;
|
2020-03-16 17:29:35 +01:00
|
|
|
mask-size: 100%;
|
2018-04-12 01:23:35 +02:00
|
|
|
}
|
|
|
|
|
2019-02-08 17:11:30 +01:00
|
|
|
.mx_EditableItem_email {
|
|
|
|
vertical-align: middle;
|
2018-04-12 01:23:35 +02:00
|
|
|
}
|
|
|
|
|
2019-02-08 17:11:30 +01:00
|
|
|
.mx_EditableItem_promptText {
|
|
|
|
margin-right: 10px;
|
2020-03-16 17:29:35 +01:00
|
|
|
order: 2;
|
2018-04-12 01:23:35 +02:00
|
|
|
}
|
|
|
|
|
2019-02-08 17:11:30 +01:00
|
|
|
.mx_EditableItem_confirmBtn {
|
|
|
|
margin-right: 5px;
|
2018-04-12 01:23:35 +02:00
|
|
|
}
|
|
|
|
|
2020-03-16 17:29:35 +01:00
|
|
|
.mx_EditableItem_item {
|
|
|
|
flex: auto 1 0;
|
|
|
|
order: 1;
|
2022-07-27 15:39:29 +02:00
|
|
|
width: calc(100% - 14px); /* leave space for the remove button */
|
2020-04-26 13:52:17 +02:00
|
|
|
overflow-x: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2020-03-16 17:29:35 +01:00
|
|
|
}
|
|
|
|
|
2018-04-12 01:23:35 +02:00
|
|
|
.mx_EditableItemList_label {
|
2019-02-08 17:11:30 +01:00
|
|
|
margin-bottom: 5px;
|
2019-06-14 00:48:47 +02:00
|
|
|
}
|