3 @import '_bootstrap-variables';
4 @import '~bootstrap/scss/mixins/_breakpoints';
7 @include peertube-input-text($search-input-width);
10 padding-right: 40px; // For the search icon
14 color: pvar(--inputPlaceholderColor);
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
48 border-bottom-right-radius: 3px;
49 border-bottom-left-radius: 3px;
55 #typeahead-instructions {
74 #typeahead-container {
76 border: 1px solid pvar(--mainBackgroundColor) !important;
77 box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 20px 0px;
79 transition: box-shadow .3s ease, width .2s ease;
82 @media screen and (min-width: $mobile-view) {
86 @media screen and (max-width: $small-view) {
99 // we have to switch the display and not the opacity,
100 // to avoid clashing with the rest of the interface.
105 ::ng-deep &:focus-within {
107 @media screen and (min-width: $mobile-view) {
108 display: initial !important;
112 #typeahead-instructions,
114 box-shadow: rgba(0, 0, 0, 0.2) 0px 10px 20px -5px;
119 box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 20px 0px;
120 border-end-start-radius: 0;
121 border-end-end-radius: 0;
123 @include media-breakpoint-up(lg) {
134 .advanced-search-status {
144 @include in-content-small-title;
146 margin-bottom: .5rem;
149 ::ng-deep my-suggestion {