From 9d3cc69b56cee9dc6528a006a41844edc6b6755b Mon Sep 17 00:00:00 2001 From: tablatronix Date: Fri, 9 Nov 2018 15:16:19 -0600 Subject: [PATCH 1/2] rework css shrink css, add file upload input styling --- extras/WiFiManager.template.html | 18 ++++++++++++------ strings_en.h | 6 ++++-- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/extras/WiFiManager.template.html b/extras/WiFiManager.template.html index 9a0b082..1ce1b0a 100644 --- a/extras/WiFiManager.template.html +++ b/extras/WiFiManager.template.html @@ -25,7 +25,6 @@ body.invert .q[role=img] { -webkit-filter: invert(1); filter: invert(1); } - .c, body { text-align: center; @@ -35,25 +34,28 @@ body { text-align:left; display:inline-block; min-width:260px; + max-width:500px; } div, input { padding: 5px; font-size: 1em; -} -input { - width: 95%; + width: 100%; margin:5px 0; + box-sizing: border-box; + border-radius:.3rem; } -button { +button,input[type="button"],input[type="submit"] { border: 0; - border-radius: .3rem; background-color: #9933CC; color: #fff; line-height: 2.4rem; font-size: 1.2rem; width: 100%; } +input[type="file"]{ + border: 1px solid #9933CC; +} a { color: #000; font-weight: 700; @@ -293,6 +295,10 @@ button.D{

More information about WiFiManager at https://github.com/tzapu/WiFiManager + +

Form UPLOAD

+ + diff --git a/strings_en.h b/strings_en.h index 265ec5d..2bfe079 100644 --- a/strings_en.h +++ b/strings_en.h @@ -61,8 +61,10 @@ const char HTTP_STATUS_NONE[] PROGMEM = "
No AP set
"; const char HTTP_BR[] PROGMEM = "
"; const char HTTP_STYLE[] PROGMEM = "