]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/videos/+video-edit/video-add.component.scss
Fix tests
[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 position: relative;
38 overflow: hidden;
39 display: inline-block;
40 margin-bottom: 45px;
41 width: 190px;
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 }
62 }
63 }
64
65 p-progressBar {
66 /deep/ .ui-progressbar {
67 margin-top: 25px !important;
68 margin-bottom: 40px !important;
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;
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 }
96 }
97 }
98 }
99
100