1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00
jellyfin-web/dashboard-ui/css/posteritem.css

323 lines
6.2 KiB
CSS
Raw Normal View History

2013-04-25 19:28:01 -04:00
.posterItem {
2014-03-07 23:20:31 -05:00
margin: 4px 5px;
2013-04-25 19:28:01 -04:00
text-shadow: none;
font-weight: normal!important;
display: inline-block;
position: relative;
2013-04-28 13:39:16 -04:00
color: #fff!important;
2013-04-25 19:28:01 -04:00
text-decoration: none;
text-align: left;
2013-12-22 12:16:24 -05: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 19:28:01 -04:00
}
2014-01-15 00:01:58 -05:00
.posterItemOverlayTarget {
position: absolute;
right: 0;
left: 0;
bottom: 0;
background-color: rgba(0, 0, 0, .85);
2014-01-15 00:01:58 -05:00
z-index: 999;
display: none;
}
.posterItemOverlayInner {
2014-01-22 17:38:55 -05:00
padding: 11px 12px 10px;
2014-01-14 15:56:53 -05:00
}
2013-12-23 10:26:36 -05:00
2013-04-25 19:28:01 -04:00
.posterItemImage {
background-size: contain;
2013-04-25 19:28:01 -04:00
background-repeat: no-repeat;
2013-05-03 16:50:13 -04:00
background-position: center bottom;
2013-04-28 13:39:16 -04:00
background-color: #000;
2013-12-29 00:32:03 -05:00
position: relative;
2013-04-28 13:39:16 -04:00
}
2014-01-14 10:50:39 -05:00
.posterItem:hover .posterItemImage {
2014-02-13 00:11:54 -05:00
-moz-box-shadow: 0 0 12px 7px #38c;
-webkit-box-shadow: 0 0 12px 7px #38c;
box-shadow: 0 0 12px 7px #38c;
2014-01-14 10:50:39 -05:00
}
.coveredPosterItemImage {
background-size: cover;
background-position: center center;
}
2013-04-28 13:39:16 -04:00
.transparentPosterItem .posterItemImage {
background-color: transparent;
2013-04-25 19:28:01 -04:00
}
.defaultPosterItemImage {
background-color: #999;
}
2013-12-29 00:32:03 -05:00
.borderlessPosterItem .posterItemImage {
border-color: transparent;
2013-05-04 09:29:44 -04:00
}
2013-11-07 12:27:05 -05:00
.posterItemStoreText {
font-weight: normal;
2013-11-07 12:27:05 -05:00
text-overflow: ellipsis;
overflow: hidden;
text-wrap: none;
white-space: nowrap;
text-shadow: none;
padding-left: 2px;
2013-11-07 12:27:05 -05:00
}
2013-04-25 19:28:01 -04:00
.posterItemText {
text-overflow: ellipsis;
overflow: hidden;
text-wrap: none;
white-space: nowrap;
2013-12-28 16:37:01 -05:00
padding: 5px 4px 4px;
2013-04-25 19:28:01 -04:00
text-shadow: none;
2013-12-29 12:07:29 -05:00
font-size: 13px;
font-weight: 400;
2013-04-25 19:28:01 -04:00
}
2013-12-22 12:16:24 -05: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 20:52:55 -04:00
}
2013-12-29 21:41:22 -05:00
.posterItemTextOverlay .posterItemText {
background-color: transparent;
padding-left: 5px;
padding: 0 5px 3px;
2013-12-29 21:41:22 -05:00
}
2013-12-22 12:16:24 -05:00
2013-12-29 21:41:22 -05:00
.posterItemTextOverlay .posterItemText:first-child {
font-weight: bold;
font-size: 14px;
}
2013-12-22 12:16:24 -05:00
2013-12-29 21:41:22 -05:00
.posterItemTextOverlay .posterItemText:last-child {
padding-bottom: 8px;
}
2013-12-22 12:16:24 -05:00
.posterItemTextCentered {
text-align: center;
}
.posterItemText + .posterItemProgress {
padding-top: 0;
}
2013-04-25 20:52:55 -04:00
.posterItemDefaultText {
position: absolute;
top: 30%;
left: 0;
right: 0;
text-align: center;
}
2013-04-25 19:28:01 -04:00
.squarePosterItem {
2014-03-07 23:20:31 -05:00
width: 148px;
2013-04-25 19:28:01 -04:00
}
.squarePosterItem .posterItemImage {
2014-03-07 23:20:31 -05:00
height: 148px;
2013-04-25 19:28:01 -04:00
}
.storeReviewCount {
display: none;
}
2013-11-07 12:27:05 -05:00
2013-04-25 19:28:01 -04:00
.backdropPosterItem {
2014-03-07 23:20:31 -05:00
width: 148px;
2013-04-25 19:28:01 -04:00
}
.backdropPosterItem .posterItemImage {
2014-03-07 23:20:31 -05:00
height: 83.25px;
2013-04-25 19:28:01 -04:00
}
2013-04-25 20:52:55 -04:00
2013-12-23 10:26:36 -05:00
.smallBackdropPosterItem {
2014-01-24 13:09:50 -05:00
width: 157px;
2013-12-23 10:26:36 -05:00
}
2013-05-03 16:50:13 -04:00
2013-12-23 10:26:36 -05:00
.smallBackdropPosterItem .posterItemImage {
2014-01-24 13:09:50 -05:00
height: 88.3125px;
2013-12-23 10:26:36 -05:00
}
2013-12-22 16:11:32 -05:00
2013-12-29 00:32:03 -05:00
.portraitPosterItem {
2014-03-07 23:20:31 -05:00
width: 96px;
2013-12-29 00:32:03 -05:00
}
2013-05-03 22:33:44 -04:00
2013-12-29 00:32:03 -05:00
.portraitPosterItem .posterItemImage {
2014-03-07 23:20:31 -05:00
height: 144px;
2013-12-29 00:32:03 -05:00
}
2013-05-04 14:21:29 -04:00
.posterItemProgress .itemProgressBar {
height: 10px;
2013-12-22 12:16:24 -05:00
width: 100%;
opacity: .7;
2013-05-03 22:33:44 -04:00
}
.miniPosterItemProgress {
/* Make sure it's on top of the fade gradient '*/
z-index: 1000;
}
2014-01-14 10:50:39 -05:00
.miniPosterItemProgress .itemProgressBar {
height: 8px;
2014-01-14 10:50:39 -05:00
opacity: 1;
}
.sessionPosterItem .posterItemText:not(.posterItemName) {
color: #000;
text-align: left;
}
.sessionPosterItem .posterItemName {
color: #fff!important;
}
.sessionPosterItem .posterItemDefaultText {
color: #000!important;
font-weight: normal !important;
top: 42%;
}
2014-01-05 00:15:38 -05:00
@media all and (max-width: 600px) {
.packageReviewText {
display: none;
}
}
2014-03-20 11:55:22 -04:00
@media all and (max-width: 1200px) {
.portraitPosterItem .posterItemOverlayInner {
padding-left: 7px;
padding-right: 7px;
}
}
2013-12-22 12:16:24 -05:00
@media all and (min-width: 540px) {
2013-05-03 22:33:44 -04:00
2013-12-22 12:16:24 -05:00
.backdropPosterItem {
2014-03-07 23:20:31 -05:00
width: 266px;
2013-12-22 12:16:24 -05:00
}
.backdropPosterItem .posterItemImage {
2014-03-07 23:20:31 -05:00
height: 149.625px;
2013-12-22 12:16:24 -05:00
}
2013-12-23 10:26:36 -05:00
.smallBackdropPosterItem {
2014-03-07 23:20:31 -05:00
width: 180px;
2013-12-23 10:26:36 -05:00
}
.smallBackdropPosterItem .posterItemImage {
2014-03-07 23:20:31 -05:00
height: 101.25px;
2013-12-23 10:26:36 -05:00
}
}
@media all and (min-width: 600px) {
.squarePosterItem {
2014-03-07 23:20:31 -05:00
width: 170px;
}
.squarePosterItem .posterItemImage {
2014-03-07 23:20:31 -05:00
height: 170px;
}
.portraitPosterItem {
2014-03-07 23:20:31 -05:00
width: 128px;
}
.portraitPosterItem .posterItemImage {
2014-03-07 23:20:31 -05:00
height: 192px;
}
}
2013-04-25 21:52:29 -04:00
@media all and (min-width: 650px) {
2013-04-25 20:52:55 -04:00
.backdropPosterItem {
2014-03-07 23:20:31 -05:00
width: 282px;
2013-04-25 20:52:55 -04:00
}
.backdropPosterItem .posterItemImage {
2014-03-07 23:20:31 -05:00
height: 158.625px;
2013-04-25 20:52:55 -04:00
}
2013-12-23 10:26:36 -05:00
.smallBackdropPosterItem {
2014-03-07 23:20:31 -05:00
width: 202px;
2013-12-23 10:26:36 -05:00
}
.smallBackdropPosterItem .posterItemImage {
2014-03-07 23:20:31 -05:00
height: 113.625px;
2013-12-23 10:26:36 -05:00
}
2013-04-25 21:52:29 -04:00
}
@media all and (min-width: 750px) {
2013-04-25 20:52:55 -04:00
.portraitPosterItem {
2014-03-07 23:20:31 -05:00
width: 118px;
2013-04-25 20:52:55 -04:00
}
.portraitPosterItem .posterItemImage {
2014-03-07 23:20:31 -05:00
height: 177px;
2013-04-25 20:52:55 -04:00
}
}
2014-01-16 17:49:31 -05:00
@media all and (min-width: 1000px) {
.smallBackdropPosterItem {
2014-03-07 23:20:31 -05:00
width: 208px;
2014-01-16 17:49:31 -05:00
}
.smallBackdropPosterItem .posterItemImage {
2014-03-07 23:20:31 -05:00
height: 117px;
2014-01-16 17:49:31 -05:00
}
}
2013-04-25 20:52:55 -04:00
@media all and (min-width: 1200px) {
.portraitPosterItem {
2014-03-07 23:20:31 -05:00
width: 144px;
2013-04-25 20:52:55 -04:00
}
.portraitPosterItem .posterItemImage {
2014-03-07 23:20:31 -05:00
height: 216px;
2013-04-25 20:52:55 -04:00
}
2013-05-04 09:29:44 -04:00
.storeReviewCount {
display: inline;
}
2013-04-25 20:52:55 -04:00
}
@media all and (min-width: 1440px) {
2014-03-17 21:45:41 -04:00
.squarePosterItem {
width: 180px;
}
.squarePosterItem .posterItemImage {
height: 180px;
}
2013-12-22 12:16:24 -05:00
.backdropPosterItem {
2014-03-07 23:20:31 -05:00
width: 298px;
2013-05-03 22:33:44 -04:00
}
2013-12-22 12:16:24 -05:00
.backdropPosterItem .posterItemImage {
2014-03-07 23:20:31 -05:00
height: 167.625px;
2013-12-22 12:16:24 -05:00
}
2014-03-20 23:31:40 -04:00
}