jellyfin-web/dashboard-ui/css/posteritem.css
2013-12-29 12:07:29 -05:00

297 lines
5.5 KiB
CSS

.posterItem {
margin: 8px;
text-shadow: none;
font-weight: normal!important;
display: inline-block;
position: relative;
color: #fff!important;
text-decoration: none;
text-align: left;
overflow: hidden;
-webkit-transition: all 500ms ease;
-moz-transition: all 500ms ease;
-o-transition: all 500ms ease;
-ms-transition: all 500ms ease;
transition: all 500ms ease;
}
.posterItem:hover {
-moz-box-shadow: 0 0 20px 3px #52B54B;
-webkit-box-shadow: 0 0 20px 3px #52B54B;
box-shadow: 0 0 20px 3px #52B54B;
}
.smallBackdropPosterItem, .smallPosterItem {
margin: 3px;
}
.posterItemImage {
background-size: contain;
background-repeat: no-repeat;
background-position: center bottom;
background-color: #000;
border: 2px solid #1b1b1b;
position: relative;
}
.transparentPosterItem .posterItemImage {
background-color: transparent;
}
.defaultPosterItemImage {
background-color: #999;
}
.borderlessPosterItem .posterItemImage {
border-color: transparent;
}
.posterItemStoreText {
font-weight: normal;
text-overflow: ellipsis;
overflow: hidden;
text-wrap: none;
white-space: nowrap;
text-shadow: none;
padding-left: 2px;
}
.posterItemText {
text-overflow: ellipsis;
overflow: hidden;
text-wrap: none;
white-space: nowrap;
padding: 5px 4px 4px;
text-shadow: none;
font-size: 13px;
font-weight: 400;
}
.posterItemTextOverlay {
position: absolute;
bottom: 0;
background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0.7))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.7) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.7) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.7) 100%); /* IE10+ */
background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.7) 100%); /* W3C */
left: 0;
right: 0;
}
.posterItemText + .posterItemText {
padding-top: 2px;
}
.posterItemTextOverlay .posterItemText {
background-color: transparent;
padding-left: 5px;
}
.posterItemTextOverlay .posterItemText:first-child {
font-weight: bold;
}
.posterItemTextCentered {
text-align: center;
}
.posterItemText + .posterItemProgress {
padding-top: 0;
}
.posterItemDefaultText {
position: absolute;
top: 30%;
left: 0;
right: 0;
text-align: center;
}
.squarePosterItem {
width: 154px;
}
.squarePosterItem .posterItemImage {
height: 150px;
}
.storeReviewCount {
display: none;
}
.backdropPosterItem {
width: 292px;
}
.backdropPosterItem .posterItemImage {
height: 162px;
}
.smallBackdropPosterItem {
width: 172px;
}
.smallBackdropPosterItem .posterItemImage {
height: 94.5px;
}
.portraitPosterItem {
width: 106px;
}
.portraitPosterItem .posterItemImage {
height: 153px;
}
.posterItemProgress .itemProgressBar {
height: 10px;
width: 100%;
opacity: .6;
}
@media all and (max-width: 400px) {
.backdropPosterItem {
display: block;
}
}
@media all and (min-width: 540px) {
.backdropPosterItem {
width: 260px;
}
.backdropPosterItem .posterItemImage {
height: 144px;
}
}
@media all and (min-width: 540px) {
.smallBackdropPosterItem {
width: 188px;
}
.smallBackdropPosterItem .posterItemImage {
height: 103.5px;
}
}
@media all and (min-width: 650px) {
.backdropPosterItem {
width: 276px;
}
.backdropPosterItem .posterItemImage {
height: 153px;
}
.smallBackdropPosterItem {
width: 196px;
}
.smallBackdropPosterItem .posterItemImage {
height: 108px;
}
}
@media all and (min-width: 750px) {
.portraitPosterItem {
width: 112px;
}
.portraitPosterItem .posterItemImage {
height: 162px;
}
}
@media all and (min-width: 1200px) {
.backdropPosterItem {
width: 276px;
}
.backdropPosterItem .posterItemImage {
height: 153px;
}
.portraitPosterItem {
width: 138px;
}
.portraitPosterItem .posterItemImage {
height: 201px;
}
.smallBackdropPosterItem {
width: 228px;
}
.smallBackdropPosterItem .posterItemImage {
height: 126px;
}
.storeReviewCount {
display: inline;
}
}
@media all and (min-width: 1440px) {
.squarePosterItem {
width: 174px;
}
.squarePosterItem .posterItemImage {
height: 170px;
}
.portraitPosterItem {
width: 138px;
}
.portraitPosterItem .posterItemImage {
height: 201px;
}
.portraitPosterItem .itemProgressText {
display: inline;
}
.backdropPosterItem {
width: 292px;
}
.backdropPosterItem .posterItemImage {
height: 162px;
}
}
@media all and (min-width: 1920px) {
.squarePosterItem {
width: 204px;
}
.squarePosterItem .posterItemImage {
height: 200px;
}
.portraitPosterItem {
width: 164px;
}
.portraitPosterItem .posterItemImage {
height: 240px;
}
}