]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/account/account-videos/account-videos.component.scss
Fix deleting a video with comments
[github/Chocobozzz/PeerTube.git] / client / src / app / account / account-videos / account-videos.component.scss
CommitLineData
63c4db6d
C
1@import '_variables';
2@import '_mixins';
3
ce0e281d
C
4.action-selection-mode {
5 width: 174px;
dc595ab7
C
6 display: flex;
7 justify-content: flex-end;
ce0e281d
C
8
9 .action-selection-mode-child {
10 position: fixed;
ce0e281d 11
dc595ab7
C
12 .action-button {
13 display: inline-block;
14 }
ce0e281d 15
dc595ab7
C
16 .action-button-cancel-selection {
17 @include peertube-button;
18 @include grey-button;
ce0e281d 19
dc595ab7
C
20 margin-right: 10px;
21 }
ce0e281d 22
dc595ab7
C
23 .action-button-delete-selection {
24 @include peertube-button;
25 @include orange-button;
ce0e281d 26 }
ce0e281d 27
dc595ab7
C
28 .icon.icon-delete-white {
29 @include icon(21px);
30
31 position: relative;
32 top: -2px;
cd83ea1b 33 background-image: url('../../../assets/images/global/delete-white.svg');
ce0e281d
C
34 }
35 }
36}
37
dc595ab7
C
38/deep/ .action-button {
39 &.action-button-delete {
40 margin-right: 10px;
41 }
42}
43
d2cc03aa
C
44.video {
45 display: flex;
b2731bff 46 min-height: 130px;
d2cc03aa 47 padding-bottom: 20px;
a2b817d3 48
ce0e281d
C
49 &:first-child {
50 margin-top: 47px;
51 }
52
a2b817d3
C
53 &:not(:last-child) {
54 margin-bottom: 20px;
55 border-bottom: 1px solid #C6C6C6;
56 }
d2cc03aa 57
a0d69908
C
58 .checkbox-container {
59 display: flex;
60 align-items: center;
61 margin-right: 20px;
62 margin-left: 12px;
63
64 input[type=checkbox] {
65 @include peertube-checkbox(2px);
66 }
67 }
68
d2cc03aa
C
69 my-video-thumbnail {
70 margin-right: 10px;
71 }
72
73 .video-info {
74 flex-grow: 1;
75
76 .video-info-name {
b2731bff
C
77 @include disable-default-a-behaviour;
78
79 color: #000;
80 display: block;
d2cc03aa
C
81 font-size: 16px;
82 font-weight: $font-semibold;
83 }
84
85 .video-info-date-views {
86 font-size: 13px;
87 }
88 }
b2731bff
C
89
90 .video-buttons {
91 min-width: 190px;
92 }
d2cc03aa 93}
9b7d1c72
C
94
95@media screen and (max-width: 800px) {
96 .video {
97 flex-direction: column;
98 height: auto;
99 text-align: center;
100
101 input[type=checkbox] {
102 display: none;
103 }
104
105 my-video-thumbnail {
106 margin-right: 0;
107 }
108
109 .video-buttons {
110 margin-top: 10px;
111 }
112 }
113}