From d401b9d77980e7469e1c6eaa282f33df0fcfb3df Mon Sep 17 00:00:00 2001 From: Taras Madan Date: Thu, 21 Aug 2025 19:00:20 +0200 Subject: pkg/manager: add Rank column with tooltips to the main page --- pkg/html/pages/style.css | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'pkg/html') 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 -- cgit mrf-deployment