]>
Commit | Line | Data |
---|---|---|
63c4db6d C |
1 | @import '_variables'; |
2 | @import '_mixins'; | |
3 | ||
26c6ee80 | 4 | #search-video { |
c30745f3 | 5 | @include peertube-input-text($search-input-width); |
2d9fea16 | 6 | padding-left: 10px; |
26c6ee80 | 7 | margin-right: 15px; |
f6eebcb3 | 8 | padding-right: 40px; // For the search icon |
26c6ee80 C |
9 | |
10 | &::placeholder { | |
11 | color: #000; | |
12 | } | |
3daf4002 | 13 | |
2d9fea16 RK |
14 | &:focus::placeholder { |
15 | opacity: 0 !important; | |
16 | } | |
17 | ||
1f788f20 | 18 | @media screen and (max-width: 800px) { |
3daf4002 C |
19 | width: calc(100% - 150px); |
20 | } | |
21 | ||
07fa4c97 | 22 | @media screen and (max-width: 600px) { |
3daf4002 C |
23 | width: calc(100% - 70px); |
24 | } | |
26c6ee80 C |
25 | } |
26 | ||
27 | .icon.icon-search { | |
0727cab0 | 28 | @include icon(25px); |
26c6ee80 | 29 | height: 21px; |
0727cab0 C |
30 | |
31 | background-image: url('../../assets/images/header/search.svg'); | |
32 | ||
26c6ee80 C |
33 | // yolo |
34 | position: absolute; | |
35 | margin-left: -50px; | |
36 | margin-top: 5px; | |
37 | } | |
38 | ||
39 | .upload-button { | |
c30745f3 | 40 | @include peertube-button-link; |
7b272fd7 | 41 | @include orange-button; |
26c6ee80 | 42 | |
c30745f3 | 43 | margin-right: 25px; |
26c6ee80 | 44 | |
dd778941 C |
45 | @media screen and (max-width: 800px) { |
46 | margin-right: 0; | |
47 | } | |
48 | ||
26c6ee80 | 49 | .icon.icon-upload { |
04e0fc48 C |
50 | @include icon(22px); |
51 | ||
52 | background-image: url('../../assets/images/header/upload.svg'); | |
26c6ee80 C |
53 | height: 24px; |
54 | vertical-align: middle; | |
55 | margin-right: 6px; | |
56 | } | |
3daf4002 | 57 | |
07fa4c97 | 58 | @media screen and (max-width: 600px) { |
3daf4002 C |
59 | margin-right: 10px; |
60 | padding: 0 10px; | |
61 | ||
62 | .icon.icon-upload { | |
63 | margin-right: 0; | |
64 | } | |
65 | ||
66 | .upload-button-label { | |
67 | display: none; | |
68 | } | |
69 | } | |
26c6ee80 | 70 | } |