From ef9f908add6d670636c3f59c518a096f79ffc09b Mon Sep 17 00:00:00 2001 From: jcass Date: Sun, 24 Jan 2016 12:03:54 +0200 Subject: [PATCH] Fix vertical alignment of playback control buttons. --- README.rst | 1 + .../static/css/webclient.css | 15 ++++++---- mopidy_musicbox_webclient/static/index.html | 30 ++++++++++--------- 3 files changed, 27 insertions(+), 19 deletions(-) diff --git a/README.rst b/README.rst index 5bfc86f..affb5e4 100644 --- a/README.rst +++ b/README.rst @@ -62,6 +62,7 @@ v2.0.1 (UNRELEASED) - Added ability to manually initiate refresh of Playlists. - Increase volume slider handle by 30% to make it easier to use on mobile devices - Add application cache manifest file for quicker loads and to allow client devices to detect changes. +- Fix vertical alignment of playback control buttons in footer. v2.0.0 (26-3-2015) ------------------ diff --git a/mopidy_musicbox_webclient/static/css/webclient.css b/mopidy_musicbox_webclient/static/css/webclient.css index 6862608..f03c4a2 100644 --- a/mopidy_musicbox_webclient/static/css/webclient.css +++ b/mopidy_musicbox_webclient/static/css/webclient.css @@ -341,13 +341,18 @@ *******************/ .nowPlayingControls { font-size: 20px; - line-height: 45px; - padding-left: 10px; + line-height: 40px; + width: 100%; } -.nowPlayingControls .fa{ - vertical-align: -webkit-baseline-middle; + +.nowPlayingControls span span { + padding-left: 2px; + padding-right: 2px; + height=100%; + vertical-align: middle; } -.nowPlayingControls #btplayNowPlaying{ + +.nowPlayingControls #btplayNowPlaying { font-size: 190%; margin-left: 15px; margin-right: 15px; diff --git a/mopidy_musicbox_webclient/static/index.html b/mopidy_musicbox_webclient/static/index.html index 338bdac..7234256 100644 --- a/mopidy_musicbox_webclient/static/index.html +++ b/mopidy_musicbox_webclient/static/index.html @@ -409,9 +409,9 @@

Streams

-
+

Play a specific stream/track and optionally save it to your favourites.
-

+
    @@ -454,19 +454,21 @@
    -

    - -   -   -   -   -

    +
    + + + + + + + + + + + + +
    -
    - -   -   -