aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+my-library/my-history/my-history.component.scss
blob: 928a8a3da8ff1a9e000e9f720a9933265dc39f84 (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';

.no-history {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  font-weight: $font-semibold;
  font-size: 16px;
}

.top-buttons {
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  #history-search {
    @include peertube-input-text(250px);
  }

  .history-switch {
    display: flex;

    label {
      margin: 0 0 0 5px;
      color: var(--greyForegroundColor);
      font-size: 15px;
      font-weight: $font-semibold;
    }
  }

  .delete-history {
    @include peertube-button;
    @include grey-button;
    @include button-with-icon;

    font-size: 15px;
  }
}

.video {
  @include row-blocks;

  .my-video-miniature {
    flex-grow: 1;
  }
}

@media screen and (max-width: $mobile-view) {
  .top-buttons {
    .history-switch label, .delete-history {
      @include ellipsis;
    }

    .history-switch label {
      width: 60%;
    }

    .delete-history {
      margin-left: auto;
      max-width: 32%;
    }
  }
}