From: Shuanglei Tao Date: Sat, 13 Jan 2018 09:29:50 +0000 (+0800) Subject: zmodem: rewrite the ui modal X-Git-Url: http://git.prime8.dev/?a=commitdiff_plain;h=0b6608e2ef239969886fcdb3101a13583dd696cb;p=ttyd.git zmodem: rewrite the ui modal --- 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 @@