From 4c1f2f85f8ae22b632cc22ba873a5279c7ff0ba9 Mon Sep 17 00:00:00 2001 From: LouisLam Date: Wed, 25 Aug 2021 12:25:19 +0800 Subject: [PATCH] manual fix stylelint --- .stylelintrc | 3 +-- src/components/HeartbeatBar.vue | 4 ---- src/layouts/Layout.vue | 5 +---- 3 files changed, 2 insertions(+), 10 deletions(-) diff --git a/.stylelintrc b/.stylelintrc index d981fe78..aad673db 100644 --- a/.stylelintrc +++ b/.stylelintrc @@ -4,7 +4,6 @@ "indentation": 4, "no-descending-specificity": null, "selector-list-comma-newline-after": null, - "declaration-empty-line-before": null, - "no-duplicate-selectors": null + "declaration-empty-line-before": null } } diff --git a/src/components/HeartbeatBar.vue b/src/components/HeartbeatBar.vue index 1f403dd2..33b003db 100644 --- a/src/components/HeartbeatBar.vue +++ b/src/components/HeartbeatBar.vue @@ -163,10 +163,6 @@ export default { &.empty { background-color: aliceblue; - - .dark & { - background-color: #d0d3d5; - } } &.down { diff --git a/src/layouts/Layout.vue b/src/layouts/Layout.vue index 546e6333..7b04fda8 100644 --- a/src/layouts/Layout.vue +++ b/src/layouts/Layout.vue @@ -191,6 +191,7 @@ main { } footer { + color: #aaa; font-size: 13px; margin-top: 10px; padding-bottom: 30px; @@ -198,10 +199,6 @@ footer { text-align: center; } -footer { - color: #aaa; -} - .dark { header { background-color: #161b22;