feat: add source-grounded evolution and Ollama assistant
This commit is contained in:
@@ -6212,6 +6212,81 @@ section {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.geo-temporal-chart {
|
||||
margin-top: 0.7rem;
|
||||
padding: 0.7rem;
|
||||
border: 1px solid #e1e8e5;
|
||||
border-radius: 5px;
|
||||
background: #fbfcfc;
|
||||
}
|
||||
|
||||
.geo-temporal-chart-heading {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.geo-temporal-chart-heading > div {
|
||||
display: grid;
|
||||
gap: 0.1rem;
|
||||
}
|
||||
|
||||
.geo-temporal-chart-heading span,
|
||||
.geo-temporal-chart-values span {
|
||||
color: #6a7773;
|
||||
font-size: 0.64rem;
|
||||
}
|
||||
|
||||
.geo-temporal-chart svg {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 150px;
|
||||
margin-top: 0.4rem;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.geo-temporal-chart svg line {
|
||||
stroke: #cbd6d2;
|
||||
stroke-width: 1;
|
||||
}
|
||||
|
||||
.geo-temporal-chart svg polyline {
|
||||
fill: none;
|
||||
stroke: #2676a8;
|
||||
stroke-width: 3;
|
||||
vector-effect: non-scaling-stroke;
|
||||
}
|
||||
|
||||
.geo-temporal-chart svg circle {
|
||||
fill: #ffffff;
|
||||
stroke: #2676a8;
|
||||
stroke-width: 3;
|
||||
vector-effect: non-scaling-stroke;
|
||||
}
|
||||
|
||||
.geo-temporal-chart svg text {
|
||||
fill: #6a7773;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.geo-temporal-chart-values {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(108px, 1fr));
|
||||
gap: 0.35rem;
|
||||
}
|
||||
|
||||
.geo-temporal-chart-values > div {
|
||||
display: grid;
|
||||
gap: 0.1rem;
|
||||
padding-top: 0.4rem;
|
||||
border-top: 1px solid #e1e8e5;
|
||||
}
|
||||
|
||||
.geo-temporal-chart-values strong {
|
||||
font-size: 0.72rem;
|
||||
}
|
||||
|
||||
.geo-change-counts {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
@@ -6553,3 +6628,327 @@ section {
|
||||
min-height: 24rem;
|
||||
}
|
||||
}
|
||||
|
||||
.source-catalog-panel {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
.source-catalog-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 0.65rem;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.source-catalog-card {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
gap: 0.45rem 0.75rem;
|
||||
min-width: 0;
|
||||
padding: 0.85rem;
|
||||
border: 1px solid #dfe7e4;
|
||||
border-radius: 6px;
|
||||
background: #fbfcfc;
|
||||
}
|
||||
|
||||
.source-catalog-card > div {
|
||||
display: grid;
|
||||
gap: 0.15rem;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.source-catalog-card span,
|
||||
.source-catalog-card p,
|
||||
.source-opportunity-list span,
|
||||
.source-opportunity-list p {
|
||||
margin: 0;
|
||||
color: #66746f;
|
||||
font-size: 0.74rem;
|
||||
}
|
||||
|
||||
.source-catalog-card b {
|
||||
color: #286646;
|
||||
font-size: 0.7rem;
|
||||
}
|
||||
|
||||
.source-catalog-card p {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
.source-opportunity-list {
|
||||
margin-top: 0.8rem;
|
||||
border-top: 1px solid #dfe7e4;
|
||||
padding-top: 0.75rem;
|
||||
}
|
||||
|
||||
.source-opportunity-list > summary {
|
||||
cursor: pointer;
|
||||
color: #34433e;
|
||||
font-weight: 750;
|
||||
}
|
||||
|
||||
.source-opportunity-list > div {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 0.6rem;
|
||||
margin-top: 0.7rem;
|
||||
}
|
||||
|
||||
.source-opportunity-list article {
|
||||
display: grid;
|
||||
gap: 0.35rem;
|
||||
padding: 0.75rem;
|
||||
border: 1px solid #e2e8e6;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.source-opportunity-list article > div {
|
||||
display: grid;
|
||||
gap: 0.15rem;
|
||||
}
|
||||
|
||||
.source-opportunity-list a {
|
||||
width: fit-content;
|
||||
color: #17638a;
|
||||
font-size: 0.72rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
@media (max-width: 980px) {
|
||||
.source-catalog-grid,
|
||||
.source-opportunity-list > div {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.source-catalog-grid,
|
||||
.source-opportunity-list > div {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
.workspace-grid-assistant {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.geo-assistant-panel {
|
||||
width: min(1120px, 100%);
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.assistant-context-strip {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(180px, 1fr) minmax(240px, 1.25fr) auto;
|
||||
gap: 0.75rem;
|
||||
align-items: end;
|
||||
margin-top: 1rem;
|
||||
padding: 0.8rem;
|
||||
border: 1px solid #dfe7e4;
|
||||
border-radius: 6px;
|
||||
background: #f7faf9;
|
||||
}
|
||||
|
||||
.assistant-context-strip > div,
|
||||
.assistant-context-strip label {
|
||||
display: grid;
|
||||
gap: 0.25rem;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.assistant-context-strip span,
|
||||
.assistant-composer label,
|
||||
.assistant-message > span {
|
||||
color: #66746f;
|
||||
font-size: 0.68rem;
|
||||
font-weight: 750;
|
||||
}
|
||||
|
||||
.assistant-context-strip select {
|
||||
width: 100%;
|
||||
min-height: 2.5rem;
|
||||
border: 1px solid #cfdad6;
|
||||
border-radius: 5px;
|
||||
padding: 0 0.65rem;
|
||||
background: #ffffff;
|
||||
color: #26332f;
|
||||
}
|
||||
|
||||
.assistant-suggestions {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
gap: 0.5rem;
|
||||
margin-top: 0.8rem;
|
||||
}
|
||||
|
||||
.assistant-suggestions button {
|
||||
min-height: 3.5rem;
|
||||
border: 1px solid #d8e3df;
|
||||
border-radius: 5px;
|
||||
padding: 0.65rem;
|
||||
background: #ffffff;
|
||||
color: #34433e;
|
||||
font-size: 0.75rem;
|
||||
font-weight: 650;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.assistant-suggestions button:hover:not(:disabled) {
|
||||
border-color: #7fa99a;
|
||||
background: #f4f9f7;
|
||||
}
|
||||
|
||||
.assistant-conversation {
|
||||
display: grid;
|
||||
gap: 0.7rem;
|
||||
min-height: 22rem;
|
||||
max-height: 52vh;
|
||||
margin-top: 0.8rem;
|
||||
overflow-y: auto;
|
||||
border: 1px solid #dfe7e4;
|
||||
border-radius: 6px;
|
||||
padding: 0.9rem;
|
||||
background: #f7f9f8;
|
||||
}
|
||||
|
||||
.assistant-empty-state {
|
||||
align-self: center;
|
||||
justify-self: center;
|
||||
max-width: 34rem;
|
||||
color: #66746f;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.assistant-empty-state p {
|
||||
margin: 0.35rem 0 0;
|
||||
}
|
||||
|
||||
.assistant-message {
|
||||
display: grid;
|
||||
gap: 0.3rem;
|
||||
width: min(82%, 48rem);
|
||||
padding: 0.8rem 0.9rem;
|
||||
border: 1px solid #dfe7e4;
|
||||
border-radius: 6px;
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
.assistant-message-user {
|
||||
justify-self: end;
|
||||
border-color: #c9ddd5;
|
||||
background: #eef6f3;
|
||||
}
|
||||
|
||||
.assistant-message p {
|
||||
margin: 0;
|
||||
color: #26332f;
|
||||
line-height: 1.55;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
.assistant-message details {
|
||||
margin-top: 0.3rem;
|
||||
border-top: 1px solid #e3e9e7;
|
||||
padding-top: 0.45rem;
|
||||
}
|
||||
|
||||
.assistant-message summary {
|
||||
cursor: pointer;
|
||||
color: #56655f;
|
||||
font-size: 0.7rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.assistant-evidence-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 0.3rem;
|
||||
margin-top: 0.45rem;
|
||||
}
|
||||
|
||||
.assistant-evidence-grid span {
|
||||
padding: 0.35rem 0.45rem;
|
||||
border-radius: 4px;
|
||||
background: #f1f5f3;
|
||||
color: #596761;
|
||||
font-size: 0.68rem;
|
||||
}
|
||||
|
||||
.assistant-thinking {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.55rem;
|
||||
color: #53645e;
|
||||
font-size: 0.76rem;
|
||||
}
|
||||
|
||||
.assistant-thinking > span {
|
||||
width: 0.8rem;
|
||||
height: 0.8rem;
|
||||
border: 2px solid #b9cbc4;
|
||||
border-top-color: #347950;
|
||||
border-radius: 50%;
|
||||
animation: assistant-spin 0.8s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes assistant-spin {
|
||||
to { transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
.assistant-composer {
|
||||
display: grid;
|
||||
gap: 0.4rem;
|
||||
margin-top: 0.8rem;
|
||||
}
|
||||
|
||||
.assistant-composer textarea {
|
||||
width: 100%;
|
||||
resize: vertical;
|
||||
border: 1px solid #cfdad6;
|
||||
border-radius: 6px;
|
||||
padding: 0.75rem;
|
||||
color: #26332f;
|
||||
font: inherit;
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
.assistant-composer > div {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
gap: 0.55rem;
|
||||
}
|
||||
|
||||
.assistant-composer > div p {
|
||||
margin: 0 auto 0 0;
|
||||
color: #66746f;
|
||||
font-size: 0.68rem;
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.assistant-context-strip,
|
||||
.assistant-suggestions {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.assistant-context-strip > button {
|
||||
width: fit-content;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.assistant-context-strip,
|
||||
.assistant-suggestions,
|
||||
.assistant-evidence-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.assistant-message {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.assistant-composer > div {
|
||||
align-items: stretch;
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user