Skip to content

Commit a78679f

Browse files
ofriwclaude
andcommitted
Update visual component styling for presentation mode
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 320abad commit a78679f

File tree

3 files changed

+186
-209
lines changed

3 files changed

+186
-209
lines changed

website/src/components/VisualElements/AbstractShapesVisualization.module.css

Lines changed: 23 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
font-weight: 600;
2525
font-size: 1rem;
2626
margin-bottom: 1.5rem;
27-
color: rgba(255, 255, 255, 0.9);
27+
color: var(--ifm-color-emphasis-800);
2828
}
2929

3030
.shapes {
@@ -59,14 +59,14 @@
5959

6060
.arrow {
6161
font-size: 2rem;
62-
color: rgba(255, 255, 255, 0.7);
62+
color: var(--ifm-color-emphasis-600);
6363
margin: 1rem 0;
6464
line-height: 1;
6565
}
6666

6767
.outcome {
6868
font-size: 0.95rem;
69-
color: rgba(255, 255, 255, 0.8);
69+
color: var(--ifm-color-emphasis-700);
7070
font-style: italic;
7171
min-height: 2.5rem;
7272
display: flex;
@@ -78,52 +78,58 @@
7878
.description {
7979
text-align: center;
8080
font-size: 1rem;
81-
color: rgba(255, 255, 255, 0.9);
81+
color: var(--ifm-color-emphasis-800);
8282
font-weight: 500;
8383
padding-top: 1.5rem;
84-
border-top: 1px solid rgba(255, 255, 255, 0.2);
84+
border-top: 1px solid var(--ifm-color-emphasis-300);
8585
margin-top: 0.5rem;
8686
}
8787

8888
/* Responsive design for mobile */
8989
@media (max-width: 768px) {
9090
.container {
91-
padding: 1.5rem 1rem;
91+
padding: 1.5rem 0.75rem;
9292
}
9393

9494
.comparison {
95-
flex-direction: column;
96-
gap: 2.5rem;
95+
gap: 1.5rem;
9796
}
9897

9998
.side {
100-
max-width: 100%;
99+
max-width: 45%;
100+
}
101+
102+
.label {
103+
font-size: 0.85rem;
104+
margin-bottom: 1rem;
101105
}
102106

103107
.shapes {
104-
min-height: 140px;
108+
min-height: 120px;
105109
}
106110

107111
.row {
108-
font-size: 2rem;
109-
letter-spacing: 0.2rem;
112+
font-size: 1.5rem;
113+
letter-spacing: 0.15rem;
110114
}
111115

112116
.cleanShape {
113-
font-size: 3rem;
117+
font-size: 2.5rem;
114118
}
115119

116120
.arrow {
117-
font-size: 1.5rem;
118-
margin: 0.75rem 0;
121+
font-size: 1.2rem;
122+
margin: 0.5rem 0;
119123
}
120124

121125
.outcome {
122-
font-size: 0.9rem;
126+
font-size: 0.8rem;
123127
min-height: 2rem;
128+
padding: 0 0.25rem;
124129
}
125130

126131
.description {
127-
font-size: 0.9rem;
132+
font-size: 0.85rem;
133+
padding-top: 1rem;
128134
}
129135
}

website/src/components/VisualElements/PlanningStrategyComparison.module.css

Lines changed: 46 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.container {
2-
margin: 2rem auto;
2+
margin: 3rem auto;
33
padding: 1.5rem;
44
border-radius: 8px;
55
background: var(--visual-bg-decision);
@@ -8,12 +8,6 @@
88
animation: fadeIn 0.6s ease-in-out;
99
}
1010

11-
.container.compact {
12-
margin: 6rem auto;
13-
padding: 1rem;
14-
max-width: 700px;
15-
}
16-
1711
@keyframes fadeIn {
1812
from {
1913
opacity: 0;
@@ -36,39 +30,23 @@
3630
/* Titles */
3731
.title {
3832
fill: var(--ifm-font-color-base);
39-
font-size: 20px;
33+
font-size: 22px;
4034
font-weight: 700;
4135
font-family: var(--ifm-font-family-base);
42-
letter-spacing: 1px;
36+
letter-spacing: 1.5px;
4337
text-transform: uppercase;
4438
}
4539

4640
/* Labels (Start/Goal) */
4741
.label {
4842
fill: var(--ifm-color-emphasis-700);
49-
font-size: 15px;
43+
font-size: 14px;
5044
font-weight: 600;
5145
font-family: var(--ifm-font-family-base);
5246
text-transform: uppercase;
5347
letter-spacing: 0.5px;
5448
}
5549

56-
/* Context labels */
57-
.contextLabel {
58-
fill: var(--ifm-font-color-base);
59-
font-size: 14px;
60-
font-weight: 600;
61-
font-family: var(--ifm-font-family-base);
62-
}
63-
64-
/* Trade-off labels */
65-
.tradeoffLabel {
66-
fill: var(--ifm-color-emphasis-600);
67-
font-size: 11px;
68-
font-family: var(--ifm-font-family-base);
69-
font-style: italic;
70-
}
71-
7250
/* ===== EXPLORATION SIDE (LEFT) ===== */
7351

7452
.explorationGroup {
@@ -86,29 +64,25 @@
8664
}
8765
}
8866

89-
.explorationNode {
90-
fill: var(--ifm-background-surface-color);
67+
.explorationStart {
68+
fill: var(--visual-workflow);
9169
stroke: var(--visual-workflow);
92-
stroke-width: 2;
70+
stroke-width: 2.5;
9371
}
9472

95-
.explorationNodeEnd {
96-
fill: var(--visual-workflow);
73+
.explorationNode {
74+
fill: var(--ifm-background-surface-color);
9775
stroke: var(--visual-workflow);
9876
stroke-width: 2;
77+
opacity: 0.85;
9978
}
10079

101-
.explorationPath {
80+
.explorationPathLight {
10281
stroke: var(--visual-workflow);
103-
stroke-width: 2;
82+
stroke-width: 1.5;
10483
fill: none;
10584
stroke-linecap: round;
106-
opacity: 0.8;
107-
}
108-
109-
.arrowMarkerExploration polygon {
110-
fill: var(--visual-workflow);
111-
opacity: 0.8;
85+
opacity: 0.4;
11286
}
11387

11488
/* ===== EXACT SIDE (RIGHT) ===== */
@@ -128,30 +102,25 @@
128102
}
129103
}
130104

131-
.exactNode {
132-
fill: var(--ifm-background-surface-color);
105+
.exactStart {
106+
fill: var(--visual-capability);
133107
stroke: var(--visual-capability);
134108
stroke-width: 2.5;
135109
}
136110

137-
.exactNodeEnd {
111+
.exactGoal {
138112
fill: var(--visual-capability);
139113
stroke: var(--visual-capability);
140114
stroke-width: 2.5;
141115
}
142116

143117
.exactPath {
144118
stroke: var(--visual-capability);
145-
stroke-width: 3;
119+
stroke-width: 4;
146120
fill: none;
147121
stroke-linecap: round;
148122
}
149123

150-
.exactPathMarker {
151-
fill: var(--visual-capability);
152-
opacity: 0.4;
153-
}
154-
155124
.arrowMarkerExact polygon {
156125
fill: var(--visual-capability);
157126
}
@@ -165,55 +134,49 @@
165134
opacity: 0.5;
166135
}
167136

168-
.dividerText {
169-
fill: var(--ifm-color-emphasis-600);
170-
font-size: 11px;
171-
font-weight: 500;
172-
font-family: var(--ifm-font-family-base);
173-
font-style: italic;
174-
letter-spacing: 0.3px;
175-
}
176-
177137
/* Description text */
178138
.description {
179139
margin: 1.5rem 0 0 0;
180140
font-size: 0.95rem;
181-
line-height: 1.6;
141+
line-height: 1.8;
182142
color: var(--ifm-color-emphasis-700);
183143
text-align: center;
184144
padding: 0 1rem;
185145
border-top: 1px solid var(--ifm-color-emphasis-300);
186146
padding-top: 1rem;
187147
}
188148

149+
.description strong {
150+
color: var(--ifm-font-color-base);
151+
font-weight: 600;
152+
}
153+
154+
.description em {
155+
display: block;
156+
margin-top: 0.5rem;
157+
font-size: 0.9rem;
158+
color: var(--ifm-color-emphasis-600);
159+
}
160+
189161
/* Responsive adjustments */
190162
@media (max-width: 768px) {
191163
.container {
192164
padding: 1rem;
165+
margin: 2rem auto;
193166
}
194167

195168
.title {
196169
font-size: 18px;
170+
letter-spacing: 1px;
197171
}
198172

199173
.label {
200-
font-size: 13px;
201-
}
202-
203-
.contextLabel {
204-
font-size: 13px;
205-
}
206-
207-
.tradeoffLabel {
208-
font-size: 10px;
209-
}
210-
211-
.dividerText {
212-
font-size: 10px;
174+
font-size: 12px;
213175
}
214176

215177
.description {
216178
font-size: 0.85rem;
179+
line-height: 1.6;
217180
padding: 0 0.5rem;
218181
padding-top: 0.75rem;
219182
}
@@ -226,25 +189,26 @@
226189
}
227190

228191
.label {
229-
font-size: 12px;
192+
font-size: 11px;
230193
}
231194

232-
.contextLabel {
233-
font-size: 12px;
234-
}
235-
236-
.tradeoffLabel {
237-
font-size: 9px;
195+
.explorationPathLight {
196+
stroke-width: 1;
238197
}
239198

240-
.explorationPath,
241199
.exactPath {
242-
stroke-width: 1.5;
200+
stroke-width: 3;
243201
}
244202

245203
.explorationNode,
246-
.exactNode {
247-
stroke-width: 1.5;
204+
.explorationStart,
205+
.exactStart,
206+
.exactGoal {
207+
stroke-width: 2;
208+
}
209+
210+
.description {
211+
font-size: 0.8rem;
248212
}
249213
}
250214

0 commit comments

Comments
 (0)