]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/header/header.component.scss
Merge branch 'release/2.1.0' into develop
[github/Chocobozzz/PeerTube.git] / client / src / app / header / header.component.scss
CommitLineData
63c4db6d
C
1@import '_variables';
2@import '_mixins';
3
26c6ee80 4#search-video {
c30745f3 5 @include peertube-input-text($search-input-width);
2d9fea16 6 padding-left: 10px;
26c6ee80 7 margin-right: 15px;
f6eebcb3 8 padding-right: 40px; // For the search icon
17bb716b 9 font-size: 14px;
26c6ee80 10
1ae3f52a
RK
11 transition: box-shadow .3s ease;
12
13 /* light border style */
14 border: 1px solid var(--mainBackgroundColor);
15 box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 20px 0px;
16
17 &:focus {
18 box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 20px 0px;
19 }
20
26c6ee80 21 &::placeholder {
9a0fc840 22 color: var(--inputPlaceholderColor);
26c6ee80 23 }
3daf4002 24
2d9fea16
RK
25 &:focus::placeholder {
26 opacity: 0 !important;
27 }
28
1f788f20 29 @media screen and (max-width: 800px) {
3daf4002
C
30 width: calc(100% - 150px);
31 }
32
07fa4c97 33 @media screen and (max-width: 600px) {
3daf4002
C
34 width: calc(100% - 70px);
35 }
26c6ee80
C
36}
37
38.icon.icon-search {
0727cab0 39 @include icon(25px);
26c6ee80 40 height: 21px;
0727cab0 41
9a0fc840
RK
42 background-color: var(--mainForegroundColor);
43 mask: url('../../assets/images/header/search.svg') no-repeat 50% 50%;
0727cab0 44
26c6ee80
C
45 // yolo
46 position: absolute;
47 margin-left: -50px;
48 margin-top: 5px;
49}
50
51.upload-button {
c30745f3 52 @include peertube-button-link;
7b272fd7 53 @include orange-button;
457bb213 54 @include button-with-icon(22px, 3px, -1px);
26c6ee80 55
000eb0e4 56 color: var(--mainBackgroundColor) !important;
c30745f3 57 margin-right: 25px;
26c6ee80 58
dd778941
C
59 @media screen and (max-width: 800px) {
60 margin-right: 0;
61 }
62
07fa4c97 63 @media screen and (max-width: 600px) {
3daf4002
C
64 margin-right: 10px;
65 padding: 0 10px;
66
67 .icon.icon-upload {
68 margin-right: 0;
69 }
70
71 .upload-button-label {
72 display: none;
73 }
74 }
26c6ee80 75}