From 1fc253421b7f14d23db83a3de2d296fdb7c860d6 Mon Sep 17 00:00:00 2001 From: Mark Hoekveen Date: Sun, 3 Mar 2024 23:37:30 +0100 Subject: [PATCH] dummy knopjes --- playlist/static/img/back.svg | 68 ++++++++++++++++++++++++++ playlist/static/img/eject.svg | 58 ++++++++++++++++++++++ playlist/static/img/forward.svg | 68 ++++++++++++++++++++++++++ playlist/static/img/next.svg | 76 +++++++++++++++++++++++++++++ playlist/static/img/prev.svg | 75 ++++++++++++++++++++++++++++ playlist/static/style.css | 30 +++++++++++- playlist/templates/MediaPlayer.html | 7 +++ 7 files changed, 381 insertions(+), 1 deletion(-) create mode 100644 playlist/static/img/back.svg create mode 100644 playlist/static/img/eject.svg create mode 100644 playlist/static/img/forward.svg create mode 100644 playlist/static/img/next.svg create mode 100644 playlist/static/img/prev.svg diff --git a/playlist/static/img/back.svg b/playlist/static/img/back.svg new file mode 100644 index 0000000..30096ea --- /dev/null +++ b/playlist/static/img/back.svg @@ -0,0 +1,68 @@ + + + + + + + + + + + diff --git a/playlist/static/img/eject.svg b/playlist/static/img/eject.svg new file mode 100644 index 0000000..1e1e2a4 --- /dev/null +++ b/playlist/static/img/eject.svg @@ -0,0 +1,58 @@ + + + + + + + + + + + diff --git a/playlist/static/img/forward.svg b/playlist/static/img/forward.svg new file mode 100644 index 0000000..4fd9c42 --- /dev/null +++ b/playlist/static/img/forward.svg @@ -0,0 +1,68 @@ + + + + + + + + + + + diff --git a/playlist/static/img/next.svg b/playlist/static/img/next.svg new file mode 100644 index 0000000..3a3ee6f --- /dev/null +++ b/playlist/static/img/next.svg @@ -0,0 +1,76 @@ + + + + + + + + + + + + diff --git a/playlist/static/img/prev.svg b/playlist/static/img/prev.svg new file mode 100644 index 0000000..a8f0dfd --- /dev/null +++ b/playlist/static/img/prev.svg @@ -0,0 +1,75 @@ + + + + + + + + + + + + diff --git a/playlist/static/style.css b/playlist/static/style.css index f537b85..eea6bdf 100644 --- a/playlist/static/style.css +++ b/playlist/static/style.css @@ -185,6 +185,10 @@ iframe { height: 22px; } +#media-control { + display:flex; +} + #media-control button { min-width: 0; @@ -196,10 +200,18 @@ iframe { box-shadow:none; } -#media-control:not(.waiting) button:hover { +#media-control:not(.waiting) button:not(.dummy):hover { box-shadow: inset -1px -1px #0a0a0a,inset 1px 1px #fff,inset -2px -2px grey,inset 2px 2px #dfdfdf } +#media-control .spacer { + display: inline-block; + height: 24px; + width: 1px; + margin: 4px 5px; + background: gray; +} + #media-control button#play { background-image:url(img/play.svg); } @@ -222,6 +234,22 @@ iframe { background-image:url(img/stop-inactive.svg); } +#media-control button#prev { + background-image:url(img/prev.svg); +} +#media-control button#back { + background-image:url(img/back.svg); +} +#media-control button#forward { + background-image:url(img/forward.svg); +} +#media-control button#next { + background-image:url(img/next.svg); +} +#media-control button#eject { + background-image:url(img/eject.svg); +} + /* Clippy */ .clippy { position: fixed; diff --git a/playlist/templates/MediaPlayer.html b/playlist/templates/MediaPlayer.html index 42e1403..10c932c 100644 --- a/playlist/templates/MediaPlayer.html +++ b/playlist/templates/MediaPlayer.html @@ -15,6 +15,13 @@ +
+ + + + +
+