X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fheader%2Fheader.component.scss;h=91b39077367ba2b638ea0c2de687a21a824afdff;hb=be6343d26ec07fd792de069229bd3be27e72d129;hp=d1c59e8d1e290649ed732a431f6990c2fc79119b;hpb=0727cab0dfd3d53e5e9c88bfbda6bc0e090d4f12;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/header/header.component.scss b/client/src/app/header/header.component.scss index d1c59e8d1..91b390773 100644 --- a/client/src/app/header/header.component.scss +++ b/client/src/app/header/header.component.scss @@ -1,38 +1,28 @@ -#search-video { - @include peertube-input-text($search-input-width); - margin-right: 15px; - padding-right: 25px; // For the search icon - - &::placeholder { - color: #000; - } -} - -.icon.icon-search { - @include icon(25px); - height: 21px; +@import '_variables'; +@import '_mixins'; - background-image: url('../../assets/images/header/search.svg'); - - // yolo - position: absolute; - margin-left: -50px; - margin-top: 5px; +my-search-typeahead { + margin-right: 15px; } .upload-button { @include peertube-button-link; @include orange-button; + @include button-with-icon(22px, 3px, -1px); + color: var(--mainBackgroundColor) !important; margin-right: 25px; - .icon.icon-upload { - display: inline-block; - background: url('../../assets/images/header/upload.svg') no-repeat; - background-size: contain; - width: 22px; - height: 24px; - vertical-align: middle; - margin-right: 6px; + @media screen and (max-width: 600px) { + margin-right: 10px; + padding: 0 10px; + + .icon.icon-upload { + margin-right: 0; + } + + .upload-button-label { + display: none; + } } }