- Add DesktopSandbox class that integrates timer, JSON, crypto, and VirtualFS APIs - Fix mouse coordinate handling: GLFW reports window coordinates, not physical pixels - Fix font path resolution to search multiple locations for test apps - Fix screenshot capture timing (capture before buffer swap) - Fix test app CSS: use border-width instead of border:none, add display:block - Fix test app Lua: add document nil checks, use HTML entities for symbols - Update hot_reload to reset sandbox state on reload Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
98 lines
1.5 KiB
Plaintext
98 lines
1.5 KiB
Plaintext
body {
|
|
font-family: LatoLatin;
|
|
font-size: 16dp;
|
|
background-color: #121212;
|
|
color: #ffffff;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.app-bar {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
height: 56dp;
|
|
background-color: #1e1e1e;
|
|
padding: 0 8dp;
|
|
}
|
|
|
|
.app-bar-nav {
|
|
width: 40dp;
|
|
height: 40dp;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 20dp;
|
|
}
|
|
|
|
.app-bar-nav:hover {
|
|
background-color: #333333;
|
|
}
|
|
|
|
.icon {
|
|
font-size: 24dp;
|
|
}
|
|
|
|
.app-bar-title {
|
|
font-size: 20dp;
|
|
font-weight: bold;
|
|
margin-left: 16dp;
|
|
}
|
|
|
|
.content {
|
|
display: block;
|
|
padding: 16dp;
|
|
width: auto;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.card {
|
|
display: block;
|
|
background-color: #1e1e1e;
|
|
border-radius: 12dp;
|
|
padding: 16dp;
|
|
margin-bottom: 12dp;
|
|
}
|
|
|
|
.card-title {
|
|
display: block;
|
|
font-size: 18dp;
|
|
font-weight: bold;
|
|
margin-bottom: 8dp;
|
|
color: #bb86fc;
|
|
}
|
|
|
|
.card div {
|
|
display: block;
|
|
}
|
|
|
|
button {
|
|
display: block;
|
|
background-color: #bb86fc;
|
|
color: #000000;
|
|
border-width: 0;
|
|
border-radius: 8dp;
|
|
padding: 12dp 24dp;
|
|
font-size: 14dp;
|
|
font-weight: bold;
|
|
margin-top: 8dp;
|
|
}
|
|
|
|
button:hover {
|
|
background-color: #cf9fff;
|
|
}
|
|
|
|
button:active {
|
|
background-color: #9a67ea;
|
|
}
|
|
|
|
#results {
|
|
font-family: LatoLatin;
|
|
font-size: 12dp;
|
|
background-color: #0d0d0d;
|
|
padding: 12dp;
|
|
border-radius: 8dp;
|
|
white-space: pre-wrap;
|
|
color: #00ff00;
|
|
}
|