mirror of
https://github.com/lscambo13/ElegantFin.git
synced 2025-09-18 12:40:16 +00:00
dev: Code cleanup
This commit is contained in:
@@ -4,10 +4,8 @@
|
|||||||
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
|
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
/* outline: 0px dotted red !important; */
|
|
||||||
--darkerGradientPoint: #111827;
|
--darkerGradientPoint: #111827;
|
||||||
--lighterGradientPoint: #1d2635;
|
--lighterGradientPoint: #1d2635;
|
||||||
/* --borderColor: rgba(75, 85, 99, 0.9); */
|
|
||||||
--borderColor: rgb(71, 80, 92);
|
--borderColor: rgb(71, 80, 92);
|
||||||
--headerColor: rgba(30, 40, 54, 0.8);
|
--headerColor: rgba(30, 40, 54, 0.8);
|
||||||
--drawerColor: rgba(30, 40, 54, 0.9);
|
--drawerColor: rgba(30, 40, 54, 0.9);
|
||||||
@@ -21,10 +19,6 @@
|
|||||||
--hoverGradient: linear-gradient(130deg, rgb(255 255 255 / 20%) 20%, rgb(255 255 255 / 10%) 40%);
|
--hoverGradient: linear-gradient(130deg, rgb(255 255 255 / 20%) 20%, rgb(255 255 255 / 10%) 40%);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* html {
|
|
||||||
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
|
|
||||||
} */
|
|
||||||
|
|
||||||
html {
|
html {
|
||||||
font-family: "Inter", serif;
|
font-family: "Inter", serif;
|
||||||
font-optical-sizing: auto;
|
font-optical-sizing: auto;
|
||||||
@@ -34,16 +28,10 @@ html {
|
|||||||
|
|
||||||
.dashboardFooter::after {
|
.dashboardFooter::after {
|
||||||
content: "ElegantFin Nightly";
|
content: "ElegantFin Nightly";
|
||||||
/* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */
|
|
||||||
font-size: .6em;
|
font-size: .6em;
|
||||||
opacity: .5;
|
opacity: .5;
|
||||||
}
|
}
|
||||||
|
|
||||||
.itemsContainer,
|
|
||||||
.vertical-list {
|
|
||||||
/* gap: .75em; */
|
|
||||||
}
|
|
||||||
|
|
||||||
.card {
|
.card {
|
||||||
padding: .375em;
|
padding: .375em;
|
||||||
}
|
}
|
||||||
@@ -59,7 +47,6 @@ html {
|
|||||||
.emby-button.show-focus:focus {
|
.emby-button.show-focus:focus {
|
||||||
background: #2f3a53;
|
background: #2f3a53;
|
||||||
border-radius: .5em;
|
border-radius: .5em;
|
||||||
/* border: solid white .1em; */
|
|
||||||
outline: .1em rgb(255 255 255) solid !important;
|
outline: .1em rgb(255 255 255) solid !important;
|
||||||
outline-offset: -.1em;
|
outline-offset: -.1em;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
@@ -78,16 +65,6 @@ html {
|
|||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* .pageTabContent .vertical-wrap {
|
|
||||||
justify-content: space-evenly !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.vertical-wrap,
|
|
||||||
.sectionTitleContainer~.vertical-wrap,
|
|
||||||
.sectionTitle~.vertical-wrap {
|
|
||||||
justify-content: flex-start !important;
|
|
||||||
} */
|
|
||||||
|
|
||||||
.vertical-wrap:not(.centered) {
|
.vertical-wrap:not(.centered) {
|
||||||
justify-content: flex-start !important;
|
justify-content: flex-start !important;
|
||||||
}
|
}
|
||||||
@@ -111,11 +88,6 @@ html {
|
|||||||
transition: 125ms transform;
|
transition: 125ms transform;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card:hover .cardScalable {
|
|
||||||
/* transform: translateY(-4px); */
|
|
||||||
/* box-shadow: rgba(0, 0, 0, 0.5) 0px 4px 4px 0px; */
|
|
||||||
}
|
|
||||||
|
|
||||||
.cardImageContainer {
|
.cardImageContainer {
|
||||||
border-radius: 1em !important
|
border-radius: 1em !important
|
||||||
}
|
}
|
||||||
@@ -142,7 +114,6 @@ html {
|
|||||||
.portraitCard,
|
.portraitCard,
|
||||||
.smallBackdropCard,
|
.smallBackdropCard,
|
||||||
.squareCard {
|
.squareCard {
|
||||||
/* width: 33.3333333333% !important; */
|
|
||||||
width: 30% !important;
|
width: 30% !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -151,7 +122,6 @@ html {
|
|||||||
|
|
||||||
.portraitCard,
|
.portraitCard,
|
||||||
.squareCard {
|
.squareCard {
|
||||||
/* width: 25% !important; */
|
|
||||||
width: 23% !important;
|
width: 23% !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -160,21 +130,18 @@ html {
|
|||||||
|
|
||||||
.portraitCard,
|
.portraitCard,
|
||||||
.squareCard {
|
.squareCard {
|
||||||
/* width: 20% !important; */
|
|
||||||
width: 23% !important;
|
width: 23% !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 25em) {
|
@media (min-width: 25em) {
|
||||||
.backdropCard {
|
.backdropCard {
|
||||||
/* width: 50%; */
|
|
||||||
width: 49%;
|
width: 49%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 48.125em) {
|
@media (min-width: 48.125em) {
|
||||||
.backdropCard {
|
.backdropCard {
|
||||||
/* width: 33.3333333333%; */
|
|
||||||
width: 32%;
|
width: 32%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -210,16 +177,6 @@ h1 {
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* display sync button when not on home screen */
|
|
||||||
.skinHeader:not(.noHomeButtonHeader) .headerSyncButton {
|
|
||||||
/* display: block; */
|
|
||||||
}
|
|
||||||
|
|
||||||
/* hide search button when not on home screen */
|
|
||||||
.skinHeader:not(.noHomeButtonHeader) .headerSearchButton {
|
|
||||||
/* display: none; */
|
|
||||||
}
|
|
||||||
|
|
||||||
.pageTitle {
|
.pageTitle {
|
||||||
height: 1.5em;
|
height: 1.5em;
|
||||||
}
|
}
|
||||||
@@ -277,12 +234,6 @@ h1 {
|
|||||||
margin-top: 3.5rem;
|
margin-top: 3.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* @media (max-width: 62.5em) {
|
|
||||||
.layout-desktop .itemBackdrop {
|
|
||||||
height: 5vh;
|
|
||||||
}
|
|
||||||
} */
|
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
font-size: 1.25em;
|
font-size: 1.25em;
|
||||||
}
|
}
|
||||||
@@ -294,7 +245,6 @@ h2 {
|
|||||||
|
|
||||||
.tagline {
|
.tagline {
|
||||||
font-size: 1.3em;
|
font-size: 1.3em;
|
||||||
/* font-style: italic; */
|
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
@@ -363,7 +313,6 @@ html {
|
|||||||
|
|
||||||
.btnPlay {
|
.btnPlay {
|
||||||
background-color: rgba(255, 255, 255, 0.05);
|
background-color: rgba(255, 255, 255, 0.05);
|
||||||
/* border-radius: .5em 0em 0em .5em; */
|
|
||||||
border: solid var(--lighterBorderColor) 1px;
|
border: solid var(--lighterBorderColor) 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -380,14 +329,10 @@ html {
|
|||||||
|
|
||||||
.searchfields-icon {
|
.searchfields-icon {
|
||||||
padding: .25em;
|
padding: .25em;
|
||||||
/* margin: 0 !important; */
|
|
||||||
margin-left: -1.75em;
|
margin-left: -1.75em;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
border-radius: 1em;
|
border-radius: 1em;
|
||||||
color: rgba(255, 255, 255, 0.5);
|
color: rgba(255, 255, 255, 0.5);
|
||||||
/* background-color: rgba(255, 255, 255, 0.05); */
|
|
||||||
/* border-radius: .5em 0em 0em .5em; */
|
|
||||||
/* border: solid var(--lighterBorderColor) 1px;*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.searchfields-icon:hover,
|
.searchfields-icon:hover,
|
||||||
@@ -411,6 +356,7 @@ html {
|
|||||||
|
|
||||||
.btnPlay>.detailButton-content {
|
.btnPlay>.detailButton-content {
|
||||||
-webkit-align-items: unset;
|
-webkit-align-items: unset;
|
||||||
|
align-items: unset;
|
||||||
display: -webkit-flex;
|
display: -webkit-flex;
|
||||||
display: flex;
|
display: flex;
|
||||||
-webkit-flex-direction: unset;
|
-webkit-flex-direction: unset;
|
||||||
@@ -427,19 +373,6 @@ html {
|
|||||||
content: "Play";
|
content: "Play";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
.btnMoreCommands{
|
|
||||||
border-radius: 0em .5em .5em 0em;
|
|
||||||
border: solid var(--lighterBorderColor) 1px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.btnUserRating,.btnCancelSeriesTimer,.btnShuffle,.btnInstantMix,.btnPlayTrailer,.btnPlaystate,.btnReplay{
|
|
||||||
border-radius: 0em 0em 0em 0em;
|
|
||||||
border: solid var(--lighterBorderColor) 1px;
|
|
||||||
} */
|
|
||||||
|
|
||||||
|
|
||||||
.mainDrawer,
|
.mainDrawer,
|
||||||
.drawer-open {
|
.drawer-open {
|
||||||
background-color: var(--drawerColor);
|
background-color: var(--drawerColor);
|
||||||
@@ -498,12 +431,6 @@ html {
|
|||||||
text-align: end;
|
text-align: end;
|
||||||
}
|
}
|
||||||
|
|
||||||
.genresGroup,
|
|
||||||
.directorsGroup,
|
|
||||||
.writersGroup {
|
|
||||||
/* border-bottom: solid var(--borderColor) 1px; */
|
|
||||||
}
|
|
||||||
|
|
||||||
.itemTags,
|
.itemTags,
|
||||||
.itemTags>a {
|
.itemTags>a {
|
||||||
display: none;
|
display: none;
|
||||||
@@ -522,7 +449,6 @@ html {
|
|||||||
.innerCardFooter,
|
.innerCardFooter,
|
||||||
.chapterThumbTextContainer {
|
.chapterThumbTextContainer {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
/* display: flex; */
|
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
text-shadow: 1px 1px 0px black;
|
text-shadow: 1px 1px 0px black;
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
@@ -533,7 +459,6 @@ html {
|
|||||||
width: unset;
|
width: unset;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.dialogContainer {
|
.dialogContainer {
|
||||||
margin: .33em;
|
margin: .33em;
|
||||||
}
|
}
|
||||||
@@ -573,11 +498,6 @@ html {
|
|||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* .emby-checkbox:checked+span+.checkboxOutline {
|
|
||||||
background-color: var(--checkboxCheckedBgColor);
|
|
||||||
border-color: var(--checkboxCheckedBgColor);
|
|
||||||
} */
|
|
||||||
|
|
||||||
.emby-checkbox:checked+span+.checkboxOutline {
|
.emby-checkbox:checked+span+.checkboxOutline {
|
||||||
border-radius: .375em !important;
|
border-radius: .375em !important;
|
||||||
box-shadow: inset 0em 7em 10em 20px rgba(0, 0, 0, 0.8);
|
box-shadow: inset 0em 7em 10em 20px rgba(0, 0, 0, 0.8);
|
||||||
@@ -588,7 +508,6 @@ html {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.checkboxOutline {
|
.checkboxOutline {
|
||||||
/* background-color: rgb(255, 255, 255); */
|
|
||||||
top: unset;
|
top: unset;
|
||||||
height: 1.3em;
|
height: 1.3em;
|
||||||
width: 1.3em;
|
width: 1.3em;
|
||||||
@@ -603,7 +522,6 @@ html {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.cardText-first+.itemSelectionPanel>.checkboxContainer {
|
.cardText-first+.itemSelectionPanel>.checkboxContainer {
|
||||||
/* height: calc(100% - 3em); */
|
|
||||||
height: calc(100% - 1.75em);
|
height: calc(100% - 1.75em);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -616,7 +534,6 @@ html {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.cardText-secondary+.itemSelectionPanel>.checkboxContainer {
|
.cardText-secondary+.itemSelectionPanel>.checkboxContainer {
|
||||||
/* height: calc(100% - 3em); */
|
|
||||||
height: calc(100% - 3.125em);
|
height: calc(100% - 3.125em);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -625,7 +542,6 @@ html {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.cardScalable+.itemSelectionPanel>.checkboxContainer {
|
.cardScalable+.itemSelectionPanel>.checkboxContainer {
|
||||||
/* height: calc(100% - 3em); */
|
|
||||||
height: calc(100% - 0em);
|
height: calc(100% - 0em);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -638,14 +554,12 @@ html {
|
|||||||
|
|
||||||
.cardIndicators {
|
.cardIndicators {
|
||||||
-webkit-align-items: center;
|
-webkit-align-items: center;
|
||||||
/* padding: 1em; */
|
align-items: center;
|
||||||
top: .2em;
|
top: .2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.indicator {
|
.indicator {
|
||||||
/* background: rgb(146 146 146 / 20%); */
|
|
||||||
border: solid rgb(124 124 124 / 50%) 1px;
|
border: solid rgb(124 124 124 / 50%) 1px;
|
||||||
/* padding: .1em; */
|
|
||||||
border-radius: 100em;
|
border-radius: 100em;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -720,7 +634,6 @@ div[data-role=controlgroup] a.ui-btn-active {
|
|||||||
border-radius: 1em !important;
|
border-radius: 1em !important;
|
||||||
border: solid var(--borderColor) 1px !important;
|
border: solid var(--borderColor) 1px !important;
|
||||||
box-shadow: unset !important;
|
box-shadow: unset !important;
|
||||||
/* backdrop-filter: blur(5px); */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.paperList {
|
.paperList {
|
||||||
@@ -758,11 +671,9 @@ div[data-role=controlgroup] a.ui-btn-active {
|
|||||||
|
|
||||||
[dir=ltr] .navMenuOption {
|
[dir=ltr] .navMenuOption {
|
||||||
padding: .75em 1em !important;
|
padding: .75em 1em !important;
|
||||||
/* padding: 1.25em 0.25em 0.25em 1.5em !important; */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[dir=ltr] .listItem:not(.actionSheetMenuItem) {
|
[dir=ltr] .listItem:not(.actionSheetMenuItem) {
|
||||||
/* padding: .75em 1em !important; */
|
|
||||||
padding: 0.25em 0.25em 0.25em 1.5em !important;
|
padding: 0.25em 0.25em 0.25em 1.5em !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -808,7 +719,6 @@ div[data-role=controlgroup] a.ui-btn-active {
|
|||||||
|
|
||||||
.detailsGroupItem,
|
.detailsGroupItem,
|
||||||
.trackSelections .selectContainer {
|
.trackSelections .selectContainer {
|
||||||
/*flex-direction: column;*/
|
|
||||||
max-width: unset !important;
|
max-width: unset !important;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
@@ -892,7 +802,6 @@ div[data-role=controlgroup] a.ui-btn-active {
|
|||||||
.MuiAvatar-circular {
|
.MuiAvatar-circular {
|
||||||
width: 1.5em;
|
width: 1.5em;
|
||||||
height: 1.5em;
|
height: 1.5em;
|
||||||
/* margin-inline-end: .5em; */
|
|
||||||
border: solid var(--borderColor) 1px;
|
border: solid var(--borderColor) 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -984,6 +893,5 @@ div[data-role=controlgroup] a.ui-btn-active {
|
|||||||
|
|
||||||
[dir=ltr] .mediaInfoItem {
|
[dir=ltr] .mediaInfoItem {
|
||||||
transform: scale(.85);
|
transform: scale(.85);
|
||||||
/* scale: .85; */
|
|
||||||
margin: 0 .4em 0 0;
|
margin: 0 .4em 0 0;
|
||||||
}
|
}
|
Reference in New Issue
Block a user