diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-12-05 17:46:33 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-12-05 18:25:29 +0100 |
commit | f3aaa9a95cc2b61f1f255472d7014d08faa66561 (patch) | |
tree | 95e70c8d0ed5b6f1c71c32a77cb7d6cf8478c9d4 /client/src/app/header/header.component.scss | |
parent | d235f6b0d1054a2a3451dacade927caefce8f30c (diff) | |
download | PeerTube-f3aaa9a95cc2b61f1f255472d7014d08faa66561.tar.gz PeerTube-f3aaa9a95cc2b61f1f255472d7014d08faa66561.tar.zst PeerTube-f3aaa9a95cc2b61f1f255472d7014d08faa66561.zip |
Fix client search
Diffstat (limited to 'client/src/app/header/header.component.scss')
-rw-r--r-- | client/src/app/header/header.component.scss | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/client/src/app/header/header.component.scss b/client/src/app/header/header.component.scss new file mode 100644 index 000000000..7ba8ef26c --- /dev/null +++ b/client/src/app/header/header.component.scss | |||
@@ -0,0 +1,39 @@ | |||
1 | #search-video { | ||
2 | @include peertube-input-text($search-input-width); | ||
3 | margin-right: 15px; | ||
4 | padding-right: 25px; // For the search icon | ||
5 | |||
6 | &::placeholder { | ||
7 | color: #000; | ||
8 | } | ||
9 | } | ||
10 | |||
11 | .icon.icon-search { | ||
12 | display: inline-block; | ||
13 | background: url('../../../assets/images/header/search.svg') no-repeat; | ||
14 | background-size: contain; | ||
15 | width: 25px; | ||
16 | height: 21px; | ||
17 | vertical-align: middle; | ||
18 | cursor: pointer; | ||
19 | // yolo | ||
20 | position: absolute; | ||
21 | margin-left: -50px; | ||
22 | margin-top: 5px; | ||
23 | } | ||
24 | |||
25 | .upload-button { | ||
26 | @include peertube-button-link; | ||
27 | |||
28 | margin-right: 25px; | ||
29 | |||
30 | .icon.icon-upload { | ||
31 | display: inline-block; | ||
32 | background: url('../../../assets/images/header/upload.svg') no-repeat; | ||
33 | background-size: contain; | ||
34 | width: 22px; | ||
35 | height: 24px; | ||
36 | vertical-align: middle; | ||
37 | margin-right: 6px; | ||
38 | } | ||
39 | } | ||