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 |   99 ++++++++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 93 insertions(+), 6 deletions(-)

diff --git a/www/ui/app.css b/www/ui/app.css
index 010d925..1bd6fcc 100644
--- a/www/ui/app.css
+++ b/www/ui/app.css
@@ -3,7 +3,7 @@
   padding: 0;
   height: 100%; /* Anmerkung 2 */
   font-size: larger;
-  font-family: 'Roboto Condensed';
+  font-family: 'Roboto';
 }
 body {
   min-height: 0; /* Anmerkung 1 */
@@ -22,9 +22,12 @@
   background-color: black;
   display: flex;
   flex-flow: row;
-  height: 2em;
+  height: 1.3em;
   align-items: center;
   justify-content: space-between;
+}
+#nav-menu {
+  margin-left: 0.4rem;
 }
 .sued {
   height: 1.5em;
@@ -80,6 +83,7 @@
 .app-titel {
   margin-left: 0.6em;
   color: white;
+  font-size: 1.2rem;
 }
 
 .pointer-cursor {
@@ -89,16 +93,36 @@
 .top-band {
   display: flex;
   flex-flow: row;
+  padding: 0.2rem 0 0.2rem 0.2rem;
+  font-size: smaller;  
+}
+
+.breadcrumb-behaelter {
+  display: flex;
+  flex-flow: row;
+  font-size: smaller;
+}
+
+.breadcrumb-link {
+  padding-right: 0.3rem;
+  text-decoration: none;
+  color: #0a67d1;
+}
+
+.breadcrumb-link:hover {
+  text-decoration: underline;
 }
 
 .bereich-name {
   padding-left: 0.4rem;
+  font-size: smaller;  
 }
 
 .dialog {
   position: relative;
   /* height: 0.1em; */
   transition: all 0.3s ease-in;
+  font-size: smaller;
 }
 
 .dialog-unten {
@@ -140,6 +164,53 @@
 .entity-formular {
   display: flex;
   flex-flow: column;
+  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 {
@@ -155,6 +226,11 @@
 }
 
 .entity-element {
+  margin: 0.4rem;
+  user-select: none; 
+}
+
+.entity-form-element {
   margin: 0.4rem;
 }
 
@@ -177,7 +253,7 @@
 }
 
 .entity-eintrag:hover {
-  background-color: background;
+  background-color: #ececec;
 }
 
 .entity-typ-folder:before {
@@ -217,6 +293,10 @@
 
 .selected {
   background-color: #ececec;
+}
+
+.added-to-playlist {
+  background-color: #cce1fa;
 }
 
 .dlg-btn {
@@ -279,12 +359,12 @@
   display: flex;
   flex-flow: row;
   /*margin-left: auto;*/
-  margin: -0.5em 1em 0 2em;
+  margin: -0.2em 0.2em 0 2em;
 }
 
 .top-btn, .top-btn:focus {
   margin: 0;
-  padding: 0 0.2em 0 0.2em;
+  padding: 0 0.1rem 0 0.1rem;
   height: 1.3em;
   line-height: 1em;
   text-align: center;
@@ -293,7 +373,7 @@
   border-radius: 4px;
   border: 0;
   /* background-color: white; */
-  /* width: 1em; */
+  width: 1.4rem;
 }
 
 .top-btn:hover {
@@ -307,6 +387,13 @@
   }
 }
 
+/* Fonts */
+
+@font-face {
+  font-family: 'Roboto';
+  src: url('font/Roboto-Regular.ttf') format('truetype');
+}
+
 /* Font für Piktogramme mit Fontello aus FontAwesome erzeugt */
 
 @font-face {

--
Gitblit v1.9.3