1 @use '_variables' as *;
5 @include peertube-input-text($search-input-width, 14px);
7 @include padding-left(10px);
8 @include padding-right(40px); // For the search icon
11 color: pvar(--inputPlaceholderColor);
17 @include margin-left(-35px);
27 .jump-to-suggestions {
30 z-index: z('search-typeahead');
35 #typeahead-instructions,
37 border: 1px solid pvar(--mainBackgroundColor);
38 background: pvar(--mainBackgroundColor);
40 transition-property: box-shadow;
43 // soft border-radius for the last suggestion and the link inside
47 border-bottom-right-radius: 3px;
48 border-bottom-left-radius: 3px;
54 #typeahead-instructions {
66 @include margin-right(0.2rem);
74 #typeahead-container {
79 border: 1px solid pvar(--mainBackgroundColor) !important;
80 box-shadow: rgba(0, 0, 0, 0.1) 0 1px 20px 0;
82 transition: box-shadow .3s ease, width .2s ease;
85 @media screen and (max-width: $small-view) {
91 @media screen and (max-width: $mobile-view) {
102 // we have to switch the display and not the opacity,
103 // to avoid clashing with the rest of the interface.
108 ::ng-deep &:focus-within {
110 @media screen and (min-width: $mobile-view) {
111 display: initial !important;
115 #typeahead-instructions,
117 box-shadow: rgba(0, 0, 0, 0.2) 0 10px 20px -5px;
122 box-shadow: rgba(0, 0, 0, 0.2) 0 1px 20px 0;
123 border-end-start-radius: 0;
124 border-end-end-radius: 0;
126 @media screen and (min-width: 1000px) {
133 .advanced-search-status {
143 @include in-content-small-title;
145 margin-bottom: .5rem;
148 ::ng-deep my-suggestion {