From 5069ddf656dfee0c3d780ee57dfa7bb31d8ec1f3 Mon Sep 17 00:00:00 2001
From: Axel Hahn <axel.hahn@iml.unibe.ch>
Date: Mon, 20 Apr 2015 14:27:51 +0200
Subject: [PATCH] - adjusted button colors for phases

---
 config/inc_projects_config.php   | 6 +++---
 public_html/deployment/index.php | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/config/inc_projects_config.php b/config/inc_projects_config.php
index d1ea245e..1d446aaf 100644
--- a/config/inc_projects_config.php
+++ b/config/inc_projects_config.php
@@ -36,21 +36,21 @@ $aConfig = array(
             'css' => array(
                 'bgdark' => 'background:#89a;',
                 'bglight' => 'background:#e8e8f8; color:#333; background: rgba(180,180,230, 0.3);',
-                'bgbutton' => 'background:#dde;',
+                'bgbutton' => 'background:#89a; color:#fcfcfc; border: 1px solid rgba(0,0,0,0.15);',
             ),
         ),
         "stage" => array(
             'css' => array(
                 'bgdark' => 'background:#8aa;',
                 'bglight' => 'background:#e4f8f8; color:#333; background: rgba(180,210,210, 0.3);',
-                'bgbutton' => 'background:#dee;',
+                'bgbutton' => 'background:#8aa; color:#fcfcfc; border: 1px solid rgba(0,0,0,0.15);',
             ),
         ),
         "live" => array(
             'css' => array(
                 'bgdark' => 'background:#8a8;',
                 'bglight' => 'background:#e0f8e0; color:#333; background: rgba(180,250,180, 0.3);',
-                'bgbutton' => 'background:#ded;',
+                'bgbutton' => 'background:#8a8; color:#fcfcfc; border: 1px solid rgba(0,0,0,0.15);',
             ),
             // wenn deploytimes existiert, dann wird nach dem Deploy das Paket 
             // in einer Queue zurueckgehalten
diff --git a/public_html/deployment/index.php b/public_html/deployment/index.php
index 3fc52e44..7b96bad1 100644
--- a/public_html/deployment/index.php
+++ b/public_html/deployment/index.php
@@ -48,8 +48,8 @@ $oCLog->add("parsing params "
 $sHeader = '<style>';
 foreach ($aConfig["phases"] as $sPhase => $aData) {
     $sHeader.=array_key_exists("bgdark", $aData["css"]) ? 'th.' . $sPhase . '{' . $aData["css"]["bgdark"] . '}' : '';
-    $sHeader.=array_key_exists("bglight", $aData["css"]) ? 'td.' . $sPhase . '{' . $aData["css"]["bglight"] . '}' : '';
-    $sHeader.=array_key_exists("bgbutton", $aData["css"]) ? '.' . $sPhase . '{' . $aData["css"]["bgbutton"] . '}' : '';
+    $sHeader.=array_key_exists("bglight", $aData["css"]) ? 'td.' . $sPhase . ', div.' . $sPhase . '{' . $aData["css"]["bglight"] . '}' : '';
+    $sHeader.=array_key_exists("bgbutton", $aData["css"]) ? 'a.' . $sPhase . '{' . $aData["css"]["bgbutton"] . '}' : '';
 }
 $sHeader.='</style>';
 $sTopArea=getTopArea();
-- 
GitLab