-@import '_mixins';
-@import '_variables';
-@import '_bootstrap-variables';
-@import '~bootstrap/scss/mixins/_breakpoints';
+@use '_mixins' as *;
+@use '_variables' as *;
#search-video {
@include peertube-input-text($search-input-width);
- padding-left: 10px;
- padding-right: 40px; // For the search icon
+ @include padding-left(10px);
+ @include padding-right(40px); // For the search icon
+
font-size: 14px;
&::placeholder {
.icon-search {
@include icon(25px);
+ @include margin-left(-35px);
+
height: 18px;
// yolo
position: absolute;
- margin-left: -35px;
margin-top: 3.5px;
right: 10px;
}
margin-bottom: .5rem;
em {
+ @include margin-right(0.2rem);
+
font-weight: 600;
- margin-right: 0.2rem;
font-style: normal;
}
}
}
#typeahead-container {
+ font-size: 14px;
+ margin: 0 10px;
+
input {
border: 1px solid pvar(--mainBackgroundColor) !important;
box-shadow: rgba(0, 0, 0, 0.1) 0 1px 20px 0;
transition: box-shadow .3s ease, width .2s ease;
}
- @media screen and (min-width: $mobile-view) {
- margin-left: 10px;
- }
-
@media screen and (max-width: $small-view) {
- flex: 1;
+ input {
+ width: 200px;
+ }
+ }
+ @media screen and (max-width: $mobile-view) {
input {
- width: 70px;
+ width: 150px;
}
}
border-end-start-radius: 0;
border-end-end-radius: 0;
- @include media-breakpoint-up(lg) {
+ @media screen and (min-width: 1000px) {
width: 500px;
}
}
}
}
-.glyphicon {
- top: 3px;
-}
-
.advanced-search-status {
height: max-content;
cursor: default;