From a52c39a698c68fa04789629a79c45ad1f882e627 Mon Sep 17 00:00:00 2001
From: ulrich
Date: Tue, 19 May 2020 10:23:09 +0000
Subject: [PATCH] Stile des Rollen-Dialogs verfeinert

---
 web/ui2/data/tpl/nutzer-rollen-dlg.tpl |   10 ++++++----
 web/ui2/stile.css                      |   12 +++++++++---
 2 files changed, 15 insertions(+), 7 deletions(-)

diff --git a/web/ui2/data/tpl/nutzer-rollen-dlg.tpl b/web/ui2/data/tpl/nutzer-rollen-dlg.tpl
index 9fe57b5..5d95cdf 100644
--- a/web/ui2/data/tpl/nutzer-rollen-dlg.tpl
+++ b/web/ui2/data/tpl/nutzer-rollen-dlg.tpl
@@ -1,8 +1,10 @@
-<p class="rollen-ansicht-titel">Rollen von 
-  <span id="nutzer-id"></span> 
+<div class="rollen-ansicht-titel">
+  <p>
+    Rollen von 
+    <span id="nutzer-id"></span> 
+  </p>
   <button type="button" class="del-user-btn danger-btn" id="del-user-btn">Löschen</button>
-</p>
-<h6 class="rollen-ueberschrift">Rollen des Benutzers</h6>
+</div>
 <div class="rollen-behaelter">
   {{#List}}
   {{#List}}
diff --git a/web/ui2/stile.css b/web/ui2/stile.css
index e85cc03..89935dd 100644
--- a/web/ui2/stile.css
+++ b/web/ui2/stile.css
@@ -121,13 +121,14 @@
 
 .del-user-btn {
   margin: 0 1.5em 0 1em;
-  height: 28px;
-  line-height: 24px;
+  margin-left: auto;
+  height: 32px;
+  line-height: 12px;
   text-align: center;
 }
 
 .danger-btn {
-  background-color: lightcoral;
+  background-color: #ffcccc;
 }
 
 /* Nutzerliste */
@@ -223,8 +224,13 @@
 /* Nutzer-Rollen */
 
 .rollen-ansicht-titel {
+  display: flex;
+  flex-flow: row;
+  align-items: center;
+  align-self: stretch;
   margin: 0;
   padding: 0;
+  vertical-align: central;
 }
 
 .rollen-ueberschrift {

--
Gitblit v1.9.3