From 165b9865cf5d7808c1a36b40d687e3fe55147013 Mon Sep 17 00:00:00 2001 From: billz Date: Thu, 8 Aug 2019 22:14:21 +0100 Subject: [PATCH] Apply service-status to theme --- dist/css/hackernews.css | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/dist/css/hackernews.css b/dist/css/hackernews.css index 19836947..705ee07c 100644 --- a/dist/css/hackernews.css +++ b/dist/css/hackernews.css @@ -81,3 +81,32 @@ h4 { width: 100%; height: 300px; } + +.service-status-running, +.service-status-stopped { + background-color: #fff; + color: #333; + text-transform: uppercase; + line-height: inherit; +} +.service-status-running:before, +.service-status-stopped:before { + display: inline-block; + height: 18px; + width: 16px; + content: "\2022"; + font-size: 1.5em; + color: green; + line-height: 16px; + vertical-align: bottom; + margin-right: 2px; +} +.service-status-stopped:before { + color: red; + animation: flash 1s linear infinite; +} +@keyframes flash { + 50% { + opacity: 0; + } +}