aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlists.component.scss
blob: 2b7c882460903660b1d94bb7e63a1611c1826bc9 (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
@import '_variables';
@import '_mixins';

.create-button {
  @include create-button;
}

input[type=text] {
  @include peertube-input-text(300px);
}

::ng-deep .action-button {
  &.action-button-delete {
    margin-right: 10px;
  }
}

.video-playlist {
  @include row-blocks;

  .miniature-wrapper {
    flex-grow: 1;

    ::ng-deep .miniature {
      display: flex;

      .miniature-info {
        margin-left: 10px;
        width: auto;
      }
    }
  }

  .video-playlist-buttons {
    min-width: 190px;
    height: max-content;
  }
}

.video-playlists-header {
  margin-bottom: 30px;
}

@media screen and (max-width: $small-view) {
  .video-playlists-header {
    text-align: center;
  }

  .video-playlist {

    .video-playlist-buttons {
      margin-top: 10px;
    }
  }

  my-video-playlist-miniature ::ng-deep .miniature {
    flex-direction: column;

    .miniature-info {
      margin-left: 0 !important;
    }

    .miniature-name {
      max-width: $video-thumbnail-width;
    }
  }
}

@media screen and (max-width: $mobile-view) {
  .video-playlists-header {
    flex-direction: column;

    input[type=text] {
      width: 100% !important;
      margin-bottom: 12px;
    }
  }
}