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