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

100 lines
2.0 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;
text-align: center;
margin-top: 40px;
display: flex;
justify-content: center;
align-items: center;
.upload-video {
display: flex;
flex-direction: column;
align-items: center;
.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 {
position: relative;
overflow: hidden;
display: inline-block;
margin-bottom: 70px;
@include peertube-button;
@include orange-button;
input[type=file] {
position: absolute;
top: 0;
right: 0;
min-width: 100%;
min-height: 100%;
font-size: 100px;
text-align: right;
filter: alpha(opacity=0);
opacity: 0;
outline: none;
background: white;
cursor: inherit;
display: block;
}
}
select {
@include peertube-select(auto);
display: inline-block;
font-size: 15px
}
}
}
2017-12-07 17:56:59 +01:00
p-progressBar {
/deep/ .ui-progressbar {
2017-12-08 08:39:15 +01:00
margin-top: 25px !important;
margin-bottom: 40px !important;
2017-12-07 17:56:59 +01:00
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;
}
.ui-progressbar-label {
text-align: left;
padding-left: 18px;
2017-12-08 08:39:15 +01:00
margin-top: 0 !important;
}
}
&.processing {
/deep/ .ui-progressbar-label {
// Same color as background to hide "100%"
color: rgba(11, 204, 41, 0.16) !important;
&::before {
content: 'Processing...';
color: #fff;
}
2017-12-07 17:56:59 +01:00
}
}
}
2017-12-07 16:32:06 +01:00