From 0b6608e2ef239969886fcdb3101a13583dd696cb Mon Sep 17 00:00:00 2001 From: Shuanglei Tao Date: Sat, 13 Jan 2018 17:29:50 +0800 Subject: [PATCH] zmodem: rewrite the ui modal --- html/css/app.css | 24 ++++++--- html/index.html | 12 ++--- html/js/app.js | 135 ++++++++++++++++++++++++++++++----------------- src/index.html | 16 +++--- 4 files changed, 116 insertions(+), 71 deletions(-) diff --git a/html/css/app.css b/html/css/app.css index 0b4197d..deba0bf 100644 --- a/html/css/app.css +++ b/html/css/app.css @@ -24,24 +24,36 @@ html, body { #modal header { font-weight: bold; text-align: center; - padding-bottom: 20px; - margin-bottom: 20px; + padding-bottom: 10px; + margin-bottom: 10px; border-bottom: 1px solid #ddd; } +#status { + margin-top: 10px; + text-align: center; +} + +#choose { + padding-top: 10px; +} + #choose .file-name { border-color: transparent; } #progress { - margin-top: 20px; - padding-top: 20px; - border-top: 1px dashed #ddd; + padding-top: 10px; +} + +#file-name { + background-color: #fafffd; + text-align: center; } #progress progress { - margin-bottom: 0.5rem; + margin: 10px 0; } #progress { diff --git a/html/index.html b/html/index.html index 2b6165d..2a9142f 100644 --- a/html/index.html +++ b/html/index.html @@ -16,14 +16,9 @@