read more improvements
This commit is contained in:
parent
2bd563466b
commit
b318257798
@ -39,6 +39,7 @@
|
|||||||
}
|
}
|
||||||
.detailImageContainerCard:not(.imageWidthTest) {
|
.detailImageContainerCard:not(.imageWidthTest) {
|
||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
|
margin-bottom: 13vw;
|
||||||
}
|
}
|
||||||
.detailImageContainerCard .cardBox {
|
.detailImageContainerCard .cardBox {
|
||||||
-webkit-margin-end: 0 !important;
|
-webkit-margin-end: 0 !important;
|
||||||
@ -265,9 +266,24 @@
|
|||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
-webkit-box-orient: vertical;
|
-webkit-box-orient: vertical;
|
||||||
-webkit-line-clamp: 8;
|
-webkit-line-clamp: 5;
|
||||||
font-weight: 520;
|
font-weight: 520;
|
||||||
|
margin: 0.5em;
|
||||||
}
|
}
|
||||||
|
.overview-text:hover {
|
||||||
|
display: block;
|
||||||
|
overflow: visible;
|
||||||
|
position: relative;
|
||||||
|
z-index: 100;
|
||||||
|
max-height: none;
|
||||||
|
border-radius: 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btnReadMore {
|
||||||
|
pointer-events: none;
|
||||||
|
color: var(--theme-accent-text-color-darkbg);
|
||||||
|
}
|
||||||
|
|
||||||
.btnOverviewText.emby-button-focusscale:focus {
|
.btnOverviewText.emby-button-focusscale:focus {
|
||||||
-webkit-transform: scale(1.04);
|
-webkit-transform: scale(1.04);
|
||||||
transform: scale(1.04);
|
transform: scale(1.04);
|
||||||
@ -404,7 +420,7 @@
|
|||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
}
|
}
|
||||||
.detailImageContainer-main-extrabottommargin {
|
.detailImageContainer-main-extrabottommargin {
|
||||||
margin-bottom: 2em;
|
margin-bottom: -3em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.tracklist-sidemargin {
|
.tracklist-sidemargin {
|
||||||
|
|||||||
@ -170,7 +170,7 @@
|
|||||||
<button disabled type="button" is="emby-button" class="button-link button-link-color-inherit btnOverviewText text-align-start" style="opacity:initial;">
|
<button disabled type="button" is="emby-button" class="button-link button-link-color-inherit btnOverviewText text-align-start" style="opacity:initial;">
|
||||||
<div class="overview-text readOnlyContent"></div>
|
<div class="overview-text readOnlyContent"></div>
|
||||||
</button>
|
</button>
|
||||||
<a href="#" is="emby-linkbutton" class="button-link btnReadMore hide flex-shrink-zero secondaryText">${HeaderReadMore}</a>
|
<a href="#" is="emby-linkbutton" class="button-link btnReadMore hide flex-shrink-zero secondaryText">{HeaderReadMore}</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p class="directors hide focuscontainer-x readOnlyContent reduce-font-size-tv secondaryText">
|
<p class="directors hide focuscontainer-x readOnlyContent reduce-font-size-tv secondaryText">
|
||||||
|
|||||||
@ -225,6 +225,7 @@ define([
|
|||||||
});
|
});
|
||||||
})(parentElem, renderAdminFields, item, mediaSource, !0));
|
})(parentElem, renderAdminFields, item, mediaSource, !0));
|
||||||
}
|
}
|
||||||
|
anyDisplayed && _usersettings.default.showFullMediaInfoOnDetailScreen()
|
||||||
}
|
}
|
||||||
function isRenderingTrackSelections(item) {
|
function isRenderingTrackSelections(item) {
|
||||||
return !(
|
return !(
|
||||||
@ -1061,7 +1062,7 @@ define([
|
|||||||
textButton,
|
textButton,
|
||||||
textElement = elem.querySelector(".overview-text"),
|
textElement = elem.querySelector(".overview-text"),
|
||||||
btnReadMore = elem.querySelector(".btnReadMore");
|
btnReadMore = elem.querySelector(".btnReadMore");
|
||||||
(btnReadMore.innerHTML = _globalize.default.translate("More")),
|
(btnReadMore.innerHTML = _globalize.default.translate("(Hover for more)")),
|
||||||
overview
|
overview
|
||||||
? ((textElement.innerHTML = overview),
|
? ((textElement.innerHTML = overview),
|
||||||
elem.classList.remove("hide"),
|
elem.classList.remove("hide"),
|
||||||
|
|||||||
@ -39,9 +39,6 @@
|
|||||||
padding-bottom: 56.25%;
|
padding-bottom: 56.25%;
|
||||||
contain: strict;
|
contain: strict;
|
||||||
}
|
}
|
||||||
.cardPadder-margin.cardPadder-backdrop {
|
|
||||||
margin-bottom: 56.25%;
|
|
||||||
}
|
|
||||||
.cardPadder-square {
|
.cardPadder-square {
|
||||||
padding-bottom: 100%;
|
padding-bottom: 100%;
|
||||||
contain: strict;
|
contain: strict;
|
||||||
|
|||||||
@ -336,7 +336,7 @@ html, body {
|
|||||||
Forms
|
Forms
|
||||||
*/
|
*/
|
||||||
form, .readOnlyContent {
|
form, .readOnlyContent {
|
||||||
max-width: 90ch;
|
max-width: 80ch;
|
||||||
}
|
}
|
||||||
|
|
||||||
.auto-center {
|
.auto-center {
|
||||||
|
|||||||
@ -1391,7 +1391,6 @@ html {
|
|||||||
}
|
}
|
||||||
.detailMainContainer-withbackdrop {
|
.detailMainContainer-withbackdrop {
|
||||||
text-shadow: 0.18em 0.18em 0.28em rgba(0, 0, 0, 0.45);
|
text-shadow: 0.18em 0.18em 0.28em rgba(0, 0, 0, 0.45);
|
||||||
padding-bottom: 11em;
|
|
||||||
}
|
}
|
||||||
.details-additionalContent-withbackdrop {
|
.details-additionalContent-withbackdrop {
|
||||||
--theme-text-color-alpha: 0.85;
|
--theme-text-color-alpha: 0.85;
|
||||||
|
|||||||
@ -1393,7 +1393,6 @@ html,
|
|||||||
}
|
}
|
||||||
.detailMainContainer-withbackdrop {
|
.detailMainContainer-withbackdrop {
|
||||||
text-shadow: 0.18em 0.18em 0.28em rgba(0, 0, 0, 0.45);
|
text-shadow: 0.18em 0.18em 0.28em rgba(0, 0, 0, 0.45);
|
||||||
padding-bottom: 11em;
|
|
||||||
}
|
}
|
||||||
.details-additionalContent-withbackdrop {
|
.details-additionalContent-withbackdrop {
|
||||||
--theme-text-color-alpha: 0.85;
|
--theme-text-color-alpha: 0.85;
|
||||||
|
|||||||
@ -1425,7 +1425,6 @@ html,
|
|||||||
}
|
}
|
||||||
.detailMainContainer-withbackdrop {
|
.detailMainContainer-withbackdrop {
|
||||||
text-shadow: 0.18em 0.18em 0.28em rgba(0, 0, 0, 0.45);
|
text-shadow: 0.18em 0.18em 0.28em rgba(0, 0, 0, 0.45);
|
||||||
padding-bottom: 11em;
|
|
||||||
}
|
}
|
||||||
.details-additionalContent-withbackdrop {
|
.details-additionalContent-withbackdrop {
|
||||||
--theme-text-color-alpha: 0.85;
|
--theme-text-color-alpha: 0.85;
|
||||||
|
|||||||
@ -1510,7 +1510,6 @@ html {
|
|||||||
}
|
}
|
||||||
.detailMainContainer-withbackdrop {
|
.detailMainContainer-withbackdrop {
|
||||||
text-shadow: 0.18em 0.18em 0.28em rgba(0, 0, 0, 0.45);
|
text-shadow: 0.18em 0.18em 0.28em rgba(0, 0, 0, 0.45);
|
||||||
padding-bottom: 11em;
|
|
||||||
}
|
}
|
||||||
.details-additionalContent-withbackdrop {
|
.details-additionalContent-withbackdrop {
|
||||||
--theme-text-color-alpha: 0.85;
|
--theme-text-color-alpha: 0.85;
|
||||||
|
|||||||
@ -1359,7 +1359,6 @@ html,
|
|||||||
}
|
}
|
||||||
.detailMainContainer-withbackdrop {
|
.detailMainContainer-withbackdrop {
|
||||||
text-shadow: 0.18em 0.18em 0.28em rgba(0, 0, 0, 0.45);
|
text-shadow: 0.18em 0.18em 0.28em rgba(0, 0, 0, 0.45);
|
||||||
padding-bottom: 11em;
|
|
||||||
}
|
}
|
||||||
.details-additionalContent-withbackdrop {
|
.details-additionalContent-withbackdrop {
|
||||||
--theme-text-color-alpha: 0.85;
|
--theme-text-color-alpha: 0.85;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user