changes
This commit is contained in:
@@ -1,39 +1,7 @@
|
||||
// Fusion follow-up design tokens (extends Phases 1-3 tokens for consistency).
|
||||
|
||||
$fu-bg-primary: #ffffff;
|
||||
$fu-bg-secondary: #f9fafb;
|
||||
$fu-bg-tertiary: #f3f4f6;
|
||||
$fu-border: #e5e7eb;
|
||||
$fu-text-primary: #111827;
|
||||
$fu-text-secondary: #6b7280;
|
||||
$fu-text-muted: #9ca3af;
|
||||
$fu-accent: #3b82f6;
|
||||
$fu-accent-bg: #eff6ff;
|
||||
|
||||
// Status colors
|
||||
$fu-status-no-action: #6b7280;
|
||||
$fu-status-action-due: #f59e0b;
|
||||
$fu-status-paused: #6366f1;
|
||||
$fu-status-blocked: #ef4444;
|
||||
$fu-status-with-credit: #8b5cf6;
|
||||
|
||||
// Risk band colors
|
||||
$fu-risk-low: #10b981;
|
||||
$fu-risk-low-bg: #ecfdf5;
|
||||
$fu-risk-medium: #f59e0b;
|
||||
$fu-risk-medium-bg: #fffbeb;
|
||||
$fu-risk-high: #ef4444;
|
||||
$fu-risk-high-bg: #fef2f2;
|
||||
$fu-risk-critical: #b91c1c;
|
||||
$fu-risk-critical-bg: #fef2f2;
|
||||
|
||||
// Aging bucket colors (escalating intensity)
|
||||
$fu-bucket-current: #10b981;
|
||||
$fu-bucket-1-30: #fbbf24;
|
||||
$fu-bucket-31-60: #f59e0b;
|
||||
$fu-bucket-61-90: #ef4444;
|
||||
$fu-bucket-91-120: #dc2626;
|
||||
$fu-bucket-120-plus: #7f1d1d;
|
||||
// Fusion follow-up design tokens.
|
||||
// COLOR uses BS5 CSS custom properties (--bs-*) declared inline in
|
||||
// followup.scss so dark mode flips automatically. SCSS vars below are
|
||||
// for spacing/typography only.
|
||||
|
||||
$fu-space-1: 0.25rem;
|
||||
$fu-space-2: 0.5rem;
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
// Variables come from _variables.scss (loaded first in the asset bundle).
|
||||
|
||||
[data-color-scheme="dark"] .o_fusion_followup {
|
||||
background: #1f2937; color: #f9fafb;
|
||||
|
||||
&_header, &_card, .fu-ai-text-panel {
|
||||
background: #111827; border-color: #374151; color: #f9fafb;
|
||||
}
|
||||
|
||||
&_card {
|
||||
&:hover { border-color: #60a5fa; }
|
||||
&.selected { background: #1e3a8a; border-color: #60a5fa; }
|
||||
.partner-numbers .label { color: #9ca3af; }
|
||||
.partner-numbers .value { color: #f9fafb; }
|
||||
}
|
||||
|
||||
.btn_fu {
|
||||
background: #374151; border-color: #4b5563; color: #f9fafb;
|
||||
&:hover { background: #4b5563; }
|
||||
&.primary { background: #3b82f6; }
|
||||
}
|
||||
|
||||
.fu-ai-text-panel {
|
||||
.ai-subject { background: #1e3a8a; }
|
||||
.ai-body { background: #1f2937; }
|
||||
}
|
||||
}
|
||||
@@ -1,36 +1,72 @@
|
||||
// Variables come from _variables.scss (loaded first in the asset bundle).
|
||||
// Variables (spacing/typography) come from _variables.scss via manifest order.
|
||||
// COLOR uses BS5 CSS custom properties so dark mode flips automatically.
|
||||
|
||||
:root {
|
||||
--fusion-fu-accent: #3b82f6;
|
||||
--fusion-fu-accent-bg: rgba(59, 130, 246, 0.10);
|
||||
|
||||
--fusion-fu-status-no-action: #6b7280;
|
||||
--fusion-fu-status-no-action-bg: rgba(107, 114, 128, 0.12);
|
||||
--fusion-fu-status-action-due: #f59e0b;
|
||||
--fusion-fu-status-action-due-bg: rgba(245, 158, 11, 0.14);
|
||||
--fusion-fu-status-paused: #6366f1;
|
||||
--fusion-fu-status-paused-bg: rgba(99, 102, 241, 0.14);
|
||||
--fusion-fu-status-blocked: #ef4444;
|
||||
--fusion-fu-status-blocked-bg: rgba(239, 68, 68, 0.14);
|
||||
--fusion-fu-status-with-credit: #8b5cf6;
|
||||
--fusion-fu-status-with-credit-bg:rgba(139, 92, 246, 0.14);
|
||||
|
||||
--fusion-fu-risk-low: #10b981;
|
||||
--fusion-fu-risk-low-bg: rgba(16, 185, 129, 0.12);
|
||||
--fusion-fu-risk-medium: #f59e0b;
|
||||
--fusion-fu-risk-medium-bg: rgba(245, 158, 11, 0.12);
|
||||
--fusion-fu-risk-high: #ef4444;
|
||||
--fusion-fu-risk-high-bg: rgba(239, 68, 68, 0.12);
|
||||
--fusion-fu-risk-critical: #b91c1c;
|
||||
--fusion-fu-risk-critical-bg:rgba(185, 28, 28, 0.18);
|
||||
|
||||
--fusion-fu-bucket-current: #10b981;
|
||||
--fusion-fu-bucket-1-30: #fbbf24;
|
||||
--fusion-fu-bucket-31-60: #f59e0b;
|
||||
--fusion-fu-bucket-61-90: #ef4444;
|
||||
--fusion-fu-bucket-91-120: #dc2626;
|
||||
--fusion-fu-bucket-120-plus: #7f1d1d;
|
||||
}
|
||||
|
||||
.o_fusion_followup {
|
||||
background: $fu-bg-secondary;
|
||||
background: var(--bs-body-bg);
|
||||
color: var(--bs-body-color);
|
||||
min-height: 100vh;
|
||||
|
||||
&_header {
|
||||
background: $fu-bg-primary;
|
||||
border-bottom: 1px solid $fu-border;
|
||||
background: var(--bs-body-bg);
|
||||
color: var(--bs-emphasis-color);
|
||||
border-bottom: 1px solid var(--bs-border-color);
|
||||
padding: $fu-space-4 $fu-space-6;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
|
||||
h1 { font-size: $fu-font-size-xl; margin: 0; }
|
||||
h1 { font-size: $fu-font-size-xl; margin: 0; color: inherit; }
|
||||
|
||||
.summary {
|
||||
display: flex;
|
||||
gap: $fu-space-6;
|
||||
font-size: $fu-font-size-sm;
|
||||
color: $fu-text-secondary;
|
||||
color: var(--bs-secondary-color);
|
||||
|
||||
.summary-value {
|
||||
font-weight: 600;
|
||||
color: $fu-text-primary;
|
||||
color: var(--bs-emphasis-color);
|
||||
margin-left: $fu-space-1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&_card {
|
||||
background: $fu-bg-primary;
|
||||
border: 1px solid $fu-border;
|
||||
background: var(--bs-body-bg);
|
||||
color: var(--bs-body-color);
|
||||
border: 1px solid var(--bs-border-color);
|
||||
border-radius: $fu-border-radius-md;
|
||||
padding: $fu-space-4;
|
||||
margin-bottom: $fu-space-3;
|
||||
@@ -38,13 +74,13 @@
|
||||
transition: all 200ms ease-in-out;
|
||||
|
||||
&:hover {
|
||||
border-color: $fu-accent;
|
||||
border-color: var(--fusion-fu-accent);
|
||||
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
&.selected {
|
||||
border-color: $fu-accent;
|
||||
background: $fu-accent-bg;
|
||||
border-color: var(--fusion-fu-accent);
|
||||
background: var(--fusion-fu-accent-bg);
|
||||
}
|
||||
|
||||
&_header {
|
||||
@@ -56,6 +92,7 @@
|
||||
.partner-name {
|
||||
font-weight: 600;
|
||||
font-size: $fu-font-size-base;
|
||||
color: var(--bs-emphasis-color);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -64,26 +101,34 @@
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: $fu-space-2;
|
||||
font-size: $fu-font-size-sm;
|
||||
color: $fu-text-secondary;
|
||||
color: var(--bs-secondary-color);
|
||||
|
||||
.label { font-weight: 500; margin-right: $fu-space-2; }
|
||||
.value { color: $fu-text-primary; font-weight: 500; }
|
||||
.value { color: var(--bs-emphasis-color); font-weight: 500; }
|
||||
}
|
||||
}
|
||||
|
||||
.btn_fu {
|
||||
padding: $fu-space-2 $fu-space-4;
|
||||
border-radius: $fu-border-radius;
|
||||
background: $fu-bg-primary;
|
||||
border: 1px solid $fu-border;
|
||||
color: $fu-text-primary;
|
||||
background: var(--bs-body-bg);
|
||||
border: 1px solid var(--bs-border-color);
|
||||
color: var(--bs-body-color);
|
||||
font-size: $fu-font-size-sm;
|
||||
cursor: pointer;
|
||||
|
||||
&:hover { background: $fu-bg-tertiary; }
|
||||
&.primary { background: $fu-accent; border-color: $fu-accent; color: white;
|
||||
&:hover { background: darken($fu-accent, 8%); } }
|
||||
&.danger { background: $fu-status-blocked; border-color: $fu-status-blocked; color: white; }
|
||||
&:hover { background: var(--bs-tertiary-bg); }
|
||||
&.primary {
|
||||
background: var(--fusion-fu-accent);
|
||||
border-color: var(--fusion-fu-accent);
|
||||
color: #ffffff;
|
||||
&:hover { filter: brightness(0.92); }
|
||||
}
|
||||
&.danger {
|
||||
background: var(--fusion-fu-status-blocked);
|
||||
border-color: var(--fusion-fu-status-blocked);
|
||||
color: #ffffff;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -94,11 +139,11 @@
|
||||
font-weight: 500;
|
||||
text-transform: uppercase;
|
||||
|
||||
&[data-status="no_action"] { background: lighten($fu-status-no-action, 40%); color: $fu-status-no-action; }
|
||||
&[data-status="action_due"] { background: lighten($fu-status-action-due, 35%); color: $fu-status-action-due; }
|
||||
&[data-status="paused"] { background: lighten($fu-status-paused, 35%); color: $fu-status-paused; }
|
||||
&[data-status="blocked"] { background: lighten($fu-status-blocked, 35%); color: $fu-status-blocked; }
|
||||
&[data-status="with_credit_team"] { background: lighten($fu-status-with-credit, 35%); color: $fu-status-with-credit; }
|
||||
&[data-status="no_action"] { background: var(--fusion-fu-status-no-action-bg); color: var(--fusion-fu-status-no-action); }
|
||||
&[data-status="action_due"] { background: var(--fusion-fu-status-action-due-bg); color: var(--fusion-fu-status-action-due); }
|
||||
&[data-status="paused"] { background: var(--fusion-fu-status-paused-bg); color: var(--fusion-fu-status-paused); }
|
||||
&[data-status="blocked"] { background: var(--fusion-fu-status-blocked-bg); color: var(--fusion-fu-status-blocked); }
|
||||
&[data-status="with_credit_team"] { background: var(--fusion-fu-status-with-credit-bg); color: var(--fusion-fu-status-with-credit); }
|
||||
}
|
||||
|
||||
.fu-risk-badge {
|
||||
@@ -109,10 +154,10 @@
|
||||
font-weight: 600;
|
||||
font-size: $fu-font-size-xs;
|
||||
|
||||
&[data-band="low"] { background: $fu-risk-low-bg; color: $fu-risk-low; }
|
||||
&[data-band="medium"] { background: $fu-risk-medium-bg; color: $fu-risk-medium; }
|
||||
&[data-band="high"] { background: $fu-risk-high-bg; color: $fu-risk-high; }
|
||||
&[data-band="critical"] { background: $fu-risk-critical-bg; color: $fu-risk-critical; font-weight: 700; }
|
||||
&[data-band="low"] { background: var(--fusion-fu-risk-low-bg); color: var(--fusion-fu-risk-low); }
|
||||
&[data-band="medium"] { background: var(--fusion-fu-risk-medium-bg); color: var(--fusion-fu-risk-medium); }
|
||||
&[data-band="high"] { background: var(--fusion-fu-risk-high-bg); color: var(--fusion-fu-risk-high); }
|
||||
&[data-band="critical"] { background: var(--fusion-fu-risk-critical-bg); color: var(--fusion-fu-risk-critical); font-weight: 700; }
|
||||
}
|
||||
|
||||
.fu-aging-strip {
|
||||
@@ -126,28 +171,34 @@
|
||||
.bucket {
|
||||
height: 100%;
|
||||
|
||||
&[data-name="current"] { background: $fu-bucket-current; }
|
||||
&[data-name="1_30"] { background: $fu-bucket-1-30; }
|
||||
&[data-name="31_60"] { background: $fu-bucket-31-60; }
|
||||
&[data-name="61_90"] { background: $fu-bucket-61-90; }
|
||||
&[data-name="91_120"] { background: $fu-bucket-91-120; }
|
||||
&[data-name="120_plus"] { background: $fu-bucket-120-plus; }
|
||||
&[data-name="current"] { background: var(--fusion-fu-bucket-current); }
|
||||
&[data-name="1_30"] { background: var(--fusion-fu-bucket-1-30); }
|
||||
&[data-name="31_60"] { background: var(--fusion-fu-bucket-31-60); }
|
||||
&[data-name="61_90"] { background: var(--fusion-fu-bucket-61-90); }
|
||||
&[data-name="91_120"] { background: var(--fusion-fu-bucket-91-120); }
|
||||
&[data-name="120_plus"] { background: var(--fusion-fu-bucket-120-plus); }
|
||||
}
|
||||
}
|
||||
|
||||
.fu-ai-text-panel {
|
||||
background: $fu-bg-primary;
|
||||
border: 1px solid $fu-border;
|
||||
background: var(--bs-body-bg);
|
||||
color: var(--bs-body-color);
|
||||
border: 1px solid var(--bs-border-color);
|
||||
border-radius: $fu-border-radius-md;
|
||||
padding: $fu-space-4;
|
||||
|
||||
h5 { margin: 0 0 $fu-space-2; font-size: $fu-font-size-base; }
|
||||
h5 {
|
||||
margin: 0 0 $fu-space-2;
|
||||
font-size: $fu-font-size-base;
|
||||
color: var(--bs-emphasis-color);
|
||||
}
|
||||
|
||||
.ai-subject {
|
||||
font-weight: 600;
|
||||
margin-bottom: $fu-space-2;
|
||||
padding: $fu-space-2;
|
||||
background: $fu-accent-bg;
|
||||
background: var(--fusion-fu-accent-bg);
|
||||
color: var(--bs-body-color);
|
||||
border-radius: $fu-border-radius;
|
||||
}
|
||||
|
||||
@@ -156,7 +207,8 @@
|
||||
font-family: monospace;
|
||||
font-size: $fu-font-size-sm;
|
||||
padding: $fu-space-3;
|
||||
background: $fu-bg-secondary;
|
||||
background: var(--bs-secondary-bg);
|
||||
color: var(--bs-body-color);
|
||||
border-radius: $fu-border-radius;
|
||||
max-height: 300px;
|
||||
overflow-y: auto;
|
||||
@@ -165,7 +217,7 @@
|
||||
.key-points {
|
||||
margin-top: $fu-space-3;
|
||||
font-size: $fu-font-size-sm;
|
||||
color: $fu-text-secondary;
|
||||
color: var(--bs-secondary-color);
|
||||
|
||||
ul { margin: 0; padding-left: $fu-space-4; }
|
||||
}
|
||||
@@ -174,17 +226,19 @@
|
||||
.fu-history-table {
|
||||
width: 100%;
|
||||
font-size: $fu-font-size-sm;
|
||||
color: var(--bs-body-color);
|
||||
|
||||
th {
|
||||
background: $fu-bg-tertiary;
|
||||
background: var(--bs-tertiary-bg);
|
||||
padding: $fu-space-2 $fu-space-3;
|
||||
text-align: left;
|
||||
font-weight: 600;
|
||||
color: $fu-text-secondary;
|
||||
color: var(--bs-secondary-color);
|
||||
}
|
||||
|
||||
td {
|
||||
padding: $fu-space-2 $fu-space-3;
|
||||
border-bottom: 1px solid lighten($fu-border, 5%);
|
||||
border-bottom: 1px solid var(--bs-border-color);
|
||||
color: var(--bs-body-color);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user