From 22cdc70221ddc7036eb29fea8e0ddcf1dc6108c8 Mon Sep 17 00:00:00 2001 From: gumi Date: Fri, 26 Jul 2019 11:18:20 -0400 Subject: apply webhint suggestions --- src/components/Navigation.vue | 85 ++++++++++++++++++++++------------------- src/components/ServerStatus.vue | 5 ++- 2 files changed, 48 insertions(+), 42 deletions(-) (limited to 'src') diff --git a/src/components/Navigation.vue b/src/components/Navigation.vue index 991e8e8..749bc61 100644 --- a/src/components/Navigation.vue +++ b/src/components/Navigation.vue @@ -1,30 +1,34 @@ @@ -45,21 +49,35 @@ color: gray(50); z-index: 300; display: block; - - &::before { - content: "☰"; - } } - & ul, & div { + & div { background: #CBA083; - margin: 0px; - padding: 0px; + margin: 0; + padding: 0; border-radius: 5px; border: solid 1px #2f2e32; - list-style: none; margin-bottom: 13px; + & ul { + list-style: none; + margin: 0; + padding: 0; + + & li { + margin-left: 0.8ch; + margin-right: 0.8ch; + + &:first-of-type { + margin-top: 0.8ch; + } + + &:last-of-type { + margin-bottom: 0.8ch; + } + } + } + & span { text-align: center; display: block; @@ -82,20 +100,6 @@ } } - & ul li { - margin-left: 0.8ch; - margin-right: 0.8ch; - - &:first-of-type { - margin-top: 0.8ch; - } - - &:last-of-type { - margin-bottom: 0.8ch; - } - } - - & .server > .status { text-align: center; font-weight: bolder; @@ -115,6 +119,7 @@ padding: 0; width: 133px; height: 100px; + color: rgba(0, 0, 0, 0); &:hover { opacity: 0.8; diff --git a/src/components/ServerStatus.vue b/src/components/ServerStatus.vue index c35e916..cb4c2e6 100644 --- a/src/components/ServerStatus.vue +++ b/src/components/ServerStatus.vue @@ -1,7 +1,7 @@ @@ -9,6 +9,7 @@