Skip to content

Commit 2e4bf3f

Browse files
committed
Changed cursor to pointer when hovering on list item
1 parent b56b78f commit 2e4bf3f

File tree

4 files changed

+8
-1
lines changed

4 files changed

+8
-1
lines changed

minerva_analysis/client/src/css/main.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,10 @@ body {
170170
margin-left: 33px;
171171
}
172172

173+
.list-button {
174+
cursor: pointer;
175+
}
176+
173177
.auto-loading {
174178
opacity: 50%;
175179
}
@@ -471,6 +475,7 @@ label {
471475
margin-top: 3px;
472476
margin-right: 20px;
473477
color: orange;
478+
cursor: pointer;
474479
}
475480

476481
.lasso_polygon {

minerva_analysis/client/src/js/views/channelList.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ class ChannelList {
219219

220220
let channelName = document.createElement("span");
221221
channelName.classList.add("channel-name");
222+
channelName.classList.add("list-button");
222223
channelName.textContent = column;
223224
nameCol.appendChild(channelName);
224225

minerva_analysis/client/src/js/views/csvGatingList.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ class CSVGatingList {
143143

144144
let gatingName = document.createElement("span");
145145
gatingName.classList.add('gating-name');
146+
gatingName.classList.add('list-button');
146147
gatingName.textContent = column;
147148
nameCol.appendChild(gatingName);
148149
listItemParentDiv.addEventListener("click", e => {

minerva_analysis/client/src/js/views/imageViewer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ class ImageViewer {
593593
$('#gating_list_ul').prepend("<div id="+id_polygon_selection+" "+
594594
"class='list-group-item container gating-list-content' " +
595595
"style='color: orange; border-bottom: 1px solid rgba(255, 255, 255, 0.5);'>" +
596-
"Lasso Selection" +
596+
"<span class='list-button'> Lasso Selection </span>" +
597597
"<button id="+id_polygon_delete+" class='btn_lasso_delete'>x</button>" +
598598
"</div>"
599599
);

0 commit comments

Comments
 (0)