folk-canvas/demo/chains-of-thought/index.html

65 lines
1.3 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Chains of Thought</title>
<style>
* {
box-sizing: border-box;
}
html {
height: 100%;
}
body {
height: 100%;
position: relative;
margin: 0;
}
main {
height: 100%;
width: 100%;
}
spatial-connection {
display: block;
position: absolute;
inset: 0 0 0 0;
}
spatial-geometry {
border-radius: 7px;
&::part(rotate),
&::part(resize-nw),
&::part(resize-ne),
&::part(resize-se),
&::part(resize-sw) {
display: none;
}
spatial-thought {
display: block;
width: 100%;
height: 100%;
background-color: white;
border: solid 1px light-dark(rgb(118, 118, 118), rgb(133, 133, 133));
padding: 0.5em 0.25em;
text-align: center;
border-radius: 6px;
}
}
</style>
</head>
<body>
<button name="open">Open</button>
<button name="save">Save</button>
<button name="save-as">Save As</button>
<main></main>
<script type="module" src="./main.ts"></script>
</body>
</html>