X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fvideos%2F%2Bvideo-edit%2Fvideo-add.component.scss;h=0c74552d3883bd7afc2940623e9daacfae0ca42e;hb=68e24d727969a73a13e3c29b4d3bcfe50c3c52be;hp=891f38819d32f74fc42c895c68b296e4cb0d966a;hpb=15a7387da888492068e2ce3d1e39639d142f6c6e;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/videos/+video-edit/video-add.component.scss b/client/src/app/videos/+video-edit/video-add.component.scss index 891f38819..0c74552d3 100644 --- a/client/src/app/videos/+video-edit/video-add.component.scss +++ b/client/src/app/videos/+video-edit/video-add.component.scss @@ -34,67 +34,58 @@ } .button-file { - position: relative; - overflow: hidden; - display: inline-block; + @include peertube-button-file(190px); + margin-bottom: 45px; - width: 190px; - - @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; - } } } } -p-progressBar { - /deep/ .ui-progressbar { - margin-top: 25px !important; - margin-bottom: 40px !important; - 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; - } +.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; + } - .ui-progressbar-label { - text-align: left; - padding-left: 18px; - margin-top: 0 !important; + .ui-progressbar-label { + text-align: left; + padding-left: 18px; + margin-top: 0 !important; + } } - } - &.processing { - /deep/ .ui-progressbar-label { - // Same color as background to hide "100%" - color: rgba(11, 204, 41, 0.16) !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; + &::before { + content: 'Processing...'; + color: #fff; + } } } } -} + input { + @include peertube-button; + @include grey-button; + + margin-left: 10px; + } +}