File size: 3,266 Bytes
64268da
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
/* ---------------------------------------------------------------------------
   publish / publishPanel.css — the publish control inside the share dialog
   (wave 33, item 8b, R5, W33-T27).

   ⚠ CO-LOCATED per contract C4 (`index.css` is B's file this wave), and SEPARATE
   from `publish.css` on purpose: that sheet styles the PUBLIC page, which has no
   shell around it and owns its whole surface. This one lives INSIDE a dialog the
   shell already styles, so it inherits that dialog's ink, surface and radius
   rather than declaring its own — a second palette one modal deep is how two
   greys end up next to each other.

   ⛔ TYPE IS THE PRODUCT'S (`--lp-fs-*`), never a literal. DESIGN.md R5, gated
   app-wide by `verify_ui::font_literals`; `publish.css` learned this the
   expensive way in the same hour.
   --------------------------------------------------------------------------- */

.pubp {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--lp-line, #e3e6ee);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pubp-head {
  margin: 0;
  font-size: var(--lp-fs-sm);
  font-weight: 600;
  color: var(--lp-ink);
}

.pubp-sub,
.pubp-state,
.pubp-label {
  margin: 0;
  font-size: var(--lp-fs-2xs);
  color: var(--lp-muted);
}
.pubp-sub { max-width: 62ch; }

.pubp-linkrow { display: flex; gap: 8px; align-items: center; }
.pubp-link {
  font: inherit;
  font-size: var(--lp-fs-2xs);
  flex: 1 1 auto;
  min-width: 0;
  padding: 7px 9px;
  border: 1px solid var(--lp-line, #e3e6ee);
  border-radius: var(--lp-r-sm, 6px);
  background: var(--lp-surface-2, #f6f7fb);
  color: var(--lp-ink);
}

.pubp-access { display: flex; flex-wrap: wrap; gap: 14px; }
.pubp-radio {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--lp-fs-2xs);
  color: var(--lp-ink);
  cursor: pointer;
}

.pubp-pass { display: flex; flex-direction: column; gap: 4px; }
.pubp-input {
  font: inherit;
  font-size: var(--lp-fs-2xs);
  padding: 7px 9px;
  border: 1px solid var(--lp-line, #e3e6ee);
  border-radius: var(--lp-r-sm, 6px);
  background: var(--lp-surface, #fff);
  color: var(--lp-ink);
}

.pubp-err { margin: 0; font-size: var(--lp-fs-2xs); color: var(--lp-red-deep, #a3453c); }

.pubp-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.pubp-btn {
  font: inherit;
  font-size: var(--lp-fs-2xs);
  font-weight: 500;
  padding: 7px 12px;
  border: 1px solid var(--lp-line, #e3e6ee);
  border-radius: var(--lp-r-sm, 6px);
  background: var(--lp-surface, #fff);
  color: var(--lp-ink);
  cursor: pointer;
}
.pubp-btn:hover:not(:disabled) { background: var(--lp-surface-2, #f6f7fb); }
.pubp-btn:disabled { opacity: 0.5; cursor: default; }
/* The CTA colour is reserved for the CTA (DESIGN.md:58) and Publish is one. */
.pubp-btn.is-primary {
  background: var(--lp-primary, #1f4e78);
  border-color: var(--lp-primary, #1f4e78);
  color: #fff;
}
.pubp-btn.is-primary:hover:not(:disabled) { filter: brightness(1.06); }
/* ⚠ Unpublish is DESTRUCTIVE-ish but not destructive: it revokes a link, it
   deletes no data. So it is tinted, never filled — a red button here would rank
   it beside "delete this database", which it is not. */
.pubp-btn.is-danger { color: var(--lp-red-deep, #a3453c); }