Major updates, fixed UI, added features like weight notifications
This commit is contained in:
+307
-59
@@ -1,9 +1,18 @@
|
||||
:root {
|
||||
--ink: #1f2a2a;
|
||||
--muted: #5d5f59;
|
||||
--panel-border: rgba(31, 110, 78, 0.16);
|
||||
--panel-bg: rgba(255, 248, 241, 0.82);
|
||||
--card-bg: linear-gradient(180deg, rgba(255, 240, 231, 0.94), rgba(239, 248, 244, 0.88));
|
||||
--panel-border: rgba(53, 129, 98, 0.28);
|
||||
--panel-bg:
|
||||
linear-gradient(135deg, rgba(255, 255, 255, 0.36), transparent 42%),
|
||||
linear-gradient(180deg, rgba(255, 249, 238, 0.94), rgba(228, 244, 230, 0.88));
|
||||
--card-bg:
|
||||
linear-gradient(135deg, rgba(255, 255, 255, 0.34), transparent 42%),
|
||||
linear-gradient(180deg, rgba(255, 248, 235, 0.94), rgba(227, 243, 229, 0.9));
|
||||
--button-surface: linear-gradient(180deg, rgba(252, 244, 228, 0.96), rgba(232, 243, 233, 0.9));
|
||||
--button-surface-hover: linear-gradient(180deg, rgba(255, 248, 238, 0.98), rgba(236, 246, 237, 0.94));
|
||||
--button-border: rgba(64, 120, 87, 0.18);
|
||||
--button-shadow: 0 12px 24px rgba(72, 97, 62, 0.12);
|
||||
--card-shadow: 0 20px 38px rgba(86, 63, 34, 0.18);
|
||||
--accent-red: #cb3a35;
|
||||
--accent-green: #238a5a;
|
||||
--accent-blue: #2769b3;
|
||||
@@ -113,13 +122,32 @@ textarea {
|
||||
gap: 1.5rem;
|
||||
}
|
||||
|
||||
.side-nav {
|
||||
.side-rail {
|
||||
position: sticky;
|
||||
top: 2rem;
|
||||
display: grid;
|
||||
gap: 1rem;
|
||||
align-self: start;
|
||||
}
|
||||
|
||||
.side-nav {
|
||||
display: grid;
|
||||
gap: 1.25rem;
|
||||
}
|
||||
|
||||
.brand-lockup {
|
||||
display: grid;
|
||||
justify-items: start;
|
||||
padding-left: 0.4rem;
|
||||
}
|
||||
|
||||
.side-nav-logo {
|
||||
display: block;
|
||||
width: min(210px, 100%);
|
||||
height: auto;
|
||||
filter: drop-shadow(0 10px 18px rgba(86, 63, 34, 0.14));
|
||||
}
|
||||
|
||||
.auth-panel {
|
||||
display: grid;
|
||||
grid-template-columns: 1.1fr 0.9fr;
|
||||
@@ -145,8 +173,8 @@ textarea {
|
||||
.auth-card {
|
||||
padding: 1.25rem;
|
||||
border-radius: 24px;
|
||||
background: linear-gradient(180deg, rgba(255, 252, 247, 0.9), rgba(240, 248, 244, 0.82));
|
||||
border: 1px solid rgba(39, 105, 179, 0.12);
|
||||
background: var(--card-bg);
|
||||
border: 1px solid var(--panel-border);
|
||||
}
|
||||
|
||||
.auth-illustration-card {
|
||||
@@ -154,9 +182,9 @@ textarea {
|
||||
padding: 1rem;
|
||||
border-radius: 28px;
|
||||
background:
|
||||
linear-gradient(135deg, rgba(255, 255, 255, 0.6), transparent 44%),
|
||||
linear-gradient(180deg, rgba(255, 249, 238, 0.92), rgba(234, 245, 238, 0.84));
|
||||
border: 1px solid rgba(39, 105, 179, 0.12);
|
||||
linear-gradient(135deg, rgba(255, 253, 248, 0.56), transparent 44%),
|
||||
linear-gradient(180deg, rgba(255, 247, 232, 0.94), rgba(229, 241, 231, 0.86));
|
||||
border: 1px solid var(--panel-border);
|
||||
box-shadow: 0 18px 34px rgba(89, 48, 42, 0.1);
|
||||
}
|
||||
|
||||
@@ -182,11 +210,11 @@ textarea {
|
||||
grid-template-columns: 46px 1fr;
|
||||
align-items: center;
|
||||
gap: 0.9rem;
|
||||
border: 1px solid rgba(39, 105, 179, 0.12);
|
||||
border: 1px solid var(--button-border);
|
||||
border-radius: 18px;
|
||||
padding: 0.85rem 0.95rem;
|
||||
background: rgba(255, 255, 255, 0.88);
|
||||
box-shadow: 0 12px 24px rgba(39, 105, 179, 0.08);
|
||||
background: var(--button-surface);
|
||||
box-shadow: var(--button-shadow);
|
||||
color: var(--ink);
|
||||
}
|
||||
|
||||
@@ -222,13 +250,17 @@ textarea {
|
||||
}
|
||||
|
||||
.provider-google {
|
||||
background: #ffffff;
|
||||
border-color: rgba(66, 133, 244, 0.18);
|
||||
background:
|
||||
linear-gradient(135deg, rgba(255, 255, 255, 0.56), transparent 54%),
|
||||
var(--button-surface);
|
||||
border-color: rgba(66, 133, 244, 0.14);
|
||||
}
|
||||
|
||||
.provider-microsoft {
|
||||
background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 250, 255, 0.92));
|
||||
border-color: rgba(0, 164, 239, 0.18);
|
||||
background:
|
||||
linear-gradient(135deg, rgba(255, 255, 255, 0.48), transparent 54%),
|
||||
linear-gradient(180deg, rgba(251, 245, 232, 0.96), rgba(230, 242, 235, 0.9));
|
||||
border-color: rgba(0, 164, 239, 0.14);
|
||||
}
|
||||
|
||||
.provider-apple {
|
||||
@@ -253,7 +285,7 @@ textarea {
|
||||
|
||||
.provider-button:not(.disabled):hover {
|
||||
transform: translateY(-1px);
|
||||
box-shadow: 0 16px 28px rgba(39, 105, 179, 0.12);
|
||||
box-shadow: 0 16px 28px rgba(72, 97, 62, 0.16);
|
||||
}
|
||||
|
||||
.stack-grid {
|
||||
@@ -265,7 +297,7 @@ textarea {
|
||||
.panel {
|
||||
background: var(--panel-bg);
|
||||
border: 1px solid var(--panel-border);
|
||||
box-shadow: 0 22px 44px rgba(89, 48, 42, 0.13);
|
||||
box-shadow: 0 22px 44px rgba(89, 48, 42, 0.14);
|
||||
backdrop-filter: blur(14px);
|
||||
}
|
||||
|
||||
@@ -276,9 +308,9 @@ textarea {
|
||||
grid-template-columns: 1.3fr 0.7fr;
|
||||
gap: 1.5rem;
|
||||
background:
|
||||
linear-gradient(135deg, rgba(203, 58, 53, 0.12), transparent 34%),
|
||||
linear-gradient(225deg, rgba(39, 105, 179, 0.1), transparent 36%),
|
||||
linear-gradient(180deg, rgba(255, 248, 241, 0.92), rgba(245, 251, 248, 0.86));
|
||||
linear-gradient(135deg, rgba(203, 58, 53, 0.1), transparent 34%),
|
||||
linear-gradient(225deg, rgba(39, 105, 179, 0.08), transparent 36%),
|
||||
linear-gradient(180deg, rgba(255, 247, 235, 0.94), rgba(232, 243, 233, 0.86));
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
@@ -294,32 +326,26 @@ textarea {
|
||||
max-width: 12ch;
|
||||
}
|
||||
|
||||
.dashboard-logo {
|
||||
display: block;
|
||||
width: min(320px, 100%);
|
||||
height: auto;
|
||||
border-radius: 22px;
|
||||
}
|
||||
|
||||
.page-tabs {
|
||||
display: grid;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.page-tab {
|
||||
border: 1px solid rgba(39, 105, 179, 0.14);
|
||||
border: 1px solid var(--button-border);
|
||||
border-radius: 18px;
|
||||
padding: 0.95rem 1rem;
|
||||
background: rgba(255, 255, 255, 0.54);
|
||||
background: linear-gradient(180deg, rgba(251, 244, 229, 0.82), rgba(231, 242, 232, 0.74));
|
||||
color: var(--ink);
|
||||
transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.page-tab.active {
|
||||
background: linear-gradient(135deg, rgba(203, 58, 53, 0.92), rgba(39, 105, 179, 0.92));
|
||||
background: linear-gradient(135deg, #d89a2f, #3c8f65 58%, #2f8f98);
|
||||
color: #fffdf9;
|
||||
border-color: transparent;
|
||||
box-shadow: 0 14px 26px rgba(88, 110, 62, 0.2);
|
||||
}
|
||||
|
||||
.page-tab:hover {
|
||||
@@ -362,7 +388,9 @@ textarea {
|
||||
.bird-card {
|
||||
border-radius: 24px;
|
||||
background: var(--card-bg);
|
||||
border: 1px solid rgba(39, 105, 179, 0.12);
|
||||
border: 1px solid var(--panel-border);
|
||||
box-shadow: var(--card-shadow);
|
||||
backdrop-filter: blur(10px);
|
||||
}
|
||||
|
||||
.hero-stats article {
|
||||
@@ -377,8 +405,7 @@ textarea {
|
||||
color: var(--accent-green);
|
||||
}
|
||||
|
||||
.hero-stats article::before,
|
||||
.bird-card::before {
|
||||
.hero-stats article::before {
|
||||
content: "";
|
||||
display: block;
|
||||
height: 5px;
|
||||
@@ -427,6 +454,12 @@ textarea {
|
||||
gap: 1.5rem;
|
||||
}
|
||||
|
||||
.flock-detail-column {
|
||||
display: grid;
|
||||
gap: 1.5rem;
|
||||
align-content: start;
|
||||
}
|
||||
|
||||
.panel {
|
||||
border-radius: 28px;
|
||||
padding: 1.5rem;
|
||||
@@ -459,6 +492,30 @@ textarea {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.overview-alert-actions {
|
||||
align-items: center;
|
||||
justify-content: end;
|
||||
}
|
||||
|
||||
.overview-alert-actions .muted {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.range-alert-button {
|
||||
border: 1px solid rgba(203, 58, 53, 0.24);
|
||||
border-radius: 999px;
|
||||
padding: 0.6rem 0.95rem;
|
||||
background: linear-gradient(180deg, rgba(255, 246, 242, 0.96), rgba(255, 236, 228, 0.94));
|
||||
color: var(--accent-red);
|
||||
font-weight: 700;
|
||||
box-shadow: 0 10px 22px rgba(203, 58, 53, 0.14);
|
||||
}
|
||||
|
||||
.range-alert-button:hover {
|
||||
transform: translateY(-1px);
|
||||
box-shadow: 0 12px 24px rgba(203, 58, 53, 0.18);
|
||||
}
|
||||
|
||||
.workspace-switcher {
|
||||
display: grid;
|
||||
gap: 0.9rem;
|
||||
@@ -530,8 +587,8 @@ textarea {
|
||||
.placeholder-avatar {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
background: linear-gradient(135deg, rgba(203, 58, 53, 0.14), rgba(39, 105, 179, 0.18));
|
||||
color: var(--accent-red);
|
||||
background: linear-gradient(180deg, rgba(255, 245, 227, 0.95), rgba(226, 241, 229, 0.9));
|
||||
color: var(--accent-green);
|
||||
font-size: 1.6rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
@@ -540,28 +597,33 @@ textarea {
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
padding: 1rem;
|
||||
border: 1px solid rgba(95, 121, 77, 0.12);
|
||||
border: 1px solid rgba(95, 121, 77, 0.16);
|
||||
display: grid;
|
||||
gap: 0.35rem;
|
||||
transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
background: var(--card-bg);
|
||||
}
|
||||
|
||||
.bird-alert-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-self: start;
|
||||
padding: 0.28rem 0.7rem;
|
||||
border-radius: 999px;
|
||||
background: rgba(203, 58, 53, 0.12);
|
||||
border: 1px solid rgba(203, 58, 53, 0.18);
|
||||
color: var(--accent-red);
|
||||
font-size: 0.78rem;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.04em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.bird-card:hover,
|
||||
.bird-card.active {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 16px 24px rgba(39, 105, 179, 0.15);
|
||||
border-color: rgba(35, 138, 90, 0.42);
|
||||
}
|
||||
|
||||
.bird-card::before {
|
||||
position: absolute;
|
||||
inset: 0 auto 0 0;
|
||||
width: 6px;
|
||||
height: auto;
|
||||
margin: 0;
|
||||
border-radius: 0 999px 999px 0;
|
||||
border-color: rgba(35, 138, 90, 0.28);
|
||||
}
|
||||
|
||||
.chart-card {
|
||||
@@ -658,18 +720,22 @@ textarea {
|
||||
.legend-card,
|
||||
.detail-card,
|
||||
.summary-card,
|
||||
.weight-reference-card,
|
||||
.vet-visit-card {
|
||||
padding: 1rem;
|
||||
border-radius: 20px;
|
||||
background: linear-gradient(180deg, rgba(255, 252, 247, 0.9), rgba(240, 248, 244, 0.82));
|
||||
border: 1px solid rgba(39, 105, 179, 0.1);
|
||||
background: var(--card-bg);
|
||||
border: 1px solid rgba(53, 129, 98, 0.24);
|
||||
display: grid;
|
||||
gap: 0.35rem;
|
||||
box-shadow: 0 16px 30px rgba(86, 63, 34, 0.14);
|
||||
}
|
||||
|
||||
.inset-panel {
|
||||
padding: 1.25rem;
|
||||
background: linear-gradient(180deg, rgba(255, 252, 247, 0.74), rgba(241, 248, 244, 0.72));
|
||||
background: var(--card-bg);
|
||||
border: 1px solid rgba(53, 129, 98, 0.2);
|
||||
box-shadow: 0 14px 28px rgba(86, 63, 34, 0.12);
|
||||
}
|
||||
|
||||
.wide-field {
|
||||
@@ -711,6 +777,48 @@ textarea {
|
||||
gap: 0.2rem;
|
||||
}
|
||||
|
||||
.summary-alert-card {
|
||||
border-color: rgba(203, 58, 53, 0.22);
|
||||
background: linear-gradient(180deg, rgba(255, 247, 244, 0.97), rgba(255, 240, 234, 0.94));
|
||||
}
|
||||
|
||||
.summary-alert-card strong {
|
||||
color: var(--accent-red);
|
||||
}
|
||||
|
||||
.weight-reference-card {
|
||||
gap: 0.55rem;
|
||||
}
|
||||
|
||||
.weight-reference-card h3,
|
||||
.weight-reference-card p,
|
||||
.weight-reference-card small {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.weight-reference-card.neutral {
|
||||
border-color: rgba(39, 105, 179, 0.24);
|
||||
background: linear-gradient(180deg, rgba(248, 252, 255, 0.96), rgba(241, 249, 245, 0.92));
|
||||
}
|
||||
|
||||
.weight-reference-card.success {
|
||||
border-color: rgba(35, 138, 90, 0.28);
|
||||
background: linear-gradient(180deg, rgba(244, 252, 246, 0.97), rgba(234, 248, 239, 0.94));
|
||||
}
|
||||
|
||||
.weight-reference-card.warning {
|
||||
border-color: rgba(203, 58, 53, 0.22);
|
||||
background: linear-gradient(180deg, rgba(255, 247, 244, 0.97), rgba(255, 240, 234, 0.94));
|
||||
}
|
||||
|
||||
.weight-reference-card.success h3 {
|
||||
color: var(--accent-green);
|
||||
}
|
||||
|
||||
.weight-reference-card.warning h3 {
|
||||
color: var(--accent-red);
|
||||
}
|
||||
|
||||
.summary-trend-row {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
@@ -749,13 +857,116 @@ label {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.bulk-date-field {
|
||||
min-width: 180px;
|
||||
}
|
||||
|
||||
.bulk-date-field input {
|
||||
margin-top: 0.35rem;
|
||||
}
|
||||
|
||||
.bulk-weight-form {
|
||||
display: grid;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.bulk-weight-table-shell {
|
||||
overflow-x: auto;
|
||||
border-radius: 22px;
|
||||
border: 1px solid rgba(53, 129, 98, 0.18);
|
||||
background: rgba(255, 252, 246, 0.72);
|
||||
}
|
||||
|
||||
.bulk-weight-table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
min-width: 620px;
|
||||
}
|
||||
|
||||
.bulk-weight-table th,
|
||||
.bulk-weight-table td {
|
||||
padding: 0.95rem 1rem;
|
||||
text-align: left;
|
||||
border-bottom: 1px solid rgba(53, 129, 98, 0.12);
|
||||
}
|
||||
|
||||
.bulk-weight-table th {
|
||||
font-size: 0.82rem;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
color: var(--muted);
|
||||
background: rgba(255, 247, 233, 0.9);
|
||||
}
|
||||
|
||||
.bulk-weight-table tbody tr:last-child td {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.bulk-weight-table td input {
|
||||
margin-top: 0;
|
||||
min-width: 120px;
|
||||
}
|
||||
|
||||
.toggle-card {
|
||||
display: grid;
|
||||
gap: 0.45rem;
|
||||
padding: 1rem;
|
||||
border-radius: 20px;
|
||||
background: linear-gradient(180deg, rgba(255, 252, 247, 0.9), rgba(240, 248, 244, 0.82));
|
||||
border: 1px solid rgba(39, 105, 179, 0.1);
|
||||
background: var(--card-bg);
|
||||
border: 1px solid rgba(53, 129, 98, 0.24);
|
||||
box-shadow: 0 16px 30px rgba(86, 63, 34, 0.14);
|
||||
}
|
||||
|
||||
.species-picker-field {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.species-picker {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.species-picker-menu {
|
||||
position: absolute;
|
||||
top: calc(100% + 0.45rem);
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 12;
|
||||
display: grid;
|
||||
gap: 0.3rem;
|
||||
padding: 0.45rem;
|
||||
border-radius: 18px;
|
||||
background:
|
||||
linear-gradient(135deg, rgba(255, 255, 255, 0.48), transparent 42%),
|
||||
linear-gradient(180deg, rgba(255, 249, 238, 0.98), rgba(228, 244, 230, 0.95));
|
||||
border: 1px solid rgba(53, 129, 98, 0.22);
|
||||
box-shadow: 0 22px 42px rgba(86, 63, 34, 0.18);
|
||||
backdrop-filter: blur(12px);
|
||||
max-height: 280px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.species-picker-option {
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 14px;
|
||||
padding: 0.75rem 0.85rem;
|
||||
background: rgba(255, 255, 255, 0.56);
|
||||
color: var(--ink);
|
||||
transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
|
||||
}
|
||||
|
||||
.species-picker-option:hover,
|
||||
.species-picker-option.active {
|
||||
background: linear-gradient(180deg, rgba(255, 248, 235, 0.98), rgba(229, 241, 231, 0.94));
|
||||
border-color: rgba(39, 105, 179, 0.18);
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
.species-picker-empty {
|
||||
padding: 0.8rem 0.85rem;
|
||||
color: var(--muted);
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
|
||||
.toggle-card input[type="checkbox"] {
|
||||
@@ -771,12 +982,12 @@ label {
|
||||
border-radius: 18px;
|
||||
padding: 0.95rem 1.2rem;
|
||||
color: #fffdf9;
|
||||
background: linear-gradient(135deg, var(--accent-red), var(--accent-blue));
|
||||
box-shadow: 0 14px 28px rgba(39, 105, 179, 0.2);
|
||||
background: linear-gradient(135deg, #d89a2f, #3c8f65 58%, #2f8f98);
|
||||
box-shadow: 0 14px 28px rgba(88, 110, 62, 0.22);
|
||||
}
|
||||
|
||||
.primary-button:hover {
|
||||
background: linear-gradient(135deg, #b7312d, #1f5e9f);
|
||||
background: linear-gradient(135deg, #c98b22, #327e59 58%, #277c84);
|
||||
}
|
||||
|
||||
.secondary-button {
|
||||
@@ -831,8 +1042,9 @@ label {
|
||||
align-items: center;
|
||||
padding: 0.95rem 1rem;
|
||||
border-radius: 20px;
|
||||
background: linear-gradient(180deg, rgba(255, 252, 247, 0.9), rgba(240, 248, 244, 0.82));
|
||||
border: 1px solid rgba(39, 105, 179, 0.1);
|
||||
background: var(--card-bg);
|
||||
border: 1px solid rgba(53, 129, 98, 0.24);
|
||||
box-shadow: 0 16px 30px rgba(86, 63, 34, 0.14);
|
||||
}
|
||||
|
||||
.picker-chip {
|
||||
@@ -913,6 +1125,38 @@ label {
|
||||
padding: 0.75rem;
|
||||
}
|
||||
|
||||
.app-modal-backdrop {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 40;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
padding: 1.5rem;
|
||||
background: rgba(31, 42, 42, 0.34);
|
||||
backdrop-filter: blur(8px);
|
||||
}
|
||||
|
||||
.app-modal {
|
||||
width: min(720px, 100%);
|
||||
max-height: min(82vh, 760px);
|
||||
overflow: auto;
|
||||
border-radius: 28px;
|
||||
padding: 1.5rem;
|
||||
background: linear-gradient(180deg, rgba(255, 251, 245, 0.98), rgba(241, 249, 245, 0.96));
|
||||
border: 1px solid rgba(53, 129, 98, 0.2);
|
||||
box-shadow: 0 28px 60px rgba(31, 42, 42, 0.24);
|
||||
}
|
||||
|
||||
.weight-alert-modal {
|
||||
display: grid;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.modal-alert-list {
|
||||
display: grid;
|
||||
gap: 0.9rem;
|
||||
}
|
||||
|
||||
@media (max-width: 980px) {
|
||||
.app-shell,
|
||||
.auth-panel,
|
||||
@@ -938,4 +1182,8 @@ label {
|
||||
.side-nav {
|
||||
position: static;
|
||||
}
|
||||
|
||||
.side-rail {
|
||||
position: static;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user