Skip to content

Commit 577955e

Browse files
committed
Enh(viewer): Small visual improvements
1 parent a1af0b4 commit 577955e

2 files changed

Lines changed: 31 additions & 4 deletions

File tree

codeclash/viewer/static/css/style.css

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,17 @@ body {
174174
transition: all 0.2s ease;
175175
}
176176

177+
/* Remove any browser default styling that might add blue lines */
178+
details {
179+
border: none !important;
180+
outline: none !important;
181+
}
182+
183+
details summary {
184+
outline: none !important;
185+
border: none !important;
186+
}
187+
177188
.foldout:hover {
178189
box-shadow: var(--shadow);
179190
}
@@ -204,14 +215,22 @@ body {
204215

205216
/* Special foldout types */
206217
.round-foldout {
207-
border-left: 4px solid var(--accent-color);
218+
/* Removed distracting blue border */
208219
}
209220

210221
.trajectory-foldout {
211-
border-left: 4px solid var(--success-color);
222+
/* Removed distracting green border */
212223
margin-left: 1rem;
213224
}
214225

226+
/* Round separator */
227+
.round-separator {
228+
height: 2px;
229+
background: linear-gradient(90deg, transparent, var(--border-color), transparent);
230+
margin: 2rem 0;
231+
border-radius: 1px;
232+
}
233+
215234
/* Trajectory specific styles */
216235
.trajectory-info {
217236
background-color: var(--bg-tertiary);
@@ -503,12 +522,15 @@ body {
503522

504523
/* Focus styles for accessibility */
505524
button:focus,
506-
select:focus,
507-
summary:focus {
525+
select:focus {
508526
outline: 2px solid var(--accent-color);
509527
outline-offset: 2px;
510528
}
511529

530+
summary:focus {
531+
outline: none;
532+
}
533+
512534
/* Scrollbar styling for webkit browsers */
513535
::-webkit-scrollbar {
514536
width: 8px;

codeclash/viewer/templates/index.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,11 @@ <h3>🤖 Player {{ trajectory.player_id }} Round {{ round_num }}</h3>
243243
{% endfor %}
244244
{% endif %}
245245

246+
<!-- Round separator (except after the last round) -->
247+
{% if not loop.last %}
248+
<div class="round-separator"></div>
249+
{% endif %}
250+
246251
{% endfor %}
247252
</section>
248253
</main>

0 commit comments

Comments
 (0)