]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+admin/moderation/moderation.component.scss
predefined report reasons & improved reporter UI (#2842)
[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
1ebddadd
RK
45p-calendar {
46 display: block;
47
48 ::ng-deep {
49 .ui-widget-content {
50 min-width: 400px;
51 }
52
53 input {
54 @include peertube-input-text(100%);
55 }
56 }
57}
58
d6af8146 59.screenratio {
68d19a0a
RK
60 div {
61 @include miniature-thumbnail;
68d19a0a
RK
62 display: inline-flex;
63 justify-content: center;
64 align-items: center;
e66883b3 65 color: pvar(--inputPlaceholderColor);
68d19a0a
RK
66 }
67
e66883b3 68 @include large-screen-ratio($selector: 'div, ::ng-deep iframe') {
d6af8146
RK
69 width: 100% !important;
70 height: 100% !important;
71 left: 0;
e66883b3 72 };
d6af8146
RK
73}
74
75.chip {
76 @include chip;
83b5fe9c 77}
5fd4ca00
RK
78
79my-action-dropdown.show {
80 ::ng-deep .dropdown-root {
81 display: block !important;
82 }
83}
aeb1bed9
RK
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 {
e66883b3 118 color: pvar(--inputPlaceholderColor);
aeb1bed9
RK
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%;
e66883b3 138 color: pvar(--mainForegroundColor);
aeb1bed9
RK
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}