223 lines
4.7 KiB
CSS
223 lines
4.7 KiB
CSS
div#loginPage {
|
|
margin-top: 0 !important;
|
|
overflow: hidden scroll;
|
|
}
|
|
|
|
/*Hide the top bar when the login page is visible*/
|
|
body:has(#loginPage:not(.hide)) .skinHeader {
|
|
display: none !important;
|
|
}
|
|
|
|
/*Show the top bar when the login page is hidden or absent*/
|
|
body:not(:has(#loginPage:not(.hide))) .skinHeader {
|
|
display: flex !important;
|
|
}
|
|
|
|
/* Hide Forgot Password */
|
|
#loginPage .raised.cancel.block.btnForgotPassword.emby-button {
|
|
display: none;
|
|
}
|
|
|
|
#loginPage .readOnlyContent {
|
|
padding: 0 !important;
|
|
width: 90% !important;
|
|
}
|
|
|
|
#loginPage .padded-left.padded-right.padded-bottom-page {
|
|
background: #000000bf;
|
|
backdrop-filter: blur(3px);
|
|
transform: translate(-50%, -50%);
|
|
top: 50%;
|
|
left: 50%;
|
|
margin: 0;
|
|
position: absolute; /*fixed;*/
|
|
border-radius: 24px;
|
|
width: 30vw;
|
|
height: 74vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-wrap: nowrap;
|
|
align-content: center;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
padding: 3em 3em 1em 3em !important;
|
|
max-width: 28em;
|
|
max-height: 55em;
|
|
overflow-y: auto;
|
|
overflow: auto;
|
|
overscroll-behavior: contain;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
#loginPage .squareCard {
|
|
width: 23%;
|
|
}
|
|
|
|
.cardText {
|
|
overflow: hidden;
|
|
padding: .06em .0em;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.manualLoginForm {
|
|
height: 100%;
|
|
width: 90%;
|
|
}
|
|
|
|
/* Hintergrund */
|
|
#loginPage {
|
|
background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
|
|
url('/web/pictures/background-2.png');
|
|
position: fixed;
|
|
background-size: cover;
|
|
background-position: center;
|
|
background-attachment: fixed;
|
|
}
|
|
|
|
|
|
/* Neue Überschrift */
|
|
#loginPage h1::after {
|
|
content: "Anmelden";
|
|
font-size: 30px;
|
|
}
|
|
|
|
#loginPage h1 {
|
|
font-weight: 700;
|
|
font-size: 0;
|
|
margin-bottom: 20px;
|
|
margin-top: 30px !important;
|
|
text-align: center;
|
|
padding-top: 20px;
|
|
}
|
|
|
|
/*Logo verkleinern*/
|
|
#login-logo {
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
@media (max-width: 1050px) {
|
|
|
|
/* Login-Container */
|
|
#loginPage .padded-left.padded-right.padded-bottom-page {
|
|
width: 38vw;
|
|
max-width: 70%;
|
|
height: 80dvh;
|
|
height: 75lvh;
|
|
height: 80vh;
|
|
max-height: 80%;
|
|
padding: 2em 2em 0em 2em !important;
|
|
border-radius: 20px;
|
|
}
|
|
|
|
/* Schriftgröße der Überschrift */
|
|
#loginPage h1::after {
|
|
font-size: 28px;
|
|
}
|
|
|
|
/* Square Card */
|
|
#loginPage .squareCard {
|
|
width: 24%;
|
|
}
|
|
|
|
/* Verkleinern der Schriftgröße und Anpassung für andere Elemente */
|
|
#loginPage .readOnlyContent {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
/* Mobile Optimierungen für Tablet */
|
|
@media (max-width: 886px) {
|
|
@media (orientation: landscape) {
|
|
|
|
/* Login-Container */
|
|
#loginPage .padded-left.padded-right.padded-bottom-page {
|
|
width: 32vw;
|
|
max-width: 55%;
|
|
height: 90dvh;
|
|
height: 85lvh;
|
|
height: 90vh;
|
|
max-height: 90%;
|
|
padding: 2em 2em 0em 2em !important;
|
|
border-radius: 18px;
|
|
}
|
|
}
|
|
|
|
@media (orientation: portrait) {
|
|
|
|
/* Login-Container */
|
|
#loginPage .padded-left.padded-right.padded-bottom-page {
|
|
width: 50vw;
|
|
max-width: 75%;
|
|
height: 50dvh;
|
|
height: 45lvh;
|
|
height: 50vh;
|
|
max-height: 65%;
|
|
padding: 2em 2em 0em 2em !important;
|
|
border-radius: 18px;
|
|
}
|
|
|
|
}
|
|
|
|
/* Schriftgröße der Überschrift */
|
|
#loginPage h1::after {
|
|
font-size: 26px;
|
|
}
|
|
|
|
/* Square Card */
|
|
#loginPage .squareCard {
|
|
width: 24%;
|
|
}
|
|
|
|
/* Verkleinern der Schriftgröße und Anpassung für andere Elemente */
|
|
#loginPage .readOnlyContent {
|
|
width: 100%;
|
|
}
|
|
|
|
/* Login-Container */
|
|
.manualLoginForm {
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
}
|
|
|
|
/* Mobile Optimierungen für Smartphone*/
|
|
@media (max-width: 768px) {
|
|
|
|
/* Login-Container */
|
|
#loginPage .padded-left.padded-right.padded-bottom-page {
|
|
width: 80vw;
|
|
max-width: 90%;
|
|
height: 90dvh;
|
|
height: 85lvh;
|
|
height: 90vh;
|
|
max-height: 90%;
|
|
padding: 2em 2em 0em 2em !important;
|
|
border-radius: 16px;
|
|
}
|
|
|
|
/* Schriftgröße der Überschrift */
|
|
#loginPage h1::after {
|
|
font-size: 24px;
|
|
}
|
|
|
|
/* Square Card */
|
|
#loginPage .squareCard {
|
|
width: 24%;
|
|
/* 30% */
|
|
}
|
|
|
|
/* Verkleinern der Schriftgröße und Anpassung für andere Elemente */
|
|
#loginPage .readOnlyContent {
|
|
width: 100%;
|
|
}
|
|
|
|
/* Login-Container */
|
|
.manualLoginForm {
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
} |