diff --git a/frontend-js/src/main/css/global.css b/frontend-js/src/main/css/global.css index cf496d2477067674da820bbc4d412e93aa2332c3..bbcfa98af58aed0df048a8c92432dea2cbc5dc53 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 f18f2b865d84e35015b5656314857b96e7ed6b29..4f99a08a8ffa0e5ac73ace03167ee1addf9f9dbd 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 5f9eae51172c413f0011fdbbf61bd1d15e2b77e7..b96ebd2589bd2cf77a53d8730adfb687c1e484dc 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