From f4cf6f64642be3ba1347bea4de757df1697bb345 Mon Sep 17 00:00:00 2001 From: Stefan Date: Wed, 18 May 2016 02:41:44 -0400 Subject: [PATCH 1/2] Added thumbs attribute css to change the player bar if the thumbs toggle setting is checked --- lib/override.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/override.css b/lib/override.css index e07ab4d..6a0f35b 100644 --- a/lib/override.css +++ b/lib/override.css @@ -63,11 +63,11 @@ body[ready]:hover #mini-info, body[controls] #mini-info { display: none; } -#player[radio] #material-player-left-wrapper .rating-container paper-icon-button:nth-child(1) { +#player[radio] #material-player-left-wrapper .rating-container paper-icon-button:nth-child(1), #player[thumbs] #player #material-player-left-wrapper .rating-container paper-icon-button:nth-child(1) { display: block; } -#player[radio] #material-player-left-wrapper .rating-container paper-icon-button:nth-child(2) { +#player[radio] #material-player-left-wrapper .rating-container paper-icon-button:nth-child(2), #player[thumbs] #player #material-player-left-wrapper .rating-container paper-icon-button:nth-child(2) { display: block; } @@ -130,6 +130,10 @@ paper-icon-button[data-id="play-pause"] { left: -28px; } +#player[thumbs] [data-id=repeat], #player[thumbs] [data-id=shuffle] { + display: none; +} + .mini-timespan-c { position: absolute; top: 8px; From a00513c90d51eff18aa607941b6a7c0f5c1e1d47 Mon Sep 17 00:00:00 2001 From: Stefan Date: Wed, 18 May 2016 03:11:41 -0400 Subject: [PATCH 2/2] Fixed issue with an element name in the css --- lib/override.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/override.css b/lib/override.css index 6a0f35b..a1236e2 100644 --- a/lib/override.css +++ b/lib/override.css @@ -63,11 +63,11 @@ body[ready]:hover #mini-info, body[controls] #mini-info { display: none; } -#player[radio] #material-player-left-wrapper .rating-container paper-icon-button:nth-child(1), #player[thumbs] #player #material-player-left-wrapper .rating-container paper-icon-button:nth-child(1) { +#player[radio] #material-player-left-wrapper .rating-container paper-icon-button:nth-child(1), #player[thumbs] #material-player-left-wrapper .rating-container paper-icon-button:nth-child(1) { display: block; } -#player[radio] #material-player-left-wrapper .rating-container paper-icon-button:nth-child(2), #player[thumbs] #player #material-player-left-wrapper .rating-container paper-icon-button:nth-child(2) { +#player[radio] #material-player-left-wrapper .rating-container paper-icon-button:nth-child(2), #player[thumbs] #material-player-left-wrapper .rating-container paper-icon-button:nth-child(2) { display: block; }