X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fheader%2Fheader.component.scss;h=1e4ce2c56ebcb27efbe96258cff5f0d57ec11f01;hb=c8565966f6a898ce38e1ca256d815d1374e5f592;hp=1b67042fc23affdad0eacbded644a380ce3f2698;hpb=63c4db6d71b98523753c51747e308682d9a2e8a0;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/header/header.component.scss b/client/src/app/header/header.component.scss index 1b67042fc..1e4ce2c56 100644 --- a/client/src/app/header/header.component.scss +++ b/client/src/app/header/header.component.scss @@ -1,52 +1,18 @@ @import '_variables'; @import '_mixins'; -#search-video { - @include peertube-input-text($search-input-width); +my-search-typeahead { margin-right: 15px; - padding-right: 25px; // For the search icon - - &::placeholder { - color: #000; - } - - @media screen and (max-width: 600px) { - width: calc(100% - 150px); - } - - @media screen and (max-width: 400px) { - width: calc(100% - 70px); - } -} - -.icon.icon-search { - @include icon(25px); - height: 21px; - - background-image: url('../../assets/images/header/search.svg'); - - // yolo - position: absolute; - margin-left: -50px; - margin-top: 5px; } .upload-button { @include peertube-button-link; @include orange-button; + @include button-with-icon(22px, 3px, -1px); margin-right: 25px; - .icon.icon-upload { - @include icon(22px); - - background-image: url('../../assets/images/header/upload.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;