dev: simplified some selectors

This commit is contained in:
lscambo13
2025-12-28 22:13:59 +05:30
parent 6a11b9cb60
commit 8f27df07bc

View File

@@ -3749,12 +3749,12 @@ ul.MuiList-root.MuiMenu-list.MuiList-dense > div:first-child {
padding: 0; padding: 0;
} }
.headerTabs.sectionTabs { .sectionTabs {
display: grid; display: grid;
height: var(--appBarHeight); height: var(--appBarHeight);
} }
.layout-mobile .headerTabs.sectionTabs { .layout-mobile .sectionTabs {
align-content: center; align-content: center;
} }
@@ -3800,7 +3800,7 @@ ul.MuiList-root.MuiMenu-list.MuiList-dense > div:first-child {
padding: 0 0.5em; padding: 0 0.5em;
} }
/* this prevents the section tabs from hiding all the way up */ /* this prevents the section tabs from hiding all the way up on phones (not-tablets)*/
.headroom--unpinned { .headroom--unpinned {
-webkit-transform: translateY(calc(-1 * var(--appBarHeight) - var(--borderWidth))); -webkit-transform: translateY(calc(-1 * var(--appBarHeight) - var(--borderWidth)));
transform: translateY(calc(-1 * var(--appBarHeight) - var(--borderWidth))); transform: translateY(calc(-1 * var(--appBarHeight) - var(--borderWidth)));
@@ -3832,7 +3832,7 @@ ul.MuiList-root.MuiMenu-list.MuiList-dense > div:first-child {
margin-right: 2em; margin-right: 2em;
} }
.headerTabs.sectionTabs .emby-tab-button { .sectionTabs .emby-tab-button {
display: inline-flex; display: inline-flex;
margin: 0.25em 0.5em; margin: 0.25em 0.5em;
padding: 0 1.25em; padding: 0 1.25em;
@@ -3843,7 +3843,7 @@ ul.MuiList-root.MuiMenu-list.MuiList-dense > div:first-child {
background-color: var(--darkerGradientPointAlpha); background-color: var(--darkerGradientPointAlpha);
} }
.headerTabs.sectionTabs .emby-tab-button-active { .sectionTabs .emby-tab-button-active {
margin: 0.25em 0.5em; margin: 0.25em 0.5em;
color: black; color: black;
background-color: var(--textColor); background-color: var(--textColor);
@@ -3928,22 +3928,13 @@ ul.MuiList-root.MuiMenu-list.MuiList-dense > div:first-child {
z-index: -1; z-index: -1;
} }
.layout-mobile .headerTop { .sectionTabs {
height: calc(var(--appBarHeight) - 1em);
}
.headerTabs.sectionTabs {
padding-bottom: 1.5em; padding-bottom: 1.5em;
} }
.layout-mobile .headerTabs.sectionTabs { .layout-mobile .sectionTabs {
align-content: center; align-content: center;
} }
.headroom--unpinned {
-webkit-transform: translateY(calc(-0.75 * var(--appBarHeight) - var(--borderWidth)));
transform: translateY(calc(-0.75 * var(--appBarHeight) - var(--borderWidth)));
}
} }
.nowPlayingPage { .nowPlayingPage {