aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/+video-edit/video-add-components/video-import-torrent.component.scss
blob: 262b0b68e513c17cc999c23ca939924593f6019d (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
@import 'variables';
@import 'mixins';

$width-size: 190px;

.peertube-select-container {
  @include peertube-select-container($width-size);
}

.import-video-torrent {
  display: flex;
  flex-direction: column;
  align-items: center;

  .icon.icon-upload {
    @include icon(90px);
    margin-bottom: 25px;
    cursor: default;

    background-image: url('../../../../assets/images/video/upload.svg');
  }

  .button-file {
    @include peertube-button-file(auto);

    min-width: 190px;
  }

  .button-file-extension {
    display: block;
    font-size: 12px;
    margin-top: 5px;
  }

  .torrent-or-magnet {
    margin: 10px 0;
  }

  .form-group-magnet-uri {
    margin-bottom: 40px;
  }

  input[type=text] {
    @include peertube-input-text($width-size);
    display: block;
  }

  input[type=button] {
    @include peertube-button;
    @include orange-button;

    width: $width-size;
    margin-top: 30px;
  }
}