aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/header/header.component.scss
blob: 2f0a407fc9cd022440a363d78a8c0d9a559c18c6 (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
@import '_variables';
@import '_mixins';

my-search-typeahead {
  margin-right: 15px;
}

#search-video {
  @include peertube-input-text($search-input-width);
  padding-left: 10px;
  padding-right: 40px; // For the search icon
  font-size: 14px;

  &::placeholder {
    color: var(--inputPlaceholderColor);
  }
}

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

  background-color: var(--mainForegroundColor);
  mask: url('../../assets/images/header/search.svg') no-repeat 50% 50%;

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

.upload-button {
  @include peertube-button-link;
  @include orange-button;
  @include button-with-icon(22px, 3px, -1px);

  color: var(--mainBackgroundColor) !important;
  margin-right: 25px;

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

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

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