From f409f0c3b91d85c66b4841d72ea65b5fbe1483d8 Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Mon, 20 Jan 2020 15:12:51 +0100 Subject: Search typeahead initial design --- client/src/app/header/header.component.scss | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) (limited to 'client/src/app/header/header.component.scss') diff --git a/client/src/app/header/header.component.scss b/client/src/app/header/header.component.scss index 2bbde74bc..b602cf0a8 100644 --- a/client/src/app/header/header.component.scss +++ b/client/src/app/header/header.component.scss @@ -1,31 +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; - transition: box-shadow .3s ease; - - /* light border style */ - border: 1px solid var(--mainBackgroundColor); - box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 20px 0px; - - &:focus { - box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 20px 0px; - } - &::placeholder { color: var(--inputPlaceholderColor); } - &:focus::placeholder { - opacity: 0 !important; - } - @media screen and (max-width: 800px) { width: calc(100% - 150px); } @@ -44,7 +33,7 @@ // yolo position: absolute; - margin-left: -50px; + margin-left: -35px; margin-top: 5px; } -- cgit v1.2.3