Comparisons (synastry) of the own chart and persons
/osszevetesek compares any two of the user's charts (own and persons); the person card and the person's chart page have "Összevetés velem". The comparison page shows a double wheel (first person inside with houses, second outside, aspects between them), the aspects by character, and tabs: paid relationship analysis (synastry unit), the cross aspect grid, house overlays, composite and the full aspect list. Correcting a person within the hour now deletes the user's own comparisons with them instead of being refused; still refused after a paid analysis or when someone else's comparison uses the chart. The relationship analysis prompt is editable on /admin/promptok too, and can be tried on one of the admin's comparisons. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
--harmonic: #7fb0e0;
|
||||
--tense: #e38b8b;
|
||||
--square: #f0a35e;
|
||||
--p2: #c3a6f0; /* the second person of a comparison */
|
||||
--radius: 10px;
|
||||
--font-display: var(--font-cormorant), "Cormorant Garamond", Georgia, serif;
|
||||
--font-body: var(--font-inter), Inter, system-ui, sans-serif;
|
||||
@@ -459,3 +460,60 @@ td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
|
||||
.prompt-trial-form .field { flex-basis: 100%; }
|
||||
.prompt-trial-form .btn { width: 100%; }
|
||||
}
|
||||
|
||||
/* Comparisons (synastry) */
|
||||
.w-p2 .w-point-glyph { fill: var(--p2); }
|
||||
.w-p2 .w-point-tick { stroke: var(--p2); }
|
||||
.w-p2 .w-point:hover .w-point-glyph { fill: var(--gold); }
|
||||
.w-end-p2 { fill: var(--p2); }
|
||||
.w-p2-band { stroke-dasharray: 2 4; }
|
||||
.legend-dot, .pair-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; }
|
||||
.legend-p1 { background: var(--ink); }
|
||||
.legend-p2 { background: var(--p2); }
|
||||
.p2-text, .cross-grid th.p2-head { color: var(--p2); }
|
||||
.cross-grid td.cross-corner { position: relative; min-width: 76px; height: 44px; font: 500 11px var(--font-body); color: var(--muted); }
|
||||
.cross-col { position: absolute; top: 2px; right: 4px; color: var(--p2); white-space: nowrap; }
|
||||
.cross-row { position: absolute; bottom: 2px; left: 2px; white-space: nowrap; }
|
||||
|
||||
.nature { display: flex; flex-direction: column; gap: 12px; }
|
||||
.nature-bar { display: flex; gap: 3px; height: 10px; border-radius: 999px; overflow: hidden; }
|
||||
.nature-bar-sm { height: 6px; margin-top: 4px; }
|
||||
.nature-seg { flex-basis: 0; min-width: 4px; }
|
||||
.nature-harmonious { background: var(--harmonic); }
|
||||
.nature-challenging { background: var(--tense); }
|
||||
.nature-neutral { background: var(--gold); }
|
||||
.nature-list { margin: 0; display: flex; flex-direction: column; gap: 8px; }
|
||||
.nature-list > div { display: grid; grid-template-columns: 128px 1fr; gap: 8px; align-items: baseline; }
|
||||
.nature-list dt { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
|
||||
.nature-list dd { margin: 0; }
|
||||
.nature-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
|
||||
|
||||
.pair-card { gap: 4px; }
|
||||
.pair-row {
|
||||
display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 0;
|
||||
color: inherit; text-decoration: none; border-bottom: 1px solid var(--line);
|
||||
}
|
||||
.pair-row:last-child { border-bottom: 0; padding-bottom: 0; }
|
||||
a.pair-row:hover strong { color: var(--gold); }
|
||||
.pair-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
|
||||
.pair-text strong { font-family: var(--font-display); font-size: 21px; font-weight: 600; }
|
||||
|
||||
.compare-new { gap: 16px; }
|
||||
.compare-form { display: grid; grid-template-columns: 1fr auto 1fr auto; gap: 12px; align-items: end; }
|
||||
.compare-swap { font-size: 20px; padding: 0 10px; }
|
||||
.compare-tile { gap: 6px; padding: 16px 20px; }
|
||||
.compare-tile strong { font-family: var(--font-display); font-size: 21px; font-weight: 600; }
|
||||
.compare-tile .muted { font-size: 14px; }
|
||||
.compare-tile .form-actions { margin-top: 6px; }
|
||||
.back-link { font-size: 14px; text-decoration: none; align-self: flex-start; }
|
||||
@media (max-width: 640px) {
|
||||
.compare-form { grid-template-columns: 1fr auto; }
|
||||
.compare-form .field:first-child { grid-column: 1; }
|
||||
.compare-swap { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
|
||||
.compare-form .field:nth-child(3) { grid-column: 1; }
|
||||
.compare-form > .btn-primary { grid-column: 1 / -1; width: 100%; }
|
||||
.nature-list > div { grid-template-columns: 1fr; gap: 2px; }
|
||||
.nav { overflow-x: auto; scrollbar-width: none; }
|
||||
.nav a { white-space: nowrap; padding: 10px 9px; }
|
||||
.cross-grid td.cross-corner { min-width: 56px; font-size: 9px; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user