From cad6297f18f8a5e4f3203d24ce1cbcff27591181 Mon Sep 17 00:00:00 2001
From: hahn <axel.hahn@iml.unibe.ch>
Date: Fri, 31 May 2019 11:20:44 +0200
Subject: [PATCH] project overview: divide phases

---
 public_html/deployment/classes/project.class.php | 2 +-
 public_html/deployment/main.css                  | 7 ++++---
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/public_html/deployment/classes/project.class.php b/public_html/deployment/classes/project.class.php
index 4dd71578..471b207c 100644
--- a/public_html/deployment/classes/project.class.php
+++ b/public_html/deployment/classes/project.class.php
@@ -2866,7 +2866,7 @@ class project extends base {
         }
         if (!$this->isActivePhase($sPhase)) {
             return '
-                        <td class="td-phase-' . $sPhase . ' ' . $this->_aConfig["id"] . '" colspan="' . count($this->_aPlaces) . '">
+                        <td class="td-phase-' . $sPhase . ' td-phase-inactive ' . $this->_aConfig["id"] . '" colspan="' . count($this->_aPlaces) . '">
                             <div class="versioninfo center inactive">' . $this->_oHtml->getIcon('sign-info').t('inactive') . '</div>
                         </td>';
         }
diff --git a/public_html/deployment/main.css b/public_html/deployment/main.css
index 98656db5..0f821f16 100644
--- a/public_html/deployment/main.css
+++ b/public_html/deployment/main.css
@@ -120,7 +120,7 @@ thead{font-size: 130%;}
 
 #tbloverview th{}
 #tbloverview td{}
-th{/*border-radius: 0.7em 0.7em 0 0; */ background:#f8f8f8; text-align: center; border-right: 1px solid #fff; }
+th{/*border-radius: 0.7em 0.7em 0 0; */ background:#f0f0f0; text-align: center; border-right: 1px solid #fff; }
 thead tr th.prj{border-bottom: none;}
 th.versioncontrol{background: #eee; }
 tr{ }
@@ -158,10 +158,11 @@ td.preview{}
 td.stage{}
 td.live{}
 td{}
-td.highlight{animation: blinker 1.5s linear infinite;}
+td.highlight{animation: blinker 0.7s linear infinite;}
 @keyframes blinker {  
-  30% { background:rgba(255,220,50,0.3) }
+  70% { background:rgba(255,220,50,0.3) }
 }
+.td-phase-inactive, .td-place-onhold{border-left: 1px dashed #ddd;}
 .td-place-onhold{color:#d61;}
 .td-place-ready2install{}
 td.prj > div{opacity: 0.2; transition: all ease-in-out 0.1s;}
-- 
GitLab