.icon.icon-search {
@include icon(25px);
- height: 21px;
-
- background-color: pvar(--mainForegroundColor);
- mask: url('../../assets/images/header/search.svg') no-repeat 50% 50%;
+ height: 18px;
// yolo
position: absolute;
margin-left: -35px;
- margin-top: 5px;
+ margin-top: 3.5px;
+ right: 10px;
}
.jump-to-suggestions {
#typeahead-help,
#typeahead-instructions,
-my-suggestions ::ng-deep ul {
+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;
+ cursor: pointer;
+
+ // 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,
}
& > div:last-child {
- // we have to switch the display and not the opacity,
+ // we have to switch the display and not the opacity,
// to avoid clashing with the rest of the interface.
display: none;
}
@media screen and (min-width: $mobile-view) {
display: initial !important;
}
-
+
#typeahead-help,
#typeahead-instructions,
- my-suggestions ::ng-deep ul {
+ li.suggestion {
box-shadow: rgba(0, 0, 0, 0.2) 0px 10px 20px -5px;
}
}