PeerTube/client/src/app/videos/+video-edit/video-add.component.scss

102 lines
1.9 KiB
SCSS
Raw Normal View History

2017-12-11 17:36:46 +01:00
@import '_variables';
@import '_mixins';
2017-12-07 16:32:06 +01:00
.upload-video-container {
border-radius: 3px;
background-color: #F7F7F7;
border: 3px solid #EAEAEA;
width: 100%;
height: 440px;
margin-top: 40px;
display: flex;
justify-content: center;
align-items: center;
2017-12-20 14:29:55 +01:00
.peertube-select-container {
@include peertube-select-container(190px);
}
2017-12-07 16:32:06 +01:00
.upload-video {
display: flex;
flex-direction: column;
align-items: center;
2017-12-20 14:29:55 +01:00
.form-group-channel {
margin-bottom: 20px;
}
2017-12-07 16:32:06 +01:00
.icon.icon-upload {
@include icon(90px);
margin-bottom: 25px;
2017-12-08 08:39:15 +01:00
cursor: default;
2017-12-07 16:32:06 +01:00
background-image: url('../../../assets/images/video/upload.svg');
}
.button-file {
2018-06-05 16:52:25 +02:00
@include peertube-button-file(auto);
2017-12-07 16:32:06 +01:00
2018-06-05 16:52:25 +02:00
min-width: 190px;
2017-12-07 16:32:06 +01:00
}
2018-06-29 15:04:49 +02:00
.button-file-extension {
display: block;
font-size: 12px;
margin-top: 5px;
}
}
.form-group-channel {
margin-top: 35px;
2017-12-07 16:32:06 +01:00
}
}
2018-01-23 15:15:03 +01:00
.upload-progress-cancel {
display: flex;
margin-top: 25px;
margin-bottom: 40px;
p-progressBar {
flex-grow: 1;
/deep/ .ui-progressbar {
font-size: 15px !important;
color: #fff !important;
height: 30px !important;
line-height: 30px !important;
border-radius: 3px !important;
background-color: rgba(11, 204, 41, 0.16) !important;
.ui-progressbar-value {
background-color: #0BCC29 !important;
}
2017-12-07 17:56:59 +01:00
2018-01-23 15:15:03 +01:00
.ui-progressbar-label {
text-align: left;
padding-left: 18px;
margin-top: 0 !important;
}
2017-12-08 08:39:15 +01:00
}
2018-01-23 15:15:03 +01:00
&.processing {
/deep/ .ui-progressbar-label {
// Same color as background to hide "100%"
color: rgba(11, 204, 41, 0.16) !important;
2017-12-08 08:39:15 +01:00
2018-01-23 15:15:03 +01:00
&::before {
content: 'Processing...';
color: #fff;
}
2017-12-08 08:39:15 +01:00
}
2017-12-07 17:56:59 +01:00
}
}
2018-01-23 15:15:03 +01:00
input {
@include peertube-button;
@include grey-button;
margin-left: 10px;
}
}
2017-12-07 16:32:06 +01:00