mirror of
https://github.com/Awuqing/BackupX.git
synced 2026-05-31 21:49:50 +08:00
153 lines
3.0 KiB
CSS
153 lines
3.0 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
|
|
|
|
:root {
|
|
color: #1d2129;
|
|
background: #f2f3f5;
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html,
|
|
body,
|
|
#root {
|
|
margin: 0;
|
|
min-height: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
body {
|
|
min-width: 1280px;
|
|
}
|
|
|
|
/* ---- Card Overrides ---- */
|
|
.arco-card {
|
|
border: none !important;
|
|
box-shadow: 0 4px 10px rgba(0,0,0,0.03) !important;
|
|
}
|
|
|
|
/* ---- Login ---- */
|
|
.login-shell {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 24px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.login-bg {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: linear-gradient(135deg, #111a2c 0%, #1f2d47 100%);
|
|
z-index: 0;
|
|
}
|
|
|
|
.login-bg::before {
|
|
content: '';
|
|
position: absolute;
|
|
width: 800px;
|
|
height: 800px;
|
|
border-radius: 50%;
|
|
background: radial-gradient(circle, rgba(52,145,250,0.08) 0%, transparent 70%);
|
|
top: -300px;
|
|
right: -200px;
|
|
}
|
|
|
|
.login-bg::after {
|
|
content: '';
|
|
position: absolute;
|
|
width: 600px;
|
|
height: 600px;
|
|
border-radius: 50%;
|
|
background: radial-gradient(circle, rgba(114,46,209,0.06) 0%, transparent 70%);
|
|
bottom: -200px;
|
|
left: -100px;
|
|
}
|
|
|
|
.login-container {
|
|
display: flex;
|
|
width: 1000px;
|
|
max-width: 90vw;
|
|
min-height: 560px;
|
|
background: var(--color-bg-2);
|
|
border-radius: 20px;
|
|
overflow: hidden;
|
|
box-shadow: 0 20px 60px rgba(0,0,0,0.4);
|
|
z-index: 1;
|
|
animation: slideUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
}
|
|
|
|
.login-banner {
|
|
flex: 1;
|
|
background: linear-gradient(135deg, var(--color-primary-6, #165dff) 0%, var(--color-primary-8, #0e42d2) 100%);
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.login-banner-inner {
|
|
position: relative;
|
|
z-index: 2;
|
|
text-align: center;
|
|
padding: 40px;
|
|
}
|
|
|
|
.login-form-wrapper {
|
|
width: 440px;
|
|
padding: 64px 48px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
background: var(--color-bg-2);
|
|
}
|
|
|
|
@keyframes slideUp {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(30px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
/* ---- Full Page Shell ---- */
|
|
.full-page-shell {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 24px;
|
|
}
|
|
|
|
/* ---- Log Viewer ---- */
|
|
.log-viewer {
|
|
max-height: 420px;
|
|
overflow: auto;
|
|
padding: 12px;
|
|
border-radius: 8px;
|
|
border: 1px solid var(--color-border-2);
|
|
background: var(--color-bg-2); /* adapted for theme */
|
|
color: var(--color-text-1);
|
|
white-space: pre-wrap;
|
|
font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.code-block {
|
|
padding: 16px;
|
|
border-radius: 8px;
|
|
background: var(--color-bg-2);
|
|
border: 1px solid var(--color-border-2);
|
|
color: var(--color-text-1);
|
|
white-space: pre-wrap;
|
|
font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
|
|
}
|