From 904f3cd44c4ee310b0ec5b686284f3628cc3f77f Mon Sep 17 00:00:00 2001
From: Piotr Gawron <piotr.gawron@uni.lu>
Date: Tue, 25 Jul 2017 11:07:05 +0200
Subject: [PATCH] label is in bold and annotations row differ for odd/even rows

---
 frontend-js/src/main/css/global.css              | 16 ++++++++++++++++
 .../src/main/js/gui/leftPanel/GuiUtils.js        |  6 +++---
 web/src/main/webapp/resources/css/search.css     | 15 ---------------
 3 files changed, 19 insertions(+), 18 deletions(-)

diff --git a/frontend-js/src/main/css/global.css b/frontend-js/src/main/css/global.css
index cf496d2477..bbcfa98af5 100644
--- a/frontend-js/src/main/css/global.css
+++ b/frontend-js/src/main/css/global.css
@@ -404,4 +404,20 @@ table.minerva-window-drug-table, table.minerva-window-drug-table th,
 	top: 35px;
 	right: 35px;
 	width: 18px;
+}
+
+.minerva-left-panel .minerva-label {
+	font-weight: 900;
+	background: #ffffff;
+	line-height: 24px;
+}
+
+.minerva-annotation-row-odd {
+	padding: 5px;
+	background-color: #EAEAEA;
+}
+
+.minerva-annotation-row-even {
+	padding: 5px;
+	background-color: #ffffff;
 }
\ No newline at end of file
diff --git a/frontend-js/src/main/js/gui/leftPanel/GuiUtils.js b/frontend-js/src/main/js/gui/leftPanel/GuiUtils.js
index f18f2b865d..4f99a08a8f 100644
--- a/frontend-js/src/main/js/gui/leftPanel/GuiUtils.js
+++ b/frontend-js/src/main/js/gui/leftPanel/GuiUtils.js
@@ -27,7 +27,7 @@ GuiUtils.prototype.getConfiguration = function() {
 GuiUtils.prototype.createLabel = function(value) {
   var result = document.createElement("span");
   result.innerHTML = value;
-  result.className = "searchDescriptionLabel";
+  result.className = "minerva-label";
   return result;
 };
 
@@ -182,9 +182,9 @@ GuiUtils.prototype.createAnnotationList = function(annotations, options) {
       var row = document.createElement("div");
       row.style.height = "26px";
       if (i % 2 === 0) {
-        row.className = "annotationRowOdd";
+        row.className = "minerva-annotation-row-odd";
       } else {
-        row.className = "annotationRowEven";
+        row.className = "minerva-annotation-row-even";
       }
       var header = document.createElement("div");
       header.style.width = "24px";
diff --git a/web/src/main/webapp/resources/css/search.css b/web/src/main/webapp/resources/css/search.css
index 5f9eae5117..b96ebd2589 100644
--- a/web/src/main/webapp/resources/css/search.css
+++ b/web/src/main/webapp/resources/css/search.css
@@ -52,18 +52,3 @@ a.searchElementSubmodelLink {
 	background: #ffffff;
 }
 
-.searchDescriptionLabel {
-	font-weight: 900;
-	background: #ffffff;
-	line-height: 24px;
-}
-
-.annotationRowOdd {
-	padding: 5px;
-	background-color: #EAEAEA;
-}
-
-.annotationRowEven {
-	padding: 5px;
-	background-color: #ffffff;
-}
\ No newline at end of file
-- 
GitLab