prreviewbuddy 0.82.1 → 0.82.4

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/static/shell.css CHANGED
@@ -3144,6 +3144,8 @@ a.prb-guide-pick { text-decoration: none; }
3144
3144
  cursor: pointer;
3145
3145
  }
3146
3146
  .prb-index-select:hover { color: var(--text-primary); border-color: var(--border-strong); }
3147
+ /* New collection beside Select: both at the weight of the count, neither louder than the list. */
3148
+ .prb-index-summary-actions { display: flex; flex: none; gap: 8px; }
3147
3149
  .prb-index-select[aria-pressed="true"] {
3148
3150
  border-color: var(--brand);
3149
3151
  background: var(--brand);
@@ -3586,12 +3588,9 @@ a.prb-guide-pick { text-decoration: none; }
3586
3588
  .prb-collections[hidden] { display: none; }
3587
3589
  .prb-index-section:not([hidden]) ~ .prb-collections:not([hidden]),
3588
3590
  .prb-collections:not([hidden]) ~ .prb-index-section { margin-top: 24px; }
3589
- .prb-collections-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 0 2px 10px; }
3590
- .prb-collections-title { margin: 0; font-size: var(--t-meta); font-weight: 600; color: var(--text-muted); }
3591
- .prb-collections-hint { margin: 0; font-size: var(--t-meta); color: var(--text-muted); }
3592
3591
  .prb-collection { position: relative; }
3593
3592
  .prb-collection[hidden] { display: none; }
3594
- .prb-collection:not([hidden]) ~ .prb-collection { margin-top: 16px; }
3593
+ .prb-collection:not([hidden]) ~ .prb-collection { margin-top: 24px; }
3595
3594
  /* Room at the end of the heading for the collection's menu, which is laid over it. */
3596
3595
  .prb-collection > .prb-index-section > .prb-index-section-head { margin-right: 34px; }
3597
3596
  .prb-collection > .prb-collection-menu { top: -5px; right: 0; }
@@ -3606,11 +3605,11 @@ a.prb-guide-pick { text-decoration: none; }
3606
3605
  cursor: pointer;
3607
3606
  }
3608
3607
  .prb-collection-completed-head:hover { color: var(--text-primary); }
3609
- .prb-collection-new { margin-top: 14px; }
3610
- .prb-collection-new-button { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
3611
- .prb-collection-new-button[hidden] { display: none; }
3612
- .prb-collection-new-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
3613
- .prb-collection-new-form[hidden] { display: none; }
3608
+ /* New collection: a dialog the width of the name it asks for, not of the list. */
3609
+ .prb-collection-new-dialog { width: min(400px, calc(100vw - 32px)); }
3610
+ .prb-collection-new-dialog .prb-collection-error { margin-top: -4px; }
3611
+ /* Create waits for a name, and looks it. Scoped: Settings' Save is disabled while it saves and keeps its look. */
3612
+ .prb-collection-new-dialog .prb-dialog-primary:disabled { opacity: 0.5; cursor: default; }
3614
3613
  .prb-collection-name {
3615
3614
  flex: 1 1 220px;
3616
3615
  min-width: 0;
@@ -6229,6 +6228,10 @@ body .prb-body[data-focus]:not([data-focus='buddy']) .prb-ask-tab { top: 64px; }
6229
6228
  font-size: var(--t-micro);
6230
6229
  }
6231
6230
  .prb-palette-prompt[data-enter-target] { background: var(--surface-2); }
6231
+ /* The collection list (⌘K L C): number, name, its heading's count, and its state at the end, as the
6232
+ section rows above it show theirs. */
6233
+ .prb-palette-collection { flex-direction: row; align-items: baseline; gap: 10px; }
6234
+ .prb-palette-collection-count { min-width: 0; color: var(--text-muted); font-size: var(--t-micro); }
6232
6235
 
6233
6236
  /* Add review (⌘P P, ⌘P B): a palette mode with more to show than a search, so the palette is wider
6234
6237
  while it holds one. Rows say what each pasted link will do; the options stay folded unless there