From 6fe5107836aa7727cec5b7f8b869ad2ace467b20 Mon Sep 17 00:00:00 2001 From: Sijmen Date: Thu, 27 Apr 2023 21:17:26 +0200 Subject: [PATCH] Allow full navigation using tab --- static/style.css | 19 +++++++++++++++++-- templates/browser.html | 16 +++++++++++++--- templates/player.html | 26 +++++++++++++------------- templates/queue.html | 2 +- 4 files changed, 44 insertions(+), 19 deletions(-) diff --git a/static/style.css b/static/style.css index d50e7c5..b8d456b 100644 --- a/static/style.css +++ b/static/style.css @@ -28,11 +28,18 @@ body > div { padding: 1rem; } +button { + background-color: transparent; + border: none; + color: inherit; +} + .browser { flex: 1; display: flex; flex-flow: column; height: 100%; + padding: 0; } a { @@ -113,6 +120,7 @@ ul.breadcrumb { background-color: #334; border-radius: .25rem; padding: .75rem 1rem; + margin: 16px 16px 0; } @media (prefers-contrast: more) { ul.breadcrumb { @@ -123,8 +131,10 @@ ul.breadcrumb { ul.breadcrumb li:not(:first-child)::before { display: inline-block; + padding-left: .5rem; padding-right: .1rem; + color: #6c757d; content: "/"; } @@ -132,12 +142,14 @@ ul.breadcrumb li:not(:first-child)::before { ul.dir { overflow: auto; flex: 1; + padding: 16px; } ul.dir li { cursor: pointer; - padding: .75rem .75rem; - border-radius: 3px; + padding: 0.5rem 0.5rem; + border-radius: 0.25rem; + min-height: 4rem; display: flex; align-items: center; @@ -162,6 +174,9 @@ ul.dir li .material-symbols-outlined { width: 48px; height: 48px; } +.albumart a { + display: block; +} .queue .albumart { margin: 0.75rem; diff --git a/templates/browser.html b/templates/browser.html index 61dffdb..37bee03 100644 --- a/templates/browser.html +++ b/templates/browser.html @@ -26,11 +26,17 @@ {% endfor %} -