diff --git a/README.md b/README.md index 6aa3a705..de0dc340 100644 --- a/README.md +++ b/README.md @@ -811,7 +811,7 @@ also, `--force-js` disables the plain HTML folder listing, making things harder ## themes -you can add your own themes by modifying `browser.css` or providing your own css to `--css-browser`, then telling copyparty they exist by increasing `--themes` +you can change the default theme with `--theme 2`, and add your own themes by modifying `browser.css` or providing your own css to `--css-browser`, then telling copyparty they exist by increasing `--themes`
0. classic dark diff --git a/copyparty/__version__.py b/copyparty/__version__.py index 87cafb0c..8dd0ef82 100644 --- a/copyparty/__version__.py +++ b/copyparty/__version__.py @@ -1,8 +1,8 @@ # coding: utf-8 -VERSION = (1, 2, 7) +VERSION = (1, 2, 8) CODENAME = "ftp btw" -BUILD_DT = (2022, 4, 16) +BUILD_DT = (2022, 4, 30) S_VERSION = ".".join(map(str, VERSION)) S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT) diff --git a/copyparty/web/browser.css b/copyparty/web/browser.css index a5215e34..eeda80c8 100644 --- a/copyparty/web/browser.css +++ b/copyparty/web/browser.css @@ -916,53 +916,6 @@ html.y #widget.open { width: calc(100% - 10.5em); background: rgba(0,0,0,0.2); } -@media (min-width: 70em) { - #barpos, - #barbuf { - width: calc(100% - 21em); - left: 9.8em; - top: .7em; - height: 1.6em; - bottom: auto; - } - html.b #barpos, - html.b #barbuf { - width: calc(100% - 19em); - left: 8em; - } - #widget { - bottom: -3.2em; - height: 3.2em; - } - #pvol { - max-width: 9em; - } - html.b #ops { - padding-left: 1.7em; - } - html.b #path { - padding-left: 1.3em; - } -} -@media (max-width: 35em) { - #ops>a[data-dest="new_md"], - #ops>a[data-dest="msg"] { - display: none; - } - #op_mkdir.act+div, - #op_mkdir.act+div+div { - display: block; - margin-top: 1em; - } -} -@media (max-width: 54em) { - html.b #ops { - margin-top: 1.7em; - } -} - - - .opview { display: none; } @@ -2054,6 +2007,7 @@ html.y #bbox-overlay figcaption a { } #u2cards span { color: var(--fg-max); + font-family: 'scp', monospace; } #u2cards > a:nth-child(4) > span { display: inline-block; @@ -2417,7 +2371,7 @@ html.by #barpos { } html.b #ops { max-width: 1em; - margin-bottom: 2em; + margin-bottom: 1.7em; position: relative; z-index: 2; } @@ -2506,3 +2460,54 @@ html.cy #files a, html.cy #files tbody div a:last-child { color: #000; } + + + + +@media (min-width: 70em) { + #barpos, + #barbuf { + width: calc(100% - 21em); + left: 9.8em; + top: .7em; + height: 1.6em; + bottom: auto; + } + html.b #barpos, + html.b #barbuf { + width: calc(100% - 19em); + left: 8em; + } + #widget { + bottom: -3.2em; + height: 3.2em; + } + #pvol { + max-width: 9em; + } + html.b #ops { + padding-left: 1.7em; + } + html.b .opview { + margin: 1em; + } + html.b #path { + padding-left: 1.3em; + } +} +@media (max-width: 35em) { + #ops>a[data-dest="new_md"], + #ops>a[data-dest="msg"] { + display: none; + } + #op_mkdir.act+div, + #op_mkdir.act+div+div { + display: block; + margin-top: 1em; + } +} +@media (max-width: 54em) { + html.b #ops { + margin-top: 1.7em; + } +} diff --git a/scripts/deps-docker/Dockerfile b/scripts/deps-docker/Dockerfile index 5c207e21..f8e28efe 100644 --- a/scripts/deps-docker/Dockerfile +++ b/scripts/deps-docker/Dockerfile @@ -4,7 +4,7 @@ ENV ver_asmcrypto=5b994303a9d3e27e0915f72a10b6c2c51535a4dc \ ver_hashwasm=4.9.0 \ ver_marked=4.0.12 \ ver_mde=2.16.1 \ - ver_codemirror=5.65.2 \ + ver_codemirror=5.65.3 \ ver_fontawesome=5.13.0 \ ver_zopfli=1.0.3