jellyfish-web/src/assets/css/librarybrowser.scss

1527 lines
26 KiB
SCSS
Raw Normal View History

// The padding of the header content on mobile needs to be adjusted
// based on the size of the poster card (values from card.scss)
@mixin header-poster-padding() {
padding-left: 37.5%;
@media all and (min-width: 43.75em) {
padding-left: 25%;
}
@media all and (min-width: 50em) {
padding-left: 20%;
}
@media all and (min-width: 75em) {
padding-left: 16.666666666666666666666666666667%;
}
@media all and (min-width: 87.5em) {
padding-left: 14.285714285714285714285714285714%;
}
@media all and (min-width: 100em) {
padding-left: 12.5%;
}
@media all and (min-width: 120em) {
padding-left: 11.111111111111111111111111111111%;
}
@media all and (min-width: 131.25em) {
padding-left: 10%;
}
}
2022-07-04 11:56:38 -04:00
@mixin header-poster-padding-rtl() {
padding-left: unset;
padding-right: 37.5%;
@media all and (min-width: 43.75em) {
padding-right: 25%;
}
@media all and (min-width: 50em) {
padding-right: 20%;
}
@media all and (min-width: 75em) {
padding-right: 16.666666666666666666666666666667%;
}
@media all and (min-width: 87.5em) {
padding-right: 14.285714285714285714285714285714%;
}
@media all and (min-width: 100em) {
padding-right: 12.5%;
}
@media all and (min-width: 120em) {
padding-right: 11.111111111111111111111111111111%;
}
@media all and (min-width: 131.25em) {
padding-right: 10%;
}
}
2018-10-23 01:13:23 +03:00
.headerUserImage,
.navMenuOption,
.pageTitle {
vertical-align: middle;
2018-10-23 01:13:23 +03:00
}
.detailButton,
2018-10-23 01:13:23 +03:00
.itemLinks,
.listPaging,
.sectionTabs,
.viewSettings {
text-align: center;
2018-10-23 01:13:23 +03:00
}
.headerSelectedPlayer,
.itemMiscInfo,
.navMenuOptionText {
2020-01-09 19:35:19 +01:00
-o-text-overflow: ellipsis;
2018-10-23 01:13:23 +03:00
text-overflow: ellipsis;
overflow: hidden;
2018-10-23 01:13:23 +03:00
}
.libraryPage {
2020-04-12 22:21:23 +02:00
padding-top: 7em !important;
2018-10-23 01:13:23 +03:00
}
.itemDetailPage {
2020-01-20 21:14:01 +01:00
padding-top: 0 !important;
2018-10-23 01:13:23 +03:00
}
2020-08-26 21:29:10 +02:00
.layout-tv .itemDetailPage {
padding-top: 4.2em !important;
}
2018-10-23 01:13:23 +03:00
.standalonePage {
padding-top: 4.5em !important;
2018-10-23 01:13:23 +03:00
}
.wizardPage {
padding-top: 7em !important;
2018-10-23 01:13:23 +03:00
}
.libraryPage:not(.noSecondaryNavPage) {
padding-top: 7.5em !important;
2018-10-23 01:13:23 +03:00
}
.absolutePageTabContent {
position: absolute;
left: 0;
right: 0;
bottom: 0;
z-index: 1;
margin: 0 !important;
top: 6.9em !important;
2020-01-22 21:40:45 +01:00
transition: transform 0.2s ease-out;
2018-10-23 01:13:23 +03:00
}
.pageTabContent:not(.is-active) {
display: none !important;
2018-10-23 01:13:23 +03:00
}
.headerUserImage {
background-size: contain;
background-repeat: no-repeat;
background-position: center center;
border-radius: 100em;
display: inline-block;
2018-10-23 01:13:23 +03:00
}
.headerUserButtonRound div {
border-radius: 100em;
background-size: cover;
background-repeat: no-repeat;
background-position: center center;
2018-10-23 01:13:23 +03:00
}
.headerButton {
flex-shrink: 0;
2018-10-23 01:13:23 +03:00
}
.hideMainDrawer .mainDrawerButton {
display: none;
2018-10-23 01:13:23 +03:00
}
2020-01-22 21:40:45 +01:00
.headerLeft {
display: flex;
align-items: center;
flex-grow: 1;
overflow: hidden;
justify-content: flex-start;
2020-01-19 14:29:41 +01:00
}
.headerRight {
display: flex;
align-items: center;
justify-content: flex-end;
2020-01-19 14:29:41 +01:00
}
2018-10-23 01:13:23 +03:00
.noHeaderRight .headerRight,
.noHomeButtonHeader .headerHomeButton {
display: none !important;
2018-10-23 01:13:23 +03:00
}
.pageTitle {
display: inline-flex;
height: 1.7em;
align-items: center;
flex-shrink: 1;
[dir="ltr"] & {
margin: 0 0 0 0.5em;
}
[dir="rtl"] & {
margin: 0 0.5em 0 0;
}
2018-10-23 01:13:23 +03:00
}
2020-02-01 21:41:30 -05:00
.pageTitleWithDefaultLogo {
margin-top: 0;
}
2018-10-23 01:13:23 +03:00
.headerLeft,
.skinHeader {
2021-08-06 02:09:26 -04:00
display: flex;
2018-10-23 01:13:23 +03:00
}
.detailButton,
2018-10-23 01:13:23 +03:00
.skinHeader {
flex-direction: column;
2018-10-23 01:13:23 +03:00
}
.pageTitleWithLogo {
background-position: left center;
background-size: contain;
background-repeat: no-repeat;
width: 13.2em;
2022-07-02 15:50:52 -04:00
[dir='rtl'] & {
background-position: right center;
}
2018-10-23 01:13:23 +03:00
}
.skinHeader {
position: fixed;
right: 0;
left: 0;
z-index: 999;
top: 0;
border: 0;
display: flex;
flex-direction: column;
contain: layout style paint;
2020-05-08 20:10:10 +02:00
transition: background ease-in-out 0.5s;
Respect safe area (notch) of mobile devices This adds paddings to various containers so that buttons and contents are not hidden by the notch or the Home indicator (the gray bar at the bottom). - `src/assets/css/librarybrowser.scss` - `.skinHeader`: menu bar at the top. - `.padded-left` and `.padded-right`: the heading of library. - `src/assets/css/site.scss` - `.content-primary`, `.padded-bottom-page`, `.page`, `.pageWithAbsoluteTabs`, and `.pageTabContent`: settings and dashboards. - `src/elements/emby-scroller/emby-scroller.scss` - `.emby-scroller`: the library items. - `src/assets/css/videoosd.scss` - `.videoOsdBottom`: the video playback control buttons and the progress bar. - `src/components/alphaPicker/style.scss` - `.alphaPicker-fixed` and `.alphaPicker-fixed-right`: the alphabet picker. - `src/components/appFooter/appFooter.scss` - `.appfooter`: the bottom bar showing the currently playing media. - `src/components/multiSelect/multiSelect.scss` - `.selectionCommandsPanel`: the top bar when selecting multiple media. Shown when long-pressing media. - `src/components/remotecontrol/remotecontrol.scss` - `.playlistSectionButton`: the bottom bar for current playlist. Shown when touching `.appfooter`. - `src/components/toast/toast.scss` - `.toastContainer`: the toast. Shown when refreshing metadata. - `src/index.html` - `.mainDrawerHandle`: gesture area for the drawer. It seems conflicting with gestures of Safari. - `src/libraries/navdrawer/navdrawer.scss` - `.tmla-mask` and `.touch-menu-la`: the drawer. - `src/plugins/htmlVideoPlayer/style.scss` - `.videoPlayerContainer`: the video area when not fullscreen. - `.videoSubtitles`: the video subtitles for some devices, not including iPhone. - `src/plugins/youtubePlayer/style.scss` - `.youtubePlayerContainer` container for the YouTube plugin. Not tested.
2022-05-29 22:20:15 +09:00
padding-left: env(safe-area-inset-left);
padding-right: env(safe-area-inset-right);
padding-top: env(safe-area-inset-top);
2018-10-23 01:13:23 +03:00
}
2020-08-26 19:07:29 +02:00
.layout-tv .skinHeader {
/* In TV layout, it makes more sense to keep the top bar at the top of the page
Having it follow the view only makes us lose vertical space, while not being focusable */
position: relative;
}
2018-10-23 01:13:23 +03:00
.hiddenViewMenuBar .skinHeader {
display: none;
2018-10-23 01:13:23 +03:00
}
.headerTop {
2020-01-19 15:00:37 +01:00
padding: 0.54em 0;
2018-10-23 01:13:23 +03:00
}
.sectionTabs {
width: 100%;
2018-10-23 01:13:23 +03:00
}
2020-07-06 19:44:04 +02:00
.layout-tv .sectionTabs {
width: 55%;
}
2018-10-23 01:13:23 +03:00
.selectedMediaFolder {
background-color: #f2f2f2 !important;
2018-10-23 01:13:23 +03:00
}
.navMenuOption {
display: flex !important;
align-items: center;
text-decoration: none;
color: inherit;
flex-grow: 1;
font-weight: 400 !important;
margin: 0 !important;
border-radius: 0 !important;
[dir="ltr"] & {
padding: 0.9em 0 0.9em 2.4em !important;
}
[dir="rtl"] & {
padding: 0.9em 2.4em 0.9em 0 !important;
}
2018-10-23 01:13:23 +03:00
}
.navMenuOptionIcon {
flex-shrink: 0;
[dir="ltr"] & {
margin-right: 1.2em;
}
[dir="rtl"] & {
margin-left: 1.2em;
}
2018-10-23 01:13:23 +03:00
}
.navMenuOptionText {
white-space: nowrap;
margin-top: 0.25em;
2018-10-23 01:13:23 +03:00
}
.sidebarHeader {
margin: 1em 0 0.5em;
[dir="ltr"] & {
padding-left: 1.2em;
}
[dir="rtl"] & {
padding-right: 1.2em;
}
2018-10-23 01:13:23 +03:00
}
.dashboardDocument .skinBody {
2020-01-22 21:40:45 +01:00
transition: left ease-in-out 0.3s, padding ease-in-out 0.3s;
2018-10-23 01:13:23 +03:00
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
[dir="rtl"] & {
transition: right ease-in-out 0.3s, padding ease-in-out 0.3s;
}
2018-10-23 01:13:23 +03:00
}
2020-02-06 03:14:17 +09:00
.centerMessage {
margin: auto;
width: 30%;
2020-02-14 03:17:39 +09:00
padding: 5em 0;
2020-02-06 03:14:17 +09:00
text-align: center;
}
2018-10-23 01:13:23 +03:00
.mainDrawer-scrollContainer {
2020-04-12 22:21:23 +02:00
padding-bottom: 10vh;
2018-10-23 01:13:23 +03:00
}
@media all and (min-width: 40em) {
2020-04-12 22:21:23 +02:00
.dashboardDocument .adminDrawerLogo,
2018-10-23 01:13:23 +03:00
.dashboardDocument .mainDrawerButton {
display: none !important;
2018-10-23 01:13:23 +03:00
}
.dashboardDocument .mainDrawer {
z-index: inherit !important;
left: 0 !important;
2018-10-23 01:13:23 +03:00
top: 0 !important;
transform: none !important;
box-shadow: none !important;
width: 20.205em !important;
font-size: 94%;
2022-07-08 13:25:59 -04:00
[dir="ltr"] & {
left: 0 !important;
}
2022-07-08 13:25:59 -04:00
[dir="rtl"] & {
right: 0 !important;
}
2018-10-23 01:13:23 +03:00
}
.dashboardDocument .mainDrawer-scrollContainer {
margin-top: 5em !important;
2018-10-23 01:13:23 +03:00
}
.dashboardDocument .skinBody {
[dir="ltr"] & {
left: 20em;
}
2022-07-08 13:25:59 -04:00
[dir="rtl"] & {
right: 20em;
2022-07-08 13:25:59 -04:00
}
2018-10-23 01:13:23 +03:00
}
}
@media all and (max-width: 100em) {
2018-10-23 01:13:23 +03:00
.withSectionTabs .headerTop {
2020-02-01 21:13:56 -05:00
padding-bottom: 0.55em;
2018-10-23 01:13:23 +03:00
}
.sectionTabs {
font-size: 83.5%;
2018-10-23 01:13:23 +03:00
}
2020-07-06 19:44:04 +02:00
.layout-tv .sectionTabs {
width: 100%;
}
2018-10-23 01:13:23 +03:00
}
@media all and (min-width: 100em) {
2018-10-23 01:13:23 +03:00
.headerTop {
2020-02-02 11:56:45 +01:00
padding: 0.8em 0.8em;
2018-10-23 01:13:23 +03:00
}
.headerTabs {
align-self: center;
width: auto;
align-items: center;
justify-content: center;
position: relative;
2020-02-02 11:56:45 +01:00
margin-top: -4.3em;
2018-10-23 01:13:23 +03:00
}
.libraryPage:not(.noSecondaryNavPage) {
padding-top: 4.6em !important;
2018-10-23 01:13:23 +03:00
}
.pageWithAbsoluteTabs:not(.noSecondaryNavPage) {
padding-top: 6.7em !important;
2018-10-23 01:13:23 +03:00
}
.absolutePageTabContent {
top: 5.7em !important;
2018-10-23 01:13:23 +03:00
}
.dashboardDocument .mainDrawer-scrollContainer {
2020-04-12 22:26:55 +02:00
margin-top: 4.65em !important;
2018-10-23 01:13:23 +03:00
}
}
.headerSelectedPlayer {
max-width: 10em;
white-space: nowrap;
2018-10-23 01:13:23 +03:00
}
@media all and (max-width: 37.5em) {
2018-10-23 01:13:23 +03:00
.headerSelectedPlayer {
display: none;
2018-10-23 01:13:23 +03:00
}
}
.hidingAnimatedTab {
visibility: hidden;
2018-10-23 01:13:23 +03:00
}
.headerArrowImage {
height: 20px;
[dir="ltr"] & {
margin-left: 0.5em;
}
[dir="rtl"] & {
margin-right: 0.5em;
}
2018-10-23 01:13:23 +03:00
}
.backdropContainer {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: -1;
2018-10-23 01:13:23 +03:00
}
.libraryPage .header {
padding-bottom: 0;
2018-10-23 01:13:23 +03:00
}
.flexPageTabContent.is-active {
display: flex !important;
2018-10-23 01:13:23 +03:00
}
.viewSettings {
2020-01-19 15:00:37 +01:00
margin: 0 0 0.25em;
2018-10-23 01:13:23 +03:00
}
2020-01-19 14:29:41 +01:00
.listTopPaging,
.viewControls {
display: inline-block;
2020-01-19 14:29:41 +01:00
}
.viewControls + .listTopPaging {
[dir="ltr"] & {
margin-left: 0.5em !important;
}
[dir="rtl"] & {
margin-right: 0.5em !important;
}
2018-10-23 01:13:23 +03:00
}
.criticReview {
margin: 1.5em 0;
background: #222;
2020-01-22 21:40:45 +01:00
border-radius: 0.3em;
position: relative;
[dir="ltr"] & {
padding: 0.8em 0.8em 0.8em 3em;
}
[dir="rtl"] & {
padding: 0.8em 3em 0.8em 0.8em;
}
2018-10-23 01:13:23 +03:00
}
2021-08-06 02:09:26 -04:00
.detailLogo {
2021-08-11 15:28:03 -04:00
width: 25vw;
height: 16vh;
position: absolute;
top: 10vh;
right: 25vw;
background-size: contain;
2018-10-23 01:13:23 +03:00
background-repeat: no-repeat;
background-position: center center;
2018-10-23 01:13:23 +03:00
}
.criticReview:first-child {
2020-01-19 15:00:37 +01:00
margin-top: 0.5em;
2018-10-23 01:13:23 +03:00
}
.criticReview img {
width: 2.4em;
2018-10-23 01:13:23 +03:00
}
.criticRatingScore {
2020-01-19 15:00:37 +01:00
margin-bottom: 0.5em;
2018-10-23 01:13:23 +03:00
}
.itemTag {
display: inline-block;
margin-right: 1em;
2018-10-23 01:13:23 +03:00
}
.itemOverview {
white-space: pre-wrap;
2018-10-23 01:13:23 +03:00
}
.itemLinks {
padding: 0;
2018-10-23 01:13:23 +03:00
}
.itemLinks p {
2020-01-19 15:00:37 +01:00
margin: 0.5em 0;
2018-10-23 01:13:23 +03:00
}
.reviewLink,
.reviewerName {
2020-01-19 15:00:37 +01:00
margin-top: 0.5em;
2018-10-23 01:13:23 +03:00
}
.reviewerName {
color: #ccc;
2018-10-23 01:13:23 +03:00
}
.reviewDate {
[dir="ltr"] & {
margin-left: 1em;
}
[dir="rtl"] & {
margin-right: 1em;
}
2018-10-23 01:13:23 +03:00
}
.reviewScore {
position: absolute;
2022-10-03 13:36:26 -04:00
[dir="ltr"] & {
left: 0.8em;
}
[dir="rtl"] & {
right: 0.8em;
}
2018-10-23 01:13:23 +03:00
}
.itemBackdrop {
background-size: cover;
2019-12-09 01:03:08 +03:00
background-repeat: no-repeat;
2021-08-06 02:09:26 -04:00
background-position: center 0;
2020-02-23 21:14:38 +01:00
background-attachment: fixed;
height: 40vh;
position: relative;
2020-06-21 13:21:31 +02:00
animation: backdrop-fadein 800ms ease-in normal both;
2018-10-23 01:13:23 +03:00
2021-08-06 02:09:26 -04:00
.layout-mobile & {
background-attachment: initial;
margin-top: 3rem;
2020-03-04 19:13:29 +08:00
2021-08-06 02:09:26 -04:00
@media all and (orientation: portrait) and (max-width: 40em) {
height: 30vh;
}
}
.layout-desktop &::after {
content: "";
width: 100%;
height: 100%;
2021-08-13 11:55:10 -04:00
background: rgba(0, 0, 0, 0.65);
2021-08-06 02:09:26 -04:00
display: block;
}
2020-02-23 21:14:38 +01:00
}
2021-08-27 00:11:03 -04:00
.layout-tv .itemBackdrop {
display: none;
}
2020-02-29 21:38:07 +01:00
.detailPageContent {
display: flex;
flex-direction: column;
2021-08-06 02:09:26 -04:00
.layout-mobile & {
2022-07-03 09:29:01 -04:00
padding-left: 5%;
padding-right: 5%;
2021-08-06 02:09:26 -04:00
}
.layout-desktop &,
.layout-tv & {
.emby-scroller {
[dir="ltr"] & {
margin-left: 0;
}
2022-07-03 09:29:01 -04:00
[dir="rtl"] & {
2022-07-03 09:29:01 -04:00
margin-right: 0;
}
2022-07-02 15:50:52 -04:00
}
}
[dir="ltr"] & {
padding-left: 32.45vw;
padding-right: 2%;
}
[dir="rtl"] & {
padding-right: 32.45vw;
padding-left: 2%;
}
}
2020-05-10 15:41:24 +02:00
.detailSectionContent a {
color: inherit;
}
.personBackdrop {
background-size: contain;
}
2018-10-23 01:13:23 +03:00
.itemBackdropProgressBar {
position: absolute !important;
bottom: 0;
left: 0;
right: 0;
2018-10-23 01:13:23 +03:00
}
.desktopMiscInfoContainer {
position: absolute;
2020-01-19 15:00:37 +01:00
bottom: 0.75em;
2018-10-23 01:13:23 +03:00
}
2020-02-01 18:56:19 +01:00
.parentName {
2020-01-05 23:55:28 +03:00
display: block;
margin: 0 0 0;
}
.layout-mobile .parentName {
margin: 0.6em 0 0;
}
.musicParentName {
margin: 0.15em 0 0.2em;
}
.layout-mobile .musicParentName {
margin: -0.25em 0 0.25em;
}
2020-02-01 18:56:19 +01:00
.mainDetailButtons {
display: flex;
align-items: center;
margin: 1em 0;
}
.detailButton,
.mainDetailButtons {
display: flex;
}
.itemName {
margin: 0.5em 0;
2020-04-05 14:02:20 +02:00
font-weight: 600;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
.layout-mobile & {
white-space: normal;
overflow: visible;
}
2020-02-01 18:56:19 +01:00
}
.itemName.originalTitle {
margin: 0.2em 0 0.2em;
}
.itemName.parentNameLast {
margin: 0 0 0;
}
.layout-mobile .itemName.parentNameLast {
margin: 0.4em 0 0.4em;
}
.layout-mobile h1.itemName,
.layout-mobile h1.parentName {
font-size: 1.6em;
}
.itemName.parentNameLast.withOriginalTitle {
margin: 0 0 0;
}
.layout-mobile .itemName.parentNameLast.withOriginalTitle {
margin: 0.6em 0 0;
}
.layout-mobile .itemName.originalTitle {
margin: 0.5em 0 0.5em;
}
2020-04-05 00:59:37 +02:00
.nameContainer {
display: flex;
flex-direction: column;
flex-wrap: wrap;
2020-02-01 18:56:19 +01:00
}
.itemMiscInfo {
display: flex;
flex-wrap: wrap;
align-items: center;
2021-08-06 02:09:26 -04:00
.layout-mobile & {
@media all and (orientation: portrait) and (max-width: 40em) {
margin-bottom: 0 !important;
.mediaInfoItem {
2021-08-10 17:03:40 -04:00
margin-top: 0.5em;
2021-08-06 02:09:26 -04:00
}
}
}
2020-01-05 23:55:28 +03:00
}
.layout-mobile .parentName,
.layout-mobile .itemName,
.layout-mobile .itemMiscInfo,
.layout-mobile .mainDetailButtons {
2022-07-14 17:59:37 -04:00
align-items: center;
justify-content: center;
text-align: center;
2019-12-09 01:03:08 +03:00
}
2020-05-08 19:50:56 +02:00
.layout-mobile .mainDetailButtons {
2021-08-13 14:43:55 -04:00
margin-top: 1em;
2020-05-08 19:50:56 +02:00
margin-bottom: 0.5em;
@include header-poster-padding;
2021-08-06 02:09:26 -04:00
// The buttons row is full width on small screens
2021-08-11 13:12:49 -04:00
@media all and (max-width: 32em) {
margin-bottom: 0;
padding-left: 0;
2021-08-06 02:09:26 -04:00
}
2022-07-08 13:25:59 -04:00
[dir="ltr"] & {
margin-left: 0;
}
2022-07-08 13:25:59 -04:00
[dir="rtl"] & {
margin-right: 0;
2022-07-08 13:25:59 -04:00
padding-left: unset !important;
2022-07-08 13:27:52 -04:00
2022-07-08 13:25:59 -04:00
@include header-poster-padding-rtl;
@media all and (max-width: 32em) {
padding-right: 0 !important;
}
}
2020-05-08 19:50:56 +02:00
}
2020-06-21 09:06:51 +02:00
.subtitle {
margin: 0.15em 0 0.2em;
// Leave room for a focused button
margin-left: -1em;
padding-left: 1em;
}
2020-06-21 09:06:51 +02:00
.layout-mobile .subtitle {
margin: 0.2em 0 0.2em;
padding-left: 0; // Reset padding for focused button since 'margin-left' is 0
}
2019-12-09 01:03:08 +03:00
.detailPagePrimaryContainer {
display: flex;
align-items: center;
2019-12-22 20:01:33 +03:00
align-content: center;
2019-12-09 01:03:08 +03:00
z-index: 2;
2021-08-13 11:55:10 -04:00
.layout-mobile & {
display: block;
position: relative;
padding: 0.5rem 5%;
2021-08-13 11:55:10 -04:00
}
2020-08-26 21:29:10 +02:00
2021-08-13 11:55:10 -04:00
.layout-desktop & {
position: relative;
}
2020-01-19 14:29:41 +01:00
2021-08-13 11:55:10 -04:00
.layout-tv & {
display: block;
}
2022-10-03 13:36:26 -04:00
}
2022-10-03 13:36:26 -04:00
.layout-desktop [dir="rtl"] .detailPagePrimaryContainer {
padding-right: 32.45vw;
}
2022-07-03 09:29:01 -04:00
2022-10-03 13:36:26 -04:00
.layout-desktop [dir="ltr"] .detailPagePrimaryContainer {
padding-left: 32.45vw;
2020-01-19 14:29:41 +01:00
}
.layout-tv [dir="rtl"] .detailPagePrimaryContainer {
padding-right: 32.45vw;
}
.layout-tv [dir="ltr"] .detailPagePrimaryContainer {
padding-left: 32.45vw;
}
2020-08-26 21:29:10 +02:00
.layout-desktop .detailRibbon {
2020-02-29 20:14:21 +01:00
margin-top: -7.2em;
height: 7.2em;
2020-02-23 21:14:38 +01:00
}
2020-08-26 21:29:10 +02:00
.layout-tv .detailRibbon {
margin-top: 0;
height: inherit;
}
2019-12-22 20:01:33 +03:00
.infoWrapper {
2021-09-02 14:59:53 -04:00
min-width: 0;
max-width: 100%;
2019-12-22 23:51:53 +03:00
flex: 1 0 0;
2021-08-10 17:03:40 -04:00
.layout-mobile & {
2022-07-14 17:59:37 -04:00
[dir="ltr"] {
@include header-poster-padding;
2021-08-11 13:12:49 -04:00
}
2022-07-04 11:56:38 -04:00
2022-07-14 17:59:37 -04:00
[dir="rtl"] & {
2022-07-04 11:56:38 -04:00
@include header-poster-padding-rtl;
}
2022-07-14 17:59:37 -04:00
@media all and (max-width: 32em) {
position: relative;
}
2022-07-04 11:56:38 -04:00
}
}
2019-12-22 23:51:53 +03:00
.infoText {
min-width: 0;
max-width: 100%;
[dir="ltr"] & {
text-align: left;
}
[dir="rtl"] & {
text-align: right;
}
2020-02-01 18:56:19 +01:00
}
2020-01-05 23:55:28 +03:00
.detailPageSecondaryContainer {
2019-12-20 22:49:54 +03:00
margin: 1.25em 0;
2020-01-13 21:15:59 +03:00
}
.layout-mobile .detailPageSecondaryContainer {
margin: 1em 0;
}
.detailImageContainer .card {
2021-08-13 10:09:36 -04:00
// important is needed here to override :focus setting
// the position to relative in the tv layout
position: absolute !important;
2021-08-06 02:09:26 -04:00
top: 20%;
max-width: 25vw;
max-height: 80vh;
2020-02-23 21:14:38 +01:00
z-index: 3;
2021-08-06 02:09:26 -04:00
.cardBox {
margin: 0;
}
2021-08-11 13:12:49 -04:00
&.backdropCard {
top: 35%;
}
&.squareCard {
top: 40%;
}
2021-08-06 02:09:26 -04:00
.layout-mobile & {
2022-07-03 09:29:01 -04:00
left: 5%;
2021-08-11 13:12:49 -04:00
bottom: 1rem;
2021-08-06 02:09:26 -04:00
max-width: 30vw;
2021-08-13 14:43:55 -04:00
filter: drop-shadow(0 0 0.5rem #000);
2021-08-11 13:12:49 -04:00
@media all and (max-width: 32em) {
2022-07-03 09:29:01 -04:00
left: 0;
2021-08-11 13:12:49 -04:00
bottom: 0;
}
&,
&.backdropCard,
&.squareCard {
top: auto;
}
2021-08-06 02:09:26 -04:00
}
2021-08-13 11:55:10 -04:00
.layout-desktop & {
2022-07-03 09:29:01 -04:00
left: 3.3%;
2021-08-13 11:55:10 -04:00
top: -80%;
width: 25vw;
}
2021-08-06 02:09:26 -04:00
.layout-tv & {
2022-07-03 09:29:01 -04:00
left: 5%;
2021-08-06 02:09:26 -04:00
top: 50%;
2021-08-13 11:55:10 -04:00
width: 25vw;
2021-08-06 02:09:26 -04:00
transform: translateY(-50%);
}
2022-07-03 09:29:01 -04:00
[dir="rtl"] & {
left: unset;
.layout-mobile &,
.layout-tv & {
right: 5%;
}
.layout-desktop & {
right: 3.3%;
}
}
}
2018-10-23 01:13:23 +03:00
.detailPagePrimaryContent {
position: relative;
}
.layout-mobile .detailLogo {
2020-02-29 20:14:21 +01:00
display: none;
}
2020-04-12 22:21:23 +02:00
@media all and (max-width: 68.75em) {
.detailLogo {
display: none;
}
}
2018-10-23 01:13:23 +03:00
.itemDetailImage {
width: 100% !important;
2020-02-23 21:14:38 +01:00
box-shadow: 0 0.1em 0.5em 0 rgba(0, 0, 0, 0.75);
2022-07-03 11:58:08 -04:00
[dir="rtl"] & {
box-shadow: 0 0 0.5em 0.1em rgba(0, 0, 0, 0.75);
}
2018-10-23 01:13:23 +03:00
}
2020-01-29 19:05:23 +01:00
div.itemDetailGalleryLink.defaultCardBackground {
text-align: center;
}
2020-01-29 18:59:18 +01:00
.itemDetailGalleryLink.defaultCardBackground {
/* Dirty hack to get it to look somewhat square. Less than ideal. */
height: 23vw;
2020-01-29 18:59:18 +01:00
}
.sectionTitleTextButton > .material-icons {
font-size: 1.5em;
margin-bottom: 0.35em;
margin-top: 0;
}
.layout-mobile .sectionTitleTextButton > .material-icons {
margin-bottom: 0;
padding-top: 0.5em;
}
2020-04-26 02:37:28 +03:00
.itemDetailGalleryLink.defaultCardBackground > .material-icons {
2020-01-29 18:59:18 +01:00
font-size: 15vw;
margin-top: 50%;
transform: translateY(-50%);
}
@media all and (max-width: 62.5em) {
2020-01-13 21:15:59 +03:00
.detailPageWrapperContainer {
position: relative;
2018-10-23 01:13:23 +03:00
}
2020-08-26 21:29:10 +02:00
.layout-desktop .itemBackdrop {
2020-06-25 18:40:19 +02:00
height: 40vh;
}
2020-02-29 20:14:21 +01:00
.layout-desktop .detailPageWrapperContainer,
.layout-tv .detailPageWrapperContainer {
2020-06-25 18:40:19 +02:00
margin-top: 0.1em;
2020-02-29 20:14:21 +01:00
}
2020-06-25 18:40:19 +02:00
.layout-desktop .detailImageContainer .card,
.layout-tv .detailImageContainer .card {
top: 10%;
2020-02-29 20:14:21 +01:00
}
2018-10-23 01:13:23 +03:00
.btnPlaySimple {
display: none !important;
2018-10-23 01:13:23 +03:00
}
}
@media all and (max-width: 75em) {
2018-10-23 01:13:23 +03:00
.lnkSibling {
display: none !important;
2018-10-23 01:13:23 +03:00
}
}
.emby-button.detailFloatingButton {
2020-08-26 21:29:10 +02:00
font-size: 1.4em;
margin-right: 0.5em !important;
2020-01-22 21:40:45 +01:00
color: rgba(255, 255, 255, 0.76);
2018-10-23 01:13:23 +03:00
}
2020-04-26 02:37:28 +03:00
.emby-button.detailFloatingButton .material-icons {
font-size: 3.5em;
2018-10-23 01:13:23 +03:00
}
@media all and (max-width: 62.5em) {
2018-10-23 01:13:23 +03:00
.parentName {
margin-bottom: 0;
2018-10-23 01:13:23 +03:00
}
.itemDetailPage {
padding-top: 0 !important;
2018-10-23 01:13:23 +03:00
}
}
@media all and (min-width: 31.25em) {
2018-10-23 01:13:23 +03:00
.mobileDetails {
display: none;
2018-10-23 01:13:23 +03:00
}
}
@media all and (max-width: 31.25em) {
2018-10-23 01:13:23 +03:00
.desktopDetails {
display: none !important;
2018-10-23 01:13:23 +03:00
}
}
.empty {
margin: 0;
2018-10-23 01:13:23 +03:00
}
.detailCollapsibleSection:not(.hide) + .detailCollapsibleSection {
margin-top: -2em;
2018-10-23 01:13:23 +03:00
}
.detailPageCollabsible {
margin-top: 0;
2018-10-23 01:13:23 +03:00
}
.recordingFields button {
flex-shrink: 0;
[dir="ltr"] & {
margin-left: 0;
margin-right: 0.5em;
}
[dir="rtl"] & {
margin-right: 0;
margin-left: 0.5em;
}
2018-10-23 01:13:23 +03:00
}
.mainDetailButtons.hide + .recordingFields {
margin-top: 1.5em !important;
2018-10-23 01:13:23 +03:00
}
.detailButton {
2018-10-23 01:13:23 +03:00
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin: 0 !important;
2020-08-26 21:29:10 +02:00
padding: 0.7em 0.7em !important;
2018-10-23 01:13:23 +03:00
}
@media all and (min-width: 29em) {
.detailButton {
2020-01-19 15:00:37 +01:00
padding-left: 0.75em !important;
padding-right: 0.75em !important;
2018-10-23 01:13:23 +03:00
}
}
@media all and (min-width: 32em) {
.detailButton {
2020-01-19 15:00:37 +01:00
padding-left: 0.8em !important;
padding-right: 0.8em !important;
2018-10-23 01:13:23 +03:00
}
}
@media all and (min-width: 35em) {
.detailButton {
2020-01-19 15:00:37 +01:00
padding-left: 0.85em !important;
padding-right: 0.85em !important;
2018-10-23 01:13:23 +03:00
}
}
.detailButton-content {
2018-10-23 01:13:23 +03:00
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
2018-10-23 01:13:23 +03:00
}
.detailButton-icon {
2018-10-23 01:13:23 +03:00
font-size: 1.6em !important;
width: 1em;
height: 1em;
2018-10-23 01:13:23 +03:00
}
.detailImageProgressContainer {
2020-06-14 21:27:27 +01:00
bottom: 0;
margin-top: -0.4vw;
width: 100%;
2018-10-23 01:13:23 +03:00
}
.detailButton-text {
2020-01-19 15:00:37 +01:00
margin-top: 0.7em;
2018-10-23 01:13:23 +03:00
font-size: 80%;
font-weight: 400;
2018-10-23 01:13:23 +03:00
}
@media all and (max-width: 62.5em) {
2018-10-23 01:13:23 +03:00
.mainDetailButtons {
2020-01-19 15:00:37 +01:00
margin-left: -0.5em;
2018-10-23 01:13:23 +03:00
}
.detailButtonHideonMobile {
display: none !important;
2018-10-23 01:13:23 +03:00
}
}
@media all and (min-width: 100em) {
2020-01-15 18:54:48 +03:00
.personBackdrop {
2020-02-01 18:56:19 +01:00
display: none !important;
}
2018-10-23 01:13:23 +03:00
.mainDetailButtons {
font-size: 108%;
margin: 1.25em 0;
2018-10-23 01:13:23 +03:00
}
2020-08-26 21:29:10 +02:00
.layout-tv .mainDetailButtons {
font-size: 108%;
margin: 1em 0 1.25em;
}
2018-10-23 01:13:23 +03:00
}
@media all and (max-width: 50em) {
2018-10-23 01:13:23 +03:00
.editorMenuLink {
display: none;
2018-10-23 01:13:23 +03:00
}
}
@media all and (max-width: 31.25em) {
2018-10-23 01:13:23 +03:00
.mobileDetails .itemMiscInfo {
text-align: center;
justify-content: center;
2018-10-23 01:13:23 +03:00
}
.itemMiscInfo .endsAt {
display: none;
2018-10-23 01:13:23 +03:00
}
}
2020-06-21 13:21:31 +02:00
.detailVerticalSection .emby-scrollbuttons {
padding-top: 0.4em;
}
2018-10-23 01:13:23 +03:00
.layout-tv .detailVerticalSection {
margin-bottom: 3.4em !important;
2018-10-23 01:13:23 +03:00
}
2020-01-13 21:15:59 +03:00
.detailPageWrapperContainer {
2018-10-23 01:13:23 +03:00
border-spacing: 0;
border-collapse: collapse;
}
2022-02-23 00:36:00 +03:00
.mediaInfoContent .btnCopy .material-icons {
font-size: inherit;
}
2018-10-23 01:13:23 +03:00
.mediaInfoStream {
margin: 0 3em 0 0;
display: inline-block;
vertical-align: top;
2018-10-23 01:13:23 +03:00
}
.mediaInfoStreamType {
display: block;
2022-02-23 00:36:00 +03:00
margin: 0.622em 0; /* copy button height compensation */
}
.layout-tv .mediaInfoStreamType {
margin: 1em 0;
2018-10-23 01:13:23 +03:00
}
.mediaInfoAttribute,
.mediaInfoLabel {
display: inline-block;
2018-10-23 01:13:23 +03:00
}
.mediaInfoLabel {
font-weight: 600;
[dir="ltr"] & {
margin-right: 1em;
}
[dir="rtl"] & {
margin-left: 1em;
}
2018-10-23 01:13:23 +03:00
}
.recordingProgressBar::-moz-progress-bar {
background-color: #c33;
2018-10-23 01:13:23 +03:00
}
.recordingProgressBar::-webkit-progress-value {
background-color: #c33;
2018-10-23 01:13:23 +03:00
}
.recordingProgressBar[aria-valuenow]::before {
background-color: #c33;
2018-10-23 01:13:23 +03:00
}
.timelineHeader {
2020-01-19 15:00:37 +01:00
margin-bottom: 0.25em;
2018-10-23 01:13:23 +03:00
line-height: 1.25em;
line-height: initial;
2018-10-23 01:13:23 +03:00
}
.itemsContainer {
margin: 0 auto;
2018-10-23 01:13:23 +03:00
}
@media all and (max-height: 31.25em) {
2018-10-23 01:13:23 +03:00
.itemBackdrop {
height: 52vh;
2018-10-23 01:13:23 +03:00
}
}
.listViewUserDataButtons {
display: flex;
align-items: center;
2018-10-23 01:13:23 +03:00
}
.bulletSeparator {
2020-01-19 15:00:37 +01:00
margin: 0 0.35em;
2018-10-23 01:13:23 +03:00
}
.mediaInfoIcons {
display: flex;
align-items: center;
margin: 1em 0;
flex-wrap: wrap;
2018-10-23 01:13:23 +03:00
}
.verticalSection-extrabottompadding {
margin-bottom: 2.7em;
2018-10-23 01:13:23 +03:00
}
.layout-mobile .verticalSection-extrabottompadding {
margin-bottom: 1em;
}
2018-10-23 01:13:23 +03:00
.sectionTitleButton,
.sectionTitleIconButton {
margin-right: 0 !important;
display: inline-flex;
vertical-align: middle;
2018-10-23 01:13:23 +03:00
}
2019-06-21 14:19:33 -07:00
.sectionTitleContainer {
margin: 1.25em 0;
2018-10-23 01:13:23 +03:00
}
2020-01-05 23:55:28 +03:00
.sectionTitleContainer > .sectionTitle {
2019-06-21 14:19:33 -07:00
margin: 0;
display: inline-block;
vertical-align: middle;
2018-10-23 01:13:23 +03:00
}
/* these next two rules are for the scroller element headers */
2019-06-21 14:19:33 -07:00
.sectionTitleContainer-cards {
margin: 0;
padding-top: 1.25em;
2018-10-23 01:13:23 +03:00
}
div:not(.sectionTitleContainer-cards) > .sectionTitle-cards {
margin: 0;
padding-top: 0.5em;
2020-06-21 13:21:31 +02:00
padding-bottom: 0.2em;
}
.layout-mobile :not(.sectionTitleContainer-cards) > .sectionTitle-cards {
margin: 0;
padding-top: 0.5em;
2018-10-23 01:13:23 +03:00
}
.sectionTitleButton {
flex-shrink: 0;
[dir="ltr"] & {
margin-left: 1.5em !important;
}
[dir="rtl"] & {
margin-right: 1.5em !important;
}
2018-10-23 01:13:23 +03:00
}
2020-01-06 00:14:11 +03:00
.sectionTitleButton + .sectionTitleButton {
[dir="ltr"] & {
margin-left: 0.5em !important;
}
[dir="rtl"] & {
margin-right: 0.5em !important;
}
2018-10-23 01:13:23 +03:00
}
.sectionTitleIconButton {
flex-shrink: 0;
font-size: 84% !important;
2020-01-19 15:00:37 +01:00
padding: 0.5em !important;
[dir="ltr"] & {
margin-left: 1.5em !important;
}
[dir="rtl"] & {
margin-right: 1.5em !important;
}
2018-10-23 01:13:23 +03:00
}
.horizontalItemsContainer {
display: flex;
2018-10-23 01:13:23 +03:00
}
.sectionTitleTextButton {
margin: 0 !important;
display: inline-flex !important;
color: inherit !important;
2018-10-23 01:13:23 +03:00
}
.sectionTitleTextButton:not(.padded-left) {
padding: 0 !important;
2018-10-23 01:13:23 +03:00
}
.sectionTitleTextButton.padded-left {
padding-bottom: 0 !important;
padding-right: 0 !important;
padding-top: 0 !important;
2018-10-23 01:13:23 +03:00
}
.sectionTitleTextButton > .sectionTitle {
2020-01-25 23:37:58 +01:00
margin-bottom: 0.35em;
margin-top: 0;
2018-10-23 01:13:23 +03:00
}
.padded-left {
[dir="ltr"] & {
padding-left: 3.3%;
padding-left: max(env(safe-area-inset-left), 3.3%);
}
[dir="rtl"] & {
padding-right: 3.3%;
padding-right: max(env(safe-area-inset-right), 3.3%);
}
2018-10-23 01:13:23 +03:00
}
.padded-right {
[dir="ltr"] & {
padding-right: 3.3%;
padding-right: max(env(safe-area-inset-right), 3.3%);
}
[dir="rtl"] & {
padding-left: 3.3%;
padding-left: max(env(safe-area-inset-left), 3.3%);
}
2018-10-23 01:13:23 +03:00
}
.padded-top {
2019-05-23 03:02:18 -07:00
padding-top: 1em;
2018-10-23 01:13:23 +03:00
}
.padded-bottom {
2019-05-23 03:02:18 -07:00
padding-bottom: 1em;
2018-10-23 01:13:23 +03:00
}
.layout-tv .padded-top-focusscale {
padding-top: 1.5em;
margin-top: -1.5em;
2018-10-23 01:13:23 +03:00
}
.layout-tv .padded-bottom-focusscale {
padding-bottom: 1.5em;
margin-bottom: -1.5em;
2018-10-23 01:13:23 +03:00
}
@media all and (min-height: 31.25em) {
2018-10-23 01:13:23 +03:00
.padded-right-withalphapicker {
2019-05-23 03:02:18 -07:00
padding-right: 7.5%;
2022-10-24 22:11:18 +03:00
padding-right: max(env(safe-area-inset-right), 7.5%);
2018-10-23 01:13:23 +03:00
}
}
.searchfields-icon {
2020-01-19 14:40:47 +01:00
color: #aaa;
2018-10-23 01:13:23 +03:00
}
.button-accent-flat {
2019-05-23 03:02:18 -07:00
color: #00a4dc !important;
2018-10-23 01:13:23 +03:00
}
.clearLink {
text-decoration: none;
font-weight: inherit !important;
vertical-align: middle;
color: inherit !important;
2018-10-23 01:13:23 +03:00
}
.itemsViewSettingsContainer {
justify-content: center;
2018-10-23 01:13:23 +03:00
}
@media all and (min-width: 40em) {
2018-10-23 01:13:23 +03:00
.listIconButton-autohide {
display: none !important;
2018-10-23 01:13:23 +03:00
}
}
@media all and (max-width: 40em) {
2018-10-23 01:13:23 +03:00
.listTextButton-autohide {
display: none !important;
2018-10-23 01:13:23 +03:00
}
}
.itemsViewSettingsContainer > .button-flat {
margin: 0;
2018-11-06 16:11:38 +03:00
}
.layout-mobile #myPreferencesMenuPage {
padding-top: 3.75em;
}
.itemDetailsGroup {
2021-09-05 01:37:15 -04:00
margin-top: 1.5em;
}
.trackSelections {
max-width: 44em;
}
.detailsGroupItem,
.trackSelections .selectContainer {
display: flex;
max-width: 44em;
margin: 0 0 0.5em !important;
}
.trackSelections .selectContainer {
margin: 0 0 0.3em !important;
}
.detailsGroupItem .label,
.trackSelections .selectContainer .selectLabel {
cursor: default;
flex-grow: 0;
flex-shrink: 0;
flex-basis: 6.25em;
margin: 0 0.6em 0 0;
}
.trackSelections .selectContainer .selectLabel {
margin: 0 0.2em 0 0;
line-height: 1.75;
}
2020-05-08 19:50:56 +02:00
.layout-mobile .detailsGroupItem .label,
.layout-mobile .trackSelections .selectContainer .selectLabel {
flex-basis: 4.5em;
}
.trackSelections .selectContainer .detailTrackSelect {
font-size: inherit;
padding: 0;
overflow: hidden;
}
.trackSelections .selectContainer .selectArrowContainer .selectArrow {
margin-top: 0;
font-size: 1.4em;
}
.overview-controls {
display: flex;
justify-content: flex-end;
}
.detail-clamp-text {
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 12;
-webkit-box-orient: vertical;
}
@media all and (min-width: 40em) {
.detail-clamp-text {
-webkit-line-clamp: 6;
}
}