Fixed recently added and recently watched posters.

Changed posters to match Plex/Web style, and fixed stretching on "home
video" posters.
This commit is contained in:
JonnyWong16 2015-08-17 13:03:44 -07:00
commit dd27f9bf72
3 changed files with 63 additions and 64 deletions

View file

@ -407,39 +407,31 @@ input[type="color"],
}
.poster {
float: left;
min-height: 232px;
min-width: 155px;
min-height: 225px;
min-width: 150px;
margin-bottom: 8px;
position: relative;
}
.poster-face img {
bottom: 0;
overflow: hidden;
.poster-face {
background-position: center;
background-size: cover;
height: 225px;
width: 153px;
width: 150px;
position: relative;
webkit-box-shadow: 0 0 4px rgba(0,0,0,.3),inset 0 0 0 1px rgba(255,255,255,.1);
-moz-box-shadow: 0 0 4px rgba(0,0,0,.3),inset 0 0 0 1px rgba(255,255,255,.1);
box-shadow: 0 0 4px rgba(0,0,0,.3),inset 0 0 0 1px rgba(255,255,255,.1);
}
.cover-face {
background-position: center;
background-size: cover;
height: 150px;
width: 150px;
position: absolute;
bottom: 5px;
left: 0;
border: 1px solid rgba(128, 128, 128, 0.3);
}
.poster-face img:hover {
webkit-box-shadow: 0 0 0 2px #e9a049;
-moz-box-shadow: 0 0 0 2px #e9a049;
box-shadow: 0 0 0 2px #e9a049;
}
.cover-face img {
bottom: 0;
overflow: hidden;
height: 153px;
width: 153px;
border: 1px solid rgba(128, 128, 128, 0.3);
position: absolute;
bottom: 5px;
left: 0;
}
.cover-face img:hover {
webkit-box-shadow: 0 0 0 2px #e9a049;
-moz-box-shadow: 0 0 0 2px #e9a049;
box-shadow: 0 0 0 2px #e9a049;
webkit-box-shadow: 0 0 4px rgba(0,0,0,.3),inset 0 0 0 1px rgba(255,255,255,.1);
-moz-box-shadow: 0 0 4px rgba(0,0,0,.3),inset 0 0 0 1px rgba(255,255,255,.1);
box-shadow: 0 0 4px rgba(0,0,0,.3),inset 0 0 0 1px rgba(255,255,255,.1);
}
.users-poster-face img {
bottom: 0;
@ -630,6 +622,11 @@ input[type="color"],
}
.dashboard-recent-media-instance {
}
.dashboard-recent-media-instance a:hover .poster-face {
webkit-box-shadow: inset 0 0 0 2px #e9a049;
-moz-box-shadow: inset 0 0 0 2px #e9a049;
box-shadow: inset 0 0 0 2px #e9a049;
}
.dashboard-recent-media li {
margin-right: 27px;
position: relative;