From 976a6b4a8c7bcdada5c52acc85f93ece4f91e667 Mon Sep 17 00:00:00 2001 From: James Mills Date: Sat, 21 Mar 2020 20:34:37 +1000 Subject: Added basic upload support --- static/theme.css | 109 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 109 insertions(+) (limited to 'static/theme.css') diff --git a/static/theme.css b/static/theme.css index 522f97d..8c5d22f 100644 --- a/static/theme.css +++ b/static/theme.css @@ -193,3 +193,112 @@ main { display: block; } } + +/* Upload */ +.upload_form_cont { + background: -moz-linear-gradient(#ffffff, #f2f2f2); + background: -ms-linear-gradient(#ffffff, #f2f2f2); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(100%, #f2f2f2)); + background: -webkit-linear-gradient(#ffffff, #f2f2f2); + background: -o-linear-gradient(#ffffff, #f2f2f2); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f2f2f2'); + -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f2f2f2')"; + background: linear-gradient(#ffffff, #f2f2f2); + color:#000; + overflow:hidden; +} +#upload_form { + float:left; + padding:20px; + width:700px; +} +#upload_form > div { + margin-bottom:10px; +} +#speed,#remaining { + float:left; + width:100px; +} +#b_transfered { + float:right; + text-align:right; +} +.clear_both { + clear:both; +} +input { + border-radius:10px; + -moz-border-radius:10px; + -ms-border-radius:10px; + -o-border-radius:10px; + -webkit-border-radius:10px; + border:1px solid #ccc; + font-size:14pt; + padding:5px 10px; +} +input[type=button] { + background: -moz-linear-gradient(#ffffff, #dfdfdf); + background: -ms-linear-gradient(#ffffff, #dfdfdf); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(100%, #dfdfdf)); + background: -webkit-linear-gradient(#ffffff, #dfdfdf); + background: -o-linear-gradient(#ffffff, #dfdfdf); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#dfdfdf'); + -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#dfdfdf')"; + background: linear-gradient(#ffffff, #dfdfdf); +} +#video_file { + width:400px; +} +#progress_info { + font-size:10pt; +} +#fileinfo,#error,#error2,#abort,#warnsize { + color:#aaa; + display:none; + font-size:10pt; + font-style:italic; + margin-top:10px; +} +#progress { + border:1px solid #ccc; + display:none; + float:left; + height:14px; + border-radius:10px; + -moz-border-radius:10px; + -ms-border-radius:10px; + -o-border-radius:10px; + -webkit-border-radius:10px; + background: -moz-linear-gradient(#66cc00, #4b9500); + background: -ms-linear-gradient(#66cc00, #4b9500); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #66cc00), color-stop(100%, #4b9500)); + background: -webkit-linear-gradient(#66cc00, #4b9500); + background: -o-linear-gradient(#66cc00, #4b9500); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#66cc00', endColorstr='#4b9500'); + -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#66cc00', endColorstr='#4b9500')"; + background: linear-gradient(#66cc00, #4b9500); +} +#progress_percent { + float:right; +} +#upload_response { + margin-top: 10px; + padding: 20px; + overflow: hidden; + display: none; + border: 1px solid #ccc; + border-radius:10px; + -moz-border-radius:10px; + -ms-border-radius:10px; + -o-border-radius:10px; + -webkit-border-radius:10px; + box-shadow: 0 0 5px #ccc; + background: -moz-linear-gradient(#bbb, #eee); + background: -ms-linear-gradient(#bbb, #eee); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #bbb), color-stop(100%, #eee)); + background: -webkit-linear-gradient(#bbb, #eee); + background: -o-linear-gradient(#bbb, #eee); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#bbb', endColorstr='#eee'); + -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#bbb', endColorstr='#eee')"; + background: linear-gradient(#000000, #1e1e1e); +} -- cgit v1.2.3