feat: initial commit for newborn tracker with family & role management, full responsive ui, offline assets

This commit is contained in:
gs committed 2026-09-24 08:19:15 +08:00
commit 01f9f2c514
72 files changed
+11186

No files matched your search

+88
View File
@@ -0,0 +1,88 @@
/* Base system font & layout reset to guarantee graceful display under any circumstance */
*, ::before, ::after {
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
margin: 0;
padding: 0;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
button, input, select, textarea {
font-family: inherit;
}
img, video {
max-width: 100%;
height: auto;
}
/* Custom styles and mobile touch interactions */
/* Hide scrollbars for neat mobile pills */
.no-scrollbar::-webkit-scrollbar {
display: none;
}
.no-scrollbar {
-ms-overflow-style: none;
scrollbar-width: none;
}
/* Squeeze animation on button press */
.active\:scale-98:active {
transform: scale(0.98);
}
.action-card {
transition: transform 0.12s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.12s;
-webkit-tap-highlight-color: transparent;
}
.action-card:active {
transform: scale(0.97);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
/* Smooth Tab transitions */
.view-panel {
animation: fadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(6px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Toast entrance */
.toast-msg {
animation: slideDown 0.25s ease-out;
}
@keyframes slideDown {
from {
opacity: 0;
transform: translateY(-12px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Gantt blocks */
.gantt-block {
transition: transform 0.15s, opacity 0.15s;
cursor: pointer;
}
.gantt-block:hover {
filter: brightness(0.95);
transform: translateY(-1px);
}