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