soft border-radius for search typeahead suggestions

pull/2884/head
Rigel Kent 2020-06-18 12:10:20 +02:00
parent 26d6bf6533
commit 6567e5a796
No known key found for this signature in database
GPG Key ID: 5E53E96A494E452F
1 changed files with 8 additions and 2 deletions

View File

@ -38,11 +38,17 @@
#typeahead-instructions,
li.suggestion {
border: 1px solid pvar(--mainBackgroundColor);
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
background: pvar(--mainBackgroundColor);
transition: .3s ease;
transition-property: box-shadow;
// soft border-radius for the last suggestion and the link inside
&:last-of-type {
&, & ::ng-deep a {
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
}
}
}
#typeahead-help,