]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/header/header.component.scss
Avoid follow SQL conflicts
[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
c30745f3 56 margin-right: 25px;
26c6ee80 57
dd778941
C
58 @media screen and (max-width: 800px) {
59 margin-right: 0;
60 }
61
07fa4c97 62 @media screen and (max-width: 600px) {
3daf4002
C
63 margin-right: 10px;
64 padding: 0 10px;
65
66 .icon.icon-upload {
67 margin-right: 0;
68 }
69
70 .upload-button-label {
71 display: none;
72 }
73 }
26c6ee80 74}