From 6bfb0605a381874d3622bae3774562f202d2d18c Mon Sep 17 00:00:00 2001 From: Kendell R Date: Wed, 28 Jun 2023 07:54:41 -0700 Subject: [PATCH] spruce up ui, minor formatting (#86) * spruce up ui, minor formatting * change to list style * update styles more * add chevrons * fix chevrons * Tweaks --------- Co-authored-by: Paulus Schoutsen --- rootfs/usr/share/www/index.html | 193 ++++++++++++++----- rootfs/usr/share/www/static/apple-badge.svg | 42 ---- rootfs/usr/share/www/static/apple.svg | 46 +++++ rootfs/usr/share/www/static/google-badge.png | Bin 7734 -> 0 bytes rootfs/usr/share/www/static/google.svg | 2 + rootfs/usr/share/www/static/styles.css | 119 +++++++----- 6 files changed, 264 insertions(+), 138 deletions(-) delete mode 100644 rootfs/usr/share/www/static/apple-badge.svg create mode 100644 rootfs/usr/share/www/static/apple.svg delete mode 100644 rootfs/usr/share/www/static/google-badge.png create mode 100644 rootfs/usr/share/www/static/google.svg diff --git a/rootfs/usr/share/www/index.html b/rootfs/usr/share/www/index.html index 5b614bb..d1b0f85 100644 --- a/rootfs/usr/share/www/index.html +++ b/rootfs/usr/share/www/index.html @@ -10,64 +10,159 @@
- Home Assistant logo -
Preparing Home Assistant
+
+ Home Assistant logo + Preparing Home Assistant +
-
-        
-        
- (this can take up to 20 minutes) +

       
-
-

While waiting, some suggestions:

- - -
- Join our community via - forums, - chat or - newsletter. -
+

+ This may take up to 20 minutes
While waiting, some suggestions: +

+ + + + + + Read our founder's vision for perfect home automation + + + + + + + + + Get the free newsletter + + + + + + + + + Join the forums + + + + + + + + + Join the Discord chat + + + +
- diff --git a/rootfs/usr/share/www/static/apple-badge.svg b/rootfs/usr/share/www/static/apple-badge.svg deleted file mode 100644 index a94fffd..0000000 --- a/rootfs/usr/share/www/static/apple-badge.svg +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/rootfs/usr/share/www/static/apple.svg b/rootfs/usr/share/www/static/apple.svg new file mode 100644 index 0000000..ccb36cd --- /dev/null +++ b/rootfs/usr/share/www/static/apple.svg @@ -0,0 +1,46 @@ + + Download_on_the_App_Store_Badge_US-UK_RGB_blk_4SVG_092917 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/rootfs/usr/share/www/static/google-badge.png b/rootfs/usr/share/www/static/google-badge.png deleted file mode 100644 index 11557ec62a281d5d79e028a8071a3170b791781c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7734 zcmZ{J1z223v-aSF1P?BQ27(M0+yg;^1p)*QGQa?XyE_C8PS79;?hZi%BzSOl4el;? z*xhfx{rCR&%+paKJ8nLZy>lw_V@kYNA-fG2XYQmSwo3~x+8RCq6BtpvHDq&({1Odsx49y^_5JM9;xDM$v!hijJM*JHe{2A$Qp6PKU zssQd%I6=3S)p7s;*y$b{g6kJCX8-_k2Kx4$<2ywKL1P;jyWyh~c2}6~BMKnwDhOv` z5Jy9hE6mE;LC{r%_74j|IR7XH(}MmmakLbneW$1bdTC=10li@7VdtO~#Q=do!uBSn zf~r!l{({5rL}<+&9c=}{U>6q`b{B4T8+$V_r+|O}n1c(<#l;4f#9LQ{y)^WAjjoCx zJE^3J2*}7Ncv2cqaZx1j&X`w-6lvc`tV;U3^H}tA|EOQ3%IRicJfP?7enCcHtU};& zGSHP)annS#2K@Oo`;6nXW-z!)isy40GpKsRMF5M`@Jf~i% zR>YOe&D8F7Z*Om6wfXQ$(DwHBPIm+;xBBhXc+1UxQ?yQ<^?Y+#>wTkQ3Qv#d)f&MJ zi$bB8=T+78fH+Y5WMcrf^($*4PnkN-o`iYX738v+?t=X>SE1!s+lo6Ci;*X18|t1u$fmR5 zKUxWSy=h#bS*i;?*&MovfmIFg-dnG)uQR4@hhq-KGQ8f+i59h|Vl0ABAUhMVE$k`F zZUByGx#>WPn<%VAzjEU9a(-T`I75ce-k?`C@@P&^ny0*48k) zf)_SJf_RmwWUgb_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n|uJwwIHYszBVUrcrxY~55pzv5lx zHL0065ME0Q&ZvUMciBk_hY0xd9fytLM$FiVn#Id8fD;=npXA&ge50BOAn+Mu)mGDk zvTY6xQzLJU^69;{7(j)bo=U4F2SxsNF?QWqrBNpMZIR+jxDggg?=y-YNV-%dlrMUw zYtZzDZzOWruP(XlQefsgAzlm4h`+~L@@DY1iiSs8CNSwWl}193lHy15DLpjl9h184 zyC2N5nC&Ie3@G*nXM9BuVu)GRt+pME#^2j{r`!UAF#7?FK%vE{T%VW#QwmQpL~PoX zzGqRa&R(mlBA~#G=*S?yiJsRZED6fD#|CU(F-7MGv&3PogRR>3F;~Z#Rd+X~Q=0;n zzerp~cJ3T_3rG@tt_~=SW8VSCtj`6Ao{e!rx-MdfnVrZi>2xyoz_Zp~cd^96!>@#8 oe5TL+#d^ash6&H^g?>CB;W{+l=&kDvK7Q|%lU9-{m3;62KQ%-~mH+?% diff --git a/rootfs/usr/share/www/static/google.svg b/rootfs/usr/share/www/static/google.svg new file mode 100644 index 0000000..0e1970e --- /dev/null +++ b/rootfs/usr/share/www/static/google.svg @@ -0,0 +1,2 @@ + +image/svg+xml \ No newline at end of file diff --git a/rootfs/usr/share/www/static/styles.css b/rootfs/usr/share/www/static/styles.css index 0c1b622..1f3a963 100644 --- a/rootfs/usr/share/www/static/styles.css +++ b/rootfs/usr/share/www/static/styles.css @@ -15,14 +15,6 @@ body { font-family: Roboto, Helvetica, Arial, sans-serif; } -a { - color: #03a9f4; -} - -h1 { - margin: 20px 0 0; -} - .content { box-sizing: border-box; padding: 24px 16px; @@ -30,36 +22,71 @@ h1 { max-width: 432px; margin: 64px auto 0; background-color: #ffffff; - border: 1px solid rgba(0, 0, 0, .12); + border: 1px solid rgba(0, 0, 0, 0.12); } -.header { +.loading { text-align: center; - font-size: 1.96em; +} +.header { + font-size: 1.7rem; + font-weight: 300; + margin-bottom: 24px; display: flex; align-items: center; justify-content: center; - font-weight: 300; -} - -.loading { - text-align: center; + gap: 16px; } -.loading img { - max-width: 100px; +.header img { + width: 48px; + height: 48px; } .read-more { - margin: 40px auto 16px; + margin: 16px auto; max-width: 400px; text-align: center; } +.badges { + display: flex; + gap: 16px; + height: 56px; + margin-bottom: 8px; + justify-content: center; +} +.badges a { + display: contents; +} +.badges img { + min-width: 0; +} .suggestion { - margin: 24px 0; + height: 56px; + padding: 8px 24px 8px 16px; + color: currentColor; + text-decoration: none; + transition: background-color 150ms; + display: flex; + align-items: center; + gap: 16px; + box-sizing: border-box; +} +.suggestion:hover { + background-color: rgba(0, 0, 0, 0.05); +} +.suggestion:focus-visible { + background-color: rgba(0, 0, 0, 0.08); } -.app-links { - margin-top: 8px; +.suggestion:active { + background-color: rgba(0, 0, 0, 0.12); } +.suggestion svg { + flex-shrink: 0; +} +.suggestion .chevron { + margin-left: auto; +} + .spinner { width: 40px; height: 40px; @@ -67,7 +94,6 @@ h1 { position: relative; margin: 20px auto; } - .double-bounce1, .double-bounce2 { width: 100%; @@ -79,34 +105,11 @@ h1 { top: 0; left: 0; - -webkit-animation: sk-bounce 2s infinite ease-in-out; animation: sk-bounce 2s infinite ease-in-out; } - .double-bounce2 { - -webkit-animation-delay: -1s; animation-delay: -1s; } - -pre { - display: block; - margin: auto; - max-width: 450px; - padding-bottom: 8px; - text-align: left; - white-space: pre-line; -} - -@-webkit-keyframes sk-bounce { - 0%, - 100% { - -webkit-transform: scale(0); - } - 50% { - -webkit-transform: scale(1); - } -} - @keyframes sk-bounce { 0%, 100% { @@ -119,6 +122,18 @@ pre { } } +pre { + display: block; + margin: auto; + max-width: 450px; + padding-bottom: 8px; + text-align: left; + white-space: pre-line; +} +pre:empty { + display: none; +} + @media (prefers-color-scheme: dark) { html { color: #e1e1e1; @@ -126,7 +141,17 @@ pre { .content { background-color: #1c1c1c; - border-color:rgba(225, 225, 225, 0.12); + border-color: rgba(225, 225, 225, 0.12); + } + + .suggestion:hover { + background-color: rgba(255, 255, 255, 0.05); + } + .suggestion:focus-visible { + background-color: rgba(255, 255, 255, 0.08); + } + .suggestion:active { + background-color: rgba(255, 255, 255, 0.12); } }