feat: integrate platform backend and application interfaces
This commit is contained in:
@@ -1,26 +1,57 @@
|
||||
.loginWrapper {
|
||||
height: 100vh;
|
||||
min-height: 100dvh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background-size: cover;
|
||||
background-position: 100%;
|
||||
background-position: center;
|
||||
background-image: url('../../assets/image/admin-login-background.webp');
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
position: relative;
|
||||
&::before,
|
||||
&::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
pointer-events: none;
|
||||
z-index: 0;
|
||||
}
|
||||
// The supplied artwork already provides the visual structure; keep the
|
||||
// legacy geometric decorations from competing with its focal subject.
|
||||
&::before,
|
||||
&::after { display: none; }
|
||||
&.dark {
|
||||
background-color: var(--td-bg-color-page);
|
||||
background-image: url('assets/image/assets-login-bg-black.png');
|
||||
background-image: linear-gradient(rgba(14, 27, 52, 0.72), rgba(14, 27, 52, 0.72)), url('../../assets/image/admin-login-background.webp');
|
||||
&::before { border-color: rgba(111, 146, 255, 0.22); background: rgba(111, 146, 255, 0.08); }
|
||||
&::after { border-color: rgba(102, 212, 174, 0.18); }
|
||||
}
|
||||
&.light {
|
||||
background-color: white;
|
||||
background-image: url('assets/image/assets-login-bg-white.png');
|
||||
background-color: #f7f9fc;
|
||||
background-image: url('../../assets/image/admin-login-background.webp');
|
||||
&::before { border-color: rgba(54, 91, 220, 0.14); background: rgba(54, 91, 220, 0.045); }
|
||||
&::after { border-color: rgba(35, 161, 125, 0.12); }
|
||||
}
|
||||
&::before { width: 58vw; height: 58vw; right: -20vw; top: -25vw; border: 1px solid; border-radius: 34%; transform: rotate(24deg); }
|
||||
&::after { width: 34vw; height: 34vw; right: 12vw; bottom: -21vw; border: 1px solid; border-radius: 50%; }
|
||||
}
|
||||
|
||||
.loginContainer {
|
||||
.loginContent {
|
||||
position: absolute;
|
||||
top: 22%;
|
||||
left: 5%;
|
||||
min-height: 500px;
|
||||
width: min(400px, calc(100vw - 10%));
|
||||
min-height: 0;
|
||||
line-height: 22px;
|
||||
z-index: 1;
|
||||
/* 仅负责定位;登录页主体直接落在背景图左侧,不创建卡片层。 */
|
||||
background: none;
|
||||
border: 0;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.titleContainer {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.title {
|
||||
@@ -33,6 +64,7 @@
|
||||
|
||||
.subTitle {
|
||||
margin-top: 16px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.tip {
|
||||
@@ -58,6 +90,34 @@
|
||||
left: 5%;
|
||||
bottom: 64px;
|
||||
color: var(--td-text-color-secondary);
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 700px) {
|
||||
.loginWrapper {
|
||||
height: 100dvh;
|
||||
min-height: 100dvh;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
// Keep the desktop left-side composition; the artwork remains a full-page
|
||||
// background and the form stays directly on its quiet left half.
|
||||
background-position: left center;
|
||||
background-size: auto 100%;
|
||||
background-attachment: initial;
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 30px;
|
||||
line-height: 38px;
|
||||
}
|
||||
|
||||
.copyright {
|
||||
right: auto;
|
||||
bottom: 64px;
|
||||
left: 5%;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media screen and (max-height: 762px) {
|
||||
|
||||
Reference in New Issue
Block a user