]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/header/header.component.scss
Search typeahead initial design
[github/Chocobozzz/PeerTube.git] / client / src / app / header / header.component.scss
index cdc457b963ebdd06d47c913a25d89b95b46b5f5f..b602cf0a884c4e02d4fcdc526153b4dffb8adb22 100644 (file)
@@ -1,20 +1,20 @@
 @import '_variables';
 @import '_mixins';
 
+my-search-typeahead {
+  margin-right: 15px;
+}
+
 #search-video {
   @include peertube-input-text($search-input-width);
   padding-left: 10px;
-  margin-right: 15px;
   padding-right: 40px; // For the search icon
+  font-size: 14px;
 
   &::placeholder {
     color: var(--inputPlaceholderColor);
   }
 
-  &:focus::placeholder {
-    opacity: 0 !important;
-  }
-
   @media screen and (max-width: 800px) {
     width: calc(100% - 150px);
   }
@@ -33,7 +33,7 @@
 
   // yolo
   position: absolute;
-  margin-left: -50px;
+  margin-left: -35px;
   margin-top: 5px;
 }
 
@@ -42,6 +42,7 @@
   @include orange-button;
   @include button-with-icon(22px, 3px, -1px);
 
+  color: var(--mainBackgroundColor) !important;
   margin-right: 25px;
 
   @media screen and (max-width: 800px) {