#search-video {
@include peertube-input-text($search-input-width);
+
padding-left: 10px;
padding-right: 40px; // For the search icon
font-size: 14px;
}
}
-.icon.icon-search {
+.icon-search {
@include icon(25px);
height: 18px;
// soft border-radius for the last suggestion and the link inside
&:last-of-type {
- &, & ::ng-deep a {
+ &,
+ ::ng-deep a {
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
}
#typeahead-container {
input {
border: 1px solid pvar(--mainBackgroundColor) !important;
- box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 20px 0px;
+ box-shadow: rgba(0, 0, 0, 0.1) 0 1px 20px 0;
flex-grow: 1;
transition: box-shadow .3s ease, width .2s ease;
}
flex: 1;
input {
- width: unset;
+ width: 70px;
}
}
right: 10px;
}
- & > div:last-child {
+ > div:last-child {
// we have to switch the display and not the opacity,
// to avoid clashing with the rest of the interface.
display: none;
&:focus,
::ng-deep &:focus-within {
- & > div:last-child {
+ > div:last-child {
@media screen and (min-width: $mobile-view) {
display: initial !important;
}
#typeahead-help,
#typeahead-instructions,
li.suggestion {
- box-shadow: rgba(0, 0, 0, 0.2) 0px 10px 20px -5px;
+ box-shadow: rgba(0, 0, 0, 0.2) 0 10px 20px -5px;
}
}
::ng-deep input {
- box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 20px 0px;
+ box-shadow: rgba(0, 0, 0, 0.2) 0 1px 20px 0;
border-end-start-radius: 0;
border-end-end-radius: 0;