From 137bf18c4eb0c41979500534373376d742165dbd Mon Sep 17 00:00:00 2001 From: John Shaver Date: Thu, 13 Sep 2018 16:44:38 -0700 Subject: [PATCH] All but the final page --- lib/extensions/admin/login/css/animations.css | 18 +++ lib/extensions/admin/login/css/main.css | 110 +++++++++++++++++- lib/extensions/admin/login/index.html | 101 +++++++++++----- lib/extensions/admin/login/js/app.js | 20 +++- 4 files changed, 213 insertions(+), 36 deletions(-) create mode 100644 lib/extensions/admin/login/css/animations.css diff --git a/lib/extensions/admin/login/css/animations.css b/lib/extensions/admin/login/css/animations.css new file mode 100644 index 0000000..ec3b1ac --- /dev/null +++ b/lib/extensions/admin/login/css/animations.css @@ -0,0 +1,18 @@ + +.spinner .spinner-ball { + animation: pulsing 2s ease infinite; +} + +.spinner .spinner-ball:nth-child(2) { + animation-delay: 0.2s; +} +.spinner .spinner-ball:nth-child(3) { + animation-delay: 0.4s; +} +@keyframes pulsing { + 0% {transform: scale(1);} + 35% {transform: scale(1);} + 60% {transform: scale(1.3);} + 75% {transform: scale(1.3);} + 100% {transform: scale(1);} +} diff --git a/lib/extensions/admin/login/css/main.css b/lib/extensions/admin/login/css/main.css index cf705ec..09dad1b 100644 --- a/lib/extensions/admin/login/css/main.css +++ b/lib/extensions/admin/login/css/main.css @@ -12,9 +12,12 @@ body { font-family: Source Sans Pro, sans-serif; font-size: 18px; color: #1a1a1a; + letter-spacing: -0.022222222em; + line-height: 1.33; + margin: 0; } -svg.icon-computer {width: 4em;fill: #1a1a1a;} +svg.icon-computer {width: 4em;height: 4em;} .container { text-align: center; @@ -53,8 +56,6 @@ svg.icon-computer {width: 4em;fill: #1a1a1a;} background: #DDDDDD; } .checkbox-array .icon-checked-box, .checkbox-array .icon-unchecked-box { - width: 1.333333333em; - fill: #1a1a1a; margin-right: 0.666666667em; } @@ -91,8 +92,111 @@ button:disabled { h1.logo { font-size: 1.555555556em; + margin-bottom: 1.777777778em; } h2 { font-size: 1.777777778em; + margin: 0; +} + +svg { + width: 1.333333333em; + height: 1.333333333em; + fill: #1a1a1a; +} + +svg.authorized-check { + fill: #63f794; + margin-right: 0.666666667em; +} + +.progress .row { + display: flex; + justify-content: left; + margin: 0.6666em 0; +} + +.spinner-ball { + width: 4px; + height: 4px; + border-radius: 5px; + background: #1a1a1a; + margin: 2px; +} + +span.spinner { + display: flex; + align-items: center; + margin-right: 0.666666667em; +} + +.important-text { + font-weight: bold; +} + +.progress { + padding: 0.666666667em 0; + display: inline-block; +} + +.debugging-info-container { + text-align: center; + position: absolute; + bottom: 0; + width: 100%; + background: white; + /* overflow: hidden; */ +} + +.debugging-info-container pre { + word-break: break-all; + white-space: pre-wrap; +} + +.debugging-info { + max-width: 65em; + margin: 0 auto; +} + +span.debugging.button { + display: inline-flex; +} + +span.js-debugging-button.debugging-button { + display: inline-flex; +} + +.debugging-button { + display: inline-flex; + padding: 0.5em; + position: absolute; + bottom: 100%; + transform: translateX(-50%); +} + +.debugging-info-container.visible .debugging-button svg { + transform: rotate(180deg); +} + +.debugging-button svg {transition: transform 0.3s;} + +.debug-drawer { + /* position: relative; */ + transform: translateY(100%); + transition: transform 0.3s; + padding: 0.1em 0; +} + +p { + margin: 0; +} + +.debugging-info-container.visible .debug-drawer { + transform: translateY(0); +} + +.debugging-info-container { + padding-top: 3em; + overflow: hidden; } \ No newline at end of file diff --git a/lib/extensions/admin/login/index.html b/lib/extensions/admin/login/index.html index 1b1485a..22a3af7 100644 --- a/lib/extensions/admin/login/index.html +++ b/lib/extensions/admin/login/index.html @@ -3,6 +3,7 @@ Telebit - Pair Device +