]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/videos/+video-edit/video-add.component.scss
Don't leak unlisted videos
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / +video-edit / video-add.component.scss
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(190px);
38
39 margin-bottom: 45px;
40 }
41 }
42 }
43
44 .upload-progress-cancel {
45 display: flex;
46 margin-top: 25px;
47 margin-bottom: 40px;
48
49 p-progressBar {
50 flex-grow: 1;
51
52 /deep/ .ui-progressbar {
53 font-size: 15px !important;
54 color: #fff !important;
55 height: 30px !important;
56 line-height: 30px !important;
57 border-radius: 3px !important;
58 background-color: rgba(11, 204, 41, 0.16) !important;
59
60 .ui-progressbar-value {
61 background-color: #0BCC29 !important;
62 }
63
64 .ui-progressbar-label {
65 text-align: left;
66 padding-left: 18px;
67 margin-top: 0 !important;
68 }
69 }
70
71 &.processing {
72 /deep/ .ui-progressbar-label {
73 // Same color as background to hide "100%"
74 color: rgba(11, 204, 41, 0.16) !important;
75
76 &::before {
77 content: 'Processing...';
78 color: #fff;
79 }
80 }
81 }
82 }
83
84 input {
85 @include peertube-button;
86 @include grey-button;
87
88 margin-left: 10px;
89 }
90 }
91