mirror of
https://github.com/lscambo13/ElegantFin.git
synced 2025-09-18 12:40:16 +00:00
Fix: Various adjustments made to the login screen
- Fixed vertical alignment of login dialog by removing forced margins - Fixed unnecessary page overflow and scroll - Fixed user cards becoming too small in certain cases - Background is slightly darker now - Removed redundant media queries
This commit is contained in:
@@ -47,6 +47,7 @@
|
|||||||
--defaultLighterBorder: var(--borderWidth) solid var(--lighterBorderColor);
|
--defaultLighterBorder: var(--borderWidth) solid var(--lighterBorderColor);
|
||||||
|
|
||||||
/* login page customizations */
|
/* login page customizations */
|
||||||
|
/* --loginPageBgUrl: url("<YOUR-JELLYFIN-SERVER-ADDRESS>/Branding/Splashscreen?format=webp&foregroundLayer=1&quality=33&width=3840&height=2160&blur=2"); */
|
||||||
--loginPageBgUrl: url("");
|
--loginPageBgUrl: url("");
|
||||||
--loginPageText: "Sign in to continue";
|
--loginPageText: "Sign in to continue";
|
||||||
|
|
||||||
@@ -2105,65 +2106,27 @@ ul.MuiList-root.MuiMenu-list.MuiList-dense>div:first-child {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#loginPage {
|
#loginPage {
|
||||||
padding-top: 20em !important;
|
display: flex;
|
||||||
}
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
@media (max-height: 890px) {
|
min-height: 100vh;
|
||||||
#loginPage {
|
padding: 1em;
|
||||||
padding-top: 6.5em !important;
|
overflow-y: auto;
|
||||||
}
|
background:linear-gradient(to bottom, var(--darkerGradientPointAlpha), var(--lighterGradientPoint)), var(--loginPageBgUrl);
|
||||||
}
|
background-size: cover;
|
||||||
|
background-position: center;
|
||||||
@media (max-height: 1300px) {
|
background-repeat: no-repeat;
|
||||||
#loginPage:has(.padded-left.padded-right.padded-bottom-page .visualLoginForm:not(.hide)) {
|
box-sizing: border-box;
|
||||||
padding-top: 6.5em !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#loginPage .readOnlyContent {
|
|
||||||
margin: .5em auto 0em !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#loginPage .padded-left.padded-right.padded-bottom-page {
|
#loginPage .padded-left.padded-right.padded-bottom-page {
|
||||||
margin: 2em auto 0;
|
|
||||||
width: 28em;
|
width: 28em;
|
||||||
background: rgba(30, 40, 54, 0.7);
|
background: rgba(30, 40, 54, 0.7);
|
||||||
padding: 2em 2em 1em 2em !important;
|
padding: 2em 2em 1em 2em !important;
|
||||||
border-radius: var(--largerRadius);
|
border-radius: var(--largerRadius);
|
||||||
backdrop-filter: var(--blurDefault);
|
backdrop-filter: var(--blurDefault);
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
transform: translateY(3em);
|
||||||
|
|
||||||
#loginPage .padded-left.padded-right.padded-bottom-page:has(.visualLoginForm:not(.hide)) {
|
|
||||||
width: 80em;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 640px) {
|
|
||||||
#loginPage .padded-left.padded-right.padded-bottom-page {
|
|
||||||
width: 100%;
|
|
||||||
margin: 2em;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 1300px) {
|
|
||||||
#loginPage .padded-left.padded-right.padded-bottom-page:has(.visualLoginForm:not(.hide)) {
|
|
||||||
width: 100%;
|
|
||||||
margin: 2em;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#loginPage {
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: flex-start;
|
|
||||||
min-height: 100vh;
|
|
||||||
padding: 2em 0;
|
|
||||||
overflow-y: auto;
|
|
||||||
background:
|
|
||||||
var(--loginPageBgUrl, linear-gradient(to bottom, var(--darkerGradientPointAlpha), var(--lighterGradientPoint)));
|
|
||||||
background-size: cover;
|
|
||||||
background-position: center;
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.manualLoginForm .sectionTitle,
|
.manualLoginForm .sectionTitle,
|
||||||
@@ -2171,6 +2134,18 @@ ul.MuiList-root.MuiMenu-list.MuiList-dense>div:first-child {
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#loginPage .padded-left.padded-right.padded-bottom-page:has(.visualLoginForm:not(.hide)) {
|
||||||
|
width: 40em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#divUsers .squareCard{
|
||||||
|
width: 30% !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.layout-mobile #divUsers .squareCard{
|
||||||
|
width: 45% !important;
|
||||||
|
}
|
||||||
|
|
||||||
.manualLoginForm::before,
|
.manualLoginForm::before,
|
||||||
.visualLoginForm::before {
|
.visualLoginForm::before {
|
||||||
content: var(--loginPageText);
|
content: var(--loginPageText);
|
||||||
|
Reference in New Issue
Block a user