feat: refine navigation and account access flow
This commit is contained in:
+11
-6
@@ -81,6 +81,7 @@ img { display: block; max-width: 100%; }
|
||||
|
||||
.profile { display: flex; align-items: center; gap: 12px; font-size: 0.86rem; }
|
||||
.avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
|
||||
.profile .avatar[hidden] { display: none; }
|
||||
.menu-button { display: grid; width: 42px; height: 42px; padding: 10px; place-content: center; gap: 4px; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; background: transparent; }
|
||||
.menu-button[hidden] { display: none; }
|
||||
.menu-button span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); }
|
||||
@@ -108,7 +109,7 @@ img { display: block; max-width: 100%; }
|
||||
.button-quiet { min-height: 38px; padding: 7px 14px; border-color: var(--line); background: transparent; }
|
||||
.button-danger { border-color: #a43928; color: #8d3022; background: transparent; }
|
||||
.google-login { width: 100%; gap: 12px; }
|
||||
.google-login span { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; color: var(--green-dark); background: white; }
|
||||
.google-login > span[aria-hidden] { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; color: var(--green-dark); background: white; }
|
||||
|
||||
.page-shell { width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding-bottom: 100px; }
|
||||
|
||||
@@ -239,6 +240,9 @@ img { display: block; max-width: 100%; }
|
||||
.login-card .brand-mark { margin: 0 auto 28px; }
|
||||
.login-card h1 { margin: 8px 0 16px; font-family: var(--serif); font-size: 3rem; font-weight: 400; line-height: 1; }
|
||||
.login-copy { margin: 0 0 32px; color: var(--muted); }
|
||||
.login-alert { margin: -12px 0 20px; padding: 14px 16px; border: 1px solid rgba(164, 57, 40, 0.3); border-radius: 14px; color: #7f2e22; background: #fff3ed; text-align: left; }
|
||||
.login-alert strong { font-size: 0.9rem; }
|
||||
.login-alert p { margin: 5px 0 0; font-size: 0.76rem; line-height: 1.5; }
|
||||
.fine-print { margin: 18px 0 0; color: var(--muted); font-size: 0.72rem; }
|
||||
|
||||
.detail-shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; padding: 50px 0 100px; }
|
||||
@@ -300,11 +304,12 @@ img { display: block; max-width: 100%; }
|
||||
.import-form { flex-direction: column; border-radius: 18px; }
|
||||
.import-form .button { width: 100%; }
|
||||
.recipe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
|
||||
.recipe-card { border-radius: 14px; }
|
||||
.recipe-card-body { padding: 14px; }
|
||||
.recipe-card-body h3 { display: -webkit-box; overflow: hidden; margin: 10px 0 6px; font-size: 1.15rem; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
|
||||
.recipe-card-body > p:not(.recipe-card-match) { display: -webkit-box; overflow: hidden; font-size: 0.75rem; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
|
||||
.recipe-card-tags { gap: 4px; margin-top: 10px; }
|
||||
.recipe-card { display: flex; overflow: hidden; flex-direction: column; border-radius: 14px; }
|
||||
.recipe-card-body { display: flex; height: 228px; flex: 0 0 228px; flex-direction: column; overflow: hidden; padding: 14px; }
|
||||
.recipe-card-body h3 { display: -webkit-box; overflow: hidden; min-height: 2.58rem; max-height: 2.58rem; margin: 10px 0 6px; font-size: 1.15rem; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
|
||||
.recipe-card-body > p:not(.recipe-card-match) { display: -webkit-box; overflow: hidden; min-height: 2.18rem; max-height: 2.18rem; font-size: 0.75rem; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
|
||||
.recipe-card-body .recipe-card-match { display: -webkit-box; overflow: hidden; max-height: 2.5rem; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
|
||||
.recipe-card-tags { overflow: hidden; max-height: 3.4rem; gap: 4px; margin-top: auto; padding-top: 10px; }
|
||||
.recipe-card-tags .tag { font-size: 0.68rem; }
|
||||
.tag-filter-heading { align-items: flex-start; flex-direction: column; }
|
||||
.tag-filter-heading small { display: block; margin: 2px 0 0; }
|
||||
|
||||
Reference in New Issue
Block a user