]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/header/header.component.scss
Fix some styles
[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 font-size: 14px;
10
11 &::placeholder {
12 color: var(--inputPlaceholderColor);
13 }
14
15 &:focus::placeholder {
16 opacity: 0 !important;
17 }
18
19 @media screen and (max-width: 800px) {
20 width: calc(100% - 150px);
21 }
22
23 @media screen and (max-width: 600px) {
24 width: calc(100% - 70px);
25 }
26 }
27
28 .icon.icon-search {
29 @include icon(25px);
30 height: 21px;
31
32 background-color: var(--mainForegroundColor);
33 mask: url('../../assets/images/header/search.svg') no-repeat 50% 50%;
34
35 // yolo
36 position: absolute;
37 margin-left: -50px;
38 margin-top: 5px;
39 }
40
41 .upload-button {
42 @include peertube-button-link;
43 @include orange-button;
44 @include button-with-icon(22px, 3px, -1px);
45
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 }