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);
|
||||
|
||||
/* 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("");
|
||||
--loginPageText: "Sign in to continue";
|
||||
|
||||
@@ -2105,65 +2106,27 @@ ul.MuiList-root.MuiMenu-list.MuiList-dense>div:first-child {
|
||||
}
|
||||
|
||||
#loginPage {
|
||||
padding-top: 20em !important;
|
||||
}
|
||||
|
||||
@media (max-height: 890px) {
|
||||
#loginPage {
|
||||
padding-top: 6.5em !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-height: 1300px) {
|
||||
#loginPage:has(.padded-left.padded-right.padded-bottom-page .visualLoginForm:not(.hide)) {
|
||||
padding-top: 6.5em !important;
|
||||
}
|
||||
}
|
||||
|
||||
#loginPage .readOnlyContent {
|
||||
margin: .5em auto 0em !important;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
min-height: 100vh;
|
||||
padding: 1em;
|
||||
overflow-y: auto;
|
||||
background:linear-gradient(to bottom, var(--darkerGradientPointAlpha), var(--lighterGradientPoint)), var(--loginPageBgUrl);
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
#loginPage .padded-left.padded-right.padded-bottom-page {
|
||||
margin: 2em auto 0;
|
||||
width: 28em;
|
||||
background: rgba(30, 40, 54, 0.7);
|
||||
padding: 2em 2em 1em 2em !important;
|
||||
border-radius: var(--largerRadius);
|
||||
backdrop-filter: var(--blurDefault);
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
#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;
|
||||
transform: translateY(3em);
|
||||
}
|
||||
|
||||
.manualLoginForm .sectionTitle,
|
||||
@@ -2171,6 +2134,18 @@ ul.MuiList-root.MuiMenu-list.MuiList-dense>div:first-child {
|
||||
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,
|
||||
.visualLoginForm::before {
|
||||
content: var(--loginPageText);
|
||||
|
Reference in New Issue
Block a user