change shap to overflow

This commit is contained in:
grafixeyehero 2020-01-03 21:10:42 +03:00
parent e0d6686bb4
commit 4e72a857c4
3 changed files with 10 additions and 16 deletions

View File

@ -574,8 +574,8 @@ a[data-role=button] {
background-color: rgba(0, 0, 0, 0.4) background-color: rgba(0, 0, 0, 0.4)
} }
.personCard .portraitCard { .personCard .overflowPortraitCard {
width: 50%; width: 40vw;
} }
.personCard .cardScalable { .personCard .cardScalable {

View File

@ -895,7 +895,7 @@ define(["loading", "appRouter", "layoutManager", "userSettings", "connectionMana
var html = cardBuilder.getCardsHtml({ var html = cardBuilder.getCardsHtml({
items: result.Items, items: result.Items,
shape: getThumbShape(false), shape: "overflowBackdrop",
showTitle: true, showTitle: true,
displayAsSpecial: "Season" == item.Type && item.IndexNumber, displayAsSpecial: "Season" == item.Type && item.IndexNumber,
overlayText: false, overlayText: false,
@ -1400,7 +1400,7 @@ define(["loading", "appRouter", "layoutManager", "userSettings", "connectionMana
scrollX = enableScrollX(); scrollX = enableScrollX();
html = cardBuilder.getCardsHtml({ html = cardBuilder.getCardsHtml({
items: result.Items, items: result.Items,
shape: getPortraitShape(), shape: "overflowPortrait",
showTitle: true, showTitle: true,
centerText: true, centerText: true,
lazy: true, lazy: true,
@ -1419,7 +1419,7 @@ define(["loading", "appRouter", "layoutManager", "userSettings", "connectionMana
if ("Episode" === item.Type) { if ("Episode" === item.Type) {
html = cardBuilder.getCardsHtml({ html = cardBuilder.getCardsHtml({
items: result.Items, items: result.Items,
shape: getThumbShape(scrollX), shape: "overflowBackdrop",
showTitle: true, showTitle: true,
displayAsSpecial: "Season" == item.Type && item.IndexNumber, displayAsSpecial: "Season" == item.Type && item.IndexNumber,
playFromHere: true, playFromHere: true,
@ -1857,7 +1857,7 @@ define(["loading", "appRouter", "layoutManager", "userSettings", "connectionMana
coverImage: true, coverImage: true,
serverId: item.ServerId, serverId: item.ServerId,
width: 160, width: 160,
shape: getPortraitShape() shape: "overflowPortrait"
}); });
}); });
} }

View File

@ -491,6 +491,7 @@
position: sticky; position: sticky;
top: 15%; top: 15%;
float: left; float: left;
width: 22.786458333333332vw;
} }
.detailPagePrimaryContent { .detailPagePrimaryContent {
@ -535,9 +536,10 @@
} }
.itemDetailImage { .itemDetailImage {
width: 350px;
-webkit-box-shadow: 0 .0725em .29em 0 rgba(0, 0, 0, .37); -webkit-box-shadow: 0 .0725em .29em 0 rgba(0, 0, 0, .37);
box-shadow: 0 .0725em .29em 0 rgba(0, 0, 0, .37) box-shadow: 0 .0725em .29em 0 rgba(0, 0, 0, .37);
width: 100% !important;
} }
@media all and (max-width:62.5em) { @media all and (max-width:62.5em) {
@ -545,14 +547,6 @@
position: relative position: relative
} }
.detailImageContainer {
width: 100px !important
}
.itemDetailImage {
width: 100px !important
}
.btnPlaySimple { .btnPlaySimple {
display: none !important display: none !important
} }