From 2fd24fecd3884df841dcf0cb04760f1a82a6f16d Mon Sep 17 00:00:00 2001 From: Hieromon Ikasamo Date: Wed, 16 Oct 2019 01:36:25 +0900 Subject: [PATCH] Reduced consume memory for the OpenSSIDs page --- src/AutoConnectPage.cpp | 77 +++++++++++++++++++++++------------------ 1 file changed, 44 insertions(+), 33 deletions(-) diff --git a/src/AutoConnectPage.cpp b/src/AutoConnectPage.cpp index 5e5861d..1d70999 100644 --- a/src/AutoConnectPage.cpp +++ b/src/AutoConnectPage.cpp @@ -3,7 +3,7 @@ * @file AutoConnectPage.h * @author hieromon@gmail.com * @version 1.1.0 - * @date 2019-10-13 + * @date 2019-10-15 * @copyright MIT license. */ @@ -289,7 +289,7 @@ const char AutoConnect::_CSS_SPINNER[] PROGMEM = { "position:relative;" "margin:100px auto" "}" - ".double-bounce1, .double-bounce2{" + ".dbl-bounce1, .dbl-bounce2{" "width:100%;" "height:100%;" "border-radius:50%;" @@ -301,7 +301,7 @@ const char AutoConnect::_CSS_SPINNER[] PROGMEM = { "-webkit-animation:sk-bounce 2.0s infinite ease-in-out;" "animation:sk-bounce 2.0s infinite ease-in-out" "}" - ".double-bounce2{" + ".dbl-bounce2{" "-webkit-animation-delay:-1.0s;" "animation-delay:-1.0s" "}" @@ -487,10 +487,10 @@ const char AutoConnect::_CSS_LUXBAR[] PROGMEM = { "white-space:nowrap;" "}" "}" - ".lb-cb:checked+.lb-menu .lb-burger-doublespin span::before{" + ".lb-cb:checked+.lb-menu .lb-burger-dblspin span::before{" "transform:rotate(225deg)" "}" - ".lb-cb:checked+.lb-menu .lb-burger-doublespin span::after{" + ".lb-cb:checked+.lb-menu .lb-burger-dblspin span::after{" "transform:rotate(-225deg)" "}" ".lb-menu-material," @@ -525,7 +525,7 @@ const char AutoConnect::_ELM_MENU_PRE[] PROGMEM = { "