Restore videos list components
[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       @include button-with-icon(21px);
27
28       my-global-icon {
29         @include apply-svg-color(#fff);
30       }
31     }
32   }
33 }
34
35 .video {
36   @include row-blocks;
37
38   &:first-child {
39     margin-top: 47px;
40   }
41
42   .checkbox-container {
43     display: flex;
44     align-items: center;
45     margin-right: 20px;
46     margin-left: 12px;
47   }
48
49   my-video-thumbnail {
50     margin-right: 10px;
51   }
52
53   .video-info {
54     flex-grow: 1;
55
56     .video-info-name {
57       @include disable-default-a-behaviour;
58
59       color: var(--mainForegroundColor);
60       display: block;
61       width: fit-content;
62       font-size: 16px;
63       font-weight: $font-semibold;
64     }
65
66     .video-info-date-views,
67     .video-info-privacy,
68     .video-info-blacklisted {
69       font-size: 13px;
70
71       &.video-info-privacy,
72       &.video-info-blacklisted .blacklisted-label {
73         font-weight: $font-semibold;
74       }
75
76       &.video-info-blacklisted {
77         color: red;
78
79         .blacklisted-reason {
80           &::before {
81             content: ' - ';
82           }
83         }
84       }
85
86     }
87   }
88
89   .video-buttons {
90     min-width: 190px;
91
92     *:not(:last-child) {
93       margin-right: 10px;
94     }
95   }
96 }
97
98 @media screen and (max-width: $small-view) {
99   .video {
100     flex-direction: column;
101     height: auto;
102     text-align: center;
103
104     .video-info-name {
105       margin: auto;
106     }
107
108     input[type=checkbox] {
109       display: none;
110     }
111
112     my-video-thumbnail {
113       margin-right: 0;
114     }
115
116     .video-buttons {
117       margin-top: 10px;
118     }
119   }
120 }