From 95792ed60550eeeb3f3979c4a297e8f846be4f64 Mon Sep 17 00:00:00 2001 From: ulrich Date: Sat, 24 Apr 2021 11:06:10 +0000 Subject: [PATCH] Umbenannt zu Tango --- www/ui/app.css | 213 +++++++++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 196 insertions(+), 17 deletions(-) diff --git a/www/ui/app.css b/www/ui/app.css index 2ace15c..c8d2cf9 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,22 +83,53 @@ .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 { /* position: relative; */ /* height: 0.1em; */ /* transition: all 0.3s ease-in; */ + height: 8.2em; } .dlg-behaelter { @@ -131,6 +165,72 @@ .entity-formular { display: flex; flex-flow: column; + font-size: smaller; +} + +.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; + + /* + width: 2rem; + font-size: medium; + display: inline-block; + height: 2rem; + */ + + /* height: 38px; */ + /* padding: 0 30px; */ + text-align: center; + font-size: 1.3rem; + 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: 0px solid #bbb; + cursor: pointer; + box-sizing: border-box; + margin: 0 0.2rem 0 0; +} + +.toggle-icon { + pointer-events: none; +} + +.noselect { + -webkit-touch-callout: none; /* iOS Safari */ + -webkit-user-select: none; /* Safari */ + -khtml-user-select: none; /* Konqueror HTML */ + -moz-user-select: none; /* Old versions of Firefox */ + -ms-user-select: none; /* Internet Explorer/Edge */ + user-select: none; /* Non-prefixed version, currently + supported by Chrome, Edge, Opera and Firefox */ } .entity-liste-kopf { @@ -149,16 +249,22 @@ margin: 0.4rem; } +.entity-form-element { + margin: 0.4rem; +} + .entity-element:hover { 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,7 +272,9 @@ } .entity-eintrag:hover { - background-color: background; + /* background-color: #ececec; */ + color: red; + /* font-weight: bolder; */ } .entity-typ-folder:before { @@ -193,6 +301,12 @@ 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; @@ -200,6 +314,10 @@ .selected { background-color: #ececec; +} + +.added-to-playlist { + background-color: #cce1fa; } .dlg-btn { @@ -222,8 +340,8 @@ margin-top: 0.2rem; } -.ctrl-btn { - width: 4rem; +.ctrl-btn, .ctrl-btn:focus { + width: 2rem; font-size: medium; display: inline-block; height: 2rem; @@ -236,11 +354,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 { @@ -253,34 +376,82 @@ justify-content: center; } -.top-btn-area { - /*margin-left: auto;*/ - margin: -0.5em 1em 0 2em; +.ctrl-menue { + display: flex; + flex-flow: row; + justify-content: center; } -.top-btn { +.top-btn-area { + display: flex; + flex-flow: row; + /*margin-left: auto;*/ + 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; 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 { margin: 0 10% 0 10%; } + + .ctrl { + display: flex; + flex-flow: row; + justify-content: center; + } + + .dialog-unten { + /* position: relative; */ + /* height: 0.1em; */ + /* transition: all 0.3s ease-in; */ + height: 2.2em; + } + + .ctrl-btns { + /* margin: 0 0 0 1rem; */ + } + + .ctrl-orte { + margin: 0 0 0 1.8rem; + } + + .ctrl-menue { + margin: 0 0 0 1.8rem; + } + +} + +/* 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 { font-family: 'pikto'; - src: url('font/pikto.ttf?49751252') format('truetype'); + src: url('font/pikto.ttf?68902687') format('truetype'); font-weight: normal; font-style: normal; } @@ -317,7 +488,7 @@ /* Animation center compensation - margins should be symmetric */ /* remove if not needed */ - margin-left: .2em; + /* margin-left: .2em; */ /* you can be more comfortable with increased icons size */ /* font-size: 120%; */ @@ -356,6 +527,11 @@ .icon-music:before { content: '\e817'; } /* '' */ .icon-forward:before { content: '\e818'; } /* '' */ .icon-list:before { content: '\e819'; } /* '' */ +.icon-cog:before { content: '\e81a'; } /* '' */ +.icon-cog-alt:before { content: '\e81b'; } /* '' */ +.icon-wrench:before { content: '\e81c'; } /* '' */ +.icon-flash:before { content: '\e81d'; } /* '' */ +.icon-rss:before { content: '\f09e'; } /* '' */ .icon-docs:before { content: '\f0c5'; } /* '' */ .icon-menu:before { content: '\f0c9'; } /* '' */ .icon-doc-text:before { content: '\f0f6'; } /* '' */ @@ -373,6 +549,9 @@ .icon-database:before { content: '\f1c0'; } /* '' */ .icon-sliders:before { content: '\f1de'; } /* '' */ .icon-trash:before { content: '\f1f8'; } /* '' */ +.icon-toggle-off:before { content: '\f204'; } /* '' */ +.icon-toggle-on:before { content: '\f205'; } /* '' */ +.icon-podcast:before { content: '\f2ce'; } /* '' */ /* Dropdown Menu */ -- Gitblit v1.9.3