返回 AiToEarn
video.module.scss
1 .video {
2 width: 100%;
3 height: 100%;
4 min-width: 0;
5 display: flex;
6 :global {
7 .ant-spin-nested-loading {
8 width: 100%;
9 .ant-spin-container {
10 height: 100%;
11 }
12 }
13 .video-pubBefore {
14 display: flex;
15 flex-direction: column;
16 align-items: center;
17 justify-content: center;
18 width: 100%;
19 height: 100%;
20 &-con {
21 display: flex;
22 }
23 h1 {
24 font-size: 24px;
25 }
26 &-tip {
27 font-size: var(--fs-sm);
28 color: var(--grayColor10);
29 margin: 20px 0;
30 }
31 }
32
33 .video-pubAfter {
34 display: flex;
35 flex-direction: column;
36 flex: 1;
37 height: 100%;
38 min-height: 0;
39 box-sizing: border-box;
40 &-con {
41 height: 100%;
42 min-height: 0;
43 padding: 15px 15px 0 15px;
44 display: flex;
45 box-sizing: border-box;
46 }
47 &-left {
48 width: 70%;
49 display: flex;
50 flex-direction: column;
51 flex: 1;
52 &-list {
53 flex: 1;
54 overflow-y: auto;
55 padding-right: 10px;
56 }
57 &-options {
58 display: flex;
59 justify-content: space-between;
60 align-items: center;
61 margin-bottom: 15px;
62 h1 {
63 font-weight: 400;
64 font-size: var(--fs-lg);
65 margin-right: 10px;
66 }
67 &-account, &-video {
68 align-items: center;
69 display: flex;
70
71 button {
72 margin-right: 10px;
73 }
74 }
75 }
76 }
77 &-right {
78 width: 30%;
79 margin-left: 20px;
80 padding-left: 10px;
81 border-left: 1px solid rgb(232, 232, 232);
82 overflow: auto;
83 }
84 &-footer {
85 text-align: center;
86 border-top: 1px solid var(--grayColor3);
87 padding: 15px;
88 button {
89 margin-right: 20px;
90 &:last-of-type {
91 margin-right: 0;
92 }
93 }
94 }
95 }
96
97 .videoChooseItem {
98 text-align: left;
99 margin-bottom: 20px;
100 height: 90px;
101 display: flex;
102 &-noAccount {
103 width: 100%;
104 min-width: 0;
105 display: flex;
106 flex-direction: column;
107 align-items: center;
108 justify-content: center;
109 cursor: pointer;
110 font-size: var(--fs-sm);
111 &-icon {
112 background: rgba(172, 182, 182);
113 display: flex;
114 width: 40px;
115 height: 40px;
116 align-items: center;
117 justify-content: center;
118 border-radius: 50%;
119 font-size: 20px;
120 color: #fff;
121 margin-bottom: 4px;
122 transition: 0.3s;
123 }
124 & > span {
125 color: #444;
126 }
127
128 &:hover {
129 & > span {
130 color: var(--colorPrimary5) !important;
131 }
132 .videoChooseItem-noAccount-icon {
133 background: var(--colorPrimary5);
134 }
135 }
136 }
137 &-options {
138 flex-shrink: 0;
139 margin-left: 5px;
140 border: 1px solid rgb(232, 232, 232);
141 height: calc(100% - 2px);
142 border-radius: 6px;
143 padding: 0 15px 0 20px;
144 box-sizing: border-box;
145 position: relative;
146 display: flex;
147 align-items: baseline;
148 justify-content: center;
149 flex-direction: column;
150 button {
151 &:nth-of-type(1) {
152 margin-bottom: 5px;
153 }
154 }
155 &:after, &:before {
156 content: "";
157 display: block;
158 position: absolute;
159 border: 1px solid rgb(196, 196, 196);
160 width: 20px;
161 height: 6px;
162 border-radius: 20px;
163 left: 0;
164 transform: translateX(-70%);
165 }
166 &:after {
167 top: 25%;
168 }
169 &:before {
170 top: 65%;
171 }
172 }
173 &-core {
174 display: flex;
175 background: rgb(247, 250, 250);
176 padding: 10px;
177 box-sizing: border-box;
178 border: 1px solid transparent;
179 transition: 0.3s;
180 border-radius: 8px;
181 height: 100%;
182 width: 100%;
183 min-width: 0;
184 &:hover {
185 border-color: var(--colorPrimary5);
186 .videoChooseItem-video-close {
187 display: flex !important;
188 z-index: 10;
189 }
190 }
191 }
192 &-left {
193 display: flex;
194 width: 100%;
195 min-width: 0;
196 &-chooseVideo {
197 width: 100%;
198 cursor: pointer;
199 .videoChoose {
200 width: 100%;
201 height: 100%;
202 display: flex;
203 flex-direction: column;
204 justify-content: center;
205 align-items: center;
206 }
207 .anticon {
208 color: rgb(172, 182, 182);
209 font-size: 30px;
210 }
211 &-name {
212 font-size: var(--fs-sm);
213 color: rgb(121, 121, 121);
214 }
215 &:hover {
216 .anticon, .videoChooseItem-left-chooseVideo-name {
217 color: var(--colorPrimary5);
218 }
219 }
220 }
221 &-info {
222 display: flex;
223 flex-direction: column;
224 margin-left: 15px;
225 justify-content: center;
226 overflow: hidden;
227 }
228 &-bottom {
229 display: flex;
230 font-size: var(--fs-sm);
231 margin-top: 14px;
232 &-item {
233 margin-right: 30px;
234 label {
235 margin-right: 10px;
236 color: var(--grayColor7);
237 }
238 &--warning {
239 color: var(--errerColor);
240 label {
241 color: var(--errerColor);
242 }
243 & > span {
244 margin-right: 5px;
245 }
246 }
247 }
248 }
249 &-title {
250 font-size: var(--fs-sm);
251 font-weight: 900;
252 white-space: nowrap;
253 text-overflow: ellipsis;
254 overflow: hidden;
255 }
256 }
257 &-right {
258 width: 200px;
259 flex-shrink: 0;
260 display: flex;
261 align-items: center;
262 border-left: 1px solid #e5e5e5;
263 padding-left: 20px;
264 box-sizing: border-box;
265 }
266 &-account {
267 width: 100%;
268 display: flex;
269 align-items: center;
270 &:hover {
271 .videoChooseItem-account-avatar-replace {
272 display: flex !important;
273 }
274 }
275 &-avatar {
276 position: relative;
277 .ant-avatar {
278 flex-shrink: 0;
279 }
280 &-replace {
281 display: none;
282 position: absolute;
283 cursor: pointer;
284 color: #fff;
285 background: var(--colorPrimary5);
286 width: 16px;
287 height: 16px;
288 bottom: -2px;
289 right: -2px;
290 align-items: center;
291 justify-content: center;
292 font-size: 10px;
293 border-radius: 50%;
294 }
295 }
296 &-con {
297 width: 100%;
298 display: flex;
299 flex-direction: column;
300 justify-content: center;
301 margin-left: 5px;
302 font-size: var(--fs-sm);
303
304 .ant-alert {
305 padding: 0 3px;
306 width: 80px;
307 font-size: var(--fs-xs);
308 margin-top: 5px;
309 color: #ff4d4f;
310 cursor: pointer;
311 .anticon {
312 margin-right: 4px;
313 }
314 }
315 }
316 &-top {
317 width: 100%;
318 display: flex;
319 align-items: center;
320 &-name {
321 display: block;
322 white-space: nowrap;
323 overflow: hidden;
324 text-overflow: ellipsis;
325 max-width: 80%;
326 }
327 img {
328 width: 15px;
329 margin-left: 5px;
330 }
331 }
332 }
333 &-video {
334 width: 50px;
335 height: 100%;
336 position: relative;
337 flex-shrink: 0;
338 &-close {
339 border-radius: 50%;
340 position: absolute;
341 right: -4px;
342 top: -4px;
343 background: red;
344 display: none;
345 justify-content: center;
346 align-items: center;
347 width: 15px;
348 height: 15px;
349 cursor: pointer;
350 }
351 &-play {
352 width: 100%;
353 height: 100%;
354 position: relative;
355 img {
356 width: 100%;
357 height: 100%;
358 object-fit: cover;
359 border-radius: 4px;
360 }
361 &-click {
362 position: absolute;
363 display: none;
364 align-items: center;
365 justify-content: center;
366 border-radius: 50%;
367 top: 50%;
368 left: 50%;
369 transform: translate(-50%, -50%);
370 color: #fff;
371 font-size: 24px;
372 width: 30px;
373 height: 30px;
374 background: var(--colorPrimary5);
375 }
376 &:hover {
377 .videoChooseItem-video-play-click {
378 display: flex !important;
379 cursor: pointer;
380 }
381 }
382 }
383 }
384 }
385
386 .commonPubSetting {
387 text-align: left;
388 .ant-input-data-count {
389 bottom: 0;
390 }
391
392 h1 {
393 font-weight: 400;
394 font-size: var(--fs-lg);
395 margin-bottom: 5px;
396 }
397 h2 {
398 font-weight: 400;
399 font-size: var(--fs-md);
400 margin-bottom: 5px;
401 margin-top: 20px;
402 .anticon {
403 margin-left: 3px;
404 }
405 }
406 &-tip {
407 font-size: var(--fs-sm);
408 color: var(--grayColor7);
409 margin-top: 5px;
410 }
411 }
412 }
413 }
414
415
415 lines Plain Text