From 5578f61ca6dfc1f49702dddc9dcd8b1a1e82ba79 Mon Sep 17 00:00:00 2001 From: Hieromon Ikasamo Date: Sun, 3 Feb 2019 04:00:42 +0900 Subject: [PATCH] Improved display layout --- src/AutoConnectPage.cpp | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/src/AutoConnectPage.cpp b/src/AutoConnectPage.cpp index 5406f3f..0863541 100644 --- a/src/AutoConnectPage.cpp +++ b/src/AutoConnectPage.cpp @@ -40,6 +40,11 @@ const char AutoConnect::_CSS_BASE[] PROGMEM = { "}" ".base-panel>*>label{" "display:inline-block;" + "width:3.0em;" + "text-align:right;" + "}" + ".base-panel>*>label.slist{" + "width:auto;" "font-size:0.9em;" "margin-left:10px;" "text-align:left;" @@ -151,14 +156,14 @@ const char AutoConnect::_CSS_INPUT_BUTTON[] PROGMEM = { "width:auto;" "}" "input#sb[type=\"submit\"]{" - "width:16em;" + "width:15em;" "}" "input[type=\"submit\"]{" "background-color:#006064;" "border-color:#006064;" "}" - "input[type=\"button\"], input[type=\"submit\"]:focus," - "input[type=\"button\"], input[type=\"submit\"]:active{" + "input[type=\"button\"],input[type=\"submit\"]:focus," + "input[type=\"button\"],input[type=\"submit\"]:active{" "outline:none;" "text-decoration:none;" "}" @@ -166,7 +171,7 @@ const char AutoConnect::_CSS_INPUT_BUTTON[] PROGMEM = { /**< INPUT text style */ const char AutoConnect::_CSS_INPUT_TEXT[] PROGMEM = { - "input[type=\"text\"], input[type=\"password\"], .aux-page select{" + "input[type=\"text\"],input[type=\"password\"], .aux-page select{" "background-color:#fff;" "border:1px solid #ccc;" "border-radius:2px;" @@ -174,7 +179,7 @@ const char AutoConnect::_CSS_INPUT_TEXT[] PROGMEM = { "margin:8px 0 8px 0;" "padding:10px;" "}" - "input[type=\"text\"], input[type=\"password\"]{" + "input[type=\"text\"],input[type=\"password\"]{" "font-weight:300;" "width:calc(100% - 124px);" "-webkit-transition:all 0.20s ease-in;" @@ -515,7 +520,7 @@ const char AutoConnect::_ELM_MENU_PRE[] PROGMEM = { "