]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+my-account/my-account-videos/my-account-videos.component.scss
Fix adding captions to a video
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-account / my-account-videos / my-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
d2cc03aa 38.video {
22a16e36 39 @include row-blocks;
a2b817d3 40
ce0e281d
C
41 &:first-child {
42 margin-top: 47px;
43 }
44
a8981e0b
C
45 .checkbox-container {
46 display: flex;
47 align-items: center;
48 margin-right: 20px;
49 margin-left: 12px;
50 }
51
d2cc03aa
C
52 my-video-thumbnail {
53 margin-right: 10px;
54 }
55
56 .video-info {
57 flex-grow: 1;
58
59 .video-info-name {
b2731bff
C
60 @include disable-default-a-behaviour;
61
9a0fc840 62 color: var(--mainForegroundColor);
b2731bff 63 display: block;
bbe0f064 64 width: fit-content;
d2cc03aa
C
65 font-size: 16px;
66 font-weight: $font-semibold;
67 }
68
191764f3
C
69 .video-info-date-views,
70 .video-info-private,
71 .video-info-blacklisted {
d2cc03aa 72 font-size: 13px;
2243730c 73
191764f3
C
74 &.video-info-private,
75 &.video-info-blacklisted .blacklisted-label {
2243730c
C
76 font-weight: $font-semibold;
77 }
191764f3
C
78
79 &.video-info-blacklisted {
80 color: red;
81
82 .blacklisted-reason {
83 &::before {
84 content: ' - ';
85 }
86 }
87 }
d2cc03aa
C
88 }
89 }
b2731bff
C
90
91 .video-buttons {
92 min-width: 190px;
74d63469
GR
93
94 *:not(:last-child) {
95 margin-right: 10px;
96 }
b2731bff 97 }
d2cc03aa 98}
9b7d1c72
C
99
100@media screen and (max-width: 800px) {
101 .video {
102 flex-direction: column;
103 height: auto;
104 text-align: center;
105
f2bbd1e1
C
106 .video-info-name {
107 margin: auto;
108 }
109
9b7d1c72
C
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}