read more improvements
This commit is contained in:
parent
2bd563466b
commit
b318257798
@ -39,6 +39,7 @@
|
||||
}
|
||||
.detailImageContainerCard:not(.imageWidthTest) {
|
||||
width: 100% !important;
|
||||
margin-bottom: 13vw;
|
||||
}
|
||||
.detailImageContainerCard .cardBox {
|
||||
-webkit-margin-end: 0 !important;
|
||||
@ -265,9 +266,24 @@
|
||||
text-overflow: ellipsis;
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 8;
|
||||
-webkit-line-clamp: 5;
|
||||
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 {
|
||||
-webkit-transform: scale(1.04);
|
||||
transform: scale(1.04);
|
||||
@ -404,7 +420,7 @@
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
.detailImageContainer-main-extrabottommargin {
|
||||
margin-bottom: 2em;
|
||||
margin-bottom: -3em;
|
||||
}
|
||||
}
|
||||
.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;">
|
||||
<div class="overview-text readOnlyContent"></div>
|
||||
</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>
|
||||
|
||||
<p class="directors hide focuscontainer-x readOnlyContent reduce-font-size-tv secondaryText">
|
||||
|
||||
@ -225,6 +225,7 @@ define([
|
||||
});
|
||||
})(parentElem, renderAdminFields, item, mediaSource, !0));
|
||||
}
|
||||
anyDisplayed && _usersettings.default.showFullMediaInfoOnDetailScreen()
|
||||
}
|
||||
function isRenderingTrackSelections(item) {
|
||||
return !(
|
||||
@ -1061,7 +1062,7 @@ define([
|
||||
textButton,
|
||||
textElement = elem.querySelector(".overview-text"),
|
||||
btnReadMore = elem.querySelector(".btnReadMore");
|
||||
(btnReadMore.innerHTML = _globalize.default.translate("More")),
|
||||
(btnReadMore.innerHTML = _globalize.default.translate("(Hover for more)")),
|
||||
overview
|
||||
? ((textElement.innerHTML = overview),
|
||||
elem.classList.remove("hide"),
|
||||
|
||||
@ -39,9 +39,6 @@
|
||||
padding-bottom: 56.25%;
|
||||
contain: strict;
|
||||
}
|
||||
.cardPadder-margin.cardPadder-backdrop {
|
||||
margin-bottom: 56.25%;
|
||||
}
|
||||
.cardPadder-square {
|
||||
padding-bottom: 100%;
|
||||
contain: strict;
|
||||
|
||||
@ -336,7 +336,7 @@ html, body {
|
||||
Forms
|
||||
*/
|
||||
form, .readOnlyContent {
|
||||
max-width: 90ch;
|
||||
max-width: 80ch;
|
||||
}
|
||||
|
||||
.auto-center {
|
||||
|
||||
@ -1391,7 +1391,6 @@ html {
|
||||
}
|
||||
.detailMainContainer-withbackdrop {
|
||||
text-shadow: 0.18em 0.18em 0.28em rgba(0, 0, 0, 0.45);
|
||||
padding-bottom: 11em;
|
||||
}
|
||||
.details-additionalContent-withbackdrop {
|
||||
--theme-text-color-alpha: 0.85;
|
||||
|
||||
@ -1393,7 +1393,6 @@ html,
|
||||
}
|
||||
.detailMainContainer-withbackdrop {
|
||||
text-shadow: 0.18em 0.18em 0.28em rgba(0, 0, 0, 0.45);
|
||||
padding-bottom: 11em;
|
||||
}
|
||||
.details-additionalContent-withbackdrop {
|
||||
--theme-text-color-alpha: 0.85;
|
||||
|
||||
@ -1425,7 +1425,6 @@ html,
|
||||
}
|
||||
.detailMainContainer-withbackdrop {
|
||||
text-shadow: 0.18em 0.18em 0.28em rgba(0, 0, 0, 0.45);
|
||||
padding-bottom: 11em;
|
||||
}
|
||||
.details-additionalContent-withbackdrop {
|
||||
--theme-text-color-alpha: 0.85;
|
||||
|
||||
@ -1510,7 +1510,6 @@ html {
|
||||
}
|
||||
.detailMainContainer-withbackdrop {
|
||||
text-shadow: 0.18em 0.18em 0.28em rgba(0, 0, 0, 0.45);
|
||||
padding-bottom: 11em;
|
||||
}
|
||||
.details-additionalContent-withbackdrop {
|
||||
--theme-text-color-alpha: 0.85;
|
||||
|
||||
@ -1359,7 +1359,6 @@ html,
|
||||
}
|
||||
.detailMainContainer-withbackdrop {
|
||||
text-shadow: 0.18em 0.18em 0.28em rgba(0, 0, 0, 0.45);
|
||||
padding-bottom: 11em;
|
||||
}
|
||||
.details-additionalContent-withbackdrop {
|
||||
--theme-text-color-alpha: 0.85;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user