Skip to content

Commit 83036f8

Browse files
authored
Update Code for Header and Cleanup Alignments
1 parent 9be8aeb commit 83036f8

1 file changed

Lines changed: 83 additions & 9 deletions

File tree

zombie-min-git.css

Lines changed: 83 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
@import url(https://cdn.jsdelivr.net/gh/CTalvio/Ultrachromic/header/header_transparent.css);
21
@import url(https://cdn.jsdelivr.net/gh/gryffyn/Jellyfin-Icons@main/Font%20Awesome/regular.css);
32
@import url(https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap);
43
body,
@@ -166,6 +165,11 @@ imgLogoIcon {
166165
.layout-desktop .btnShuffle,
167166
.layout-desktop .detailImageContainer .card,
168167
.layout-desktop .listViewUserDataButtons,
168+
.layout-desktop .material-icons.detailButton-icon.check,
169+
.layout-desktop .material-icons.detailButton-icon.favorite,
170+
.layout-desktop .material-icons.detailButton-icon.more_vert,
171+
.layout-desktop .material-icons.detailButton-icon.replay,
172+
.layout-desktop .material-icons.detailButton-icon.theaters,
169173
.layout-mobile .btnShuffle,
170174
.layout-mobile .headerHomeButton,
171175
.layout-mobile .headerSyncButton,
@@ -188,6 +192,10 @@ button.emby-tab-button:nth-child(5) {
188192
margin-bottom: -2px;
189193
margin-top: 0;
190194
}
195+
.layout-mobile .sectionTitleTextButton > .material-icons {
196+
margin-bottom: 0;
197+
padding-top: 0;
198+
}
191199
#indexPage .sectionTitle {
192200
align-items: center;
193201
color: #fff;
@@ -325,6 +333,18 @@ button.emby-tab-button:nth-child(5) {
325333
.layout-desktop #scenesContent .card.itemAction.chapterCard {
326334
width: 27.1em !important;
327335
}
336+
.layout-desktop .btnMoreCommands::after,
337+
.layout-desktop .btnPlay::after,
338+
.layout-desktop .btnPlayTrailer::after,
339+
.layout-desktop .btnPlaystate::after,
340+
.layout-desktop .btnReplay::after,
341+
.layout-desktop .btnUserRating::after,
342+
.layout-desktop .btntheaters::after {
343+
content: attr(title);
344+
}
345+
.layout-desktop .mainDetailButtons {
346+
width: auto;
347+
}
328348
.chapterCard .innerCardFooter {
329349
background: rgba(var(--dark), 0.5);
330350
color: rgba(var(--accent), 0.9);
@@ -1510,14 +1530,6 @@ fieldset {
15101530
.layout-mobile .overview-expand {
15111531
padding: 0 1em 0.3em;
15121532
}
1513-
.layout-mobile .mainDetailButtons {
1514-
margin-top: 1.5em;
1515-
}
1516-
.layout-mobile .btnPlay {
1517-
background-color: rgb(var(--white));
1518-
margin-right: 2.7em !important;
1519-
border-radius: 2em !important;
1520-
}
15211533
.layout-mobile .btnPlay::after {
15221534
content: attr(title);
15231535
margin: 0 10px 0 2px;
@@ -1532,6 +1544,11 @@ fieldset {
15321544
padding: 0.55em 0.45em;
15331545
text-align: justify;
15341546
}
1547+
.layout-mobile .btnPlay {
1548+
background-color: rgb(var(--white));
1549+
margin-right: 2.7em !important;
1550+
border-radius: 2em !important;
1551+
}
15351552
.layout-mobile .listItem-content .listItemBody {
15361553
left: 110px;
15371554
position: relative;
@@ -2011,3 +2028,60 @@ fieldset {
20112028
color: rgba(var(--accent), 1) !important;
20122029
text-shadow: none !important;
20132030
}
2031+
:focus-visible {
2032+
outline: 0;
2033+
}
2034+
.layout-mobile .pageTitleWithLogo {
2035+
height: 40px;
2036+
}
2037+
.pageTitleWithLogo {
2038+
height: 50px;
2039+
}
2040+
@media all and (min-width: 100em) {
2041+
#indexPage,
2042+
#moviesPage,
2043+
#musicRecommendedPage,
2044+
#tvRecommendedPage {
2045+
margin-top: 68px;
2046+
padding-top: 0 !important;
2047+
overflow-y: scroll;
2048+
}
2049+
}
2050+
@media all and (max-width: 100em) {
2051+
#indexPage,
2052+
#moviesPage,
2053+
#musicRecommendedPage,
2054+
#tvRecommendedPage {
2055+
margin-top: 130px;
2056+
padding-top: 0.5em !important;
2057+
overflow-y: scroll;
2058+
}
2059+
}
2060+
.force-scroll {
2061+
overflow-y: auto;
2062+
overflow-x: auto;
2063+
}
2064+
skinHeader {
2065+
background: 0 0 !important;
2066+
position: static;
2067+
}
2068+
.layout-desktop,
2069+
.layout-mobile {
2070+
flex-direction: column;
2071+
flex-wrap: nowrap;
2072+
overflow: hidden !important;
2073+
}
2074+
div[data-role="page"].page {
2075+
position: absolute;
2076+
overflow: hidden visible;
2077+
mask-image: linear-gradient(to top, black 1em calc(100% - 2em), transparent);
2078+
-webkit-mask-image: linear-gradient(
2079+
to top,
2080+
black 1em calc(100% - 2em),
2081+
transparent
2082+
);
2083+
padding: 0 !important;
2084+
}
2085+
#childrenCollapsible .padded-right {
2086+
padding-right: 38%;
2087+
}

0 commit comments

Comments
 (0)