aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/html
diff options
context:
space:
mode:
authorTaras Madan <tarasmadan@google.com>2025-08-21 19:00:20 +0200
committerTaras Madan <tarasmadan@google.com>2025-08-28 11:36:44 +0000
commitd401b9d77980e7469e1c6eaa282f33df0fcfb3df (patch)
tree4a3f1285ece64120bbe75e5f336056adc77ef3dc /pkg/html
parent030f691787a240a447c5ec1491804160afa4050d (diff)
pkg/manager: add Rank column with tooltips to the main page
Diffstat (limited to 'pkg/html')
-rw-r--r--pkg/html/pages/style.css22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkg/html/pages/style.css b/pkg/html/pages/style.css
index 5da7359e6..aecc40b7e 100644
--- a/pkg/html/pages/style.css
+++ b/pkg/html/pages/style.css
@@ -177,6 +177,12 @@ table td, table th {
text-align: right;
}
+.list_table .rank {
+ width: 55pt;
+ font-family: monospace;
+ text-align: right;
+}
+
.list_table .discussions {
font-family: monospace;
text-align: left;
@@ -493,3 +499,19 @@ aside {
/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {background-color: #ddd;}
+
+.rank .tooltiptext {
+ visibility: hidden;
+ background-color: black;
+ color: #fff;
+ text-align: left;
+ border-radius: 6px;
+ padding: 5px 0;
+
+ /* Position the tooltip */
+ position: absolute;
+ z-index: 1;
+}
+.rank:hover .tooltiptext {
+ visibility: visible;
+} \ No newline at end of file