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