Skip to content
Snippets Groups Projects
Commit 904f3cd4 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

label is in bold and annotations row differ for odd/even rows

parent 1c40011d
No related branches found
No related tags found
1 merge request!81Resolve "left panel description"
...@@ -404,4 +404,20 @@ table.minerva-window-drug-table, table.minerva-window-drug-table th, ...@@ -404,4 +404,20 @@ table.minerva-window-drug-table, table.minerva-window-drug-table th,
top: 35px; top: 35px;
right: 35px; right: 35px;
width: 18px; 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
...@@ -27,7 +27,7 @@ GuiUtils.prototype.getConfiguration = function() { ...@@ -27,7 +27,7 @@ GuiUtils.prototype.getConfiguration = function() {
GuiUtils.prototype.createLabel = function(value) { GuiUtils.prototype.createLabel = function(value) {
var result = document.createElement("span"); var result = document.createElement("span");
result.innerHTML = value; result.innerHTML = value;
result.className = "searchDescriptionLabel"; result.className = "minerva-label";
return result; return result;
}; };
...@@ -182,9 +182,9 @@ GuiUtils.prototype.createAnnotationList = function(annotations, options) { ...@@ -182,9 +182,9 @@ GuiUtils.prototype.createAnnotationList = function(annotations, options) {
var row = document.createElement("div"); var row = document.createElement("div");
row.style.height = "26px"; row.style.height = "26px";
if (i % 2 === 0) { if (i % 2 === 0) {
row.className = "annotationRowOdd"; row.className = "minerva-annotation-row-odd";
} else { } else {
row.className = "annotationRowEven"; row.className = "minerva-annotation-row-even";
} }
var header = document.createElement("div"); var header = document.createElement("div");
header.style.width = "24px"; header.style.width = "24px";
......
...@@ -52,18 +52,3 @@ a.searchElementSubmodelLink { ...@@ -52,18 +52,3 @@ a.searchElementSubmodelLink {
background: #ffffff; 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment