From 09d0e1cd2fa9fb67b1cc008cf47d3de0fa8fbdff Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Thu, 6 Jul 2023 18:16:47 +0200 Subject: client: make songs expandable to show more information --- web/client.html | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 55 insertions(+), 5 deletions(-) (limited to 'web') diff --git a/web/client.html b/web/client.html index 63c9c4d..7151b37 100644 --- a/web/client.html +++ b/web/client.html @@ -19,6 +19,26 @@ .searchResult:hover { background-color: #999; } + + .songDetails, .advancedSearch { + display: inline-block; + } + + .songDetails > summary { + list-style: none; + } + + .songSummary::-webkit-details-marker { + display: none + } + + .songSummary::after { + content: ' ►'; + } + + details[open] > .songSummary:after { + content: ' ▼'; + }