apply suggestion change

This commit is contained in:
grafixeyehero 2020-01-05 23:55:28 +03:00
parent a5ec665cfa
commit 0600fb26a3
3 changed files with 15 additions and 29 deletions

View File

@ -419,13 +419,13 @@ define(["loading", "appRouter", "layoutManager", "userSettings", "connectionMana
var offset = parentNameLast ? ".25em" : ".5em"; var offset = parentNameLast ? ".25em" : ".5em";
if (html && !parentNameLast) { if (html && !parentNameLast) {
html += '<h3 class="itemName infoText cardText-first" style="margin: .25em 0 .5em;">' + name + '</h3>'; html += '<h3 class="itemName infoText" style="margin: .25em 0 .5em;">' + name + '</h3>';
} else { } else {
html = '<h1 class="itemName infoText cardText-first" style="margin: .1em 0 ' + offset + ';">' + name + "</h1>" + html; html = '<h1 class="itemName infoText" style="margin: .1em 0 ' + offset + ';">' + name + "</h1>" + html;
} }
if (item.OriginalTitle && item.OriginalTitle != item.Name) { if (item.OriginalTitle && item.OriginalTitle != item.Name) {
html += '<h4 class="itemName infoText cardText-first" style="margin: -' + offset + ' 0 0">' + item.OriginalTitle + '</h4>'; html += '<h4 class="itemName infoText" style="margin: -' + offset + ' 0 0">' + item.OriginalTitle + '</h4>';
} }
container.innerHTML = html; container.innerHTML = html;

View File

@ -422,10 +422,6 @@
left: .8em left: .8em
} }
.noBackdrop {
display: none;
}
.itemBackdrop { .itemBackdrop {
-webkit-background-size: cover; -webkit-background-size: cover;
background-size: cover; background-size: cover;
@ -447,7 +443,11 @@
bottom: .75em bottom: .75em
} }
.layout-mobile .detailPagePrimaryContainer, .layout-mobile .detailPagePrimaryContainer {
display: block;
position: relative;
}
.layout-tv .detailPagePrimaryContainer { .layout-tv .detailPagePrimaryContainer {
position: relative; position: relative;
} }
@ -455,7 +455,6 @@
.detailPagePrimaryContainer { .detailPagePrimaryContainer {
display: flex; display: flex;
align-items: center; align-items: center;
flex-flow: row wrap;
align-content: center; align-content: center;
position: sticky; position: sticky;
top: 0; top: 0;
@ -463,8 +462,6 @@
} }
.infoWrapper { .infoWrapper {
margin: 1.25em 0 0;
padding-left: 3%;
flex: 1 0 0; flex: 1 0 0;
} }
@ -475,7 +472,7 @@
text-align: left; text-align: left;
} }
.detailPageSeconderyContainer { .detailPageSecondaryContainer {
margin: 1.25em 0; margin: 1.25em 0;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@ -587,22 +584,12 @@
} }
.itemDetailPage { .itemDetailPage {
padding-top: 2em !important padding-top: 0em !important
} }
.detailimg-hidemobile { .detailimg-hidemobile {
display: none display: none
} }
.detailPagePrimaryContainer {
display: flex;
align-items: center;
justify-content: center;
}
.infoWrapper {
flex: initial;
}
} }
@media all and (min-width:31.25em) { @media all and (min-width:31.25em) {
@ -647,7 +634,6 @@
-webkit-flex-wrap: wrap; -webkit-flex-wrap: wrap;
flex-wrap: wrap; flex-wrap: wrap;
margin: 1em 0; margin: 1em 0;
padding-right: 3%;
} }
.recordingFields button { .recordingFields button {

View File

@ -8,12 +8,12 @@
<div class="detailLogo"></div> <div class="detailLogo"></div>
<div class="detailPageWrapperContainer"> <div class="detailPageWrapperContainer">
<div class="detailPagePrimaryContainer appfooter-blurred"> <div class="detailPagePrimaryContainer appfooter-blurred padded-left padded-right">
<div class="infoWrapper infoText"> <div class="infoWrapper infoText">
<div class="nameContainer"></div> <div class="nameContainer"></div>
<div class="itemMiscInfo itemMiscInfo-primary" style="margin: .7em 0;font-size:92%;"></div> <div class="itemMiscInfo itemMiscInfo-primary"></div>
<div class="itemMiscInfo itemMiscInfo-secondary" style="margin: .7em 0;font-size:92%;"></div> <div class="itemMiscInfo itemMiscInfo-secondary"></div>
</div> </div>
<div class="mainDetailButtons"> <div class="mainDetailButtons">
@ -111,7 +111,7 @@
</div> </div>
</div> </div>
<div class="detailImageContainer verticalSection-extrabottompadding padded-left"></div> <div class="detailImageContainer verticalSection-extrabottompadding padded-left"></div>
<div class="detailPageSeconderyContainer"> <div class="detailPageSecondaryContainer">
<div class="detailPageContent"> <div class="detailPageContent">
<div class="detailPagePrimaryContent padded-left padded-right"> <div class="detailPagePrimaryContent padded-left padded-right">