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

288 lines
4.7 KiB
CSS
Raw Normal View History

2013-04-25 16:28:01 -07:00
.posterItem {
margin: 3px;
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-05-03 20:13:28 -07:00
border: 1px solid #555;
2013-04-25 16:28:01 -07:00
}
.posterItem:hover {
-moz-box-shadow: 0 0 20px 3px #2572EB;
-webkit-box-shadow: 0 0 20px 3px #2572EB;
box-shadow: 0 0 20px 3px #2572EB;
}
.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;
}
.transparentPosterItem .posterItemImage {
background-color: transparent;
2013-04-25 16:28:01 -07:00
}
.defaultPosterItemImage {
background-color: #999;
}
2013-05-04 06:29:44 -07:00
.borderlessPosterItem {
border: 0;
}
2013-11-07 10:27:05 -07:00
.posterItemStoreText {
font-family: 'Open Sans', sans-serif;
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-05-03 19:33:44 -07:00
padding: 5px 4px 4px;
2013-04-25 16:28:01 -07:00
background: #181818;
text-shadow: none;
}
2013-04-25 17:52:55 -07:00
.posterItemTextCentered {
text-align: center;
}
.posterItemText + .posterItemText {
padding-top: 2px;
2013-05-03 19:33:44 -07:00
border-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 {
2013-05-03 13:50:13 -07:00
width: 150px;
2013-04-25 16:28:01 -07:00
}
.squarePosterItem .posterItemImage {
2013-05-03 13:50:13 -07:00
height: 150px;
2013-04-25 16:28:01 -07:00
}
2013-11-07 10:27:05 -07:00
.storeItem {
display: inline-block;
margin: 0 15px 15px 0;
2013-11-07 10:27:05 -07:00
}
.storeItem, .storePosterItem {
width: 160px;
2013-11-07 10:27:05 -07:00
}
2013-11-07 10:27:05 -07:00
.storePosterItem .posterItemImage {
height: 90px;
2013-11-07 10:27:05 -07:00
}
.storeReviewCount {
display: none;
}
2013-11-07 10:27:05 -07:00
2013-04-25 16:28:01 -07:00
.backdropPosterItem {
width: 160px;
}
.backdropPosterItem .posterItemImage {
height: 90px;
}
2013-04-25 17:52:55 -07:00
2013-05-03 13:50:13 -07:00
.smallBackdropPosterItem {
width: 160px;
}
.smallBackdropPosterItem .posterItemImage {
height: 90px;
}
2013-04-25 17:52:55 -07:00
.portraitPosterItem {
width: 100px;
2013-05-03 19:33:44 -07:00
border-color: #555;
2013-04-25 17:52:55 -07:00
}
2013-05-03 19:33:44 -07:00
.smallBackdropPosterItem {
border-color: #555;
}
.portraitPosterItem .posterItemImage {
height: 150px;
}
2013-05-04 11:21:29 -07:00
.posterItemProgress .itemProgressBar {
height: 12px;
width: 35%;
2013-05-03 19:33:44 -07:00
}
.portraitPosterItem .itemProgressText {
display: none;
}
.portraitPosterItem .itemProgressBar {
width: 100%;
}
2013-04-25 17:52:55 -07:00
2013-04-25 18:52:29 -07:00
@media all and (min-width: 650px) {
2013-04-25 17:52:55 -07:00
.backdropPosterItem {
width: 192px;
}
.backdropPosterItem .posterItemImage {
height: 108px;
}
.storeItem, .storePosterItem {
width: 192px;
}
.storePosterItem .posterItemImage {
height: 110px;
}
2013-04-25 18:52:29 -07:00
}
@media all and (min-width: 750px) {
2013-04-25 17:52:55 -07:00
.portraitPosterItem {
2013-04-26 06:50:21 -07:00
width: 100px;
2013-04-25 17:52:55 -07:00
}
.portraitPosterItem .posterItemImage {
2013-04-26 06:50:21 -07:00
height: 150px;
2013-04-25 17:52:55 -07:00
}
}
@media all and (min-width: 1200px) {
.backdropPosterItem {
2013-05-03 13:50:13 -07:00
width: 224px;
2013-04-25 17:52:55 -07:00
}
.backdropPosterItem .posterItemImage {
2013-05-03 13:50:13 -07:00
height: 126px;
2013-04-25 17:52:55 -07:00
}
2013-05-03 19:33:44 -07:00
.backdropPosterItem .itemProgressBar {
width: 55%;
}
2013-04-25 17:52:55 -07:00
.portraitPosterItem {
2013-04-25 18:17:22 -07:00
width: 108px;
2013-04-25 17:52:55 -07:00
}
.portraitPosterItem .posterItemImage {
2013-04-25 18:17:22 -07:00
height: 162px;
2013-04-25 17:52:55 -07:00
}
2013-05-04 06:29:44 -07:00
.smallBackdropPosterItem {
2013-05-11 08:55:01 -07:00
width: 187px;
2013-05-04 06:29:44 -07:00
}
.smallBackdropPosterItem .posterItemImage {
2013-05-11 08:55:01 -07:00
height: 105px;
2013-05-04 06:29:44 -07:00
}
.storeItem, .storePosterItem {
width: 270px;
}
.storePosterItem .posterItemImage {
height: 154px;
}
.posterItemStoreText {
font-size: 15px;
}
.storeReviewCount {
display: inline;
}
2013-04-25 17:52:55 -07:00
}
@media all and (min-width: 1440px) {
.squarePosterItem {
width: 170px;
}
.squarePosterItem .posterItemImage {
height: 170px;
}
.portraitPosterItem {
2013-05-03 19:33:44 -07:00
width: 134px;
2013-04-25 17:52:55 -07:00
}
.portraitPosterItem .posterItemImage {
2013-05-03 19:33:44 -07:00
height: 201px;
}
.backdropPosterItem {
width: 256px;
}
.backdropPosterItem .posterItemImage {
height: 144px;
2013-04-25 17:52:55 -07:00
}
2013-05-03 19:33:44 -07:00
.portraitPosterItem .itemProgressText {
display: inline;
}
.portraitPosterItem .itemProgressBar {
width: 20%;
}
2013-04-25 17:52:55 -07:00
}
@media all and (min-width: 1920px) {
.squarePosterItem {
2013-05-03 19:33:44 -07:00
width: 200px;
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-05-03 19:33:44 -07:00
width: 160px;
2013-04-25 17:52:55 -07:00
}
.portraitPosterItem .posterItemImage {
2013-05-03 19:33:44 -07:00
height: 240px;
}
.backdropPosterItem {
width: 288px;
}
.backdropPosterItem .posterItemImage {
height: 162px;
2013-04-25 17:52:55 -07:00
}
2013-05-03 19:33:44 -07:00
.portraitPosterItem .itemProgressBar {
width: 30%;
2013-04-25 17:52:55 -07:00
}
}