diff --git a/app/app.css b/app/app.css index d1a655b..7f3b4d6 100644 --- a/app/app.css +++ b/app/app.css @@ -143,11 +143,15 @@ nav ul li.active { } #player h2 { font-size: 125%; - margin-top: 0; + margin: 0; } #player .info { flex-grow: 1; + align-self: stretch; overflow: hidden; + display: flex; + flex-direction: column; + justify-content: space-evenly; } #player .title, #player .subtitle { @@ -155,18 +159,18 @@ nav ul li.active { overflow: hidden; text-overflow: ellipsis; } +#player progress { + width: 100%; +} #player .controls { - white-space: nowrap; - text-align: center; + display: flex; + flex-direction: row; + align-items: center; } #player .controls .icon { width: 32px; margin: 8px; } -#player .controls [type=range] { - width: 144px; - margin: 0; -} #player .misc { display: flex; flex-direction: column; diff --git a/app/css/player.less b/app/css/player.less index 1cc833b..f31a029 100644 --- a/app/css/player.less +++ b/app/css/player.less @@ -15,29 +15,30 @@ h2 { font-size: 125%; - margin-top: 0; + margin: 0; } .info { flex-grow: 1; + align-self: stretch; + overflow: hidden; + .flex-column; + justify-content: space-evenly; } .title, .subtitle { .long-line; } - .controls { - @icon-margin: 8px; - @icon-size: 32px; - white-space: nowrap; - text-align: center; - .icon { - width: @icon-size; - margin: @icon-margin; - } - [type=range] { - width: 3 * (@icon-size + 2*@icon-margin); - margin: 0; + progress { + width: 100%; + } + + .controls { + .flex-row; + .icon { + width: 32px; + margin: 8px; } } diff --git a/app/index.html b/app/index.html index 4f58fd1..0a43bfa 100644 --- a/app/index.html +++ b/app/index.html @@ -13,15 +13,13 @@