X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fheader%2Fheader.component.scss;h=91b39077367ba2b638ea0c2de687a21a824afdff;hb=be6343d26ec07fd792de069229bd3be27e72d129;hp=8251ec1b5b9278064131a7ccd93cd021269ba177;hpb=2d9fea161fd4fc73994fc77951bafdccdc2071fd;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/header/header.component.scss b/client/src/app/header/header.component.scss index 8251ec1b5..91b390773 100644 --- a/client/src/app/header/header.component.scss +++ b/client/src/app/header/header.component.scss @@ -1,60 +1,18 @@ @import '_variables'; @import '_mixins'; -#search-video { - @include peertube-input-text($search-input-width); - padding-left: 10px; +my-search-typeahead { margin-right: 15px; - padding-right: 40px; // For the search icon - - &::placeholder { - color: #000; - } - - &:focus::placeholder { - opacity: 0 !important; - } - - @media screen and (max-width: 800px) { - width: calc(100% - 150px); - } - - @media screen and (max-width: 600px) { - 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); + color: var(--mainBackgroundColor) !important; margin-right: 25px; - @media screen and (max-width: 800px) { - margin-right: 0; - } - - .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: 600px) { margin-right: 10px; padding: 0 10px;