]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/header/header.component.scss
Search typeahead initial design
[github/Chocobozzz/PeerTube.git] / client / src / app / header / header.component.scss
CommitLineData
63c4db6d
C
1@import '_variables';
2@import '_mixins';
3
f409f0c3
RK
4my-search-typeahead {
5 margin-right: 15px;
6}
7
26c6ee80 8#search-video {
c30745f3 9 @include peertube-input-text($search-input-width);
2d9fea16 10 padding-left: 10px;
f6eebcb3 11 padding-right: 40px; // For the search icon
17bb716b 12 font-size: 14px;
26c6ee80
C
13
14 &::placeholder {
9a0fc840 15 color: var(--inputPlaceholderColor);
26c6ee80 16 }
3daf4002 17
1f788f20 18 @media screen and (max-width: 800px) {
3daf4002
C
19 width: calc(100% - 150px);
20 }
21
07fa4c97 22 @media screen and (max-width: 600px) {
3daf4002
C
23 width: calc(100% - 70px);
24 }
26c6ee80
C
25}
26
27.icon.icon-search {
0727cab0 28 @include icon(25px);
26c6ee80 29 height: 21px;
0727cab0 30
9a0fc840
RK
31 background-color: var(--mainForegroundColor);
32 mask: url('../../assets/images/header/search.svg') no-repeat 50% 50%;
0727cab0 33
26c6ee80
C
34 // yolo
35 position: absolute;
f409f0c3 36 margin-left: -35px;
26c6ee80
C
37 margin-top: 5px;
38}
39
40.upload-button {
c30745f3 41 @include peertube-button-link;
7b272fd7 42 @include orange-button;
457bb213 43 @include button-with-icon(22px, 3px, -1px);
26c6ee80 44
000eb0e4 45 color: var(--mainBackgroundColor) !important;
c30745f3 46 margin-right: 25px;
26c6ee80 47
dd778941
C
48 @media screen and (max-width: 800px) {
49 margin-right: 0;
50 }
51
07fa4c97 52 @media screen and (max-width: 600px) {
3daf4002
C
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 }
26c6ee80 64}