aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-video-miniature/abstract-video-list.scss
blob: 1660c6812fccbad9a45955843ead117772603019 (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
66
67
68
69
@import '_bootstrap-variables';
@import '_variables';
@import '_mixins';
@import '_miniature';

.videos-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;

  .title-page.title-page-single {
    display: flex;

    my-feed {
      display: inline-block;
      top: 1px;
      width: max-content;
    }
  }

  .action-block {
    a button {
      @include peertube-button;
      @include grey-button;
      @include button-with-icon(18px, 3px, -1px);
    }
  }

  .moderation-block {
    display: flex;
    flex-grow: 1;
    justify-content: flex-end;
    align-items: center;
  }
}

.date-title {
  font-size: 16px;
  font-weight: $font-semibold;
  margin-bottom: 20px;
  margin-top: -10px;

  // make the element span a full grid row within .videos grid
  grid-column: 1 / -1;

  &:not(:first-child) {
    margin-top: .5rem;
    padding-top: 20px;
    border-top: 1px solid $separator-border-color;
  }
}

.margin-content {
  @include fluid-videos-miniature-layout;
}

@media screen and (max-width: $mobile-view) {
  .videos-header {
    flex-direction: column;
    align-items: center;
    height: auto;
    margin-bottom: 10px;

    .title-page {
      margin-bottom: 10px;
      margin-right: 0px;
    }
  }
}