aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-video-miniature/abstract-video-list.scss
blob: c8dda2900583678f86b1fc46acc979a868733a00 (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
70
71
72
73
74
75
76
77
78
79
@import '_bootstrap-variables';
@import '_variables';
@import '_mixins';
@import '_miniature';

$icon-size: 16px;

::ng-deep my-video-list-header {
  display: flex;
  flex-grow: 1;
}

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

  my-feed {
    display: inline-block;
    width: calc(#{$icon-size} - 2px);
  }

  .moderation-block {
    @include margin-left(.4rem);

    display: flex;
    justify-content: flex-end;
    align-items: center;

    my-global-icon {
      position: relative;
      width: $icon-size;
    }
  }
}

.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 grid-videos-miniature-layout-with-margins;
}

.display-as-row.videos {
  @include margin-left(pvar(--horizontalMarginContent));
  @include margin-right(pvar(--horizontalMarginContent));

  .video-wrapper {
    margin-bottom: 15px;
  }
}

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

    .title-page {
      @include margin-right(0);

      margin-bottom: 10px;
    }
  }
}