mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-14 01:02:59 -07:00
Fix styling on activity window for music tracks.
This commit is contained in:
parent
e83c9321d4
commit
8a93b359c6
5 changed files with 42 additions and 24 deletions
|
@ -6648,10 +6648,13 @@ button.close {
|
|||
z-index: 1;
|
||||
}
|
||||
.dashboard-activity-poster-face {
|
||||
height: 152px;
|
||||
height: 141px;
|
||||
width: 250px;
|
||||
position: relative;
|
||||
top: 0px;
|
||||
background-color: rgba(255,255,255,.03);
|
||||
margin-bottom: 11px;
|
||||
text-align: center;
|
||||
}
|
||||
.dashboard-activity-poster-face img {
|
||||
bottom: 0;
|
||||
|
@ -6682,8 +6685,14 @@ button.close {
|
|||
-ms-backface-visibility: hidden;
|
||||
-o-backface-visibility: hidden;
|
||||
backface-visibility: hidden;
|
||||
height: 141px;
|
||||
width: 250px;
|
||||
height: 140px;
|
||||
min-width: 140px;
|
||||
}
|
||||
.dashboard-activity-poster-music-bg {
|
||||
position:absolute;
|
||||
width:100%;
|
||||
height:100%;
|
||||
opacity: 0.7;
|
||||
}
|
||||
.dashboard-activity-metadata-user {
|
||||
text-overflow: ellipsis;
|
||||
|
|
|
@ -58,7 +58,10 @@ DOCUMENTATION :: END
|
|||
</div>
|
||||
% else:
|
||||
<div class="dashboard-activity-poster-face">
|
||||
<img src="pms_image_proxy?img=${a['thumb']}&width=300&height=169"/>
|
||||
% if a['type'] == 'track':
|
||||
<div class="dashboard-activity-poster-music-bg" style="background-image: url('pms_image_proxy?img=${a['thumb']}&width=300&height=300');"></div>
|
||||
% endif
|
||||
<img src="pms_image_proxy?img=${a['thumb']}&width=300&height=169&fallback=cover"/>
|
||||
</div>
|
||||
% endif
|
||||
<div class='dashboard-activity-metadata-wrapper'>
|
||||
|
|
BIN
data/interfaces/default/images/cover.png
Normal file
BIN
data/interfaces/default/images/cover.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
Loading…
Add table
Add a link
Reference in a new issue