waveterm/tsunami/demo/todo/style.css
Mike Sawka e7cd584659
tsunami framework (waveapps v2) (#2315)
Huge PR.  135 commits here to rebuild waveapps into the "Tsunami" framework.

* Simplified API
* Updated system.md prompt
* Basic applications building and running
* /api/config and /api/data support
* tailwind styling
* no need for async updates
* goroutine/timer primitives for async routing handling
* POC for integrating 3rd party react frameworks (recharts)
* POC for server side components (table.go)
* POC for interacting with apps via /api/config (tsunamiconfig)

Checkpoint.  Still needs to be tightly integrated with Wave (lifecycle, AI interaction, etc.) but looking very promising 🚀
2025-09-11 14:25:07 -07:00

68 lines
1.2 KiB
CSS

.todo-app {
max-width: 500px;
margin: 20px;
font-family: sans-serif;
}
.todo-header {
margin-bottom: 20px;
}
.todo-form {
display: flex;
gap: 10px;
margin-bottom: 20px;
}
.todo-input {
flex: 1;
padding: 8px;
border: 1px solid var(--border-color);
border-radius: 4px;
background: var(--input-bg);
color: var(--text-color);
}
.todo-button {
padding: 8px 16px;
background: var(--button-bg);
border: 1px solid var(--border-color);
border-radius: 4px;
color: var(--text-color);
cursor: pointer;
}
.todo-button:hover {
background: var(--button-hover-bg);
}
.todo-list {
display: flex;
flex-direction: column;
gap: 8px;
}
.todo-item {
display: flex;
align-items: center;
gap: 10px;
padding: 8px;
border: 1px solid var(--border-color);
border-radius: 4px;
background: var(--block-bg);
}
.todo-item.completed {
opacity: 0.7;
}
.todo-item.completed .todo-text {
text-decoration: line-through;
}
.todo-text {
flex: 1;
}
.todo-checkbox {
width: 16px;
height: 16px;
}
.todo-delete {
color: var(--error-color);
cursor: pointer;
padding: 4px 8px;
border-radius: 4px;
}
.todo-delete:hover {
background: var(--error-bg);
}