diff --git a/dashboard-ui/css/card.css b/dashboard-ui/css/card.css index dab8cb7deb..4643361534 100644 --- a/dashboard-ui/css/card.css +++ b/dashboard-ui/css/card.css @@ -70,14 +70,17 @@ border-radius: 2px; } -.cardOverlayMoreButton, .cardOverlayPlayButton { +.cardOverlayButtonContainer { position: absolute; bottom: 0; right: 0; + padding: 1em .5em .5em 1em; +} + +.cardOverlayMoreButton, .cardOverlayPlayButton { color: #333; background-color: rgba(210,210,210,.9); border-radius: 500px; - margin: 0 .3em .3em 0; padding: 5px; width: 36px; height: 36px; diff --git a/dashboard-ui/scripts/favorites.js b/dashboard-ui/scripts/favorites.js index 2f4dc43bc1..422675cab0 100644 --- a/dashboard-ui/scripts/favorites.js +++ b/dashboard-ui/scripts/favorites.js @@ -23,8 +23,8 @@ { name: 'HeaderFavoriteShows', types: "Series", id: "favoriteShows", shape: getPosterShape(), showTitle: false }, { name: 'HeaderFavoriteEpisodes', types: "Episode", id: "favoriteEpisode", shape: getThumbShape(), preferThumb: false, showTitle: true, showParentTitle: true }, { name: 'HeaderFavoriteGames', types: "Game", id: "favoriteGames", shape: getSquareShape(), preferThumb: false, showTitle: true }, - { name: 'HeaderFavoriteArtists', types: "MusicArtist", id: "favoriteArtists", shape: getSquareShape(), preferThumb: false, showTitle: true, overlayText: false, showParentTitle: true, centerText: true, overlayMoreButton: true, defaultAction: 'play' }, - { name: 'HeaderFavoriteAlbums', types: "MusicAlbum", id: "favoriteAlbums", shape: getSquareShape(), preferThumb: false, showTitle: true, overlayText: false, showParentTitle: true, centerText: true, overlayMoreButton: true, defaultAction: 'play' }, + { name: 'HeaderFavoriteArtists', types: "MusicArtist", id: "favoriteArtists", shape: getSquareShape(), preferThumb: false, showTitle: true, overlayText: false, showParentTitle: true, centerText: true, overlayPlayButton: true }, + { name: 'HeaderFavoriteAlbums', types: "MusicAlbum", id: "favoriteAlbums", shape: getSquareShape(), preferThumb: false, showTitle: true, overlayText: false, showParentTitle: true, centerText: true, overlayPlayButton: true }, { name: 'HeaderFavoriteSongs', types: "Audio", id: "favoriteSongs", shape: getSquareShape(), preferThumb: false, showTitle: true, overlayText: false, showParentTitle: true, centerText: true, overlayMoreButton: true, defaultAction: 'instantmix' } ]; } diff --git a/dashboard-ui/scripts/librarybrowser.js b/dashboard-ui/scripts/librarybrowser.js index 9b8becd238..4d965e439f 100644 --- a/dashboard-ui/scripts/librarybrowser.js +++ b/dashboard-ui/scripts/librarybrowser.js @@ -2171,10 +2171,10 @@ html += ''; if (options.overlayPlayButton && !item.IsPlaceHolder && (item.LocationType != 'Virtual' || !item.MediaType || item.Type == 'Program')) { - html += ''; + html += '
'; } if (options.overlayMoreButton) { - html += ''; + html += '
'; } // cardScalable diff --git a/dashboard-ui/scripts/musicrecommended.js b/dashboard-ui/scripts/musicrecommended.js index 24a9c96109..0802386390 100644 --- a/dashboard-ui/scripts/musicrecommended.js +++ b/dashboard-ui/scripts/musicrecommended.js @@ -39,11 +39,10 @@ showLatestItemsPopup: false, shape: getSquareShape(), showTitle: true, - defaultAction: 'play', showParentTitle: true, lazy: true, centerText: true, - overlayMoreButton: true + overlayPlayButton: true }); ImageLoader.lazyChildren(elem); @@ -174,11 +173,10 @@ shape: getSquareShape(), showTitle: true, lazy: true, - defaultAction: 'play', coverImage: true, showItemCounts: true, centerText: true, - overlayMoreButton: true + overlayPlayButton: true }); ImageLoader.lazyChildren(itemsContainer);