aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/header/header.component.scss
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-02-04 16:44:53 +0100
committerRigel Kent <sendmemail@rigelk.eu>2020-02-13 16:35:24 +0100
commit9b8a7aa8ea128f7e197ff38ca9f86ffa53bbe110 (patch)
treef38e6f83a9d892a99f930c0a25b1a405e679cd4a /client/src/app/header/header.component.scss
parentece3029bd99a76b3c48a1cc8c58914c5cf61f106 (diff)
downloadPeerTube-9b8a7aa8ea128f7e197ff38ca9f86ffa53bbe110.tar.gz
PeerTube-9b8a7aa8ea128f7e197ff38ca9f86ffa53bbe110.tar.zst
PeerTube-9b8a7aa8ea128f7e197ff38ca9f86ffa53bbe110.zip
Improve search typeahead performance and use native events
Diffstat (limited to 'client/src/app/header/header.component.scss')
-rw-r--r--client/src/app/header/header.component.scss24
1 files changed, 0 insertions, 24 deletions
diff --git a/client/src/app/header/header.component.scss b/client/src/app/header/header.component.scss
index 2f0a407fc..91b390773 100644
--- a/client/src/app/header/header.component.scss
+++ b/client/src/app/header/header.component.scss
@@ -5,30 +5,6 @@ my-search-typeahead {
5 margin-right: 15px; 5 margin-right: 15px;
6} 6}
7 7
8#search-video {
9 @include peertube-input-text($search-input-width);
10 padding-left: 10px;
11 padding-right: 40px; // For the search icon
12 font-size: 14px;
13
14 &::placeholder {
15 color: var(--inputPlaceholderColor);
16 }
17}
18
19.icon.icon-search {
20 @include icon(25px);
21 height: 21px;
22
23 background-color: var(--mainForegroundColor);
24 mask: url('../../assets/images/header/search.svg') no-repeat 50% 50%;
25
26 // yolo
27 position: absolute;
28 margin-left: -35px;
29 margin-top: 5px;
30}
31
32.upload-button { 8.upload-button {
33 @include peertube-button-link; 9 @include peertube-button-link;
34 @include orange-button; 10 @include orange-button;