screengraft 0.63.0 → 0.63.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/ui/index.html +18 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "screengraft",
|
|
3
|
-
"version": "0.63.
|
|
3
|
+
"version": "0.63.1",
|
|
4
4
|
"description": "Put a UI screenshot or screen recording onto a photographed device screen with the perspective exactly right \u2014 a homography you confirm by hand, not a generative guess.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mockup",
|
package/ui/index.html
CHANGED
|
@@ -88,9 +88,10 @@
|
|
|
88
88
|
/* button-group/default/border — a 20% cool grey, the ONLY translucent
|
|
89
89
|
stroke in the system; it sits over the photograph, so it has to read on
|
|
90
90
|
any tone. The two shadows are the Button Group's and the Status pill's. */
|
|
91
|
-
/*
|
|
92
|
-
|
|
93
|
-
|
|
91
|
+
/* Button Group 145:372, re-read 14 Sep 2026 after the horizontal variants
|
|
92
|
+
landed: a 32% white stroke (the frame instances still carried the older
|
|
93
|
+
55% grey), radius/sm, and this shadow — the same in both orientations. */
|
|
94
|
+
--group-edge:rgba(255,255,255,.32);
|
|
94
95
|
--group-shadow:0 2px 4px rgba(0,0,0,.08), 0 3px 10px rgba(0,0,0,.12), 0 4px 24px rgba(0,0,0,.25);
|
|
95
96
|
--pill-shadow:0 2px 2px rgba(0,0,0,.03), 0 3px 5px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.25);
|
|
96
97
|
|
|
@@ -560,11 +561,22 @@
|
|
|
560
561
|
Three groups on the left (zoom, fit, corners), three on the bottom, and
|
|
561
562
|
the status pill top-centre; the well underneath keeps every pixel.
|
|
562
563
|
------------------------------------------------------------------ */
|
|
564
|
+
/* Orientation is a variant of both components now (Segment Button 138:255,
|
|
565
|
+
Button Group 145:372): Vertical rounds a segment's top or bottom corners,
|
|
566
|
+
Horizontal its left or right, Solo all four, at radius/sm. The group clips
|
|
567
|
+
to the same radius, so the end segments' own radii are what a hover or
|
|
568
|
+
press fill shows at the group's corners. */
|
|
563
569
|
.bgroup{display:inline-flex;flex-direction:column;align-items:stretch;flex:none;
|
|
564
570
|
background:var(--raise);border:var(--bw) solid var(--group-edge);
|
|
565
|
-
border-radius:var(--r-
|
|
571
|
+
border-radius:var(--r-sm);box-shadow:var(--group-shadow);overflow:hidden}
|
|
566
572
|
.bgroup.row{flex-direction:row}
|
|
567
|
-
.segbtn
|
|
573
|
+
.bgroup > .segbtn:first-child{border-top-left-radius:var(--r-sm);border-top-right-radius:var(--r-sm)}
|
|
574
|
+
.bgroup > .segbtn:last-child{border-bottom-left-radius:var(--r-sm);border-bottom-right-radius:var(--r-sm)}
|
|
575
|
+
.bgroup.row > .segbtn:first-child{border-radius:var(--r-sm) 0 0 var(--r-sm)}
|
|
576
|
+
.bgroup.row > .segbtn:last-child{border-radius:0 var(--r-sm) var(--r-sm) 0}
|
|
577
|
+
.bgroup > .segbtn:only-child{border-radius:var(--r-sm)}
|
|
578
|
+
.segbtn,.segbtn:hover,.segbtn:active{border:0;box-shadow:none;transform:none}
|
|
579
|
+
.segbtn{border-radius:0}
|
|
568
580
|
/* Segment Button re-read 14 Sep 2026: 32px tall, 32px minimum, 8px side
|
|
569
581
|
padding; a text label sits in its own 6px-padded box, so a text button
|
|
570
582
|
pads 14px. Was 28 / 6. */
|
|
@@ -1162,7 +1174,7 @@
|
|
|
1162
1174
|
as ONE horizontal Button Group of four segments, centred 20px off the
|
|
1163
1175
|
bottom. Corner selection lives on the left rail — it is navigation,
|
|
1164
1176
|
not an action on the fit. The frame's last two segments are
|
|
1165
|
-
placeholders; Rotate and Reset fill them
|
|
1177
|
+
placeholders; Rotate and Reset fill them. -->
|
|
1166
1178
|
<div class="brail" id="cvbar">
|
|
1167
1179
|
<div class="bgroup row" role="group" aria-label="Fit actions">
|
|
1168
1180
|
<button class="segbtn txt" id="redetect">Re-detect</button>
|