]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/header/header.component.scss
Merge from upstream
[github/Chocobozzz/PeerTube.git] / client / src / app / header / header.component.scss
1 @import '_variables';
2 @import '_mixins';
3
4 #search-video {
5 @include peertube-input-text($search-input-width);
6 padding-left: 10px;
7 margin-right: 15px;
8 padding-right: 40px; // For the search icon
9
10 &::placeholder {
11 color: var(--inputPlaceholderColor);
12 }
13
14 &:focus::placeholder {
15 opacity: 0 !important;
16 }
17
18 @media screen and (max-width: 800px) {
19 width: calc(100% - 150px);
20 }
21
22 @media screen and (max-width: 600px) {
23 width: calc(100% - 70px);
24 }
25 }
26
27 .icon.icon-search {
28 @include icon(25px);
29 height: 21px;
30
31 background-color: var(--mainForegroundColor);
32 mask: url('../../assets/images/header/search.svg') no-repeat 50% 50%;
33
34 // yolo
35 position: absolute;
36 margin-left: -50px;
37 margin-top: 5px;
38 }
39
40 .upload-button {
41 @include peertube-button-link;
42 @include orange-button;
43
44 margin-right: 25px;
45
46 @media screen and (max-width: 800px) {
47 margin-right: 0;
48 }
49
50 .icon.icon-upload {
51 @include icon(22px);
52
53 background-image: url('../../assets/images/header/upload-white.svg');
54 height: 24px;
55 vertical-align: middle;
56 margin-right: 6px;
57 }
58
59 @media screen and (max-width: 600px) {
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 }
71 }