Styling for autocomplete

This commit is contained in:
Aviral Dasgupta 2016-06-20 13:53:18 +05:30
parent ec7067e7bd
commit 034c045b37
1 changed files with 22 additions and 1 deletions

View File

@ -7,6 +7,8 @@
background: rgba(255, 255, 255, 0.9);
border-bottom: none;
border-radius: 4px 4px 0 0;
max-height: 50vh;
overflow: auto
}
.mx_Autocomplete_ProviderSection {
@ -15,12 +17,31 @@
}
.mx_Autocomplete_ProviderSection * {
padding: 4px;
padding: 2px;
border-radius: 4px;
}
.mx_Autocomplete_Completion {
user-select: none;
cursor: pointer;
transition: 0.3s all ease;
display: flex;
align-items: center;
}
.mx_Autocomplete_Completion:focus {
background: #76cfa6;
color: white;
outline: none;
}
.mx_Autocomplete_Completion:focus * {
color: white !important;
}
.mx_Autocomplete_provider_name {
color: #76cfa6;
font-weight: 600;
}
.autocomplete-enter {