From 48f8f945d17d06be1777c4491539244f712250ee Mon Sep 17 00:00:00 2001
From: ulrich
Date: Fri, 09 Apr 2021 13:37:47 +0000
Subject: [PATCH] JavaScript Form-Behandlung vereinheitlicht

---
 www/ui/app.css |   62 +++++++++++++++++++++++++++---
 1 files changed, 55 insertions(+), 7 deletions(-)

diff --git a/www/ui/app.css b/www/ui/app.css
index 3587412..39c646c 100644
--- a/www/ui/app.css
+++ b/www/ui/app.css
@@ -150,7 +150,7 @@
 }
 
 .entity-element:hover {
-  background-color: background;
+  background-color: #ececec;
 }
 
 .entity-liste {
@@ -169,9 +169,43 @@
   background-color: background;
 }
 
+.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;
 }
 
 .dlg-btn {
@@ -194,13 +228,13 @@
   margin-top: 0.2rem;
 }
 
-.ctrl-btn {
+.ctrl-btn, .ctrl-btn:focus {
   width: 4rem;
   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 +242,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 +265,30 @@
 }
 
 .top-btn-area {
+  display: flex;
+  flex-flow: row;
   /*margin-left: auto;*/
   margin: -0.5em 1em 0 2em;
 }
 
-.top-btn {
+.top-btn, .top-btn:focus {
   margin: 0;
   padding: 0 0.2em 0 0.2em;
   height: 1.3em;
   line-height: 1em;
   text-align: center;
   font-size: large;
-  background-color: white;
+  color: white;
+  border-radius: 4px;
+  border: 0;
+  /* background-color: white; */
   /* width: 1em; */
 }
 
+.top-btn:hover {
+  color: black;
+  background-color: #e1e1e1; /* #707070; */
+}
 
 @media (min-width: 800px) {
   .zentraler-inhalt {

--
Gitblit v1.9.3