File tree Expand file tree Collapse file tree
matrix-react-sdk/views/elements Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929@import " ./matrix-react-sdk/views/elements/_AddressTile.scss" ;
3030@import " ./matrix-react-sdk/views/elements/_DirectorySearchBox.scss" ;
3131@import " ./matrix-react-sdk/views/elements/_Dropdown.scss" ;
32+ @import " ./matrix-react-sdk/views/elements/_EditableItemList.scss" ;
3233@import " ./matrix-react-sdk/views/elements/_MemberEventListSummary.scss" ;
3334@import " ./matrix-react-sdk/views/elements/_ProgressBar.scss" ;
3435@import " ./matrix-react-sdk/views/elements/_RichText.scss" ;
Original file line number Diff line number Diff line change 1+ /*
2+ Copyright 2017 New Vector Ltd.
3+
4+ Licensed under the Apache License, Version 2.0 (the "License");
5+ you may not use this file except in compliance with the License.
6+ You may obtain a copy of the License at
7+
8+ http://www.apache.org/licenses/LICENSE-2.0
9+
10+ Unless required by applicable law or agreed to in writing, software
11+ distributed under the License is distributed on an "AS IS" BASIS,
12+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ See the License for the specific language governing permissions and
14+ limitations under the License.
15+ */
16+
17+ .mx_EditableItemList {
18+ margin-top : 12px ;
19+ margin-bottom : 0px ;
20+ }
21+
22+ .mx_EditableItem {
23+ display : flex ;
24+ margin-left : 56px ;
25+ }
26+
27+ .mx_EditableItem .mx_EditableItem_editable {
28+ border : 0px ;
29+ border-bottom : 1px solid $strong-input-border-color ;
30+ padding : 0px ;
31+ min-width : 240px ;
32+ max-width : 400px ;
33+ margin-bottom : 16px ;
34+ }
35+
36+ .mx_EditableItem .mx_EditableItem_editable :focus {
37+ border-bottom : 1px solid $accent-color ;
38+ outline : none ;
39+ box-shadow : none ;
40+ }
41+
42+ .mx_EditableItem .mx_EditableItem_editablePlaceholder {
43+ color : $settings-grey-fg-color ;
44+ }
45+
46+ .mx_EditableItem .mx_EditableItem_addButton ,
47+ .mx_EditableItem .mx_EditableItem_removeButton {
48+ padding-left : 0.5em ;
49+ position : relative ;
50+ cursor : pointer ;
51+
52+ visibility : hidden ;
53+ }
54+
55+ .mx_EditableItem :hover .mx_EditableItem_addButton ,
56+ .mx_EditableItem :hover .mx_EditableItem_removeButton {
57+ visibility : visible ;
58+ }
59+
60+ .mx_EditableItemList_label {
61+ margin-bottom : 8px ;
62+ }
You can’t perform that action at this time.
0 commit comments