]>
Commit | Line | Data |
---|---|---|
1 | @import '_variables'; | |
2 | @import '_mixins'; | |
3 | ||
4 | .upload-video-container { | |
5 | border-radius: 3px; | |
6 | background-color: #F7F7F7; | |
7 | border: 3px solid #EAEAEA; | |
8 | width: 100%; | |
9 | height: 440px; | |
10 | margin-top: 40px; | |
11 | display: flex; | |
12 | justify-content: center; | |
13 | align-items: center; | |
14 | ||
15 | .peertube-select-container { | |
16 | @include peertube-select-container(190px); | |
17 | } | |
18 | ||
19 | .upload-video { | |
20 | display: flex; | |
21 | flex-direction: column; | |
22 | align-items: center; | |
23 | ||
24 | .form-group-channel { | |
25 | margin-bottom: 20px; | |
26 | } | |
27 | ||
28 | .icon.icon-upload { | |
29 | @include icon(90px); | |
30 | margin-bottom: 25px; | |
31 | cursor: default; | |
32 | ||
33 | background-image: url('../../../assets/images/video/upload.svg'); | |
34 | } | |
35 | ||
36 | .button-file { | |
37 | @include peertube-button-file(auto); | |
38 | ||
39 | min-width: 190px; | |
40 | } | |
41 | ||
42 | .button-file-extension { | |
43 | display: block; | |
44 | font-size: 12px; | |
45 | margin-top: 5px; | |
46 | } | |
47 | } | |
48 | ||
49 | .form-group-channel { | |
50 | margin-top: 35px; | |
51 | } | |
52 | } | |
53 | ||
54 | .upload-progress-cancel { | |
55 | display: flex; | |
56 | margin-top: 25px; | |
57 | margin-bottom: 40px; | |
58 | ||
59 | p-progressBar { | |
60 | flex-grow: 1; | |
61 | ||
62 | /deep/ .ui-progressbar { | |
63 | font-size: 15px !important; | |
64 | color: #fff !important; | |
65 | height: 30px !important; | |
66 | line-height: 30px !important; | |
67 | border-radius: 3px !important; | |
68 | background-color: rgba(11, 204, 41, 0.16) !important; | |
69 | ||
70 | .ui-progressbar-value { | |
71 | background-color: #0BCC29 !important; | |
72 | } | |
73 | ||
74 | .ui-progressbar-label { | |
75 | text-align: left; | |
76 | padding-left: 18px; | |
77 | margin-top: 0 !important; | |
78 | } | |
79 | } | |
80 | ||
81 | &.processing { | |
82 | /deep/ .ui-progressbar-label { | |
83 | // Same color as background to hide "100%" | |
84 | color: rgba(11, 204, 41, 0.16) !important; | |
85 | ||
86 | &::before { | |
87 | content: 'Processing...'; | |
88 | color: #fff; | |
89 | } | |
90 | } | |
91 | } | |
92 | } | |
93 | ||
94 | input { | |
95 | @include peertube-button; | |
96 | @include grey-button; | |
97 | ||
98 | margin-left: 10px; | |
99 | } | |
100 | } | |
101 |