X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fheader%2Fsearch-typeahead.component.scss;h=f8d68e9867565b74699bee768588df6d46de5641;hb=e62f03ae0412f4efa62917d8741bc1a39e8ed7fc;hp=4b56fd93a75145a90abade6e6a3b904ee9bc1093;hpb=5fb2e2888ce032c638e4b75d07458642f0833e52;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/header/search-typeahead.component.scss b/client/src/app/header/search-typeahead.component.scss index 4b56fd93a..f8d68e986 100644 --- a/client/src/app/header/search-typeahead.component.scss +++ b/client/src/app/header/search-typeahead.component.scss @@ -16,21 +16,19 @@ .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 { top: 100%; left: 0; - z-index: z(typeahead); + z-index: z('search-typeahead'); width: 100%; } @@ -38,11 +36,18 @@ #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; + 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,