aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/+video-edit/video-add-components/video-upload.component.scss
blob: b5628e276b0c7d64415f7b557160e4fcccccab5e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
@import 'variables';
@import 'mixins';

.first-step-block {

  .form-group-channel {
    margin-bottom: 20px;
    margin-top: 35px;
  }

  .audio-image-info {
    margin-bottom: 10px;
  }

  .audio-preview {
    margin: 30px 0;
  }
}

.upload-progress-cancel {
  display: flex;
  margin-top: 25px;
  margin-bottom: 40px;

  p-progressBar {
    flex-grow: 1;

    ::ng-deep .ui-progressbar {
      font-size: 15px !important;
      height: 30px !important;
      border-radius: 3px !important;
      background-color: rgba(11, 204, 41, 0.16) !important;

      .ui-progressbar-value {
        background-color: #0BCC29 !important;
      }

      .ui-progressbar-label {
        text-align: left;
        padding-left: 18px;
        margin-top: 0 !important;
        color: #fff !important;
        line-height: 30px !important;
      }
    }

    &.processing {
      ::ng-deep .ui-progressbar-label {
        // Same color as background to hide "100%"
        color: rgba(11, 204, 41, 0.16) !important;

        &::before {
          content: 'Processing...';
          color: #fff;
        }
      }
    }
  }

  input {
    @include peertube-button;
    @include grey-button;

    margin-left: 10px;
  }
}