From 29be41b5182c30eaf79c53eb3e8fa052e62b594d Mon Sep 17 00:00:00 2001 From: ulrich Date: Tue, 20 Apr 2021 22:17:18 +0000 Subject: [PATCH] Anzeige des Schaltzustands von Geraeten --- www/ui/app.css | 53 ++++++++++++++++++++++++++++++++++++++++++++++++----- 1 files changed, 48 insertions(+), 5 deletions(-) diff --git a/www/ui/app.css b/www/ui/app.css index 5799afd..1bd6fcc 100644 --- a/www/ui/app.css +++ b/www/ui/app.css @@ -164,8 +164,53 @@ .entity-formular { display: flex; flex-flow: column; - user-select: none; font-size: smaller; +} + +.geraet-schalt-eintrag { + display: flex; + flex-flow: row; + font-size: smaller; +} + +.schalt-geraet-name { + /* background-color: red; */ +} + +.schalt-geraet-false { + color: red; +} + +.schalt-geraet-true { + color: green; + font-weight: bold; +} + +.schalt-btn { + display: inline-block; + height: 38px; + /* padding: 0 30px; */ + text-align: center; + font-size: 11px; + font-weight: 600; + line-height: 38px; + letter-spacing: .1rem; + text-transform: uppercase; + text-decoration: none; + white-space: nowrap; + /* background-color: transparent;*/ + border-radius: 4px; + border: 1px solid #bbb; + cursor: pointer; + box-sizing: border-box; +} + +.schalt-btn-ein { + color: green; +} + +.schalt-btn-aus { + color: red; } .entity-liste-kopf { @@ -185,11 +230,9 @@ user-select: none; } -/* -.entity-element:focus { - outline: none; +.entity-form-element { + margin: 0.4rem; } -*/ .entity-element:hover { background-color: #ececec; -- Gitblit v1.9.3