2 @use '_variables' as *;
5 @include peertube-input-text($search-input-width);
7 @include padding-left(10px);
8 @include padding-right(40px); // For the search icon
13 color: pvar(--inputPlaceholderColor);
19 @include margin-left(-35px);
29 .jump-to-suggestions {
32 z-index: z('search-typeahead');
37 #typeahead-instructions,
39 border: 1px solid pvar(--mainBackgroundColor);
40 background: pvar(--mainBackgroundColor);
42 transition-property: box-shadow;
45 // soft border-radius for the last suggestion and the link inside
49 border-bottom-right-radius: 3px;
50 border-bottom-left-radius: 3px;
56 #typeahead-instructions {
68 @include margin-right(0.2rem);
76 #typeahead-container {
81 border: 1px solid pvar(--mainBackgroundColor) !important;
82 box-shadow: rgba(0, 0, 0, 0.1) 0 1px 20px 0;
84 transition: box-shadow .3s ease, width .2s ease;
87 @media screen and (max-width: $small-view) {
93 @media screen and (max-width: $mobile-view) {
104 // we have to switch the display and not the opacity,
105 // to avoid clashing with the rest of the interface.
110 ::ng-deep &:focus-within {
112 @media screen and (min-width: $mobile-view) {
113 display: initial !important;
117 #typeahead-instructions,
119 box-shadow: rgba(0, 0, 0, 0.2) 0 10px 20px -5px;
124 box-shadow: rgba(0, 0, 0, 0.2) 0 1px 20px 0;
125 border-end-start-radius: 0;
126 border-end-end-radius: 0;
128 @media screen and (min-width: 1000px) {
135 .advanced-search-status {
145 @include in-content-small-title;
147 margin-bottom: .5rem;
150 ::ng-deep my-suggestion {