From 5a6e589500f5232e9c1b91fc57576e65adc70e05 Mon Sep 17 00:00:00 2001 From: Viktor Oreshkin Date: Sun, 1 Mar 2020 03:43:53 +0300 Subject: [PATCH] redesign access key input box in uploader --- static/css/linx.css | 18 ++++++++++++++++++ templates/index.html | 7 ++++++- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/static/css/linx.css b/static/css/linx.css index 646c83b..4d7bc7c 100644 --- a/static/css/linx.css +++ b/static/css/linx.css @@ -264,6 +264,24 @@ body { margin: 0; } +#access_key_checkbox { + margin: 0; +} + +#access_key_checkbox:checked ~ #access_key { + display: inline-block; +} +#access_key_checkbox:checked ~ #access_key_label { + display: none; +} + +#access_key { + line-height: 1em; + padding: 1px; + border: 3px; + display: none; +} + .oopscontent { width: 400px; } diff --git a/templates/index.html b/templates/index.html index 30b281b..616e1a6 100644 --- a/templates/index.html +++ b/templates/index.html @@ -27,7 +27,12 @@ - + +
+ + + +