From 611d214a329e6a185f6d8aa75ed656adcb5f257f Mon Sep 17 00:00:00 2001 From: LouisLam Date: Thu, 16 Sep 2021 14:37:57 +0800 Subject: [PATCH] [status page] checkpoint --- src/assets/app.scss | 22 +++++---- src/icon.js | 2 + src/pages/StatusPage.vue | 96 +++++++++++++++++++++++++++++++--------- src/util.js | 5 ++- src/util.ts | 5 +++ 5 files changed, 100 insertions(+), 30 deletions(-) diff --git a/src/assets/app.scss b/src/assets/app.scss index 36150de48..bc9d2e8e0 100644 --- a/src/assets/app.scss +++ b/src/assets/app.scss @@ -379,27 +379,33 @@ h2 { [contenteditable=true] { transition: all $easing-in 0.2s; + background-color: rgba(239, 239, 239, 0.7); + border-radius: 8px; &:focus { outline: 0 solid #eee; + background-color: rgba(245, 245, 245, 0.9); } - &:hover, &:focus { - background-color: rgb(239, 239, 239); - - .dark & { - background-color: rgba(239, 239, 239, 0.2); - } - - border-radius: 8px; + &:hover { + background-color: rgba(239, 239, 239, 0.8); } + .dark & { + background-color: rgba(239, 239, 239, 0.2); + } + + /* + + &::after { margin-left: 5px; content: "🖊️"; font-size: 13px; color: #eee; } + */ + } .action { diff --git a/src/icon.js b/src/icon.js index 5ff8f9ecb..42335aa10 100644 --- a/src/icon.js +++ b/src/icon.js @@ -24,6 +24,7 @@ import { faExclamationCircle, faBullhorn, faArrowsAltV, + faUnlink, } from "@fortawesome/free-solid-svg-icons"; library.add( @@ -47,6 +48,7 @@ library.add( faExclamationCircle, faBullhorn, faArrowsAltV, + faUnlink, ); export { FontAwesomeIcon }; diff --git a/src/pages/StatusPage.vue b/src/pages/StatusPage.vue index eb487d9dc..657fa71b7 100644 --- a/src/pages/StatusPage.vue +++ b/src/pages/StatusPage.vue @@ -17,8 +17,6 @@ :noCircle="true" :noSquare="false" @crop-success="cropSuccess" - @crop-upload-success="cropUploadSuccess" - @crop-upload-fail="cropUploadFail" /> @@ -26,7 +24,7 @@ -
+
- @@ -79,8 +77,39 @@
+ + + -
+
All Systems Operational @@ -98,19 +127,6 @@ - - -