Skip to content

Commit

Permalink
Changed cursor to pointer when hovering on list item
Browse files Browse the repository at this point in the history
  • Loading branch information
nchuynh committed Oct 6, 2023
1 parent b56b78f commit 2e4bf3f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions minerva_analysis/client/src/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,10 @@ body {
margin-left: 33px;
}

.list-button {
cursor: pointer;
}

.auto-loading {
opacity: 50%;
}
Expand Down Expand Up @@ -471,6 +475,7 @@ label {
margin-top: 3px;
margin-right: 20px;
color: orange;
cursor: pointer;
}

.lasso_polygon {
Expand Down
1 change: 1 addition & 0 deletions minerva_analysis/client/src/js/views/channelList.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ class ChannelList {

let channelName = document.createElement("span");
channelName.classList.add("channel-name");
channelName.classList.add("list-button");
channelName.textContent = column;
nameCol.appendChild(channelName);

Expand Down
1 change: 1 addition & 0 deletions minerva_analysis/client/src/js/views/csvGatingList.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ class CSVGatingList {

let gatingName = document.createElement("span");
gatingName.classList.add('gating-name');
gatingName.classList.add('list-button');
gatingName.textContent = column;
nameCol.appendChild(gatingName);
listItemParentDiv.addEventListener("click", e => {
Expand Down
2 changes: 1 addition & 1 deletion minerva_analysis/client/src/js/views/imageViewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ class ImageViewer {
$('#gating_list_ul').prepend("<div id="+id_polygon_selection+" "+
"class='list-group-item container gating-list-content' " +
"style='color: orange; border-bottom: 1px solid rgba(255, 255, 255, 0.5);'>" +
"Lasso Selection" +
"<span class='list-button'> Lasso Selection </span>" +
"<button id="+id_polygon_delete+" class='btn_lasso_delete'>x</button>" +
"</div>"
);
Expand Down

0 comments on commit 2e4bf3f

Please sign in to comment.