@coffre/ui 0.15.0 → 0.16.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.
Files changed (139) hide show
  1. package/dist/audit-sentences.d.ts +56 -0
  2. package/dist/audit-sentences.js +886 -0
  3. package/dist/audit-sentences.js.map +1 -0
  4. package/dist/chunks/audit-sentence-C8NnAdjF.js +48 -0
  5. package/dist/chunks/audit-sentence-C8NnAdjF.js.map +1 -0
  6. package/dist/chunks/{connected-apps-CGUQlFMx.js → connected-apps-6sMSgQ9U.js} +5 -5
  7. package/dist/chunks/{connected-apps-CGUQlFMx.js.map → connected-apps-6sMSgQ9U.js.map} +1 -1
  8. package/dist/chunks/{delete-place-CswZ-meh.js → delete-place-T469tSN9.js} +5 -5
  9. package/dist/chunks/{delete-place-CswZ-meh.js.map → delete-place-T469tSN9.js.map} +1 -1
  10. package/dist/chunks/{directory-DrswWQLT.js → directory-B_gVf7UL.js} +18 -17
  11. package/dist/chunks/directory-B_gVf7UL.js.map +1 -0
  12. package/dist/chunks/{folders-A6sbR_PG.js → folders-CVYauIDz.js} +3 -3
  13. package/dist/chunks/{folders-A6sbR_PG.js.map → folders-CVYauIDz.js.map} +1 -1
  14. package/dist/chunks/{grants-C0cb2oii.js → grants-Dn_EW2XW.js} +8 -8
  15. package/dist/chunks/grants-Dn_EW2XW.js.map +1 -0
  16. package/dist/chunks/{multi-combobox-B3SEv1gq.js → multi-combobox-fbBRzi9z.js} +3 -3
  17. package/dist/chunks/{multi-combobox-B3SEv1gq.js.map → multi-combobox-fbBRzi9z.js.map} +1 -1
  18. package/dist/chunks/{offboarding-C1jbG_dk.js → offboarding-CXM464J_.js} +81 -80
  19. package/dist/chunks/offboarding-CXM464J_.js.map +1 -0
  20. package/dist/chunks/{page-CfhC9Hp1.js → page-Cb0ZjGda.js} +7 -12
  21. package/dist/chunks/page-Cb0ZjGda.js.map +1 -0
  22. package/dist/chunks/{personal-tokens-xC9wulhg.js → personal-tokens-CSHMlRHy.js} +7 -7
  23. package/dist/chunks/personal-tokens-CSHMlRHy.js.map +1 -0
  24. package/dist/chunks/{principal-CI17XK13.js → principal-BKJxbAtE.js} +2 -2
  25. package/dist/chunks/{principal-CI17XK13.js.map → principal-BKJxbAtE.js.map} +1 -1
  26. package/dist/chunks/{principal-page-CdSeftGD.js → principal-page-COPmTDVW.js} +132 -19
  27. package/dist/chunks/principal-page-COPmTDVW.js.map +1 -0
  28. package/dist/chunks/{project-page-CHxjBE97.js → project-page-g5_n46Nz.js} +3 -3
  29. package/dist/chunks/{project-page-CHxjBE97.js.map → project-page-g5_n46Nz.js.map} +1 -1
  30. package/dist/chunks/protected-DEWeOrmI.js +77 -0
  31. package/dist/chunks/protected-DEWeOrmI.js.map +1 -0
  32. package/dist/chunks/{queries-D1JuimTu.js → queries-D4_o-bz3.js} +22 -155
  33. package/dist/chunks/queries-D4_o-bz3.js.map +1 -0
  34. package/dist/chunks/{references-D5llUGQL.js → references-wTh_DT0M.js} +27 -23
  35. package/dist/chunks/references-wTh_DT0M.js.map +1 -0
  36. package/dist/chunks/{role-field-CoCv8wse.js → role-field-BiP09qfN.js} +5 -5
  37. package/dist/chunks/role-field-BiP09qfN.js.map +1 -0
  38. package/dist/chunks/{row-state-CYH7kZHl.js → row-state-CYhtmUkc.js} +3 -3
  39. package/dist/chunks/{row-state-CYH7kZHl.js.map → row-state-CYhtmUkc.js.map} +1 -1
  40. package/dist/chunks/{signin-errors-TlQmQe0t.js → signin-errors-BMnox7XD.js} +5 -19
  41. package/dist/chunks/signin-errors-BMnox7XD.js.map +1 -0
  42. package/dist/chunks/{theme-rF44Wbmm.js → theme-imSolE1q.js} +3 -3
  43. package/dist/chunks/{theme-rF44Wbmm.js.map → theme-imSolE1q.js.map} +1 -1
  44. package/dist/chunks/{ui-CGdORVzW.js → ui-Q_Eczt7m.js} +7 -3
  45. package/dist/chunks/{ui-CGdORVzW.js.map → ui-Q_Eczt7m.js.map} +1 -1
  46. package/dist/chunks/{use-action-BxrHTBZw.js → use-action-BfnN-De2.js} +3 -3
  47. package/dist/chunks/{use-action-BxrHTBZw.js.map → use-action-BfnN-De2.js.map} +1 -1
  48. package/dist/chunks/{use-change-BorW2R6C.js → use-change-Cc0X4sF3.js} +6 -4
  49. package/dist/chunks/use-change-Cc0X4sF3.js.map +1 -0
  50. package/dist/chunks/{use-roles-BZnJ9Cq0.js → use-roles-stcv2QFj.js} +13 -56
  51. package/dist/chunks/use-roles-stcv2QFj.js.map +1 -0
  52. package/dist/chunks/{use-shell-CPskgi1k.js → use-shell-DMhLa2sh.js} +3 -3
  53. package/dist/chunks/{use-shell-CPskgi1k.js.map → use-shell-DMhLa2sh.js.map} +1 -1
  54. package/dist/index.d.ts +23 -55
  55. package/dist/index.js +12 -31
  56. package/dist/index.js.map +1 -1
  57. package/dist/pages/account.js +12 -12
  58. package/dist/pages/account.js.map +1 -1
  59. package/dist/pages/approval.js +2 -2
  60. package/dist/pages/audit.js +173 -196
  61. package/dist/pages/audit.js.map +1 -1
  62. package/dist/pages/device-login.js +2 -2
  63. package/dist/pages/environment.js +445 -252
  64. package/dist/pages/environment.js.map +1 -1
  65. package/dist/pages/login.js +6 -15
  66. package/dist/pages/login.js.map +1 -1
  67. package/dist/pages/oauth-authorize.js +2 -2
  68. package/dist/pages/project-access.js +11 -11
  69. package/dist/pages/project-environments.js +359 -28
  70. package/dist/pages/project-environments.js.map +1 -1
  71. package/dist/pages/project-settings.js +8 -8
  72. package/dist/pages/project.js +3 -3
  73. package/dist/pages/projects.js +8 -8
  74. package/dist/pages/service-account.js +19 -16
  75. package/dist/pages/service-account.js.map +1 -1
  76. package/dist/pages/service-accounts.js +6 -7
  77. package/dist/pages/service-accounts.js.map +1 -1
  78. package/dist/pages/settings.d.ts +1 -6
  79. package/dist/pages/settings.js +155 -286
  80. package/dist/pages/settings.js.map +1 -1
  81. package/dist/pages/unregistered.js +2 -2
  82. package/dist/pages/user.js +7 -8
  83. package/dist/pages/user.js.map +1 -1
  84. package/dist/pages/users.js +6 -7
  85. package/dist/pages/users.js.map +1 -1
  86. package/package.json +8 -3
  87. package/src/components/actions-log.tsx +8 -61
  88. package/src/components/directory.tsx +10 -9
  89. package/src/components/grants.tsx +2 -2
  90. package/src/components/icons.tsx +0 -2
  91. package/src/components/offboarding.tsx +9 -16
  92. package/src/components/page.tsx +2 -3
  93. package/src/components/personal-tokens.tsx +5 -2
  94. package/src/components/principal-page.tsx +5 -4
  95. package/src/components/protected.tsx +39 -52
  96. package/src/components/references.tsx +18 -7
  97. package/src/components/role-editor.tsx +68 -99
  98. package/src/components/role-field.tsx +1 -1
  99. package/src/components/trusted-workloads.tsx +6 -5
  100. package/src/components/ui.tsx +5 -0
  101. package/src/lib/audit-proofs.ts +51 -0
  102. package/src/lib/audit-sentences.ts +490 -529
  103. package/src/lib/bindings.ts +6 -0
  104. package/src/lib/changes.ts +3 -1
  105. package/src/lib/coffre.ts +2 -2
  106. package/src/lib/queries.ts +19 -168
  107. package/src/lib/reveal.ts +32 -5
  108. package/src/lib/roles.ts +10 -36
  109. package/src/lib/row-reads.ts +2 -2
  110. package/src/lib/signin-errors.ts +5 -33
  111. package/src/options.ts +3 -19
  112. package/src/pages/account.tsx +1 -1
  113. package/src/pages/audit.tsx +151 -228
  114. package/src/pages/environment.tsx +373 -247
  115. package/src/pages/login.tsx +2 -4
  116. package/src/pages/project-environments.tsx +322 -20
  117. package/src/pages/service-accounts.tsx +1 -1
  118. package/src/pages/settings.tsx +49 -134
  119. package/src/pages/user.tsx +2 -2
  120. package/src/pages/users.tsx +1 -1
  121. package/src/parity.ts +11 -20
  122. package/src/styles/globals.css +107 -273
  123. package/dist/chunks/actions-log-DupYCEyV.js +0 -1134
  124. package/dist/chunks/actions-log-DupYCEyV.js.map +0 -1
  125. package/dist/chunks/directory-DrswWQLT.js.map +0 -1
  126. package/dist/chunks/environment-actions-8rL9Cw6X.js +0 -576
  127. package/dist/chunks/environment-actions-8rL9Cw6X.js.map +0 -1
  128. package/dist/chunks/grants-C0cb2oii.js.map +0 -1
  129. package/dist/chunks/offboarding-C1jbG_dk.js.map +0 -1
  130. package/dist/chunks/page-CfhC9Hp1.js.map +0 -1
  131. package/dist/chunks/personal-tokens-xC9wulhg.js.map +0 -1
  132. package/dist/chunks/principal-page-CdSeftGD.js.map +0 -1
  133. package/dist/chunks/queries-D1JuimTu.js.map +0 -1
  134. package/dist/chunks/references-D5llUGQL.js.map +0 -1
  135. package/dist/chunks/role-field-CoCv8wse.js.map +0 -1
  136. package/dist/chunks/signin-errors-TlQmQe0t.js.map +0 -1
  137. package/dist/chunks/use-change-BorW2R6C.js.map +0 -1
  138. package/dist/chunks/use-roles-BZnJ9Cq0.js.map +0 -1
  139. package/src/components/environment-actions.tsx +0 -508
@@ -1369,6 +1369,15 @@ a.crumb-link:hover {
1369
1369
  padding-left: 2rem;
1370
1370
  }
1371
1371
 
1372
+ /* A secret's value field holds two buttons, Generate and Show, side by side. */
1373
+ .input-group.has-generate .input {
1374
+ padding-right: 3.875rem;
1375
+ }
1376
+
1377
+ .input-group .input-addon-generate {
1378
+ right: calc(0.1875rem + 1.75rem);
1379
+ }
1380
+
1372
1381
  /* The engine's clear button for a search field, drawn in the field's own ink
1373
1382
  rather than the bright system glyph. */
1374
1383
  .input[type='search']::-webkit-search-cancel-button {
@@ -1889,19 +1898,14 @@ table.claims-table td {
1889
1898
  opacity: 0.8;
1890
1899
  }
1891
1900
 
1892
- /* An environment's protection on its card: a lock, its note behind it,
1893
- above the card's stretched link. */
1894
- .protected-mark {
1895
- position: relative;
1896
- z-index: 1;
1897
- display: inline-flex;
1898
- align-self: center;
1899
- padding: 0.125rem;
1900
- border: 0;
1901
- border-radius: var(--radius);
1902
- background: none;
1903
- color: var(--amber);
1904
- cursor: help;
1901
+ /* A tag that is also the button changing what it says (an environment's
1902
+ protection, for whoever may change it): outlined on hover, as a button. */
1903
+ .tag-control {
1904
+ cursor: pointer;
1905
+ }
1906
+
1907
+ .tag-control:hover {
1908
+ box-shadow: inset 0 0 0 1px currentColor;
1905
1909
  }
1906
1910
 
1907
1911
  .dot {
@@ -2084,13 +2088,6 @@ table.claims-table td {
2084
2088
  color: var(--ink-3);
2085
2089
  }
2086
2090
 
2087
- /* Under a number of 0.15's sealed log, which numbers its changes apart from 0.14's chain. */
2088
- .dt .n .n-log {
2089
- display: block;
2090
- font-size: 0.625rem;
2091
- letter-spacing: 0.02em;
2092
- }
2093
-
2094
2091
  /* A folder's heading: the rows below it, up to the next one, are filed in it. */
2095
2092
  .dt .folder-row th {
2096
2093
  height: 2.25rem;
@@ -2410,6 +2407,13 @@ table.claims-table td {
2410
2407
  display: none;
2411
2408
  }
2412
2409
 
2410
+ /* Its buttons stay on its first line, however tall a paste makes it, and
2411
+ hide the text that scrolls under them. */
2412
+ .secret-row .input.value-lines ~ .input-addon {
2413
+ top: 0.0625rem;
2414
+ background: var(--panel);
2415
+ }
2416
+
2413
2417
  /* Masked where the browser cannot draw discs: the text is there, unseen. */
2414
2418
  .input.is-masked-fallback {
2415
2419
  color: transparent;
@@ -2697,108 +2701,9 @@ table.claims-table td {
2697
2701
  color: var(--red);
2698
2702
  }
2699
2703
 
2700
- /* A row being written is one line: each cell's first line is its field's,
2701
- and what a field has to say goes beneath it, the row growing down. A
2702
- cell with no field centres its text on that line. */
2703
- .secret-row.is-editing > td {
2704
- vertical-align: top;
2705
- }
2706
-
2707
- .secret-row.is-editing > td:not(:has(.edit-stack)) {
2708
- padding-top: calc(0.5rem + 0.125rem);
2709
- line-height: 1.875rem;
2710
- }
2711
-
2712
- /* A value being written: one field to the eye, its controls inside its
2713
- right end -- who sees it, Generate and Show -- on its first line however
2714
- tall a paste makes it. */
2715
- .value-field {
2716
- display: flex;
2717
- align-items: flex-start;
2718
- min-width: 0;
2719
- border: 1px solid var(--edge);
2720
- border-radius: var(--radius);
2721
- background: var(--panel);
2722
- transition:
2723
- border-color 120ms,
2724
- box-shadow 120ms;
2725
- }
2726
-
2727
- .value-field:has(> .input:focus) {
2728
- border-color: var(--accent);
2729
- box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 22%, transparent);
2730
- }
2731
-
2732
- .value-field:has(> .input:disabled) {
2733
- opacity: 0.55;
2734
- }
2735
-
2736
- .value-field > .input {
2737
- flex: 1;
2738
- min-width: 0;
2739
- height: calc(1.875rem - 2px);
2740
- padding-right: 0.25rem;
2741
- }
2742
-
2743
- /* The field draws the border, the ring and the dimming, focused or not. */
2744
- .value-field > .input,
2745
- .value-field > .input:focus,
2746
- .value-field > .input:disabled {
2747
- border: 0;
2748
- background: transparent;
2749
- box-shadow: none;
2750
- opacity: 1;
2751
- }
2752
-
2753
- /* As tall as its lines, as `rows` says. */
2754
- .value-field > .input.value-lines {
2755
- height: auto;
2756
- min-height: calc(1.875rem - 2px);
2757
- }
2758
-
2759
- .value-field-controls {
2760
- display: flex;
2761
- flex: none;
2762
- align-items: center;
2763
- height: calc(1.875rem - 2px);
2764
- padding-right: 0.125rem;
2765
- }
2766
-
2767
- .value-field-controls .btn-sm.btn-icon {
2768
- width: 1.5rem;
2769
- height: 1.5rem;
2770
- }
2771
-
2772
- /* Who sees the value, chosen in its field: the level, quiet, opening its menu. */
2773
- .value-level {
2774
- display: inline-flex;
2775
- align-items: center;
2776
- gap: 0.25rem;
2777
- height: 1.375rem;
2778
- margin-right: 0.125rem;
2779
- padding: 0 0.3125rem 0 0.4375rem;
2780
- border: 0;
2781
- border-radius: calc(var(--radius) - 2px);
2782
- background: var(--subtle);
2783
- color: var(--ink-2);
2784
- font-size: 0.75rem;
2785
- font-weight: 500;
2786
- white-space: nowrap;
2787
- cursor: pointer;
2788
- }
2789
-
2790
- .value-level:hover:not(:disabled),
2791
- .value-level[data-popup-open] {
2792
- color: var(--ink);
2793
- }
2794
-
2795
- .value-level:focus-visible {
2796
- outline: 2px solid var(--accent);
2797
- outline-offset: 1px;
2798
- }
2799
-
2800
- .value-level:disabled {
2801
- cursor: default;
2704
+ /* Who sees the value being written: three radios as a small segmented control, what the level means beside it. */
2705
+ .sensitivity-field {
2706
+ gap: 0.25rem 0.625rem;
2802
2707
  }
2803
2708
 
2804
2709
  /* A plain value, listed as it is: a revealed one's type, with no timer. */
@@ -2990,6 +2895,20 @@ tr.row-failure > td:first-child {
2990
2895
  color: var(--accent);
2991
2896
  }
2992
2897
 
2898
+ .pending-summary {
2899
+ flex: 1 1 12rem;
2900
+ min-width: 0;
2901
+ overflow: hidden;
2902
+ color: var(--ink-2);
2903
+ font-size: 0.8125rem;
2904
+ white-space: nowrap;
2905
+ text-overflow: ellipsis;
2906
+ }
2907
+
2908
+ .pending-summary .mono {
2909
+ color: var(--ink);
2910
+ }
2911
+
2993
2912
  .pending-error {
2994
2913
  flex-basis: 100%;
2995
2914
  display: flex;
@@ -3012,18 +2931,17 @@ tr.row-failure > td:first-child {
3012
2931
  }
3013
2932
 
3014
2933
  /* A primary button with a chevron joined to its right, which opens a menu of
3015
- other things it could do. By type, not by child: the open menu puts focus
3016
- guards, spans, either side of the chevron. */
2934
+ other things it could do. */
3017
2935
  .split-button {
3018
2936
  display: inline-flex;
3019
2937
  }
3020
2938
 
3021
- .split-button > .btn:first-of-type {
2939
+ .split-button > .btn:first-child {
3022
2940
  border-top-right-radius: 0;
3023
2941
  border-bottom-right-radius: 0;
3024
2942
  }
3025
2943
 
3026
- .split-button > .btn:last-of-type {
2944
+ .split-button > .btn:last-child {
3027
2945
  width: 1.875rem;
3028
2946
  border-left-color: color-mix(in oklab, var(--panel) 30%, var(--ink));
3029
2947
  border-top-left-radius: 0;
@@ -3103,12 +3021,6 @@ tr.row-failure > td:first-child {
3103
3021
  overflow-wrap: anywhere;
3104
3022
  }
3105
3023
 
3106
- /* A fact set here, and the button that changes it, at its row's end. */
3107
- .fact-with-action {
3108
- grid-template-columns: 11rem minmax(0, 1fr) auto;
3109
- align-items: center;
3110
- }
3111
-
3112
3024
  /* A tag keeps its own width rather than stretching down the column. */
3113
3025
  .fact dd > .tag {
3114
3026
  align-self: flex-start;
@@ -3722,8 +3634,8 @@ a.env-card-name:hover {
3722
3634
  color: var(--red);
3723
3635
  }
3724
3636
 
3725
- /* Where a log stops verifying: a stronger tint than a denial, ruled above
3726
- and below, with a solid mark that says so in words. */
3637
+ /* An entry that is not what the vault signed: a stronger tint than a
3638
+ denial, ruled above and below, with a solid mark that says so in words. */
3727
3639
  .audit tr.is-break,
3728
3640
  .audit tr.is-break:hover {
3729
3641
  background: color-mix(in oklab, var(--red) 14%, var(--panel));
@@ -3744,6 +3656,22 @@ a.env-card-name:hover {
3744
3656
  font-weight: 700;
3745
3657
  }
3746
3658
 
3659
+ /* An entry past the vault's head: said quietly, since checking again
3660
+ usually proves it. */
3661
+ .unproven-mark {
3662
+ display: inline-flex;
3663
+ align-items: center;
3664
+ margin-left: 0.5rem;
3665
+ padding: 0 0.375rem;
3666
+ border: 1px solid var(--border);
3667
+ border-radius: var(--radius-sm);
3668
+ color: var(--ink-3);
3669
+ font-family: var(--font-sans);
3670
+ font-size: 0.6875rem;
3671
+ font-weight: 550;
3672
+ white-space: nowrap;
3673
+ }
3674
+
3747
3675
  .break-mark {
3748
3676
  display: inline-flex;
3749
3677
  align-items: center;
@@ -4744,174 +4672,70 @@ a.menu-item:hover {
4744
4672
  /* Roles */
4745
4673
  /* ========================================================================== */
4746
4674
 
4747
- /* Settings › Roles: a card per role, every permission on each, which opens its editor. */
4748
- .role-cards {
4749
- display: grid;
4750
- grid-template-columns: repeat(auto-fill, minmax(min(20rem, 100%), 1fr));
4751
- gap: 0.75rem;
4752
- max-width: var(--card-max);
4675
+ /* Settings › Roles: a row per role, its two columns in words, and its editor. */
4676
+ .role-list {
4753
4677
  margin: 0;
4754
4678
  padding: 0;
4755
4679
  list-style: none;
4756
4680
  }
4757
4681
 
4758
- .role-card {
4682
+ .role-row {
4683
+ align-items: flex-start;
4684
+ flex-wrap: nowrap;
4685
+ }
4686
+
4687
+ .role-row-text {
4759
4688
  display: flex;
4760
4689
  flex-direction: column;
4761
- gap: 0.75rem;
4690
+ gap: 0.25rem;
4762
4691
  min-width: 0;
4763
- padding: 0.875rem 1rem 0.75rem;
4764
- border: 1px solid var(--border);
4765
- border-radius: var(--radius-lg);
4766
- background: var(--panel);
4767
4692
  }
4768
4693
 
4769
- .role-card-title {
4694
+ .role-row-title {
4770
4695
  display: flex;
4771
4696
  align-items: center;
4772
4697
  flex-wrap: wrap;
4773
4698
  gap: 0.375rem;
4774
- min-height: 1.375rem;
4775
- font-weight: 600;
4776
- }
4777
-
4778
- .role-card-desc {
4779
- margin-top: -0.375rem;
4780
- color: var(--ink-3);
4781
- font-size: 0.8125rem;
4782
- }
4783
-
4784
- /* A row per kind of permission, its name in a column of its own, so that
4785
- every card's chips line up: a held one solid, one not held a dashed
4786
- outline, which says it without the colour. */
4787
- .role-reach {
4788
- display: grid;
4789
- grid-template-columns: auto 1fr;
4790
- gap: 0.375rem 0.75rem;
4791
- margin: 0;
4792
- font-size: 0.75rem;
4793
4699
  }
4794
4700
 
4795
- .role-reach > div {
4701
+ .role-columns {
4796
4702
  display: grid;
4797
- grid-column: 1 / -1;
4798
- grid-template-columns: subgrid;
4799
- align-items: start;
4800
- }
4801
-
4802
- /* As tall as a chip, so that it reads on the line of the first. */
4803
- .role-reach dt {
4804
- line-height: 1.375rem;
4805
- color: var(--ink-3);
4806
- font-weight: 550;
4807
- }
4808
-
4809
- .role-reach dd {
4810
- margin: 0;
4811
- }
4812
-
4813
- .role-reach ul {
4814
- display: flex;
4815
- flex-wrap: wrap;
4816
- gap: 0.25rem;
4817
- margin: 0;
4818
- padding: 0;
4819
- list-style: none;
4820
- }
4821
-
4822
- /* What it shows and its widest look, held and locked, share one cell, so
4823
- that its width never depends on what the role holds. */
4824
- .role-perm {
4825
- display: inline-grid;
4826
- place-items: center;
4827
- height: 1.375rem;
4828
- padding: 0 0.45rem;
4829
- border: 1px dashed var(--border);
4830
- border-radius: var(--radius-sm);
4831
- color: var(--ink-3);
4832
- line-height: 1;
4833
- white-space: nowrap;
4834
- cursor: default;
4703
+ grid-template-columns: max-content minmax(0, 1fr);
4704
+ gap: 0.125rem 0.75rem;
4705
+ margin: 0.25rem 0 0;
4706
+ font-size: 0.8125rem;
4835
4707
  }
4836
4708
 
4837
- .role-perm-everywhere,
4838
- .role-perm-unprotected {
4839
- border-color: transparent;
4840
- background: light-dark(color-mix(in oklab, var(--ink) 8%, var(--panel)), color-mix(in oklab, var(--ink) 12%, var(--panel)));
4841
- color: var(--ink);
4842
- font-weight: 550;
4709
+ .role-columns > div {
4710
+ display: contents;
4843
4711
  }
4844
4712
 
4845
- .role-perm-shown,
4846
- .role-perm-widest {
4713
+ .role-columns dt {
4847
4714
  display: inline-flex;
4848
- grid-area: 1 / 1;
4849
4715
  align-items: center;
4850
- gap: 0.25rem;
4851
- }
4852
-
4853
- .role-perm-widest {
4854
- visibility: hidden;
4716
+ gap: 0.3rem;
4717
+ color: var(--ink-3);
4855
4718
  font-weight: 550;
4856
4719
  }
4857
4720
 
4858
- /* Held, but not in a protected environment: the lock protection wears everywhere. */
4859
- .role-perm svg {
4860
- color: var(--amber);
4721
+ .role-columns dd {
4722
+ margin: 0;
4723
+ color: var(--ink-2);
4861
4724
  }
4862
4725
 
4863
- /* Who holds the role, and what opens it. */
4864
- .role-card-foot {
4726
+ .role-row-side {
4865
4727
  display: flex;
4728
+ flex: none;
4866
4729
  align-items: center;
4867
- justify-content: space-between;
4868
4730
  gap: 0.75rem;
4869
- margin-top: auto;
4870
- padding-top: 0.75rem;
4871
- border-top: 1px solid var(--border);
4872
4731
  }
4873
4732
 
4874
- .role-card-count {
4733
+ .role-row-count {
4875
4734
  color: var(--ink-3);
4876
4735
  font-size: 0.8125rem;
4877
4736
  white-space: nowrap;
4878
4737
  }
4879
4738
 
4880
- /* Above a page's cards: what switches which they are, and what adds to them, at its end. */
4881
- .section-actions {
4882
- display: flex;
4883
- align-items: center;
4884
- justify-content: space-between;
4885
- gap: 0.75rem;
4886
- min-height: 2.125rem;
4887
- max-width: var(--card-max);
4888
- margin-bottom: 0.75rem;
4889
- }
4890
-
4891
- /* Under the view switch: what the view is, in a line, and what a lock on a card says. */
4892
- .roles-desc {
4893
- display: flex;
4894
- align-items: baseline;
4895
- justify-content: space-between;
4896
- flex-wrap: wrap;
4897
- gap: 0.25rem 1rem;
4898
- max-width: var(--card-max);
4899
- margin: -0.25rem 0 0.75rem;
4900
- color: var(--ink-3);
4901
- font-size: 0.875rem;
4902
- }
4903
-
4904
- .role-legend {
4905
- display: inline-flex;
4906
- align-items: center;
4907
- gap: 0.3rem;
4908
- font-size: 0.8125rem;
4909
- }
4910
-
4911
- .role-legend svg {
4912
- color: var(--amber);
4913
- }
4914
-
4915
4739
  /* The grid: a row per permission, its two columns of boxes centred under their heads. */
4916
4740
  .role-grid-wrap {
4917
4741
  position: relative;
@@ -5098,14 +4922,6 @@ a.menu-item:hover {
5098
4922
  grid-template-columns: minmax(0, 1fr);
5099
4923
  }
5100
4924
 
5101
- .fact-with-action {
5102
- grid-template-columns: minmax(0, 1fr) auto;
5103
- }
5104
-
5105
- .fact-with-action dt {
5106
- grid-column: 1 / -1;
5107
- }
5108
-
5109
4925
  .tabs svg {
5110
4926
  display: none;
5111
4927
  }
@@ -5137,6 +4953,19 @@ a.menu-item:hover {
5137
4953
  padding-left: 0;
5138
4954
  }
5139
4955
 
4956
+ /* A role's row stacks, its count and button under its words. */
4957
+ .role-row {
4958
+ flex-wrap: wrap;
4959
+ }
4960
+
4961
+ .role-columns {
4962
+ grid-template-columns: minmax(0, 1fr);
4963
+ }
4964
+
4965
+ .role-columns > div + div dt {
4966
+ margin-top: 0.25rem;
4967
+ }
4968
+
5140
4969
  .role-grid th,
5141
4970
  .role-grid td {
5142
4971
  padding: 0.5rem 0.375rem;
@@ -5461,7 +5290,8 @@ a.menu-item:hover {
5461
5290
  grid-template-areas: 'key version actions';
5462
5291
  }
5463
5292
 
5464
- .dt.secrets.stacks .secret-row.is-editing {
5293
+ .dt.secrets.stacks .secret-row.is-draft,
5294
+ .dt.secrets.stacks .secret-row.is-changed {
5465
5295
  grid-template-areas:
5466
5296
  'key key actions'
5467
5297
  'value value version';
@@ -5568,6 +5398,10 @@ a.menu-item:hover {
5568
5398
  flex-basis: 100%;
5569
5399
  }
5570
5400
 
5401
+ .pending-summary {
5402
+ display: none;
5403
+ }
5404
+
5571
5405
  .signin-form {
5572
5406
  flex-direction: column;
5573
5407
  align-items: stretch;