From d769f3445ed4779715b5c2570731b4bb73d8d2aa Mon Sep 17 00:00:00 2001 From: ulrich Date: Tue, 20 Apr 2021 17:15:03 +0000 Subject: [PATCH] Geraete-Liste mit Status (in Arbeit) --- www/ui/app.css | 140 +++++++++++++++++++++++++++++++++++++++++----- 1 files changed, 125 insertions(+), 15 deletions(-) diff --git a/www/ui/app.css b/www/ui/app.css index 3587412..b177dfa 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,16 +83,46 @@ .app-titel { margin-left: 0.6em; color: white; + font-size: 1.2rem; } .pointer-cursor { cursor: pointer; } +.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 { @@ -131,6 +164,17 @@ .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; */ } .entity-liste-kopf { @@ -147,18 +191,25 @@ .entity-element { margin: 0.4rem; + user-select: none; +} + +.entity-form-element { + margin: 0.4rem; } .entity-element:hover { - background-color: background; + background-color: #ececec; } .entity-liste { list-style-type: none; + padding: 0; + margin: 0; } .entity-eintrag { - margin-top: 0.8rem; + margin-top: 0.3rem; margin-left: 0; margin-right: 0; margin-bottom: 0; @@ -166,12 +217,50 @@ } .entity-eintrag:hover { - background-color: background; + background-color: #ececec; +} + +.entity-typ-folder:before { + font-family: "pikto"; + content: '\f114'; + padding-right: 0.3rem; +} + +.entity-typ-audio:before { + font-family: "pikto"; + content: '\e817'; /* icon-music */ + padding-right: 0.3rem; +} + +.entity-typ-video:before { + font-family: "pikto"; + content: '\e816'; /* icon-video */ + padding-right: 0.3rem; +} + +.entity-typ-file:before { + font-family: "pikto"; + content: '\e805'; /* icon-doc */ + padding-right: 0.3rem; +} + +.entity-typ-katalog:before { + font-family: "pikto"; + content: '\f1c0'; /* icon-database */ + padding-right: 0.3rem; } .form-button-footer { display: flex; flex-flow: row; +} + +.selected { + background-color: #ececec; +} + +.added-to-playlist { + background-color: #cce1fa; } .dlg-btn { @@ -194,13 +283,13 @@ margin-top: 0.2rem; } -.ctrl-btn { - width: 4rem; +.ctrl-btn, .ctrl-btn:focus { + width: 2rem; font-size: medium; display: inline-block; height: 2rem; /* padding: 0 30px; */ - color: #555; + color: black; text-align: center; font-weight: 600; line-height: 2rem; @@ -208,11 +297,16 @@ text-transform: none; text-decoration: none; white-space: nowrap; - background-color: transparent; + /* background-color: transparent; */ border-radius: 4px; - border: 1px solid #bbb; + border: 0; cursor: pointer; box-sizing: border-box; +} + +.ctrl-btn:hover { + color: white; + background-color: #707070; /* #e1e1e1;*/ /* #707070; */ } .ctrl-select { @@ -226,21 +320,30 @@ } .top-btn-area { + 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, .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; font-size: large; - background-color: white; - /* width: 1em; */ + color: white; + border-radius: 4px; + border: 0; + /* background-color: white; */ + width: 1.4rem; } +.top-btn:hover { + color: black; + background-color: #e1e1e1; /* #707070; */ +} @media (min-width: 800px) { .zentraler-inhalt { @@ -248,6 +351,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