From 4a3508440e4c01f1958ceb3baa75adff7e002fd5 Mon Sep 17 00:00:00 2001
From: ulrich
Date: Wed, 21 Apr 2021 07:01:15 +0000
Subject: [PATCH] Gestaltung der Schaltansicht fuer Geraete angepasst
---
www/ui/app.css | 87 +++++++++++++++++++++++++++++--------------
1 files changed, 59 insertions(+), 28 deletions(-)
diff --git a/www/ui/app.css b/www/ui/app.css
index 3ac992a..cd3b9c9 100644
--- a/www/ui/app.css
+++ b/www/ui/app.css
@@ -81,9 +81,9 @@
*/
.app-titel {
- font-family: 'Roboto Condensed';
margin-left: 0.6em;
color: white;
+ font-size: 1.2rem;
}
.pointer-cursor {
@@ -94,6 +94,7 @@
display: flex;
flex-flow: row;
padding: 0.2rem 0 0.2rem 0.2rem;
+ font-size: smaller;
}
.breadcrumb-behaelter {
@@ -114,7 +115,6 @@
.bereich-name {
padding-left: 0.4rem;
- font-family: 'Roboto';
font-size: smaller;
}
@@ -122,6 +122,7 @@
position: relative;
/* height: 0.1em; */
transition: all 0.3s ease-in;
+ font-size: smaller;
}
.dialog-unten {
@@ -163,9 +164,58 @@
.entity-formular {
display: flex;
flex-flow: column;
- user-select: none;
font-size: smaller;
- font-family: 'Roboto-Light';
+}
+
+.geraet-schalt-eintrag {
+ display: flex;
+ flex-flow: row;
+ /* justify-content: center; */
+ align-items: center;
+ font-size: smaller;
+ padding: 0 0 0.2rem 0;
+}
+
+.schalt-geraet-name {
+ /* background-color: red; */
+ padding: 0 0 0 0.2rem;
+}
+
+.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;
+ margin: 0 0.2rem 0 0;
+}
+
+.schalt-btn-ein {
+ color: green;
+}
+
+.schalt-btn-aus {
+ color: red;
}
.entity-liste-kopf {
@@ -185,11 +235,9 @@
user-select: none;
}
-/*
-.entity-element:focus {
- outline: none;
+.entity-form-element {
+ margin: 0.4rem;
}
-*/
.entity-element:hover {
background-color: #ececec;
@@ -316,12 +364,12 @@
display: flex;
flex-flow: row;
/*margin-left: auto;*/
- margin: -0.2em 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;
@@ -330,7 +378,7 @@
border-radius: 4px;
border: 0;
/* background-color: white; */
- /* width: 1em; */
+ width: 1.4rem;
}
.top-btn:hover {
@@ -345,23 +393,6 @@
}
/* Fonts */
-
-@font-face {
- font-family: 'Roboto Condensed';
- src: url('font/RobotoCondensed-Regular.ttf') format('truetype');
- font-weight: normal;
- font-style: normal;
-}
-
-@font-face {
- font-family: 'Roboto-Thin';
- src: url('font/Roboto-Thin.ttf') format('truetype');
-}
-
-@font-face {
- font-family: 'Roboto-Light';
- src: url('font/Roboto-Light.ttf') format('truetype');
-}
@font-face {
font-family: 'Roboto';
--
Gitblit v1.9.3