jellyfin-web/dashboard-ui/css/posteritem.css

308 lines
5.8 KiB
CSS
Raw Normal View History

2013-04-25 16:28:01 -07:00
.posterItem {
2013-12-29 10:07:29 -07:00
margin: 8px;
2013-04-25 16:28:01 -07:00
text-shadow: none;
font-weight: normal!important;
display: inline-block;
position: relative;
2013-04-28 10:39:16 -07:00
color: #fff!important;
2013-04-25 16:28:01 -07:00
text-decoration: none;
text-align: left;
overflow: hidden;
2013-12-22 10:16:24 -07:00
-webkit-transition: all 500ms ease;
-moz-transition: all 500ms ease;
-o-transition: all 500ms ease;
-ms-transition: all 500ms ease;
transition: all 500ms ease;
2013-04-25 16:28:01 -07:00
}
.posterItem:hover {
2013-12-29 19:41:22 -07:00
-moz-box-shadow: 0 0 15px 8px #2572EB;
-webkit-box-shadow: 0 0 25px 8px #2572EB;
box-shadow: 0 0 15px 8px #2572EB;
2013-04-25 16:28:01 -07:00
}
2013-12-23 08:26:36 -07:00
.smallBackdropPosterItem, .smallPosterItem {
margin: 3px;
}
2013-04-25 16:28:01 -07:00
.posterItemImage {
background-size: contain;
2013-04-25 16:28:01 -07:00
background-repeat: no-repeat;
2013-05-03 13:50:13 -07:00
background-position: center bottom;
2013-04-28 10:39:16 -07:00
background-color: #000;
2013-12-29 19:41:22 -07:00
border: 2px solid #202020;
2013-12-28 22:32:03 -07:00
position: relative;
2013-04-28 10:39:16 -07:00
}
.transparentPosterItem .posterItemImage {
background-color: transparent;
2013-04-25 16:28:01 -07:00
}
.defaultPosterItemImage {
background-color: #999;
}
2013-12-28 22:32:03 -07:00
.borderlessPosterItem .posterItemImage {
border-color: transparent;
2013-05-04 06:29:44 -07:00
}
2013-11-07 10:27:05 -07:00
.posterItemStoreText {
font-weight: normal;
2013-11-07 10:27:05 -07:00
text-overflow: ellipsis;
overflow: hidden;
text-wrap: none;
white-space: nowrap;
text-shadow: none;
padding-left: 2px;
2013-11-07 10:27:05 -07:00
}
2013-04-25 16:28:01 -07:00
.posterItemText {
text-overflow: ellipsis;
overflow: hidden;
text-wrap: none;
white-space: nowrap;
2013-12-28 14:37:01 -07:00
padding: 5px 4px 4px;
2013-04-25 16:28:01 -07:00
text-shadow: none;
2013-12-29 10:07:29 -07:00
font-size: 13px;
font-weight: 400;
2013-04-25 16:28:01 -07:00
}
2013-12-22 10:16:24 -07:00
.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;
2013-04-25 17:52:55 -07:00
}
2013-12-29 19:41:22 -07:00
.posterItemTextOverlay .posterItemText {
background-color: transparent;
padding-left: 5px;
padding: 0 5px 5px;
}
2013-12-22 10:16:24 -07:00
2013-12-29 19:41:22 -07:00
.posterItemTextOverlay .posterItemText:first-child {
font-weight: bold;
font-size: 14px;
}
2013-12-22 10:16:24 -07:00
2013-12-29 19:41:22 -07:00
.posterItemTextOverlay .posterItemText:last-child {
padding-bottom: 8px;
}
2013-12-22 10:16:24 -07:00
.posterItemTextCentered {
text-align: center;
}
.posterItemText + .posterItemProgress {
padding-top: 0;
}
2013-04-25 17:52:55 -07:00
.posterItemDefaultText {
position: absolute;
top: 30%;
left: 0;
right: 0;
text-align: center;
}
2013-04-25 16:28:01 -07:00
.squarePosterItem {
width: 142px;
2013-04-25 16:28:01 -07:00
}
.squarePosterItem .posterItemImage {
height: 138px;
2013-04-25 16:28:01 -07:00
}
.storeReviewCount {
display: none;
}
2013-11-07 10:27:05 -07:00
2013-04-25 16:28:01 -07:00
.backdropPosterItem {
width: 142px;
2013-04-25 16:28:01 -07:00
}
.backdropPosterItem .posterItemImage {
height: 77.625px;
2013-04-25 16:28:01 -07:00
}
2013-04-25 17:52:55 -07:00
2013-12-23 08:26:36 -07:00
.smallBackdropPosterItem {
width: 160px;
2013-12-23 08:26:36 -07:00
}
2013-05-03 13:50:13 -07:00
2013-12-23 08:26:36 -07:00
.smallBackdropPosterItem .posterItemImage {
height: 87.75px;
2013-12-23 08:26:36 -07:00
}
2013-12-22 14:11:32 -07:00
2013-12-28 22:32:03 -07:00
.portraitPosterItem {
width: 90px;
2013-12-28 22:32:03 -07:00
}
2013-05-03 19:33:44 -07:00
2013-12-28 22:32:03 -07:00
.portraitPosterItem .posterItemImage {
height: 129px;
2013-12-28 22:32:03 -07:00
}
2013-05-04 11:21:29 -07:00
.posterItemProgress .itemProgressBar {
height: 10px;
2013-12-22 10:16:24 -07:00
width: 100%;
2013-12-29 10:07:29 -07:00
opacity: .6;
2013-05-03 19:33:44 -07:00
}
2013-12-22 10:16:24 -07:00
@media all and (min-width: 540px) {
2013-05-03 19:33:44 -07:00
2013-12-22 10:16:24 -07:00
.backdropPosterItem {
2013-12-28 22:32:03 -07:00
width: 260px;
2013-12-22 10:16:24 -07:00
}
.backdropPosterItem .posterItemImage {
height: 144px;
}
2013-12-23 08:26:36 -07:00
.smallBackdropPosterItem {
2013-12-28 22:32:03 -07:00
width: 188px;
2013-12-23 08:26:36 -07:00
}
.smallBackdropPosterItem .posterItemImage {
height: 103.5px;
}
}
@media all and (min-width: 600px) {
.squarePosterItem {
width: 164px;
}
.squarePosterItem .posterItemImage {
height: 160px;
}
.portraitPosterItem {
width: 122px;
}
.portraitPosterItem .posterItemImage {
height: 177px;
}
}
2013-04-25 18:52:29 -07:00
@media all and (min-width: 650px) {
2013-04-25 17:52:55 -07:00
.backdropPosterItem {
2013-12-28 22:32:03 -07:00
width: 276px;
2013-04-25 17:52:55 -07:00
}
.backdropPosterItem .posterItemImage {
2013-12-22 10:16:24 -07:00
height: 153px;
2013-04-25 17:52:55 -07:00
}
2013-12-23 08:26:36 -07:00
.smallBackdropPosterItem {
2013-12-28 22:32:03 -07:00
width: 196px;
2013-12-23 08:26:36 -07:00
}
.smallBackdropPosterItem .posterItemImage {
height: 108px;
}
2013-04-25 18:52:29 -07:00
}
@media all and (min-width: 750px) {
2013-04-25 17:52:55 -07:00
.portraitPosterItem {
2013-12-28 22:32:03 -07:00
width: 112px;
2013-04-25 17:52:55 -07:00
}
.portraitPosterItem .posterItemImage {
height: 162px;
2013-04-25 17:52:55 -07:00
}
}
@media all and (min-width: 1200px) {
.backdropPosterItem {
2013-12-28 22:32:03 -07:00
width: 276px;
2013-04-25 17:52:55 -07:00
}
.backdropPosterItem .posterItemImage {
2013-12-22 10:16:24 -07:00
height: 153px;
2013-05-03 19:33:44 -07:00
}
2013-04-25 17:52:55 -07:00
.portraitPosterItem {
2013-12-28 22:32:03 -07:00
width: 138px;
2013-04-25 17:52:55 -07:00
}
.portraitPosterItem .posterItemImage {
height: 201px;
2013-04-25 17:52:55 -07:00
}
2013-05-04 06:29:44 -07:00
.smallBackdropPosterItem {
2013-12-28 22:32:03 -07:00
width: 228px;
2013-05-04 06:29:44 -07:00
}
.smallBackdropPosterItem .posterItemImage {
2013-12-22 14:11:32 -07:00
height: 126px;
2013-05-04 06:29:44 -07:00
}
.storeReviewCount {
display: inline;
}
2013-04-25 17:52:55 -07:00
}
@media all and (min-width: 1440px) {
.squarePosterItem {
2013-12-28 22:32:03 -07:00
width: 174px;
2013-04-25 17:52:55 -07:00
}
.squarePosterItem .posterItemImage {
height: 170px;
}
.portraitPosterItem {
2013-12-28 22:32:03 -07:00
width: 138px;
2013-04-25 17:52:55 -07:00
}
.portraitPosterItem .posterItemImage {
2013-05-03 19:33:44 -07:00
height: 201px;
}
2013-12-22 10:16:24 -07:00
.portraitPosterItem .itemProgressText {
display: inline;
2013-04-25 17:52:55 -07:00
}
2013-05-03 19:33:44 -07:00
2013-12-22 10:16:24 -07:00
.backdropPosterItem {
2013-12-28 22:32:03 -07:00
width: 292px;
2013-05-03 19:33:44 -07:00
}
2013-12-22 10:16:24 -07:00
.backdropPosterItem .posterItemImage {
height: 162px;
}
2013-04-25 17:52:55 -07:00
}
@media all and (min-width: 1920px) {
.squarePosterItem {
2013-12-28 22:32:03 -07:00
width: 204px;
2013-04-25 17:52:55 -07:00
}
.squarePosterItem .posterItemImage {
2013-05-03 19:33:44 -07:00
height: 200px;
2013-04-25 17:52:55 -07:00
}
.portraitPosterItem {
2013-12-28 22:32:03 -07:00
width: 164px;
2013-04-25 17:52:55 -07:00
}
.portraitPosterItem .posterItemImage {
2013-05-03 19:33:44 -07:00
height: 240px;
}
2013-04-25 17:52:55 -07:00
}