Add local user subscriptions
[oweals/peertube.git] / client / src / app / +my-account / my-account-videos / my-account-videos.component.scss
1 @import '_variables';
2 @import '_mixins';
3
4 .action-selection-mode {
5   width: 174px;
6   display: flex;
7   justify-content: flex-end;
8
9   .action-selection-mode-child {
10     position: fixed;
11
12     .action-button {
13       display: inline-block;
14     }
15
16     .action-button-cancel-selection {
17       @include peertube-button;
18       @include grey-button;
19
20       margin-right: 10px;
21     }
22
23     .action-button-delete-selection {
24       @include peertube-button;
25       @include orange-button;
26     }
27
28     .icon.icon-delete-white {
29       @include icon(21px);
30
31       position: relative;
32       top: -2px;
33       background-image: url('../../../assets/images/global/delete-white.svg');
34     }
35   }
36 }
37
38 /deep/ .action-button {
39   &.action-button-delete {
40     margin-right: 10px;
41   }
42 }
43
44 .video {
45   @include row-blocks;
46
47   &:first-child {
48     margin-top: 47px;
49   }
50
51   .checkbox-container {
52     display: flex;
53     align-items: center;
54     margin-right: 20px;
55     margin-left: 12px;
56   }
57
58   my-video-thumbnail {
59     margin-right: 10px;
60   }
61
62   .video-info {
63     flex-grow: 1;
64
65     .video-info-name {
66       @include disable-default-a-behaviour;
67
68       color: #000;
69       display: block;
70       width: fit-content;
71       font-size: 16px;
72       font-weight: $font-semibold;
73     }
74
75     .video-info-date-views,
76     .video-info-private,
77     .video-info-blacklisted {
78       font-size: 13px;
79
80       &.video-info-private,
81       &.video-info-blacklisted .blacklisted-label {
82         font-weight: $font-semibold;
83       }
84
85       &.video-info-blacklisted {
86         color: red;
87
88         .blacklisted-reason {
89           &::before {
90             content: ' - ';
91           }
92         }
93       }
94     }
95   }
96
97   .video-buttons {
98     min-width: 190px;
99   }
100 }
101
102 @media screen and (max-width: 800px) {
103   .video {
104     flex-direction: column;
105     height: auto;
106     text-align: center;
107
108     .video-info-name {
109       margin: auto;
110     }
111
112     input[type=checkbox] {
113       display: none;
114     }
115
116     my-video-thumbnail {
117       margin-right: 0;
118     }
119
120     .video-buttons {
121       margin-top: 10px;
122     }
123   }
124 }