Initial PoC commit

This commit is contained in:
Fenix
2026-01-28 20:39:59 -08:00
commit 94811ca7c1
18 changed files with 1831 additions and 0 deletions

266
journal.css Normal file
View File

@@ -0,0 +1,266 @@
.notes-container {
height: 100vh;
width: 100%;
background-color: #fffbf5;
position: relative;
overflow: hidden;
display: flex;
flex-direction: column;
}
.top-buttons {
position: absolute;
top: 1rem;
right: 1rem;
display: flex;
gap: 0.5rem;
z-index: 10;
}
.bottom-buttons {
position: absolute;
bottom: 1rem;
left: 1rem;
display: flex;
gap: 0.5rem;
z-index: 10;
}
.floating-button {
width: 2.75rem;
height: 2.75rem;
border-radius: 9999px;
background-color: rgba(255, 255, 255, 0.9);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
display: flex;
align-items: center;
justify-content: center;
border: none;
cursor: pointer;
transition: transform 0.15s ease;
}
.floating-button:active {
transform: scale(0.95);
}
.floating-button svg {
width: 1.25rem;
height: 1.25rem;
color: #007AFF;
}
.side-menu {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.25);
backdrop-filter: blur(4px);
-webkit-backdrop-filter: blur(4px);
display: none;
align-items: flex-start;
justify-content: flex-end;
z-index: 20;
}
.side-menu.open {
display: flex;
}
.side-menu-content {
width: 260px;
max-width: 80%;
background: #fffbf5;
box-shadow: -8px 0 20px rgba(0, 0, 0, 0.1);
padding: 1.25rem 1rem 1.5rem 1.25rem;
border-radius: 16px 0 0 16px;
margin-top: 3.5rem;
margin-right: 0.75rem;
}
.side-menu-close {
border: none;
background: transparent;
font-size: 1.4rem;
cursor: pointer;
margin-left: auto;
display: block;
}
.side-menu-nav {
display: flex;
flex-direction: column;
gap: 0.5rem;
margin-top: 0.5rem;
}
.side-menu-nav a {
text-decoration: none;
color: #1f2933;
font-size: 0.95rem;
padding: 0.45rem 0.25rem;
border-radius: 6px;
}
.side-menu-nav a:hover {
background: rgba(0, 122, 255, 0.06);
}
.notes-textarea {
flex: 1;
width: 100%;
padding: 1.5rem;
background-color: transparent;
resize: none;
outline: none;
border: none;
font-size: 17px;
line-height: 1.625;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.notes-textarea::placeholder {
color: #9ca3af;
}
/* Toast notifications */
.toast-container {
position: fixed;
top: 5rem;
left: 50%;
transform: translateX(-50%);
z-index: 1000;
display: flex;
flex-direction: column;
gap: 0.5rem;
pointer-events: none;
}
.toast {
background-color: rgba(0, 0, 0, 0.85);
color: white;
padding: 0.75rem 1.5rem;
border-radius: 8px;
font-size: 14px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
opacity: 0;
transform: translateY(-20px);
transition: all 0.3s ease;
}
.toast.show {
opacity: 1;
transform: translateY(0);
}
.toast-success {
background-color: rgba(52, 199, 89, 0.95);
}
.toast-error {
background-color: rgba(255, 59, 48, 0.95);
}
.toast-info {
background-color: rgba(0, 122, 255, 0.95);
}
.page-main {
flex: 1;
padding: 1.5rem;
overflow-y: auto;
}
.card {
border-radius: 12px;
background: #fffaf2;
border: 1px solid #e5d6bf;
padding: 1rem;
margin-top: 0.5rem;
}
.card-info {
background: #f0fbff;
border-color: #cbe4ff;
}
.card-warn {
background: #fff8f2;
border-color: #f3d3b2;
}
.btn-primary {
padding: 0.6rem 1.2rem;
border-radius: 999px;
border: none;
background: #007aff;
color: #fff;
font-size: 0.95rem;
cursor: pointer;
}
.btn-outline {
padding: 0.6rem 1.2rem;
border-radius: 8px;
border: 1px solid #e5d6bf;
background: #ffffff;
text-align: left;
cursor: pointer;
}
.text-muted {
color: #555;
font-size: 0.95rem;
}
.feedback-form {
display: flex;
flex-direction: column;
gap: 0.75rem;
margin-top: 1rem;
}
.feedback-textarea {
width: 100%;
min-height: 140px;
padding: 0.75rem 1rem;
border-radius: 8px;
border: 1px solid #e5d6bf;
background: #fffaf2;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
font-size: 0.95rem;
resize: vertical;
}
.feedback-textarea::placeholder {
color: #9ca3af;
}
.feedback-email-input {
width: 100%;
padding: 0.6rem 0.9rem;
border-radius: 8px;
border: 1px solid #e5d6bf;
background: #ffffff;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
font-size: 0.95rem;
}
.feedback-actions {
display: flex;
gap: 0.5rem;
align-items: center;
margin-top: 0.25rem;
}
.btn-secondary {
padding: 0.6rem 1.2rem;
border-radius: 999px;
border: 1px solid #e5d6bf;
background: #ffffff;
color: #333;
font-size: 0.95rem;
cursor: pointer;
}