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