]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/header/header.component.scss
b602cf0a884c4e02d4fcdc526153b4dffb8adb22
[github/Chocobozzz/PeerTube.git] / client / src / app / header / header.component.scss
1 @import '_variables';
2 @import '_mixins';
3
4 my-search-typeahead {
5 margin-right: 15px;
6 }
7
8 #search-video {
9 @include peertube-input-text($search-input-width);
10 padding-left: 10px;
11 padding-right: 40px; // For the search icon
12 font-size: 14px;
13
14 &::placeholder {
15 color: var(--inputPlaceholderColor);
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: -35px;
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 color: var(--mainBackgroundColor) !important;
46 margin-right: 25px;
47
48 @media screen and (max-width: 800px) {
49 margin-right: 0;
50 }
51
52 @media screen and (max-width: 600px) {
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 }
64 }