@sigrix-io/gatehouse 0.1.0 → 0.1.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sigrix-io/gatehouse",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "A browser client for Postern: draws a run page from a describe document and connects it to the four verbs. No build step and no dependencies.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Sigrix",
package/src/gatehouse.css CHANGED
@@ -36,6 +36,11 @@
36
36
  @media (max-width: 960px) {
37
37
  .run-shell { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "rail" "form" "controls" "output"; }
38
38
  }
39
+ /* Stated here rather than left to a host's reset, which a page linking only
40
+ * this file does not have. A browser draws `select` border-box and `input` and
41
+ * `textarea` content-box, so without it a full-width field spills past its card
42
+ * by its own padding and border while the select beside it fits. */
43
+ .run-shell, .run-shell *, .run-shell *::before, .run-shell *::after { box-sizing: border-box; }
39
44
 
40
45
  /* ---------- header ---------- */
41
46
  .run-header { grid-area: head; margin-bottom: 18px; }
@@ -91,7 +96,9 @@
91
96
  .run-credential.is-missing .run-credential-tick { color: var(--run-danger); }
92
97
  .run-credential-purpose { font-size: 11.5px; color: var(--run-text-3); }
93
98
  .run-credential-where { font-size: 11.5px; color: var(--run-text-2); margin: 0 0 10px; }
94
- .run-credential-link { font-size: 11.5px; margin-left: 6px; }
99
+ /* The words around it, underlined. Left to the browser, a link is its own
100
+ * blue, which reads 1.9:1 on the dark surface. */
101
+ .run-credential-link { font-size: 11.5px; margin-left: 6px; color: inherit; }
95
102
 
96
103
  .run-tools { margin: 0 0 8px; }
97
104
  .run-tool-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 5px; }