]>
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 |
17bb716b | 9 | font-size: 14px; |
26c6ee80 C |
10 | |
11 | &::placeholder { | |
9a0fc840 | 12 | color: var(--inputPlaceholderColor); |
26c6ee80 | 13 | } |
3daf4002 | 14 | |
2d9fea16 RK |
15 | &:focus::placeholder { |
16 | opacity: 0 !important; | |
17 | } | |
18 | ||
1f788f20 | 19 | @media screen and (max-width: 800px) { |
3daf4002 C |
20 | width: calc(100% - 150px); |
21 | } | |
22 | ||
07fa4c97 | 23 | @media screen and (max-width: 600px) { |
3daf4002 C |
24 | width: calc(100% - 70px); |
25 | } | |
26c6ee80 C |
26 | } |
27 | ||
28 | .icon.icon-search { | |
0727cab0 | 29 | @include icon(25px); |
26c6ee80 | 30 | height: 21px; |
0727cab0 | 31 | |
9a0fc840 RK |
32 | background-color: var(--mainForegroundColor); |
33 | mask: url('../../assets/images/header/search.svg') no-repeat 50% 50%; | |
0727cab0 | 34 | |
26c6ee80 C |
35 | // yolo |
36 | position: absolute; | |
37 | margin-left: -50px; | |
38 | margin-top: 5px; | |
39 | } | |
40 | ||
41 | .upload-button { | |
c30745f3 | 42 | @include peertube-button-link; |
7b272fd7 | 43 | @include orange-button; |
457bb213 | 44 | @include button-with-icon(22px, 3px, -1px); |
26c6ee80 | 45 | |
c30745f3 | 46 | margin-right: 25px; |
26c6ee80 | 47 | |
dd778941 C |
48 | @media screen and (max-width: 800px) { |
49 | margin-right: 0; | |
50 | } | |
51 | ||
07fa4c97 | 52 | @media screen and (max-width: 600px) { |
3daf4002 C |
53 | margin-right: 10px; |
54 | padding: 0 10px; | |
55 | ||
56 | .icon.icon-upload { | |
57 | margin-right: 0; | |
58 | } | |
59 | ||
60 | .upload-button-label { | |
61 | display: none; | |
62 | } | |
63 | } | |
26c6ee80 | 64 | } |