Skip to content

Commit

Permalink
progress commit - tooltips added
Browse files Browse the repository at this point in the history
  • Loading branch information
adkinsrs committed Nov 22, 2023
1 parent 13697e0 commit 8257b8e
Show file tree
Hide file tree
Showing 3 changed files with 169 additions and 163 deletions.
1 change: 1 addition & 0 deletions www/cgi/search_gene_carts.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ def main():
gc.user_name = row[1]
gc.gene_count = len(gc.genes)
gc.organism = "{0} {1}".format(row[8], row[9])
gc.is_owner = True if gc.user_id == user.id else False
gene_carts.append(gc)

# Get count of total results
Expand Down
28 changes: 28 additions & 0 deletions www/css/gene_collection_manager.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,32 @@ hr.gc-list-element-divider {
background-color: #000000;
margin-left: auto;
margin-right: auto;
}

/* CSS for Floating UI components */

#delete_gc_popover {
width: max-content;
position: absolute; /* float above everything else to not disrupt layout */
top: 0;
left: 0;
}

#arrow {
position: absolute;
background: inherit;
width: 8px;
height: 8px;
transform: rotate(45deg);
}

.tooltip {
font-weight: bold;
padding: 5px;
border-radius: 4px;
font-size: 90%;
width: max-content;
position: absolute;
top: 0;
left: 0;
}
Loading

0 comments on commit 8257b8e

Please sign in to comment.