]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/header/header.component.scss
Improve responsive on video watch
[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 margin-right: 15px;
7 padding-right: 25px; // For the search icon
8
9 &::placeholder {
10 color: #000;
11 }
12
13 @media screen and (max-width: 800px) {
14 width: calc(100% - 150px);
15 }
16
17 @media screen and (max-width: 400px) {
18 width: calc(100% - 70px);
19 }
20 }
21
22 .icon.icon-search {
23 @include icon(25px);
24 height: 21px;
25
26 background-image: url('../../assets/images/header/search.svg');
27
28 // yolo
29 position: absolute;
30 margin-left: -50px;
31 margin-top: 5px;
32 }
33
34 .upload-button {
35 @include peertube-button-link;
36 @include orange-button;
37
38 margin-right: 25px;
39
40 .icon.icon-upload {
41 @include icon(22px);
42
43 background-image: url('../../assets/images/header/upload.svg');
44 height: 24px;
45 vertical-align: middle;
46 margin-right: 6px;
47 }
48
49 @media screen and (max-width: 400px) {
50 margin-right: 10px;
51 padding: 0 10px;
52
53 .icon.icon-upload {
54 margin-right: 0;
55 }
56
57 .upload-button-label {
58 display: none;
59 }
60 }
61 }