]>
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 { | |
9a0fc840 | 11 | color: var(--inputPlaceholderColor); |
26c6ee80 | 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 | 30 | |
9a0fc840 RK |
31 | background-color: var(--mainForegroundColor); |
32 | mask: url('../../assets/images/header/search.svg') no-repeat 50% 50%; | |
0727cab0 | 33 | |
26c6ee80 C |
34 | // yolo |
35 | position: absolute; | |
36 | margin-left: -50px; | |
37 | margin-top: 5px; | |
38 | } | |
39 | ||
40 | .upload-button { | |
c30745f3 | 41 | @include peertube-button-link; |
7b272fd7 | 42 | @include orange-button; |
26c6ee80 | 43 | |
c30745f3 | 44 | margin-right: 25px; |
26c6ee80 | 45 | |
dd778941 C |
46 | @media screen and (max-width: 800px) { |
47 | margin-right: 0; | |
48 | } | |
49 | ||
26c6ee80 | 50 | .icon.icon-upload { |
04e0fc48 C |
51 | @include icon(22px); |
52 | ||
53 | background-image: url('../../assets/images/header/upload.svg'); | |
26c6ee80 C |
54 | height: 24px; |
55 | vertical-align: middle; | |
56 | margin-right: 6px; | |
57 | } | |
3daf4002 | 58 | |
07fa4c97 | 59 | @media screen and (max-width: 600px) { |
3daf4002 C |
60 | margin-right: 10px; |
61 | padding: 0 10px; | |
62 | ||
63 | .icon.icon-upload { | |
64 | margin-right: 0; | |
65 | } | |
66 | ||
67 | .upload-button-label { | |
68 | display: none; | |
69 | } | |
70 | } | |
26c6ee80 | 71 | } |