X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fheader%2Fheader.component.scss;h=45cef7b9aa36cfc51e0cd866ada7107bafda71c3;hb=e2e0b645cdac3c705b1988fbb0eff723ad5e885d;hp=b602cf0a884c4e02d4fcdc526153b4dffb8adb22;hpb=f409f0c3b91d85c66b4841d72ea65b5fbe1483d8;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/header/header.component.scss b/client/src/app/header/header.component.scss index b602cf0a8..45cef7b9a 100644 --- a/client/src/app/header/header.component.scss +++ b/client/src/app/header/header.component.scss @@ -2,62 +2,25 @@ @import '_mixins'; my-search-typeahead { - margin-right: 15px; + @include margin-right(15px); } -#search-video { - @include peertube-input-text($search-input-width); - padding-left: 10px; - padding-right: 40px; // For the search icon - font-size: 14px; - - &::placeholder { - color: var(--inputPlaceholderColor); - } - - @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-color: var(--mainForegroundColor); - mask: url('../../assets/images/header/search.svg') no-repeat 50% 50%; - - // yolo - position: absolute; - margin-left: -35px; - margin-top: 5px; -} - -.upload-button { +.publish-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; - } + @include margin-right(25px); @media screen and (max-width: 600px) { - margin-right: 10px; + @include margin-right(10px); + padding: 0 10px; .icon.icon-upload { - margin-right: 0; + @include margin-right(0); } - .upload-button-label { + .publish-button-label { display: none; } }