diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/Autocomplete.css b/src/skins/vector/css/matrix-react-sdk/views/rooms/Autocomplete.css new file mode 100644 index 0000000000..1fa88f2041 --- /dev/null +++ b/src/skins/vector/css/matrix-react-sdk/views/rooms/Autocomplete.css @@ -0,0 +1,42 @@ +.mx_Autocomplete { + position: absolute; + bottom: 0; + z-index: 1000; + width: 100%; + border: 1px solid #e5e5e5; + background: rgba(255, 255, 255, 0.9); + border-bottom: none; + border-radius: 4px 4px 0 0; +} + +.mx_Autocomplete_ProviderSection { + padding: 12px; + border-bottom: 1px solid #e5e5e5; +} + +.mx_Autocomplete_ProviderSection * { + padding: 4px; + border-radius: 4px; +} + +.mx_Autocomplete_provider_name { + color: #76cfa6; +} + +.autocomplete-enter { + opacity: 0.01; +} + +.autocomplete-enter.autocomplete-enter-active { + opacity: 1; + transition: opacity 300ms ease-in; +} + +.autocomplete-leave { + opacity: 1; +} + +.autocomplete-leave.autocomplete-leave-active { + opacity: 0.01; + transition: opacity 300ms ease-in; +} diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/MessageComposer.css b/src/skins/vector/css/matrix-react-sdk/views/rooms/MessageComposer.css index 8cced52c77..9242af89a9 100644 --- a/src/skins/vector/css/matrix-react-sdk/views/rooms/MessageComposer.css +++ b/src/skins/vector/css/matrix-react-sdk/views/rooms/MessageComposer.css @@ -21,6 +21,11 @@ limitations under the License. border-top: 1px solid #e5e5e5; } +.mx_MessageComposer_autocomplete_wrapper { + position: relative; + height: 0; +} + .mx_MessageComposer_row { display: flex; flex-direction: row;