]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/+my-account/my-account-videos/my-account-videos.component.scss
64a04fa20a1273f33f48ed6c627e4c8db994ab92
[github/Chocobozzz/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 display: flex;
46 min-height: 130px;
47 padding-bottom: 20px;
48 margin-bottom: 20px;
49 border-bottom: 1px solid #C6C6C6;
50
51 &:first-child {
52 margin-top: 47px;
53 }
54
55 .checkbox-container {
56 display: flex;
57 align-items: center;
58 margin-right: 20px;
59 margin-left: 12px;
60 }
61
62 my-video-thumbnail {
63 margin-right: 10px;
64 }
65
66 .video-info {
67 flex-grow: 1;
68
69 .video-info-name {
70 @include disable-default-a-behaviour;
71
72 color: #000;
73 display: block;
74 width: fit-content;
75 font-size: 16px;
76 font-weight: $font-semibold;
77 }
78
79 .video-info-date-views,
80 .video-info-private,
81 .video-info-blacklisted {
82 font-size: 13px;
83
84 &.video-info-private,
85 &.video-info-blacklisted .blacklisted-label {
86 font-weight: $font-semibold;
87 }
88
89 &.video-info-blacklisted {
90 color: red;
91
92 .blacklisted-reason {
93 &::before {
94 content: ' - ';
95 }
96 }
97 }
98 }
99 }
100
101 .video-buttons {
102 min-width: 190px;
103 }
104 }
105
106 @media screen and (max-width: 800px) {
107 .video {
108 flex-direction: column;
109 height: auto;
110 text-align: center;
111
112 .video-info-name {
113 margin: auto;
114 }
115
116 input[type=checkbox] {
117 display: none;
118 }
119
120 my-video-thumbnail {
121 margin-right: 0;
122 }
123
124 .video-buttons {
125 margin-top: 10px;
126 }
127 }
128 }