diff --git a/templates/show_random_albums.inc.php b/templates/show_random_albums.inc.php index 8a3292f5..d58e804b 100644 --- a/templates/show_random_albums.inc.php +++ b/templates/show_random_albums.inc.php @@ -32,13 +32,24 @@ if ($albums) { $name = '[' . $album->f_artist . '] ' . scrub_out($album->full_name); ?>
- - - <?php echo $name; ?> - - f_artist . '] ' . $album->f_name; ?> +
+ + + <?php echo $name; ?> + + f_artist . '] ' . $album->f_name; ?> + + +
+
+ + id,'play', T_('Play'),'play_album_' . $album->id); ?> + + id . '&append=true','play_add', T_('Play last'),'addplay_album_' . $album->id); ?> + - + id,'add', T_('Add to temporary playlist'),'play_full_' . $album->id); ?> +
id . "_album\">"; @@ -46,7 +57,6 @@ if ($albums) { echo "
"; } ?> - id,'add', T_('Play Album'),'play_full_' . $album->id); ?> diff --git a/themes/reborn/templates/default.css b/themes/reborn/templates/default.css index bfa21ed0..85d7a86f 100644 --- a/themes/reborn/templates/default.css +++ b/themes/reborn/templates/default.css @@ -1201,11 +1201,7 @@ div.box.box_current_configuration { text-align: center; } -#random_selection .random_album div { - display: inline; -} - -#random_selection .random_album img { +#random_selection .art_album img { vertical-align: middle; -webkit-border-radius: 2px; -moz-border-radius: 2px; @@ -1213,25 +1209,27 @@ div.box.box_current_configuration { -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.75); -moz-box-shadow: 0 0 10px rgba(0,0,0,0.75); box-shadow: 0 0 10px rgba(0,0,0,0.75); + width: 80px; + height: 80px; margin: 2px; } -#random_selection .random_album img:hover { +#random_selection .art_album img:hover { border: 2px solid #ff9d00; margin: 0px; } #random_selection .random_album .star-rating { - float: left; + margin: auto; } #random_selection .random_album .play_album { - float: left; margin-left: 7px; } -#random_selection .random_album .play_album a img { - border: 0px; +#random_selection .random_album .play_album img { + border: 0; + box-shadow: 0 0 0 0; } #random_selection .box-bottom {