From e18dbb11f84f005574bd2d3205c2101aa6570a9f Mon Sep 17 00:00:00 2001 From: jaseg Date: Fri, 7 Apr 2023 19:27:48 +0200 Subject: protoserve WIP --- gerbonara/data/protoserve.html | 384 +++++++++++++++++++++++++++++++++-------- 1 file changed, 315 insertions(+), 69 deletions(-) (limited to 'gerbonara/data/protoserve.html') diff --git a/gerbonara/data/protoserve.html b/gerbonara/data/protoserve.html index 757e292..1dba90a 100644 --- a/gerbonara/data/protoserve.html +++ b/gerbonara/data/protoserve.html @@ -32,7 +32,8 @@ body { user-select: none; display: grid; grid-template-columns: 10fr 1fr 1fr; - align-content: start + align-content: start; + overflow-y: scroll; } label { @@ -51,7 +52,7 @@ input { align-self: start; } -.group > h4 { +.group > h4, .group > h5 { text-align: center; margin: 5px; grid-column-start: 1; @@ -100,10 +101,40 @@ input { display: none; } -.group.proportional > div > .proportion { +.proportional > div > .proportion { display: grid; } +.split-sides .double-sided-only { + display: none; +} + +.split-sides > .placeholder .area-controls { + display: none; +} + +.board > .placeholder > .area-controls { + display: none; +} + +.area-controls .area-move { + display: none; +} + +.area-controls .area-move::before { + content: "/"; + padding: 0 5px 0 5px; +} + +.group.proportional > .group > .area-controls .area-move { + display: block; +} + +.content.area-controls { + flex-direction: row; + justify-content: center; +} + .field > input, .field > select { max-width: 5em; text-align: right; margin: 0 5px 0 5px; @@ -142,8 +173,15 @@ input { grid-column-end: span 3; } -a.drop-target { +.drop-target { + grid-column-start: 1; + grid-column-end: span 3; text-align: center; + display: none; +} + +.group.drop-enabled > .drop-target { + display: block; } .placeholder hr { @@ -151,11 +189,20 @@ a.drop-target { border: none; border-top: 1px solid hsl(0 0% 60%); } + +#controls.move-in-progress input { + background-color: hsl(0 0% 85%); +} + +#controls.move-in-progress { + color: hsl(0 0% 60%); +} +
-
+

Board settings

- -
-

Empty area

- - -
- -
-

SMD area

- - - - - - - -
- Add element -
+
@@ -293,6 +277,7 @@ a.drop-target { Gerbers
+ + + + + + + + + + + + -- cgit