diff --git a/app/assets/css/main.css b/app/assets/css/main.css index c4e7594..9c8b85c 100644 --- a/app/assets/css/main.css +++ b/app/assets/css/main.css @@ -2358,6 +2358,64 @@ kbd { .lane.c-purple { --w-on: #b388ff; --w-off: #463768; } .lane.c-pink { --w-on: #ff7ac6; --w-off: #673657; } +/* Where the selection fits: green boxes over runs of free pins, and pins a dragged part lands on. */ +.fit-strip { + fill: rgb(61 220 132 / 0.16); + stroke: rgb(61 220 132 / 0.75); + stroke-width: 1.5; + cursor: pointer; +} + +.fit-strip.active { + fill: rgb(61 220 132 / 0.06); + stroke-dasharray: 3 3; +} + +.fit-window { + fill: rgb(61 220 132 / 0.32); + stroke: var(--on); + stroke-width: 2; + pointer-events: none; +} + +.fit-line { + fill: none; + stroke: var(--on); + stroke-width: 1.5; + stroke-dasharray: 4 4; + opacity: 0.85; + pointer-events: none; +} + +.fit-pin { + fill: none; + stroke: var(--on); + stroke-width: 2; + pointer-events: none; +} + +.drop-ring { + fill: rgb(61 220 132 / 0.25); + stroke: var(--on); + stroke-width: 2; + pointer-events: none; +} + +.fit-list { + display: flex; + flex-wrap: wrap; + gap: 4px; +} + +.fit-list .btn-sm.active { + border-color: var(--on); + color: var(--on); +} + +.fit-list .muted { + color: var(--muted); +} + .box-select.crossing { fill: rgb(61 220 132 / 0.08); stroke: var(--on); diff --git a/app/components/editor/BulkSettings.vue b/app/components/editor/BulkSettings.vue index d8556d6..51fd890 100644 --- a/app/components/editor/BulkSettings.vue +++ b/app/components/editor/BulkSettings.vue @@ -1,6 +1,7 @@