diff options
author | Chocobozzz <me@florianbigard.com> | 2018-08-02 15:34:09 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-08-06 11:19:16 +0200 |
commit | fbad87b0472f574409f7aa3ae7f8b54927d0cdd6 (patch) | |
tree | 197b4209e75d57dabae7cdd6f2da5f765e427023 /client/src/app/videos/+video-edit/video-upload.component.scss | |
parent | 5e319fb7898fd0482c399cc3ae9dcfc20d274a58 (diff) | |
download | PeerTube-fbad87b0472f574409f7aa3ae7f8b54927d0cdd6.tar.gz PeerTube-fbad87b0472f574409f7aa3ae7f8b54927d0cdd6.tar.zst PeerTube-fbad87b0472f574409f7aa3ae7f8b54927d0cdd6.zip |
Add ability to import video with youtube-dl
Diffstat (limited to 'client/src/app/videos/+video-edit/video-upload.component.scss')
-rw-r--r-- | client/src/app/videos/+video-edit/video-upload.component.scss | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/client/src/app/videos/+video-edit/video-upload.component.scss b/client/src/app/videos/+video-edit/video-upload.component.scss new file mode 100644 index 000000000..015835672 --- /dev/null +++ b/client/src/app/videos/+video-edit/video-upload.component.scss | |||
@@ -0,0 +1,85 @@ | |||
1 | @import '_variables'; | ||
2 | @import '_mixins'; | ||
3 | |||
4 | .peertube-select-container { | ||
5 | @include peertube-select-container(190px); | ||
6 | } | ||
7 | |||
8 | .upload-video { | ||
9 | display: flex; | ||
10 | flex-direction: column; | ||
11 | align-items: center; | ||
12 | |||
13 | .form-group-channel { | ||
14 | margin-bottom: 20px; | ||
15 | margin-top: 35px; | ||
16 | } | ||
17 | |||
18 | .icon.icon-upload { | ||
19 | @include icon(90px); | ||
20 | margin-bottom: 25px; | ||
21 | cursor: default; | ||
22 | |||
23 | background-image: url('../../../assets/images/video/upload.svg'); | ||
24 | } | ||
25 | |||
26 | .button-file { | ||
27 | @include peertube-button-file(auto); | ||
28 | |||
29 | min-width: 190px; | ||
30 | } | ||
31 | |||
32 | .button-file-extension { | ||
33 | display: block; | ||
34 | font-size: 12px; | ||
35 | margin-top: 5px; | ||
36 | } | ||
37 | } | ||
38 | |||
39 | .upload-progress-cancel { | ||
40 | display: flex; | ||
41 | margin-top: 25px; | ||
42 | margin-bottom: 40px; | ||
43 | |||
44 | p-progressBar { | ||
45 | flex-grow: 1; | ||
46 | |||
47 | /deep/ .ui-progressbar { | ||
48 | font-size: 15px !important; | ||
49 | color: #fff !important; | ||
50 | height: 30px !important; | ||
51 | line-height: 30px !important; | ||
52 | border-radius: 3px !important; | ||
53 | background-color: rgba(11, 204, 41, 0.16) !important; | ||
54 | |||
55 | .ui-progressbar-value { | ||
56 | background-color: #0BCC29 !important; | ||
57 | } | ||
58 | |||
59 | .ui-progressbar-label { | ||
60 | text-align: left; | ||
61 | padding-left: 18px; | ||
62 | margin-top: 0 !important; | ||
63 | } | ||
64 | } | ||
65 | |||
66 | &.processing { | ||
67 | /deep/ .ui-progressbar-label { | ||
68 | // Same color as background to hide "100%" | ||
69 | color: rgba(11, 204, 41, 0.16) !important; | ||
70 | |||
71 | &::before { | ||
72 | content: 'Processing...'; | ||
73 | color: #fff; | ||
74 | } | ||
75 | } | ||
76 | } | ||
77 | } | ||
78 | |||
79 | input { | ||
80 | @include peertube-button; | ||
81 | @include grey-button; | ||
82 | |||
83 | margin-left: 10px; | ||
84 | } | ||
85 | } \ No newline at end of file | ||