From 50d8cdee07d8c16718cb40f41a4a0b8e91a335c9 Mon Sep 17 00:00:00 2001 From: kindlm Date: Tue, 24 Mar 2015 21:06:29 +0100 Subject: [PATCH] =?UTF-8?q?Inaktive=20OEs=20ausgrauen,=20doppelte=20CSS=20?= =?UTF-8?q?eintr=C3=A4ge?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- skin/vilesci.css | 11 +++------- vilesci/stammdaten/organisationseinheiten.php | 21 +++++++++++-------- 2 files changed, 15 insertions(+), 17 deletions(-) diff --git a/skin/vilesci.css b/skin/vilesci.css index 847f9b113..35e3d07ca 100644 --- a/skin/vilesci.css +++ b/skin/vilesci.css @@ -105,12 +105,12 @@ a.h1:hover } a { - color:#00A4D2; + color:#0086cc; text-decoration:none; } a:hover { - color:#00A4D2; + color:#0086cc; text-decoration:underline; cursor:pointer; } @@ -431,7 +431,7 @@ a:active text-decoration: underline; } -a,a:link +a:link { color: #0086cc; text-decoration: none; @@ -443,11 +443,6 @@ a:visited text-decoration: none; } -a:hover -{ - color: #cc0000; - text-decoration: none; -} a.toplink, a.toplink:visited, a.toplink:active { color: #747C82; diff --git a/vilesci/stammdaten/organisationseinheiten.php b/vilesci/stammdaten/organisationseinheiten.php index f02e9a79d..2916a2ed2 100644 --- a/vilesci/stammdaten/organisationseinheiten.php +++ b/vilesci/stammdaten/organisationseinheiten.php @@ -53,10 +53,10 @@ echo ' $(this).css("color","red"); }, out: function(event, ui) { - $(this).css("color","#336699"); + $(this).css("color","#0086cc"); }, drop: function(event, ui) { - $(this).css("color","#336699"); + $(this).css("color","#0086cc"); var kurzbz = encodeURIComponent(ui.helper[0].id); var parent_kurzbz = encodeURIComponent(this.id); window.location.href="'.$_SERVER['PHP_SELF'].'?action=updateparent&kurzbz="+kurzbz+"&parent_kurzbz="+parent_kurzbz; @@ -72,9 +72,12 @@ echo ' margin: 0px; padding: 2px; } - a:hover - { - color:#336611; + + a.Item:hover + { + color:#0086cc; + text-decoration:underline; + cursor:pointer; } @@ -311,7 +314,7 @@ function getChilds($foo) //Zeigt das Array in einer Verschachtelten Tabelle an function display($arr) { - //Wenn eines der Element noch Unterelemente hat, dann das Array sortieren, damit + //Wenn eines der Elemente noch Unterelemente hat, dann das Array sortieren, damit //die Eintraege mit den Untereintraegen zuerst kommen $sort = false; foreach ($arr as $row) @@ -327,8 +330,8 @@ function display($arr) else { $style='background-color: #b1b1b1;'; - } + echo "\n "; echo ''; $td=false; @@ -341,7 +344,7 @@ function display($arr) if($obj->aktiv) $aktivstyle=''; else - $aktivstyle='background-color: pink;'; + $aktivstyle='color:grey;'; if(is_array($val) && count($val)>0) echo '