Skip to content

Commit 908e5bc

Browse files
committed
Improves styling and shot trajectory visibility
Adopts a neutral background and darker text for readability Refines shadows and borders for a subtle, modern look Increases shot trajectory stroke width to enhance clarity
1 parent 050131b commit 908e5bc

File tree

4 files changed

+15
-13
lines changed

4 files changed

+15
-13
lines changed

src/components/CourseInfoBanner.css

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/* Course Info Banner Styles */
22
.course-info-banner {
3-
background: linear-gradient(135deg, #ff7a00 0%, #ff8d26 100%);
4-
color: white;
3+
background: #f8f9fa;
4+
color: #1f2937;
55
padding: 12px 16px;
66
border-radius: 8px;
77
margin-bottom: 16px;
8-
box-shadow: 0 2px 8px rgba(255, 122, 0, 0.2);
8+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
99
display: flex;
1010
gap: 16px;
1111
align-items: flex-start;
@@ -73,25 +73,25 @@
7373
font-weight: 700;
7474
margin-top: 8px;
7575
padding-top: 8px;
76-
border-top: 1px solid rgba(255, 255, 255, 0.3);
76+
border-top: 1px solid rgba(0, 0, 0, 0.1);
7777
}
7878

7979
.progress-hole {
80-
color: white;
80+
color: #1f2937;
8181
}
8282

8383
.progress-shot {
84-
color: white;
84+
color: #1f2937;
8585
}
8686

8787
.progress-player {
88-
color: white;
89-
opacity: 0.9;
88+
color: #1f2937;
89+
opacity: 0.8;
9090
font-weight: 600;
9191
}
9292

9393
.progress-separator {
94-
color: white;
94+
color: #1f2937;
9595
opacity: 0.5;
9696
font-weight: 400;
9797
}

src/components/MeasurementTilesView.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
padding: 12px;
44
background: #f8f9fa;
55
border-radius: 8px;
6-
max-height: calc(100vh - 200px);
6+
flex: 1;
77
overflow-y: auto;
8+
min-height: 0;
89
}
910

1011
/* Controls Section */

src/components/ShotTrajectoryOverlay.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,15 +199,15 @@ const ShotTrajectoryOverlay: React.FC<Props> = ({
199199
x2={shot.finish.x}
200200
y2={shot.finish.y}
201201
stroke="rgba(0, 0, 0, 0.3)"
202-
strokeWidth="7"
202+
strokeWidth="12"
203203
strokeLinecap="round"
204204
/>
205205

206206
{/* Shot trajectory line (curved, white) */}
207207
<path
208208
d={curvePath}
209209
stroke="white"
210-
strokeWidth="7"
210+
strokeWidth="12"
211211
strokeLinecap="round"
212212
fill="none"
213213
opacity="0.9"

src/components/WebhookInspector.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
.event-session-indicators{display:flex;gap:6px;margin-top:6px;align-items:center}
1313
.session-dot{width:10px;height:10px;border-radius:50%;border:1px solid rgba(0,0,0,0.1)}
1414
.no-events{padding:12px;color:#666}
15-
.webhook-inspector-preview{flex:1;padding:12px;overflow:auto;min-width:0}
15+
.webhook-inspector-preview{flex:1;padding:12px;overflow:hidden;min-width:0;display:flex;flex-direction:column}
16+
.webhook-inspector-preview > div{display:flex;flex-direction:column;flex:1;min-height:0}
1617
.preview-title{margin-top:0}
1718
.preview-time{margin-bottom:8px;color:#666}
1819
.preview-json{background:#fafafa;padding:12px;border-radius:6px;overflow:auto}

0 commit comments

Comments
 (0)