mirror of
https://github.com/fromchat-messenger/app.git
synced 2026-09-22 19:15:05 +03:00
93 lines
2.3 KiB
HTML
93 lines
2.3 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<title>FromChat installer welcome backdrop</title>
|
|
<style>
|
|
/* Exact tokens from dmg-background/styles.css */
|
|
:root {
|
|
--brand-conic: conic-gradient(
|
|
from 0deg,
|
|
rgba(147, 51, 234, 0.5) 0%,
|
|
rgba(99, 102, 241, 0.6) 12.5%,
|
|
rgba(59, 130, 246, 0.55) 25%,
|
|
rgba(168, 85, 247, 0.5) 37.5%,
|
|
rgba(217, 70, 239, 0.6) 50%,
|
|
rgba(236, 72, 153, 0.55) 62.5%,
|
|
rgba(192, 132, 252, 0.5) 75%,
|
|
rgba(126, 34, 206, 0.6) 87.5%,
|
|
rgba(147, 51, 234, 0.5) 100%
|
|
);
|
|
--surface: rgb(21, 18, 24);
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
background: transparent;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Installer window size */
|
|
#bg {
|
|
position: relative;
|
|
width: 480px;
|
|
height: 520px;
|
|
overflow: hidden;
|
|
background-color: var(--surface);
|
|
isolation: isolate;
|
|
}
|
|
|
|
/*
|
|
Same structure as DMG `.brand` + `.brand__logo-wrap::before`.
|
|
Title bar is 40px in the installer; DMG brand starts at 28px under Finder chrome.
|
|
*/
|
|
.brand {
|
|
position: absolute;
|
|
top: 68px; /* 40 title + 28 brand inset */
|
|
left: 0;
|
|
right: 0;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.brand__logo-wrap {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 68px;
|
|
overflow-x: clip;
|
|
}
|
|
|
|
/* Exact copy of dmg-background/styles.css `.brand__logo-wrap::before` */
|
|
.brand__logo-wrap::before {
|
|
content: "";
|
|
background: var(--brand-conic);
|
|
position: absolute;
|
|
width: 1200px;
|
|
height: 1200px;
|
|
bottom: -180px;
|
|
opacity: 0.48;
|
|
left: calc(50% - 600px);
|
|
border-radius: 50%;
|
|
filter: blur(80px);
|
|
pointer-events: none;
|
|
z-index: 0;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="bg"></div>
|
|
<script>
|
|
// Mount brand glow the same way as the DMG markup.
|
|
const bg = document.getElementById("bg");
|
|
bg.innerHTML =
|
|
'<header class="brand"><div class="brand__logo-wrap"></div></header>';
|
|
</script>
|
|
</body>
|
|
</html>
|