From da33e62e75c14122527a5369bd964c68e4e84849 Mon Sep 17 00:00:00 2001
From: ulrich
Date: Thu, 22 Apr 2021 19:02:02 +0000
Subject: [PATCH] Gestaltung der Hervorhebung in Listen angepasst

---
 www/ui/app.css                           |   15 +++++++++++++--
 www/ui/data/tpl/katalog_inhalt_liste.txt |    2 +-
 2 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/www/ui/app.css b/www/ui/app.css
index 3eadfe2..f1742c3 100644
--- a/www/ui/app.css
+++ b/www/ui/app.css
@@ -223,6 +223,16 @@
   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 {
   display: flex;
   flex-flow: row;
@@ -237,7 +247,6 @@
 
 .entity-element {
   margin: 0.4rem;
-  user-select: none; 
 }
 
 .entity-form-element {
@@ -263,7 +272,9 @@
 }
 
 .entity-eintrag:hover {
-  background-color: #ececec;
+  /* background-color: #ececec; */
+  color: #676565;
+  font-weight: bolder;
 }
 
 .entity-typ-folder:before {
diff --git a/www/ui/data/tpl/katalog_inhalt_liste.txt b/www/ui/data/tpl/katalog_inhalt_liste.txt
index c6c9691..9b87834 100644
--- a/www/ui/data/tpl/katalog_inhalt_liste.txt
+++ b/www/ui/data/tpl/katalog_inhalt_liste.txt
@@ -1,7 +1,7 @@
 <div class='entity-formular'>
   <ul class='entity-liste'>
     {{#Medialiste}}
-    <li class='entity-eintrag entity-typ-{{typ}}' 
+    <li class='entity-eintrag entity-typ-{{typ}} noselect' 
         typ='{{typ}}'
         interpret='{{interpret}}' 
         album='{{album}}' 

--
Gitblit v1.9.3