3 @import '_bootstrap-variables';
4 @import '~bootstrap/scss/mixins/_breakpoints';
7 @include peertube-input-text($search-input-width);
9 @include padding-left(10px);
10 @include padding-right(40px); // For the search icon
15 color: pvar(--inputPlaceholderColor);
21 @include margin-left(-35px);
31 .jump-to-suggestions {
34 z-index: z('search-typeahead');
39 #typeahead-instructions,
41 border: 1px solid pvar(--mainBackgroundColor);
42 background: pvar(--mainBackgroundColor);
44 transition-property: box-shadow;
47 // soft border-radius for the last suggestion and the link inside
51 border-bottom-right-radius: 3px;
52 border-bottom-left-radius: 3px;
58 #typeahead-instructions {
70 @include margin-right(0.2rem);
78 #typeahead-container {
80 border: 1px solid pvar(--mainBackgroundColor) !important;
81 box-shadow: rgba(0, 0, 0, 0.1) 0 1px 20px 0;
83 transition: box-shadow .3s ease, width .2s ease;
86 @media screen and (min-width: $mobile-view) {
87 @include margin-left(10px);
90 @media screen and (max-width: $small-view) {
103 // we have to switch the display and not the opacity,
104 // to avoid clashing with the rest of the interface.
109 ::ng-deep &:focus-within {
111 @media screen and (min-width: $mobile-view) {
112 display: initial !important;
116 #typeahead-instructions,
118 box-shadow: rgba(0, 0, 0, 0.2) 0 10px 20px -5px;
123 box-shadow: rgba(0, 0, 0, 0.2) 0 1px 20px 0;
124 border-end-start-radius: 0;
125 border-end-end-radius: 0;
127 @include media-breakpoint-up(lg) {
138 .advanced-search-status {
148 @include in-content-small-title;
150 margin-bottom: .5rem;
153 ::ng-deep my-suggestion {