From dc840fdf482e38fe34ff7f8788a142a5384e017b Mon Sep 17 00:00:00 2001 From: Aviral Dasgupta Date: Tue, 21 Jun 2016 19:02:18 +0530 Subject: [PATCH] updated selection styling --- .../css/matrix-react-sdk/views/rooms/Autocomplete.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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 index d6fcd083..40a08ee2 100644 --- a/src/skins/vector/css/matrix-react-sdk/views/rooms/Autocomplete.css +++ b/src/skins/vector/css/matrix-react-sdk/views/rooms/Autocomplete.css @@ -29,13 +29,17 @@ align-items: center; } -.mx_Autocomplete_Completion:focus { +.mx_Autocomplete_Completion.selected * { + transition: 0.3s all ease; +} + +.mx_Autocomplete_Completion.selected { background: #76cfa6; color: white; outline: none; } -.mx_Autocomplete_Completion:focus * { +.mx_Autocomplete_Completion.selected * { color: white !important; }