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