Import torrents with webtorrent
[oweals/peertube.git] / client / src / app / videos / +video-edit / video-add-components / video-import-torrent.component.scss
1 @import 'variables';
2 @import 'mixins';
3
4 $width-size: 190px;
5
6 .peertube-select-container {
7   @include peertube-select-container($width-size);
8 }
9
10 .import-video-torrent {
11   display: flex;
12   flex-direction: column;
13   align-items: center;
14
15   .icon.icon-upload {
16     @include icon(90px);
17     margin-bottom: 25px;
18     cursor: default;
19
20     background-image: url('../../../../assets/images/video/upload.svg');
21   }
22
23   .button-file {
24     @include peertube-button-file(auto);
25
26     min-width: 190px;
27   }
28
29   .button-file-extension {
30     display: block;
31     font-size: 12px;
32     margin-top: 5px;
33   }
34
35   .torrent-or-magnet {
36     margin: 10px 0;
37   }
38
39   .form-group-magnet-uri {
40     margin-bottom: 40px;
41   }
42
43   input[type=text] {
44     @include peertube-input-text($width-size);
45     display: block;
46   }
47
48   input[type=button] {
49     @include peertube-button;
50     @include orange-button;
51
52     width: $width-size;
53     margin-top: 30px;
54   }
55 }
56
57