aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/account/account-videos/account-videos.component.scss
blob: 5459014a6a118036864440bd958a59cb4387bde9 (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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
.action-selection-mode {
  width: 174px;
  display: flex;
  justify-content: flex-end;

  .action-selection-mode-child {
    position: fixed;

    .action-button {
      display: inline-block;
    }

    .action-button-cancel-selection {
      @include peertube-button;
      @include grey-button;

      margin-right: 10px;
    }

    .action-button-delete-selection {
      @include peertube-button;
      @include orange-button;
    }

    .icon.icon-delete-white {
      @include icon(21px);

      position: relative;
      top: -2px;
      background-image: url('../../../assets/images/global/delete-white.svg');
    }
  }
}

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

.video {
  display: flex;
  height: 130px;
  padding-bottom: 20px;

  input[type=checkbox] {
    margin-right: 20px;
    outline: 0;
  }

  &:first-child {
    margin-top: 47px;
  }

  &:not(:last-child) {
    margin-bottom: 20px;
    border-bottom: 1px solid #C6C6C6;
  }

  my-video-thumbnail {
    margin-right: 10px;
  }

  .video-info {
    flex-grow: 1;

    .video-info-name {
      font-size: 16px;
      font-weight: $font-semibold;
    }

    .video-info-date-views {
      font-size: 13px;
    }
  }
}

@media screen and (max-width: 800px) {
  .video {
    flex-direction: column;
    height: auto;
    text-align: center;

    input[type=checkbox] {
      display: none;
    }

    my-video-thumbnail {
      margin-right: 0;
    }

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