#search-video {
@include peertube-input-text($search-input-width);
+ padding-left: 10px;
margin-right: 15px;
- padding-right: 25px; // For the search icon
+ padding-right: 40px; // For the search icon
&::placeholder {
- color: #000;
+ color: var(--inputPlaceholderColor);
+ }
+
+ &:focus::placeholder {
+ opacity: 0 !important;
}
@media screen and (max-width: 800px) {
width: calc(100% - 150px);
}
- @media screen and (max-width: 400px) {
+ @media screen and (max-width: 600px) {
width: calc(100% - 70px);
}
}
@include icon(25px);
height: 21px;
- background-image: url('../../assets/images/header/search.svg');
+ background-color: var(--mainForegroundColor);
+ mask: url('../../assets/images/header/search.svg') no-repeat 50% 50%;
// yolo
position: absolute;
.icon.icon-upload {
@include icon(22px);
- background-image: url('../../assets/images/header/upload.svg');
+ background-image: url('../../assets/images/header/upload-white.svg');
height: 24px;
vertical-align: middle;
margin-right: 6px;
}
- @media screen and (max-width: 400px) {
+ @media screen and (max-width: 600px) {
margin-right: 10px;
padding: 0 10px;