]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/header/header.component.scss
cdc457b963ebdd06d47c913a25d89b95b46b5f5f
[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 @include button-with-icon(22px, 3px, -1px);
44
45 margin-right: 25px;
46
47 @media screen and (max-width: 800px) {
48 margin-right: 0;
49 }
50
51 @media screen and (max-width: 600px) {
52 margin-right: 10px;
53 padding: 0 10px;
54
55 .icon.icon-upload {
56 margin-right: 0;
57 }
58
59 .upload-button-label {
60 display: none;
61 }
62 }
63 }