From 0cc9465faf06d581db95ab86a4271fca59d99904 Mon Sep 17 00:00:00 2001 From: Wouter van Wijk Date: Sun, 24 Feb 2013 21:55:30 +0100 Subject: [PATCH] no more siwtch to queue after playing a track, seperately scrolling playlist/tracks --- webclient/css/ws.css | 42 +++++++++++++++++++++++--------- webclient/index.html | 12 ++++----- webclient/js/controls.js | 2 +- webclient/js/functionsvars.js | 21 ++++++++-------- webclient/js/gui.js | 46 +++++++++++++++++++++++++++++------ webclient/js/library.js | 3 ++- webclient/js/process_ws.js | 6 ++--- 7 files changed, 93 insertions(+), 39 deletions(-) diff --git a/webclient/css/ws.css b/webclient/css/ws.css index 860b484..d4e7bb0 100755 --- a/webclient/css/ws.css +++ b/webclient/css/ws.css @@ -37,7 +37,7 @@ .pl-breakpoint.ui-grid-a .ui-block-a { clear: left; } - #playlisttablediv { + #playlisttracksdiv { margin-left: 10px; } /*search*/ @@ -51,6 +51,11 @@ #btcontrols { display: none; } + .scroll { + overflow-y: scroll; + overflow-x: hidden; + } + } /* tablet etc */ @@ -73,7 +78,7 @@ } .srch-breakpoint.ui-grid-a .ui-block-a, .srch-breakpoint.ui-grid-a .ui-block-b { width: 49.5%; - } + } } /* phone */ @@ -100,7 +105,11 @@ /*controls*/ #btcontrols { display: block; - } + } + .scroll { + overflow-y: auto; + overflow-x: auto; + } } /* phone portrait */ @@ -147,7 +156,7 @@ } /********************** - * Song information + * Song information **********************/ #infoname { @@ -199,7 +208,7 @@ #slidercontainer { margin-top: 7px; margin-bottom: 5px; - margin-right: 10px; + margin-right: 10px; float: right; } @@ -242,15 +251,19 @@ display: none; } +#playlistspane { + padding: 2px; +} + #artistviewimage, #albumviewcover { float: right; heigth: 90px; } - /********************* * listviews ********************/ + .ui-li-divider { padding: 2px; padding-top: 10px; @@ -267,8 +280,8 @@ } .albumli { - padding-left: 5px; -} + padding-left: 5px; +} .playlistactive { background-color: #ccc; @@ -285,18 +298,25 @@ margin-right: 3px; } +.currenttrack2 { + background-image: url('../images/icons/play_alt_8x8.png'); + background-repeat: no-repeat; + background-position: 4px center; +} .currenttrack { background-image: url('../images/icons/play_alt_16x16.png'); background-repeat: no-repeat; background-color: #eee; - background-position: 4px center; + background-position: 6px center; } +.currenttrack2 a { + margin-left: 8px; +} .currenttrack a { margin-left: 14px; } - /******************* * Popups *******************/ @@ -326,7 +346,7 @@ } /*************** - * common use + * common use ***************/ a { text-decoration: none !important; diff --git a/webclient/index.html b/webclient/index.html index 20c3c22..fadb480 100755 --- a/webclient/index.html +++ b/webclient/index.html @@ -94,7 +94,7 @@ -