aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/header/header.component.scss
blob: 6ce92fc22b9a0443fa1501a622878d7551dbcbe1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
@import '_variables';
@import '_mixins';

#search-video {
  @include peertube-input-text($search-input-width);
  margin-right: 15px;
  padding-right: 40px; // For the search icon

  &::placeholder {
    color: #000;
  }

  @media screen and (max-width: 800px) {
    width: calc(100% - 150px);
  }

  @media screen and (max-width: 600px) {
    width: calc(100% - 70px);
  }
}

.icon.icon-search {
  @include icon(25px);
  height: 21px;

  background-image: url('../../assets/images/header/search.svg');

  // yolo
  position: absolute;
  margin-left: -50px;
  margin-top: 5px;
}

.upload-button {
  @include peertube-button-link;
  @include orange-button;

  margin-right: 25px;

  @media screen and (max-width: 800px) {
    margin-right: 0;
  }

  .icon.icon-upload {
    @include icon(22px);

    background-image: url('../../assets/images/header/upload.svg');
    height: 24px;
    vertical-align: middle;
    margin-right: 6px;
  }

  @media screen and (max-width: 600px) {
    margin-right: 10px;
    padding: 0 10px;

    .icon.icon-upload {
      margin-right: 0;
    }

    .upload-button-label {
      display: none;
    }
  }
}