Skip to content

47 improve inspected point visualization #58

Merged
merged 12 commits into from
Nov 5, 2025
Merged
Show file tree
Hide file tree
Changes from 10 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 23 additions & 1 deletion src/MeasurementControl/measurementsPanel.css
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,14 @@
#measurements_list td {
padding: 2px 4px;
}
#measurements_list tr:nth-child(even) {
#measurements_list table.measurement_value_table tr.alt-even td {
background: #3a454b;
}

/* Fallback: ensure odd rows are neutral unless other row-type rules apply */
#measurements_list table.measurement_value_table tr.alt-odd td {
background: transparent;
}
#measurements_list .coordRow td {
background: #2f383d;
font-family: monospace;
Expand Down Expand Up @@ -300,3 +305,20 @@
color: #aaa;
pointer-events: none;
}

/* On-canvas measurement label styling for improved contrast */
.measurement-canvas-label {
position: absolute;
transform: translate(-50%, -100%);
pointer-events: none;
color: #000;
background: rgba(255, 255, 255, 0.95);
padding: 2px 6px;
border-radius: 4px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
border: 1px solid rgba(0, 0, 0, 0.08);
font-weight: 600;
font-size: 12px;
white-space: nowrap;
z-index: 2100;
}
Loading