release nouri 0.3 household sharing and mobile polish
This commit is contained in:
+362
-211
@@ -1,20 +1,21 @@
|
||||
:root {
|
||||
color-scheme: light;
|
||||
--bg: #fff5ee;
|
||||
--bg-elevated: rgba(255, 249, 244, 0.78);
|
||||
--surface: rgba(255, 255, 255, 0.82);
|
||||
--surface-strong: #fffdfa;
|
||||
--surface-soft: #fff0e3;
|
||||
--line: rgba(133, 113, 95, 0.12);
|
||||
--text: #342e2d;
|
||||
--muted: #7c716d;
|
||||
--accent: #f0a46c;
|
||||
--accent-strong: #dd8d52;
|
||||
--accent-soft: rgba(240, 164, 108, 0.18);
|
||||
--bg: #fff6ef;
|
||||
--bg-elevated: rgba(255, 248, 242, 0.86);
|
||||
--surface: rgba(255, 255, 255, 0.86);
|
||||
--surface-strong: #fffdf9;
|
||||
--surface-soft: #fff1e4;
|
||||
--line: rgba(126, 104, 85, 0.14);
|
||||
--text: #352d2b;
|
||||
--muted: #7d7069;
|
||||
--accent: #efab72;
|
||||
--accent-strong: #da8b4d;
|
||||
--accent-soft: rgba(239, 171, 114, 0.18);
|
||||
--mint-soft: rgba(174, 214, 193, 0.24);
|
||||
--peach-soft: rgba(255, 210, 179, 0.24);
|
||||
--sky-soft: rgba(194, 213, 235, 0.2);
|
||||
--rose-soft: rgba(237, 196, 205, 0.22);
|
||||
--sky-soft: rgba(194, 213, 235, 0.22);
|
||||
--rose-soft: rgba(237, 196, 205, 0.24);
|
||||
--lilac-soft: rgba(199, 176, 224, 0.18);
|
||||
--shadow: 0 20px 50px rgba(125, 92, 68, 0.10);
|
||||
--radius: 22px;
|
||||
--font-body: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
|
||||
@@ -23,21 +24,22 @@
|
||||
|
||||
[data-theme="dark"] {
|
||||
color-scheme: dark;
|
||||
--bg: #201d1d;
|
||||
--bg-elevated: rgba(32, 29, 29, 0.82);
|
||||
--surface: rgba(45, 39, 39, 0.82);
|
||||
--surface-strong: #383131;
|
||||
--surface-soft: #433a39;
|
||||
--line: rgba(226, 232, 225, 0.1);
|
||||
--bg: #211d1c;
|
||||
--bg-elevated: rgba(34, 29, 28, 0.86);
|
||||
--surface: rgba(44, 38, 37, 0.86);
|
||||
--surface-strong: #3a3230;
|
||||
--surface-soft: #473d3a;
|
||||
--line: rgba(228, 224, 220, 0.10);
|
||||
--text: #f4efec;
|
||||
--muted: #cabeb7;
|
||||
--accent: #f2b07d;
|
||||
--accent-strong: #ffc190;
|
||||
--accent-soft: rgba(242, 176, 125, 0.18);
|
||||
--muted: #cbbeb7;
|
||||
--accent: #f3b17d;
|
||||
--accent-strong: #ffc28f;
|
||||
--accent-soft: rgba(243, 177, 125, 0.18);
|
||||
--mint-soft: rgba(155, 198, 175, 0.20);
|
||||
--peach-soft: rgba(224, 161, 128, 0.18);
|
||||
--sky-soft: rgba(146, 171, 201, 0.18);
|
||||
--rose-soft: rgba(189, 133, 145, 0.20);
|
||||
--lilac-soft: rgba(170, 148, 204, 0.18);
|
||||
--shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
|
||||
}
|
||||
|
||||
@@ -45,7 +47,8 @@
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html, body {
|
||||
html,
|
||||
body {
|
||||
margin: 0;
|
||||
min-height: 100%;
|
||||
}
|
||||
@@ -60,6 +63,10 @@ body {
|
||||
linear-gradient(180deg, var(--bg), color-mix(in srgb, var(--bg) 92%, #f6decb 8%));
|
||||
}
|
||||
|
||||
body.has-mobile-nav {
|
||||
padding-bottom: 6rem;
|
||||
}
|
||||
|
||||
a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
@@ -125,31 +132,39 @@ button.secondary:hover,
|
||||
grid-template-columns: auto 1fr auto;
|
||||
gap: 1rem;
|
||||
align-items: center;
|
||||
padding: 1rem 1.25rem;
|
||||
margin-bottom: 1.25rem;
|
||||
padding: 1rem 1.2rem;
|
||||
margin-bottom: 1.15rem;
|
||||
background: var(--bg-elevated);
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 28px;
|
||||
box-shadow: var(--shadow);
|
||||
backdrop-filter: blur(26px) saturate(1.2);
|
||||
backdrop-filter: blur(26px) saturate(1.18);
|
||||
}
|
||||
|
||||
.brand {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.85rem;
|
||||
gap: 0.8rem;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.brand strong,
|
||||
h1, h2, h3, .planner-label {
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
.planner-label {
|
||||
font-family: var(--font-heading);
|
||||
letter-spacing: -0.02em;
|
||||
}
|
||||
|
||||
.brand-copy {
|
||||
display: grid;
|
||||
gap: 0.08rem;
|
||||
}
|
||||
|
||||
.brand small {
|
||||
display: block;
|
||||
color: var(--muted);
|
||||
margin-top: 0.12rem;
|
||||
}
|
||||
|
||||
.brand-mark {
|
||||
@@ -159,7 +174,7 @@ h1, h2, h3, .planner-label {
|
||||
place-items: center;
|
||||
border-radius: 1rem;
|
||||
background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 236, 219, 0.92));
|
||||
box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
|
||||
}
|
||||
|
||||
.brand-mark img {
|
||||
@@ -167,71 +182,12 @@ h1, h2, h3, .planner-label {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.nav-link-inner {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.ui-icon {
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
display: inline-block;
|
||||
background: currentColor;
|
||||
flex: 0 0 auto;
|
||||
-webkit-mask-position: center;
|
||||
-webkit-mask-repeat: no-repeat;
|
||||
-webkit-mask-size: contain;
|
||||
mask-position: center;
|
||||
mask-repeat: no-repeat;
|
||||
mask-size: contain;
|
||||
}
|
||||
|
||||
.icon-house {
|
||||
-webkit-mask-image: url("../icons/fa/house.svg");
|
||||
mask-image: url("../icons/fa/house.svg");
|
||||
}
|
||||
|
||||
.icon-utensils {
|
||||
-webkit-mask-image: url("../icons/fa/utensils.svg");
|
||||
mask-image: url("../icons/fa/utensils.svg");
|
||||
}
|
||||
|
||||
.icon-bowl-food {
|
||||
-webkit-mask-image: url("../icons/fa/bowl-food.svg");
|
||||
mask-image: url("../icons/fa/bowl-food.svg");
|
||||
}
|
||||
|
||||
.icon-cart-shopping {
|
||||
-webkit-mask-image: url("../icons/fa/cart-shopping.svg");
|
||||
mask-image: url("../icons/fa/cart-shopping.svg");
|
||||
}
|
||||
|
||||
.icon-calendar {
|
||||
-webkit-mask-image: url("../icons/fa/calendar.svg");
|
||||
mask-image: url("../icons/fa/calendar.svg");
|
||||
}
|
||||
|
||||
.icon-calendar-days {
|
||||
-webkit-mask-image: url("../icons/fa/calendar-days.svg");
|
||||
mask-image: url("../icons/fa/calendar-days.svg");
|
||||
}
|
||||
|
||||
.icon-archive {
|
||||
-webkit-mask-image: url("../icons/fa/archive.svg");
|
||||
mask-image: url("../icons/fa/archive.svg");
|
||||
}
|
||||
|
||||
.icon-sparkles {
|
||||
-webkit-mask-image: url("../icons/fa/sparkles.svg");
|
||||
mask-image: url("../icons/fa/sparkles.svg");
|
||||
}
|
||||
|
||||
.site-nav {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.45rem;
|
||||
justify-content: center;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.site-nav a {
|
||||
@@ -244,18 +200,65 @@ h1, h2, h3, .planner-label {
|
||||
.site-nav a:hover {
|
||||
background: var(--accent-soft);
|
||||
color: var(--text);
|
||||
box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
|
||||
}
|
||||
|
||||
.nav-link-inner {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.header-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.user-chip,
|
||||
.mobile-profile-link {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.55rem;
|
||||
padding: 0.6rem 0.8rem;
|
||||
border-radius: 999px;
|
||||
border: 1px solid var(--line);
|
||||
background: color-mix(in srgb, var(--surface-strong) 88%, #fff 12%);
|
||||
}
|
||||
|
||||
.user-chip {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: 0.08rem;
|
||||
}
|
||||
|
||||
.user-chip-title {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.mobile-profile-link {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.mobile-profile-avatar {
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
border-radius: 999px;
|
||||
background: var(--accent-soft);
|
||||
color: var(--accent-strong);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.mobile-bottom-nav {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.content {
|
||||
display: grid;
|
||||
gap: 1.25rem;
|
||||
gap: 1.2rem;
|
||||
}
|
||||
|
||||
.hero,
|
||||
@@ -280,7 +283,7 @@ h1, h2, h3, .planner-label {
|
||||
.panel,
|
||||
.auth-card,
|
||||
.week-card {
|
||||
padding: 1.35rem;
|
||||
padding: 1.3rem;
|
||||
}
|
||||
|
||||
.hero {
|
||||
@@ -301,7 +304,9 @@ h1, h2, h3, .planner-label {
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
h1, h2, h3 {
|
||||
h1,
|
||||
h2,
|
||||
h3 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@@ -315,30 +320,42 @@ h2 {
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.15rem;
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
.lead,
|
||||
.muted,
|
||||
.empty-state,
|
||||
.empty-slot,
|
||||
.planner-entry p,
|
||||
.simple-list span,
|
||||
.simple-list small {
|
||||
.simple-list small,
|
||||
.helper-text {
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.lead {
|
||||
max-width: 60ch;
|
||||
max-width: 62ch;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.intro-pills,
|
||||
.chip-row {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.45rem;
|
||||
}
|
||||
|
||||
.chip-row {
|
||||
margin-top: 0.75rem;
|
||||
}
|
||||
|
||||
.stats-grid,
|
||||
.two-column,
|
||||
.card-grid,
|
||||
.mini-card-grid,
|
||||
.week-mini-grid,
|
||||
.week-overview-grid {
|
||||
.week-overview-grid,
|
||||
.more-link-grid {
|
||||
display: grid;
|
||||
gap: 1rem;
|
||||
}
|
||||
@@ -351,6 +368,14 @@ h3 {
|
||||
grid-template-columns: 1.05fr 0.95fr;
|
||||
}
|
||||
|
||||
.card-grid {
|
||||
grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
|
||||
}
|
||||
|
||||
.mini-card-grid {
|
||||
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
||||
}
|
||||
|
||||
.week-mini-grid {
|
||||
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
||||
}
|
||||
@@ -359,10 +384,13 @@ h3 {
|
||||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
||||
}
|
||||
|
||||
.more-link-grid {
|
||||
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
||||
}
|
||||
|
||||
.stat-card {
|
||||
padding: 1.15rem 1.2rem;
|
||||
background:
|
||||
linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface) 90%, #fff 10%));
|
||||
background: linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface) 90%, #fff 10%));
|
||||
}
|
||||
|
||||
.stat-card span {
|
||||
@@ -385,7 +413,8 @@ h3 {
|
||||
.form-actions,
|
||||
.week-nav,
|
||||
.week-card-head,
|
||||
.planner-entry-top {
|
||||
.planner-entry-top,
|
||||
.more-actions {
|
||||
display: flex;
|
||||
gap: 0.85rem;
|
||||
justify-content: space-between;
|
||||
@@ -397,6 +426,8 @@ h3 {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
display: grid;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.simple-list li,
|
||||
@@ -405,39 +436,36 @@ h3 {
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
align-items: center;
|
||||
padding: 1rem 0;
|
||||
border-bottom: 1px solid var(--line);
|
||||
}
|
||||
|
||||
.simple-list li:last-child {
|
||||
border-bottom: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.mini-card-grid {
|
||||
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
||||
.stacked-mobile {
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.mini-card,
|
||||
.week-mini-card {
|
||||
.week-mini-card,
|
||||
.more-link-card {
|
||||
border-radius: 18px;
|
||||
background: var(--surface-strong);
|
||||
border: 1px solid var(--line);
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.component-group {
|
||||
padding: 1rem;
|
||||
border-radius: 18px;
|
||||
background: rgba(255, 255, 255, 0.4);
|
||||
border: 1px solid var(--line);
|
||||
.week-mini-card,
|
||||
.more-link-card {
|
||||
display: grid;
|
||||
gap: 0.35rem;
|
||||
}
|
||||
|
||||
.more-link-card small {
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.component-group,
|
||||
.quick-food-panel {
|
||||
margin-top: 1rem;
|
||||
padding: 1rem;
|
||||
border-radius: 18px;
|
||||
background: rgba(255, 255, 255, 0.5);
|
||||
background: rgba(255, 255, 255, 0.42);
|
||||
border: 1px solid var(--line);
|
||||
}
|
||||
|
||||
@@ -452,37 +480,6 @@ h3 {
|
||||
grid-column: span 2;
|
||||
}
|
||||
|
||||
.quick-food-panel {
|
||||
margin-top: 1rem;
|
||||
padding: 1rem;
|
||||
border-radius: 18px;
|
||||
background: rgba(255, 255, 255, 0.5);
|
||||
border: 1px solid var(--line);
|
||||
}
|
||||
|
||||
.quick-food-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 0.8rem;
|
||||
align-items: end;
|
||||
}
|
||||
|
||||
.quick-food-grid .wide {
|
||||
grid-column: span 2;
|
||||
}
|
||||
|
||||
.week-mini-card {
|
||||
display: grid;
|
||||
gap: 0.4rem;
|
||||
}
|
||||
|
||||
.chip-row {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.45rem;
|
||||
margin-top: 0.75rem;
|
||||
}
|
||||
|
||||
.chip,
|
||||
.status-pill {
|
||||
display: inline-flex;
|
||||
@@ -506,8 +503,8 @@ h3 {
|
||||
background: var(--sky-soft);
|
||||
}
|
||||
|
||||
.card-grid {
|
||||
grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
|
||||
.status-soft {
|
||||
background: var(--lilac-soft);
|
||||
}
|
||||
|
||||
.item-card {
|
||||
@@ -569,14 +566,20 @@ h3 {
|
||||
width: min(560px, 100%);
|
||||
}
|
||||
|
||||
.stack-form {
|
||||
.stack-form,
|
||||
.stack-sections,
|
||||
.planner-day-stack,
|
||||
.planner-entry-list,
|
||||
.week-entry-stack,
|
||||
.week-slot-stack {
|
||||
display: grid;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.stack-form label,
|
||||
.planner-entry-form label,
|
||||
.filter-form label {
|
||||
.filter-form label,
|
||||
.inline-form label {
|
||||
display: grid;
|
||||
gap: 0.5rem;
|
||||
color: var(--muted);
|
||||
@@ -595,6 +598,7 @@ h3 {
|
||||
}
|
||||
|
||||
input[type="text"],
|
||||
input[type="email"],
|
||||
input[type="password"],
|
||||
input[type="date"],
|
||||
input[type="file"],
|
||||
@@ -660,6 +664,11 @@ legend {
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.planner-entry-form-wide {
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.inline-form > :first-child,
|
||||
.filter-form .wide,
|
||||
.planner-entry-form .wide {
|
||||
grid-column: span 2;
|
||||
@@ -671,22 +680,6 @@ legend {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.list-row {
|
||||
padding: 1rem 1.1rem;
|
||||
}
|
||||
|
||||
.row-actions {
|
||||
justify-content: end;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.stack-sections,
|
||||
.planner-day-stack,
|
||||
.planner-entry-list {
|
||||
display: grid;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.day-tile {
|
||||
border-radius: 24px;
|
||||
background: var(--surface);
|
||||
@@ -725,7 +718,7 @@ legend {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
border-radius: 1rem;
|
||||
background: linear-gradient(145deg, rgba(255,255,255,0.92), var(--peach-soft));
|
||||
background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), var(--peach-soft));
|
||||
color: var(--accent-strong);
|
||||
}
|
||||
|
||||
@@ -759,7 +752,7 @@ legend {
|
||||
background: color-mix(in srgb, var(--surface-strong) 76%, #fff 24%);
|
||||
color: var(--text);
|
||||
border: 1px solid var(--line);
|
||||
box-shadow: inset 0 1px 0 rgba(255,255,255,0.55);
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
|
||||
}
|
||||
|
||||
.quick-add-button:hover {
|
||||
@@ -771,12 +764,13 @@ legend {
|
||||
}
|
||||
|
||||
.planner-entry {
|
||||
padding: 0.9rem 1rem;
|
||||
padding: 0.95rem 1rem;
|
||||
border-radius: 18px;
|
||||
background: color-mix(in srgb, var(--surface) 88%, #fff 12%);
|
||||
}
|
||||
|
||||
.planner-entry-list .planner-entry {
|
||||
background: color-mix(in srgb, var(--surface) 88%, #fff 12%);
|
||||
.planner-entry-top {
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.week-card-count {
|
||||
@@ -789,12 +783,6 @@ legend {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.week-slot-stack {
|
||||
display: grid;
|
||||
gap: 0.75rem;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.week-slot {
|
||||
padding: 0.85rem;
|
||||
border-radius: 18px;
|
||||
@@ -817,18 +805,18 @@ legend {
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.week-entry-stack {
|
||||
display: grid;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.plan-chip {
|
||||
padding: 0.7rem 0.8rem;
|
||||
border-radius: 16px;
|
||||
background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,246,239,0.92));
|
||||
background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 246, 239, 0.92));
|
||||
border: 1px solid var(--line);
|
||||
cursor: grab;
|
||||
box-shadow: inset 0 1px 0 rgba(255,255,255,0.65);
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
|
||||
}
|
||||
|
||||
.plan-chip[draggable="false"] {
|
||||
cursor: default;
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
.plan-chip:active {
|
||||
@@ -873,39 +861,89 @@ legend {
|
||||
min-width: 5rem;
|
||||
}
|
||||
|
||||
.ui-icon {
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
display: inline-block;
|
||||
background: currentColor;
|
||||
flex: 0 0 auto;
|
||||
-webkit-mask-position: center;
|
||||
-webkit-mask-repeat: no-repeat;
|
||||
-webkit-mask-size: contain;
|
||||
mask-position: center;
|
||||
mask-repeat: no-repeat;
|
||||
mask-size: contain;
|
||||
}
|
||||
|
||||
.icon-house {
|
||||
-webkit-mask-image: url("../icons/fa/house.svg");
|
||||
mask-image: url("../icons/fa/house.svg");
|
||||
}
|
||||
|
||||
.icon-utensils {
|
||||
-webkit-mask-image: url("../icons/fa/utensils.svg");
|
||||
mask-image: url("../icons/fa/utensils.svg");
|
||||
}
|
||||
|
||||
.icon-bowl-food {
|
||||
-webkit-mask-image: url("../icons/fa/bowl-food.svg");
|
||||
mask-image: url("../icons/fa/bowl-food.svg");
|
||||
}
|
||||
|
||||
.icon-cart-shopping {
|
||||
-webkit-mask-image: url("../icons/fa/cart-shopping.svg");
|
||||
mask-image: url("../icons/fa/cart-shopping.svg");
|
||||
}
|
||||
|
||||
.icon-calendar {
|
||||
-webkit-mask-image: url("../icons/fa/calendar.svg");
|
||||
mask-image: url("../icons/fa/calendar.svg");
|
||||
}
|
||||
|
||||
.icon-calendar-days {
|
||||
-webkit-mask-image: url("../icons/fa/calendar-days.svg");
|
||||
mask-image: url("../icons/fa/calendar-days.svg");
|
||||
}
|
||||
|
||||
.icon-archive {
|
||||
-webkit-mask-image: url("../icons/fa/archive.svg");
|
||||
mask-image: url("../icons/fa/archive.svg");
|
||||
}
|
||||
|
||||
.icon-sparkles {
|
||||
-webkit-mask-image: url("../icons/fa/sparkles.svg");
|
||||
mask-image: url("../icons/fa/sparkles.svg");
|
||||
}
|
||||
|
||||
@media (max-width: 1080px) {
|
||||
.site-header,
|
||||
.hero,
|
||||
.page-intro,
|
||||
.panel-head,
|
||||
.week-card-head {
|
||||
grid-template-columns: 1fr;
|
||||
flex-direction: column;
|
||||
align-items: start;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.site-header {
|
||||
position: static;
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.stats-grid,
|
||||
.two-column,
|
||||
.inline-form,
|
||||
.planner-entry-form,
|
||||
.filter-form {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.filter-form .wide,
|
||||
.planner-entry-form .wide {
|
||||
grid-column: auto;
|
||||
}
|
||||
|
||||
.planner-entry-form-wide,
|
||||
.filter-form,
|
||||
.quick-food-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.quick-food-grid .wide {
|
||||
.quick-food-grid .wide,
|
||||
.inline-form > :first-child,
|
||||
.filter-form .wide,
|
||||
.planner-entry-form .wide {
|
||||
grid-column: auto;
|
||||
}
|
||||
}
|
||||
@@ -913,28 +951,141 @@ legend {
|
||||
@media (max-width: 720px) {
|
||||
.page-shell {
|
||||
width: min(100% - 1rem, 100%);
|
||||
margin: 0.7rem auto 1rem;
|
||||
}
|
||||
|
||||
.site-header {
|
||||
position: sticky;
|
||||
top: 0.7rem;
|
||||
grid-template-columns: 1fr auto;
|
||||
gap: 0.6rem;
|
||||
padding: 0.75rem 0.9rem;
|
||||
margin-bottom: 0.85rem;
|
||||
border-radius: 22px;
|
||||
}
|
||||
|
||||
.desktop-nav,
|
||||
.desktop-actions {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.mobile-profile-link {
|
||||
display: inline-flex;
|
||||
}
|
||||
|
||||
.brand {
|
||||
gap: 0.65rem;
|
||||
}
|
||||
|
||||
.brand-mark {
|
||||
width: 2.2rem;
|
||||
height: 2.2rem;
|
||||
border-radius: 0.85rem;
|
||||
}
|
||||
|
||||
.brand strong {
|
||||
font-size: 1.04rem;
|
||||
}
|
||||
|
||||
.brand small {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.hero,
|
||||
.page-intro,
|
||||
.panel,
|
||||
.auth-card,
|
||||
.week-card {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.site-nav,
|
||||
.header-actions,
|
||||
.item-card,
|
||||
.list-row,
|
||||
.row-actions,
|
||||
.quick-add-row,
|
||||
.filter-actions {
|
||||
justify-content: start;
|
||||
h1 {
|
||||
font-size: clamp(1.6rem, 7vw, 2rem);
|
||||
}
|
||||
|
||||
.lead {
|
||||
line-height: 1.45;
|
||||
font-size: 0.98rem;
|
||||
}
|
||||
|
||||
.stats-grid,
|
||||
.two-column,
|
||||
.card-grid,
|
||||
.mini-card-grid,
|
||||
.week-mini-grid,
|
||||
.week-overview-grid,
|
||||
.more-link-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.item-card {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.week-nav {
|
||||
align-items: start;
|
||||
.simple-list li,
|
||||
.list-row,
|
||||
.planner-entry-top,
|
||||
.week-nav,
|
||||
.row-actions,
|
||||
.item-actions,
|
||||
.hero-actions,
|
||||
.more-actions,
|
||||
.filter-actions {
|
||||
align-items: flex-start;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.row-actions > *,
|
||||
.item-actions > *,
|
||||
.hero-actions > *,
|
||||
.more-actions > * {
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
|
||||
.quick-add-row {
|
||||
display: grid;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.quick-add-button {
|
||||
min-width: 100%;
|
||||
}
|
||||
|
||||
.mobile-bottom-nav {
|
||||
position: fixed;
|
||||
left: 0.75rem;
|
||||
right: 0.75rem;
|
||||
bottom: 0.75rem;
|
||||
z-index: 20;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(5, minmax(0, 1fr));
|
||||
gap: 0.35rem;
|
||||
padding: 0.5rem;
|
||||
border-radius: 22px;
|
||||
background: var(--bg-elevated);
|
||||
border: 1px solid var(--line);
|
||||
box-shadow: var(--shadow);
|
||||
backdrop-filter: blur(26px) saturate(1.15);
|
||||
}
|
||||
|
||||
.mobile-bottom-nav a {
|
||||
display: grid;
|
||||
justify-items: center;
|
||||
gap: 0.28rem;
|
||||
padding: 0.55rem 0.35rem;
|
||||
border-radius: 16px;
|
||||
color: var(--muted);
|
||||
font-size: 0.78rem;
|
||||
}
|
||||
|
||||
.mobile-bottom-nav a.active {
|
||||
background: var(--accent-soft);
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.mobile-bottom-nav .ui-icon {
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user