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