Spaces:
Running
Running
Hermes Agent commited on
Commit ·
dc0ce3f
1
Parent(s): 0dcccee
fix(ui): responsive rebuild for frosted topbar glass, single detail poster, sleek count badges, and landscape media info clearance
Browse files- apex/ui/abyss.css +101 -14
- apex/ui/spotlight-loader.js +12 -0
apex/ui/abyss.css
CHANGED
|
@@ -4439,6 +4439,11 @@ div[data-category="nextup"] .cardImageContainer img,
|
|
| 4439 |
z-index: 99999 !important;
|
| 4440 |
box-sizing: border-box !important;
|
| 4441 |
padding: 0 16px !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4442 |
transition: opacity 0.2s ease, visibility 0.2s ease !important;
|
| 4443 |
}
|
| 4444 |
|
|
@@ -4502,10 +4507,12 @@ body.show-apex-topbar #apex-tv-topbar,
|
|
| 4502 |
@media (max-width: 600px) and (orientation: portrait) {
|
| 4503 |
#apex-tv-topbar {
|
| 4504 |
height: 48px !important;
|
| 4505 |
-
padding: 0
|
| 4506 |
-
background:
|
| 4507 |
-
backdrop-filter:
|
| 4508 |
-
-webkit-backdrop-filter:
|
|
|
|
|
|
|
| 4509 |
}
|
| 4510 |
#apex-tv-topbar .apex-tv-tabs {
|
| 4511 |
gap: 4px !important;
|
|
@@ -4641,8 +4648,8 @@ header .pageTitle,
|
|
| 4641 |
}
|
| 4642 |
|
| 4643 |
/* Fixed Single Clean Poster Thumbnail in Portrait */
|
| 4644 |
-
#itemDetailPage .detailImageContainer,
|
| 4645 |
-
.layout-mobile #itemDetailPage .detailImageContainer {
|
| 4646 |
display: block !important;
|
| 4647 |
visibility: visible !important;
|
| 4648 |
opacity: 1 !important;
|
|
@@ -4661,13 +4668,19 @@ header .pageTitle,
|
|
| 4661 |
border: 1px solid rgba(255, 255, 255, 0.14) !important;
|
| 4662 |
}
|
| 4663 |
|
| 4664 |
-
/*
|
|
|
|
| 4665 |
#itemDetailPage .detailImageContainer ~ .detailImageContainer,
|
| 4666 |
-
#itemDetailPage .detailImageContainer:nth-of-type(n+2)
|
|
|
|
|
|
|
| 4667 |
display: none !important;
|
| 4668 |
visibility: hidden !important;
|
| 4669 |
width: 0 !important;
|
| 4670 |
height: 0 !important;
|
|
|
|
|
|
|
|
|
|
| 4671 |
}
|
| 4672 |
|
| 4673 |
#itemDetailPage .detailImageContainer .card,
|
|
@@ -4770,18 +4783,46 @@ header .pageTitle,
|
|
| 4770 |
font-size: 0.85rem !important;
|
| 4771 |
}
|
| 4772 |
|
| 4773 |
-
|
| 4774 |
.layout-mobile #itemDetailPage .mainDetailButtons {
|
|
|
|
|
|
|
|
|
|
| 4775 |
display: flex !important;
|
| 4776 |
flex-direction: row !important;
|
| 4777 |
align-items: center !important;
|
| 4778 |
flex-wrap: nowrap !important;
|
| 4779 |
-
gap:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4780 |
width: 100% !important;
|
| 4781 |
-
flex-basis: 100% !important;
|
| 4782 |
-
margin-top: 12px !important;
|
| 4783 |
-
overflow-x: auto !important;
|
| 4784 |
-
padding-bottom: 4px !important;
|
| 4785 |
}
|
| 4786 |
}
|
| 4787 |
|
|
@@ -5348,3 +5389,49 @@ div[data-category="cast"] .cardScalable,
|
|
| 5348 |
text-align: center !important;
|
| 5349 |
margin-top: 4px !important;
|
| 5350 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4439 |
z-index: 99999 !important;
|
| 4440 |
box-sizing: border-box !important;
|
| 4441 |
padding: 0 16px !important;
|
| 4442 |
+
background: rgba(10, 11, 15, 0.92) !important;
|
| 4443 |
+
backdrop-filter: blur(20px) saturate(180%) !important;
|
| 4444 |
+
-webkit-backdrop-filter: blur(20px) saturate(180%) !important;
|
| 4445 |
+
border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
|
| 4446 |
+
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
|
| 4447 |
transition: opacity 0.2s ease, visibility 0.2s ease !important;
|
| 4448 |
}
|
| 4449 |
|
|
|
|
| 4507 |
@media (max-width: 600px) and (orientation: portrait) {
|
| 4508 |
#apex-tv-topbar {
|
| 4509 |
height: 48px !important;
|
| 4510 |
+
padding: 0 8px !important;
|
| 4511 |
+
background: rgba(10, 11, 15, 0.92) !important;
|
| 4512 |
+
backdrop-filter: blur(20px) saturate(180%) !important;
|
| 4513 |
+
-webkit-backdrop-filter: blur(20px) saturate(180%) !important;
|
| 4514 |
+
border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
|
| 4515 |
+
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
|
| 4516 |
}
|
| 4517 |
#apex-tv-topbar .apex-tv-tabs {
|
| 4518 |
gap: 4px !important;
|
|
|
|
| 4648 |
}
|
| 4649 |
|
| 4650 |
/* Fixed Single Clean Poster Thumbnail in Portrait */
|
| 4651 |
+
#itemDetailPage .detailPagePrimaryContainer > .detailImageContainer,
|
| 4652 |
+
.layout-mobile #itemDetailPage .detailPagePrimaryContainer > .detailImageContainer {
|
| 4653 |
display: block !important;
|
| 4654 |
visibility: visible !important;
|
| 4655 |
opacity: 1 !important;
|
|
|
|
| 4668 |
border: 1px solid rgba(255, 255, 255, 0.14) !important;
|
| 4669 |
}
|
| 4670 |
|
| 4671 |
+
/* STRICTLY ELIMINATE ANY DUPLICATE / GHOST POSTER */
|
| 4672 |
+
#itemDetailPage .detailRibbon .detailImageContainer,
|
| 4673 |
#itemDetailPage .detailImageContainer ~ .detailImageContainer,
|
| 4674 |
+
#itemDetailPage .detailImageContainer:nth-of-type(n+2),
|
| 4675 |
+
#itemDetailPage .detailLogo,
|
| 4676 |
+
.layout-mobile #itemDetailPage .detailLogo {
|
| 4677 |
display: none !important;
|
| 4678 |
visibility: hidden !important;
|
| 4679 |
width: 0 !important;
|
| 4680 |
height: 0 !important;
|
| 4681 |
+
margin: 0 !important;
|
| 4682 |
+
padding: 0 !important;
|
| 4683 |
+
pointer-events: none !important;
|
| 4684 |
}
|
| 4685 |
|
| 4686 |
#itemDetailPage .detailImageContainer .card,
|
|
|
|
| 4783 |
font-size: 0.85rem !important;
|
| 4784 |
}
|
| 4785 |
|
| 4786 |
+
#itemDetailPage .mainDetailButtons,
|
| 4787 |
.layout-mobile #itemDetailPage .mainDetailButtons {
|
| 4788 |
+
position: relative !important;
|
| 4789 |
+
bottom: auto !important;
|
| 4790 |
+
left: auto !important;
|
| 4791 |
display: flex !important;
|
| 4792 |
flex-direction: row !important;
|
| 4793 |
align-items: center !important;
|
| 4794 |
flex-wrap: nowrap !important;
|
| 4795 |
+
gap: 12px !important;
|
| 4796 |
+
margin: 8px 0 12px 0 !important;
|
| 4797 |
+
width: 100% !important;
|
| 4798 |
+
clear: both !important;
|
| 4799 |
+
}
|
| 4800 |
+
|
| 4801 |
+
/* Media info and technical specs placed cleanly below buttons */
|
| 4802 |
+
#itemDetailPage .detailSectionContent,
|
| 4803 |
+
#itemDetailPage .mediaInfo,
|
| 4804 |
+
#itemDetailPage .trackSelections,
|
| 4805 |
+
#itemDetailPage .audioVideoInfo,
|
| 4806 |
+
#itemDetailPage .mediaInfoStreamContainer {
|
| 4807 |
+
position: relative !important;
|
| 4808 |
+
display: block !important;
|
| 4809 |
+
margin-top: 10px !important;
|
| 4810 |
+
margin-bottom: 6px !important;
|
| 4811 |
+
clear: both !important;
|
| 4812 |
+
width: 100% !important;
|
| 4813 |
+
}
|
| 4814 |
+
|
| 4815 |
+
/* Media stream info & technical specs */
|
| 4816 |
+
#itemDetailPage .detailSectionContent,
|
| 4817 |
+
#itemDetailPage .mediaInfo,
|
| 4818 |
+
#itemDetailPage .trackSelections,
|
| 4819 |
+
#itemDetailPage .audioVideoInfo {
|
| 4820 |
+
position: relative !important;
|
| 4821 |
+
display: block !important;
|
| 4822 |
+
margin-top: 10px !important;
|
| 4823 |
+
margin-bottom: 8px !important;
|
| 4824 |
+
clear: both !important;
|
| 4825 |
width: 100% !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4826 |
}
|
| 4827 |
}
|
| 4828 |
|
|
|
|
| 5389 |
text-align: center !important;
|
| 5390 |
margin-top: 4px !important;
|
| 5391 |
}
|
| 5392 |
+
|
| 5393 |
+
|
| 5394 |
+
/* ========================================================
|
| 5395 |
+
CLEAN MEDIA CARDS & SLEEK COUNT BADGES (NO BOX-IN-BOX)
|
| 5396 |
+
======================================================== */
|
| 5397 |
+
#indexPage .card,
|
| 5398 |
+
.libraryPage .card,
|
| 5399 |
+
.itemsContainer .card,
|
| 5400 |
+
.card[data-type="Movie"],
|
| 5401 |
+
.card[data-type="Series"],
|
| 5402 |
+
.card[data-type="Episode"] {
|
| 5403 |
+
background: transparent !important;
|
| 5404 |
+
border: none !important;
|
| 5405 |
+
box-shadow: none !important;
|
| 5406 |
+
}
|
| 5407 |
+
|
| 5408 |
+
#indexPage .cardBox,
|
| 5409 |
+
.libraryPage .cardBox,
|
| 5410 |
+
.itemsContainer .cardBox,
|
| 5411 |
+
.itemsContainer .visualCardBox,
|
| 5412 |
+
.card[data-type="Movie"] .cardBox,
|
| 5413 |
+
.card[data-type="Series"] .cardBox,
|
| 5414 |
+
.card[data-type="Episode"] .cardBox {
|
| 5415 |
+
background: transparent !important;
|
| 5416 |
+
border: none !important;
|
| 5417 |
+
box-shadow: none !important;
|
| 5418 |
+
padding: 0 !important;
|
| 5419 |
+
margin: 0 !important;
|
| 5420 |
+
}
|
| 5421 |
+
|
| 5422 |
+
/* TV Series Unplayed Count Badge */
|
| 5423 |
+
.countIndicator {
|
| 5424 |
+
background: rgba(0, 0, 0, 0.82) !important;
|
| 5425 |
+
color: #ffffff !important;
|
| 5426 |
+
border: 1px solid rgba(255, 255, 255, 0.25) !important;
|
| 5427 |
+
border-radius: 6px !important;
|
| 5428 |
+
font-size: 0.72rem !important;
|
| 5429 |
+
font-weight: 700 !important;
|
| 5430 |
+
padding: 2px 6px !important;
|
| 5431 |
+
min-width: 18px !important;
|
| 5432 |
+
height: 18px !important;
|
| 5433 |
+
display: inline-flex !important;
|
| 5434 |
+
align-items: center !important;
|
| 5435 |
+
justify-content: center !important;
|
| 5436 |
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6) !important;
|
| 5437 |
+
}
|
apex/ui/spotlight-loader.js
CHANGED
|
@@ -790,6 +790,18 @@ function findHomeTab() {
|
|
| 790 |
}
|
| 791 |
}
|
| 792 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 793 |
// 1.5 Suppress and purge floating Play / Shuffle buttons from catalog/library views
|
| 794 |
var strayPlayBtns = document.querySelectorAll(
|
| 795 |
':is(.view, .page, [data-role="page"], .libraryPage):not(#itemDetailPage):not(#videoOsdPage) :is(.btnPlay, .btnShuffle, button[data-action="playall"], button[data-action="shuffleall"], button[title*="Play all" i], button[title*="Shuffle all" i]), ' +
|
|
|
|
| 790 |
}
|
| 791 |
}
|
| 792 |
|
| 793 |
+
// 1.4 Guarantee strictly one poster on #itemDetailPage
|
| 794 |
+
var detailPosters = document.querySelectorAll('#itemDetailPage .detailPagePrimaryContainer .detailImageContainer');
|
| 795 |
+
if (detailPosters.length > 1) {
|
| 796 |
+
for (var dp = 1; dp < detailPosters.length; dp++) {
|
| 797 |
+
detailPosters[dp].remove();
|
| 798 |
+
}
|
| 799 |
+
}
|
| 800 |
+
var ghostLogos = document.querySelectorAll('#itemDetailPage .detailLogo');
|
| 801 |
+
for (var gl = 0; gl < ghostLogos.length; gl++) {
|
| 802 |
+
ghostLogos[gl].remove();
|
| 803 |
+
}
|
| 804 |
+
|
| 805 |
// 1.5 Suppress and purge floating Play / Shuffle buttons from catalog/library views
|
| 806 |
var strayPlayBtns = document.querySelectorAll(
|
| 807 |
':is(.view, .page, [data-role="page"], .libraryPage):not(#itemDetailPage):not(#videoOsdPage) :is(.btnPlay, .btnShuffle, button[data-action="playall"], button[data-action="shuffleall"], button[title*="Play all" i], button[title*="Shuffle all" i]), ' +
|