From d896a01883af2d8c47f2994c9a451f34af1774c4 Mon Sep 17 00:00:00 2001 From: naiba Date: Sat, 16 Jan 2021 15:25:19 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20chore:=20clean=20code?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resource/static/main.css | 29 ------------------------ resource/template/common/header.html | 2 +- resource/template/theme-hotaru/home.html | 2 +- 3 files changed, 2 insertions(+), 31 deletions(-) diff --git a/resource/static/main.css b/resource/static/main.css index 53f3b03..ff357f3 100644 --- a/resource/static/main.css +++ b/resource/static/main.css @@ -78,15 +78,6 @@ font-weight: 700; } -.service-status .round>i { - width: 1rem; - height: 1rem; - border-radius: .5rem; - display: inline-block; - margin-right: .3rem; - background-color: slategray; -} - .service-status .danger.button { background-color: crimson; } @@ -109,24 +100,4 @@ .service-status .warning>i { background-color: orange; -} - -.service-status .three.column p { - display: inline-block; -} - -.service-status .three.column p:last-child { - float: right; - font-size: smaller; -} - -.service-status .eleven.column { - text-align: center; -} - -.service-status .eleven.column>.ui.button { - width: 8px !important; - padding: unset !important; - margin-top: unset !important; - margin-bottom: unset !important; } \ No newline at end of file diff --git a/resource/template/common/header.html b/resource/template/common/header.html index 6bf4743..7f6126f 100644 --- a/resource/template/common/header.html +++ b/resource/template/common/header.html @@ -9,7 +9,7 @@ {{.Title}} - + diff --git a/resource/template/theme-hotaru/home.html b/resource/template/theme-hotaru/home.html index 723ff77..aace948 100644 --- a/resource/template/theme-hotaru/home.html +++ b/resource/template/theme-hotaru/home.html @@ -17,7 +17,7 @@ - + {{if ts .CustomCode}} {{.CustomCode|safe}}