diff --git a/playlist/static/img/pause-inactive.svg b/playlist/static/img/pause-inactive.svg new file mode 100644 index 0000000..bb7f84c --- /dev/null +++ b/playlist/static/img/pause-inactive.svg @@ -0,0 +1,48 @@ + + + + + + + + + + + diff --git a/playlist/static/img/pause.svg b/playlist/static/img/pause.svg new file mode 100644 index 0000000..8ba271c --- /dev/null +++ b/playlist/static/img/pause.svg @@ -0,0 +1,48 @@ + + + + + + + + + + + diff --git a/playlist/static/img/play-inactive.svg b/playlist/static/img/play-inactive.svg new file mode 100644 index 0000000..407aa11 --- /dev/null +++ b/playlist/static/img/play-inactive.svg @@ -0,0 +1,51 @@ + + + + + + + + + + diff --git a/playlist/static/img/play.svg b/playlist/static/img/play.svg new file mode 100644 index 0000000..f7a3809 --- /dev/null +++ b/playlist/static/img/play.svg @@ -0,0 +1,48 @@ + + + + + + + + + + diff --git a/playlist/static/img/stop-inactive.svg b/playlist/static/img/stop-inactive.svg new file mode 100644 index 0000000..83d3277 --- /dev/null +++ b/playlist/static/img/stop-inactive.svg @@ -0,0 +1,41 @@ + + + + + + + + + + diff --git a/playlist/static/img/stop.svg b/playlist/static/img/stop.svg new file mode 100644 index 0000000..7eead70 --- /dev/null +++ b/playlist/static/img/stop.svg @@ -0,0 +1,48 @@ + + + + + + + + + + + diff --git a/playlist/static/style.css b/playlist/static/style.css index 8cb8ff5..f537b85 100644 --- a/playlist/static/style.css +++ b/playlist/static/style.css @@ -185,9 +185,41 @@ iframe { height: 22px; } + #media-control button { min-width: 0; - width: 20px; + width: 32px; + height: 32px; + background-size: 50%; + background-repeat: no-repeat; + background-position: 50% 50%; + box-shadow:none; +} + +#media-control:not(.waiting) button:hover { + box-shadow: inset -1px -1px #0a0a0a,inset 1px 1px #fff,inset -2px -2px grey,inset 2px 2px #dfdfdf +} + +#media-control button#play { + background-image:url(img/play.svg); +} + +#media-control button#pause { + background-image:url(img/pause.svg); +} + +#media-control button#stop { + background-image:url(img/stop.svg); +} + +#media-control.waiting button#play { + background-image:url(img/play-inactive.svg); +} +#media-control.waiting button#pause { + background-image:url(img/pause-inactive.svg); +} +#media-control.waiting button#stop { + background-image:url(img/stop-inactive.svg); } /* Clippy */ diff --git a/playlist/templates/Base.html b/playlist/templates/Base.html index 4083629..dce31a4 100644 --- a/playlist/templates/Base.html +++ b/playlist/templates/Base.html @@ -43,17 +43,20 @@ {% block clippy %}{% endblock %} \ No newline at end of file diff --git a/playlist/templates/head.html b/playlist/templates/head.html index ff2776e..13c378d 100644 --- a/playlist/templates/head.html +++ b/playlist/templates/head.html @@ -12,7 +12,6 @@ - HD Muzak: {{ request.path }}