mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add new fields from omdb
This commit is contained in:
parent
e8dd5c816f
commit
8c99e99477
17 changed files with 314 additions and 47 deletions
|
@ -221,7 +221,7 @@
|
|||
background-size: cover;
|
||||
vertical-align: top;
|
||||
position: relative;
|
||||
top: -1px;
|
||||
top: -2px;
|
||||
}
|
||||
|
||||
.halfStarRating {
|
||||
|
@ -232,6 +232,13 @@
|
|||
background-position: right center;
|
||||
}
|
||||
|
||||
.starRatingValue {
|
||||
display: inline-block;
|
||||
margin-left: 1px;
|
||||
position: relative;
|
||||
top: -2px;
|
||||
}
|
||||
|
||||
.rottentomatoesicon {
|
||||
display: inline-block;
|
||||
width: 17px;
|
||||
|
@ -241,17 +248,13 @@
|
|||
background-repeat: no-repeat;
|
||||
vertical-align: top;
|
||||
position: relative;
|
||||
top: -1px;
|
||||
top: -2px;
|
||||
}
|
||||
|
||||
.starRating + .rottentomatoesicon {
|
||||
.starRatingValue + .rottentomatoesicon {
|
||||
margin-left: 1em;
|
||||
}
|
||||
|
||||
.smallPosterTileItem .starRating + .rottentomatoesicon {
|
||||
margin-left: .5em;
|
||||
}
|
||||
|
||||
.fresh {
|
||||
background-image: url(images/fresh.png);
|
||||
}
|
||||
|
@ -260,6 +263,36 @@
|
|||
background-image: url(images/rotten.png);
|
||||
}
|
||||
|
||||
.metascore {
|
||||
font-family: Arial;
|
||||
color: #fff;
|
||||
font-weight: bold;
|
||||
display: inline-block;
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
width: 24px;
|
||||
height: 20px;
|
||||
line-height: 20px;
|
||||
position: relative;
|
||||
top: -2px;
|
||||
}
|
||||
|
||||
.metascorehigh {
|
||||
background-color: rgba(102, 204, 51, .75);
|
||||
}
|
||||
|
||||
.metascoremid {
|
||||
background-color: rgba(255, 204, 51, .75);
|
||||
}
|
||||
|
||||
.metascorelow {
|
||||
background-color: rgba(240, 0, 0, .75);
|
||||
}
|
||||
|
||||
.criticRating + .metascore, .starRatingValue + .metascore {
|
||||
margin-left: 1em;
|
||||
}
|
||||
|
||||
.criticReview {
|
||||
margin: 1.5em 0;
|
||||
background: #222;
|
||||
|
@ -277,11 +310,10 @@
|
|||
}
|
||||
|
||||
.criticRating {
|
||||
color: #ccc;
|
||||
vertical-align: top;
|
||||
margin-left: 5px;
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
margin-left: 1px;
|
||||
position: relative;
|
||||
top: -2px;
|
||||
}
|
||||
|
||||
.criticRatingSummary {
|
||||
|
@ -346,7 +378,7 @@ a.itemTag:hover {
|
|||
}
|
||||
|
||||
.itemCommunityRating + .userDataIcons {
|
||||
margin-left: 1.5em;
|
||||
margin-left: 1.25em;
|
||||
}
|
||||
|
||||
.itemBackdrop {
|
||||
|
|
|
@ -14,10 +14,25 @@
|
|||
transition: all 500ms ease;
|
||||
}
|
||||
|
||||
.posterItemOverlayTarget {
|
||||
/*.posterItemOverlayTarget {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 50%;
|
||||
z-index: 999;
|
||||
}*/
|
||||
|
||||
.posterItemOverlayTarget {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
background: #111;
|
||||
z-index: 999;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.posterItemOverlayInner {
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
.smallBackdropPosterItem, .smallPosterItem {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue