Skip to content

Commit 3889c2f

Browse files
committedSep 24, 2018
Added miRtrons outline, updated outline boxes and info text
1 parent a84f6c1 commit 3889c2f

File tree

5 files changed

+2600
-2651
lines changed

5 files changed

+2600
-2651
lines changed
 

‎assets/css/main.css

+7-4
Original file line numberDiff line numberDiff line change
@@ -329,9 +329,9 @@ tr .mi-rna .mi-arm {
329329
background-color: #6c5c91;
330330
color: white;
331331
font-weight: normal;
332-
border: #42375d solid 1px;
333-
border-left-width: 3px;
334-
border-right-width: 3px;
332+
border: #42375d solid 2px;
333+
border-left-width: 5px;
334+
border-right-width: 5px;
335335
}
336336
.mi-arm:hover {
337337
background-color: #382e50;
@@ -354,7 +354,10 @@ tr .mi-rna .mi-arm {
354354
height: 100%;
355355
}
356356
.mi-arm.mi-arm-drosha {
357-
border-color: #e8d847 !important;
357+
border-color: #efc74f !important;
358+
}
359+
.mi-arm.mi-arm-mirtron {
360+
border-color: #4196d8 !important;
358361
}
359362

360363

‎assets/js/main.js

+2
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,10 @@ $(document).ready(function() {
263263
let mirnaInfo = dataStore.stemMap[FilterMiRNAString(id)];
264264
let is_dom = mirnaInfo.is_predominant == "1";
265265
let is_drosha_processed = mirnaInfo.is_drosha_processed == "1";
266+
let is_mirtron = mirnaInfo.is_mirtron == "1";
266267
let arm_class = is_dom ? "mi-arm-dom" : "mi-arm-less";
267268
arm_class += is_drosha_processed ? " mi-arm-drosha" : "";
269+
arm_class += is_mirtron ? " mi-arm-mirtron" : "";
268270
let url = `http://www.mirbase.org/cgi-bin/mature.pl?mature_acc=${mirnaInfo.accession}`;
269271
str += `<a href="${url}"><div class="badge badge-light mi-arm ${arm_class}">${id}</div></a>`;
270272
}

0 commit comments

Comments
 (0)