forked from baron/baron-sso
모바일 로그인 창 랜더링 조건 변경
This commit is contained in:
@@ -31,8 +31,88 @@
|
||||
|
||||
<title>Baron 로그인</title>
|
||||
<link rel="manifest" href="manifest.json" />
|
||||
<style>
|
||||
html,
|
||||
body {
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
background: #f8fafc;
|
||||
color: #111827;
|
||||
font-family:
|
||||
Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
|
||||
"Segoe UI", sans-serif;
|
||||
}
|
||||
|
||||
#baron-bootstrap-shell {
|
||||
align-items: center;
|
||||
background:
|
||||
linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(241, 245, 249, 0.98));
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 24px;
|
||||
inset: 0;
|
||||
justify-content: center;
|
||||
min-height: 100%;
|
||||
padding: 32px;
|
||||
pointer-events: none;
|
||||
position: fixed;
|
||||
text-align: center;
|
||||
transition: opacity 180ms ease;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
body.flutter-ready #baron-bootstrap-shell {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
#baron-bootstrap-shell h1 {
|
||||
font-size: clamp(36px, 10vw, 72px);
|
||||
font-weight: 800;
|
||||
line-height: 1.05;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#baron-bootstrap-shell p {
|
||||
color: #475569;
|
||||
font-size: clamp(16px, 4vw, 24px);
|
||||
font-weight: 600;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#baron-bootstrap-shell .loader {
|
||||
animation: baron-spin 880ms linear infinite;
|
||||
border: 5px solid #cbd5e1;
|
||||
border-top-color: #1e40af;
|
||||
border-radius: 50%;
|
||||
height: 48px;
|
||||
width: 48px;
|
||||
}
|
||||
|
||||
@keyframes baron-spin {
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<main id="baron-bootstrap-shell" aria-live="polite">
|
||||
<h1>Baron SW Portal</h1>
|
||||
<div class="loader" aria-hidden="true"></div>
|
||||
<p>Loading sign-in</p>
|
||||
</main>
|
||||
<script>
|
||||
window.addEventListener("flutter-first-frame", function () {
|
||||
document.body.classList.add("flutter-ready");
|
||||
window.setTimeout(function () {
|
||||
document.getElementById("baron-bootstrap-shell")?.remove();
|
||||
}, 220);
|
||||
});
|
||||
</script>
|
||||
<script src="flutter_bootstrap.js" async></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user