]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+admin/moderation/moderation.component.scss
Factorize video display in table for moderation components, apply it to blacklisted...
[github/Chocobozzz/PeerTube.git] / client / src / app / +admin / moderation / moderation.component.scss
CommitLineData
83b5fe9c
FA
1@import 'variables';
2@import 'mixins';
68d19a0a 3@import 'miniature';
83b5fe9c 4
614d1ae9
C
5.form-sub-title {
6 flex-grow: 0;
7 margin-right: 30px;
8}
83b5fe9c 9
5fd4ca00
RK
10.moderation-expanded {
11 font-size: 90%;
d6af8146 12
5fd4ca00
RK
13 .moderation-expanded-label {
14 font-weight: $font-semibold;
15 display: inline-block;
16 vertical-align: top;
17 text-align: right;
18 }
19
20 .moderation-expanded-text {
21 display: inline-flex;
22 word-wrap: break-word;
23
24 ::ng-deep p:last-child {
25 margin-bottom: 0px !important;
26 }
d6af8146 27 }
83b5fe9c
FA
28}
29
aeb1bed9 30.video-table-states {
68d19a0a
RK
31 & > :not(:first-child) {
32 margin-left: .4rem;
33 }
34}
35
d6af8146
RK
36.screenratio {
37 position: relative;
38 width: 100%;
39 height: 0;
40 padding-bottom: 56%;
41
68d19a0a
RK
42 div {
43 @include miniature-thumbnail;
44 position: absolute;
45 height: 100%;
46 width: 100%;
47 display: inline-flex;
48 justify-content: center;
49 align-items: center;
86521a67 50 color: var(--inputPlaceholderColor);
68d19a0a
RK
51 }
52
d6af8146
RK
53 ::ng-deep iframe {
54 position: absolute;
55 width: 100% !important;
56 height: 100% !important;
57 left: 0;
58 top: 0;
59 }
60}
61
62.chip {
63 @include chip;
83b5fe9c 64}
5fd4ca00
RK
65
66my-action-dropdown.show {
67 ::ng-deep .dropdown-root {
68 display: block !important;
69 }
70}
aeb1bed9
RK
71
72
73.video-table-video-link {
74 @include disable-outline;
75 position: relative;
76 top: 3px;
77}
78
79.video-table-video {
80 display: inline-flex;
81
82 .video-table-video-image {
83 @include miniature-thumbnail;
84
85 $image-height: 45px;
86
87 height: $image-height;
88 width: #{(16/9) * $image-height};
89 margin-right: 0.5rem;
90 border-radius: 2px;
91 border: none;
92 background: transparent;
93 display: inline-flex;
94 justify-content: center;
95 align-items: center;
96 position: relative;
97
98 img {
99 height: 100%;
100 width: 100%;
101 border-radius: 2px;
102 }
103
104 span {
105 color: var(--inputPlaceholderColor);
106 }
107
108 .video-table-video-image-label {
109 @include static-thumbnail-overlay;
110 position: absolute;
111 border-radius: 3px;
112 font-size: 10px;
113 padding: 0 3px;
114 line-height: 1.3;
115 bottom: 2px;
116 right: 2px;
117 }
118 }
119
120 .video-table-video-text {
121 display: inline-flex;
122 flex-direction: column;
123 justify-content: center;
124 font-size: 90%;
125 color: var(--mainForegroundColor);
126 line-height: 1rem;
127
128 div .glyphicon {
129 font-size: 80%;
130 color: gray;
131 margin-left: 0.1rem;
132 }
133
134 div + div {
135 font-size: 80%;
136 }
137 }
138}