diff --git a/README.md b/README.md index e1614458..5f778a8a 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ turn your phone or raspi into a portable file server with resumable uploads/down * server runs on anything with `py2.7` or `py3.3+` * browse/upload with IE4 / netscape4.0 on win3.11 (heh) -* *resumable* uploads need `firefox 34+` / `chrome 37+` / `safari 7+` +* *resumable* uploads need `firefox 34+` / `chrome 37+` / `safari 7+` for full speed * code standard: `black` 📷 screenshots: [browser](#the-browser) // [upload](#uploading) // [md-viewer](#markdown-viewer) // [search](#searching) // [fsearch](#file-search) // [zip-DL](#zip-downloads) // [ie4](#browser-support) diff --git a/copyparty/web/browser.css b/copyparty/web/browser.css index f5b16dc4..05aaa913 100644 --- a/copyparty/web/browser.css +++ b/copyparty/web/browser.css @@ -281,29 +281,48 @@ a, #files tbody div a:last-child { padding: .2em 0 0 .07em; color: #fff; } -#wzip { +#wzip, #wnp { display: none; margin-right: .3em; padding-right: .3em; border-right: .1em solid #555; } +#wnp a { + position: relative; + font-size: .47em; + margin: 0 .1em; + top: -.4em; +} +#wnp a+a { + margin-left: .33em; +} #wtoggle, #wtoggle * { line-height: 1em; } +#wtoggle.np { + width: 5.5em; +} #wtoggle.sel { width: 6.4em; } -#wtoggle.sel #wzip { +#wtoggle.sel #wzip, +#wtoggle.np #wnp { display: inline-block; } -#wtoggle.sel #wzip a { +#wtoggle.sel.np #wnp { + display: none; +} +#wzip a { font-size: .4em; padding: 0 .3em; margin: -.3em .2em; position: relative; display: inline-block; } +#wzip a+a { + margin-left: .8em; +} #wtoggle.sel #wzip #selzip { top: -.6em; padding: .4em .3em; diff --git a/copyparty/web/browser.html b/copyparty/web/browser.html index 2bede24a..d4065542 100644 --- a/copyparty/web/browser.html +++ b/copyparty/web/browser.html @@ -114,22 +114,7 @@