@syscore/ui-library 2.0.0-beta-publish-workflow-beta.10 → 2.0.0-beta-publish-workflow-beta.12
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/client/components/ui/avatar-identity.tsx +16 -3
- package/client/components/ui/avatar.tsx +32 -4
- package/client/components/ui/back-link.tsx +35 -0
- package/client/components/ui/button.tsx +3 -0
- package/client/components/ui/card.tsx +20 -3
- package/client/components/ui/centered-page.tsx +27 -0
- package/client/components/ui/checkbox-field.tsx +57 -0
- package/client/components/ui/data-grid.tsx +258 -0
- package/client/components/ui/dialog.tsx +6 -0
- package/client/components/ui/icon-button.tsx +45 -0
- package/client/components/ui/layout.tsx +32 -5
- package/client/components/ui/modal-panel.tsx +35 -4
- package/client/components/ui/outline-node.tsx +112 -0
- package/client/components/ui/radio-card.tsx +54 -0
- package/client/components/ui/resource-thumbnail.tsx +12 -1
- package/client/components/ui/side-nav.tsx +280 -0
- package/client/components/ui/status-pill.tsx +37 -4
- package/client/components/ui/table.tsx +26 -4
- package/client/components/ui/typography.tsx +33 -2
- package/client/global.css +980 -4
- package/client/ui/Avatar.stories.tsx +78 -0
- package/client/ui/BackLink.stories.tsx +50 -0
- package/client/ui/Button.stories.tsx +26 -0
- package/client/ui/Card.stories.tsx +30 -0
- package/client/ui/CenteredPage.stories.tsx +43 -0
- package/client/ui/CheckboxField.stories.tsx +68 -0
- package/client/ui/DataGrid.stories.tsx +114 -0
- package/client/ui/Dialog.stories.tsx +31 -0
- package/client/ui/IconButton.stories.tsx +77 -0
- package/client/ui/OutlineNode.stories.tsx +106 -0
- package/client/ui/RadioCard.stories.tsx +75 -0
- package/client/ui/SideNav.stories.tsx +105 -0
- package/client/ui/StatusPill.stories.tsx +78 -0
- package/client/ui/Table/Table.stories.tsx +32 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +105 -0
- package/dist/index.es.js +653 -40
- package/package.json +3 -1
package/client/global.css
CHANGED
|
@@ -1034,6 +1034,38 @@ body {
|
|
|
1034
1034
|
0 0 0 2px var(--color-blue-200, #cbe0f1),
|
|
1035
1035
|
0 0 0 4px var(--color-white, #fff);
|
|
1036
1036
|
}
|
|
1037
|
+
/* Destructive actions — solid red to confirm, white with a red outline to start. */
|
|
1038
|
+
.button--danger-primary {
|
|
1039
|
+
background-color: var(--color-red-600, #dc2626);
|
|
1040
|
+
color: var(--color-white, #fff);
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
.button--danger-primary:hover {
|
|
1044
|
+
background-color: var(--color-red-700, #b91c1c);
|
|
1045
|
+
}
|
|
1046
|
+
|
|
1047
|
+
.button--danger-primary:focus-visible {
|
|
1048
|
+
box-shadow:
|
|
1049
|
+
0 0 0 2px var(--color-red-600, #dc2626),
|
|
1050
|
+
0 0 0 4px var(--color-white, #fff);
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
.button--danger-secondary {
|
|
1054
|
+
background-color: var(--color-white, #fff);
|
|
1055
|
+
border: 1px solid var(--color-red-200, #fecaca);
|
|
1056
|
+
color: var(--color-red-700, #b91c1c);
|
|
1057
|
+
}
|
|
1058
|
+
|
|
1059
|
+
.button--danger-secondary:hover {
|
|
1060
|
+
background-color: var(--color-red-50, #fef2f2);
|
|
1061
|
+
}
|
|
1062
|
+
|
|
1063
|
+
.button--danger-secondary:focus-visible {
|
|
1064
|
+
box-shadow:
|
|
1065
|
+
0 0 0 2px var(--color-red-200, #fecaca),
|
|
1066
|
+
0 0 0 4px var(--color-white, #fff);
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1037
1069
|
.button--transparent-tertiary {
|
|
1038
1070
|
display: inline-flex;
|
|
1039
1071
|
align-items: center;
|
|
@@ -1585,6 +1617,8 @@ body {
|
|
|
1585
1617
|
--layout-panel-width-narrow: 12.5rem;
|
|
1586
1618
|
--layout-panel-width-default: 17.5rem;
|
|
1587
1619
|
--layout-panel-width-wide: 22.5rem;
|
|
1620
|
+
--layout-panel-width-nav: 16.25rem; /* labelled side nav */
|
|
1621
|
+
--layout-panel-width-rail: 4.5rem; /* icon-only side nav */
|
|
1588
1622
|
|
|
1589
1623
|
--layout-measure-sm: 40rem;
|
|
1590
1624
|
--layout-measure-md: 52.5rem;
|
|
@@ -1872,6 +1906,78 @@ body {
|
|
|
1872
1906
|
overflow-y: auto;
|
|
1873
1907
|
}
|
|
1874
1908
|
|
|
1909
|
+
/* LayoutHeader `sticky`: stays at the top of the window while the page scrolls underneath it. */
|
|
1910
|
+
.layout-header--sticky {
|
|
1911
|
+
position: sticky;
|
|
1912
|
+
top: 0;
|
|
1913
|
+
z-index: 40;
|
|
1914
|
+
}
|
|
1915
|
+
|
|
1916
|
+
/* LayoutPanel `appearance="nav"`: a side navigation pinned under a sticky header and exactly as
|
|
1917
|
+
tall as the window, so a long menu scrolls inside it and the page behind it stays put. */
|
|
1918
|
+
.layout-panel--nav {
|
|
1919
|
+
--layout-panel-width: var(--layout-panel-width-nav);
|
|
1920
|
+
box-sizing: border-box;
|
|
1921
|
+
position: sticky;
|
|
1922
|
+
top: var(--layout-header-min-height);
|
|
1923
|
+
align-self: start;
|
|
1924
|
+
height: calc(100vh - var(--layout-header-min-height));
|
|
1925
|
+
padding: var(--space-xl) var(--space-sm);
|
|
1926
|
+
border-right: none;
|
|
1927
|
+
overflow-y: auto;
|
|
1928
|
+
overscroll-behavior: contain;
|
|
1929
|
+
transition: width 0.2s ease;
|
|
1930
|
+
}
|
|
1931
|
+
|
|
1932
|
+
/* `collapsed` is the icon-only rail. */
|
|
1933
|
+
.layout-panel--nav[data-collapsed] {
|
|
1934
|
+
--layout-panel-width: var(--layout-panel-width-rail);
|
|
1935
|
+
}
|
|
1936
|
+
|
|
1937
|
+
/* A thin scrollbar that is always visible: macOS hides overlay scrollbars until you scroll, so on
|
|
1938
|
+
a short window the last links looked cut off with nothing saying there was more below. */
|
|
1939
|
+
.layout-panel--nav::-webkit-scrollbar {
|
|
1940
|
+
width: 8px;
|
|
1941
|
+
}
|
|
1942
|
+
|
|
1943
|
+
.layout-panel--nav::-webkit-scrollbar-track {
|
|
1944
|
+
background: transparent;
|
|
1945
|
+
}
|
|
1946
|
+
|
|
1947
|
+
.layout-panel--nav::-webkit-scrollbar-thumb {
|
|
1948
|
+
border-radius: 8px;
|
|
1949
|
+
background-color: #cfd4dc;
|
|
1950
|
+
}
|
|
1951
|
+
|
|
1952
|
+
.layout-panel--nav::-webkit-scrollbar-thumb:hover {
|
|
1953
|
+
background-color: #aeb5c0;
|
|
1954
|
+
}
|
|
1955
|
+
|
|
1956
|
+
@supports not selector(::-webkit-scrollbar) {
|
|
1957
|
+
.layout-panel--nav {
|
|
1958
|
+
scrollbar-width: thin;
|
|
1959
|
+
scrollbar-color: #cfd4dc transparent;
|
|
1960
|
+
}
|
|
1961
|
+
}
|
|
1962
|
+
|
|
1963
|
+
/* Phones: a collapsed nav is hidden; an open one covers the page below the header. */
|
|
1964
|
+
@media (max-width: 767px) {
|
|
1965
|
+
.layout-panel--nav.layout-panel--start[data-collapsed] {
|
|
1966
|
+
display: none;
|
|
1967
|
+
}
|
|
1968
|
+
|
|
1969
|
+
.layout-panel--nav.layout-panel--start:not([data-collapsed]) {
|
|
1970
|
+
position: fixed;
|
|
1971
|
+
inset: var(--layout-header-min-height) 0 0 0;
|
|
1972
|
+
z-index: 30;
|
|
1973
|
+
align-self: auto;
|
|
1974
|
+
width: auto;
|
|
1975
|
+
height: auto;
|
|
1976
|
+
max-height: none;
|
|
1977
|
+
border: none;
|
|
1978
|
+
}
|
|
1979
|
+
}
|
|
1980
|
+
|
|
1875
1981
|
@media (max-width: 767px) {
|
|
1876
1982
|
.layout {
|
|
1877
1983
|
grid-template-columns: minmax(0, 1fr);
|
|
@@ -1968,6 +2074,12 @@ body {
|
|
|
1968
2074
|
@media (max-width: 1023px) {
|
|
1969
2075
|
.columns-layout--collapse-lg { grid-template-columns: 1fr !important; }
|
|
1970
2076
|
}
|
|
2077
|
+
@media (max-width: 1100px) {
|
|
2078
|
+
.columns-layout--collapse-xl { grid-template-columns: minmax(0, 1fr) !important; }
|
|
2079
|
+
}
|
|
2080
|
+
.columns-layout--align-start {
|
|
2081
|
+
align-items: start;
|
|
2082
|
+
}
|
|
1971
2083
|
|
|
1972
2084
|
/* AppShell */
|
|
1973
2085
|
.app-shell {
|
|
@@ -2087,7 +2199,45 @@ body {
|
|
|
2087
2199
|
padding: 2.5rem;
|
|
2088
2200
|
}
|
|
2089
2201
|
|
|
2202
|
+
/* Card spacing="relaxed": more air between the heading, its description and the content (headings
|
|
2203
|
+
are trimmed to cap height, so the default gap reads as tight on dense back-office pages). */
|
|
2204
|
+
.card--spacing-relaxed {
|
|
2205
|
+
gap: 2rem;
|
|
2206
|
+
}
|
|
2207
|
+
|
|
2208
|
+
.card--spacing-relaxed .card-header {
|
|
2209
|
+
gap: 0.75rem;
|
|
2210
|
+
}
|
|
2211
|
+
|
|
2090
2212
|
/* Card Variants */
|
|
2213
|
+
.card--panel {
|
|
2214
|
+
padding: 20px;
|
|
2215
|
+
gap: 16px;
|
|
2216
|
+
border: 1px solid #e3e8ef;
|
|
2217
|
+
border-radius: 16px;
|
|
2218
|
+
background-color: #fff;
|
|
2219
|
+
}
|
|
2220
|
+
|
|
2221
|
+
.card--inset {
|
|
2222
|
+
padding: 16px;
|
|
2223
|
+
gap: 12px;
|
|
2224
|
+
border: 1px solid #e3e8ef;
|
|
2225
|
+
border-radius: 12px;
|
|
2226
|
+
background-color: #fff;
|
|
2227
|
+
}
|
|
2228
|
+
|
|
2229
|
+
.card--sticky {
|
|
2230
|
+
position: sticky;
|
|
2231
|
+
top: 96px;
|
|
2232
|
+
align-self: start;
|
|
2233
|
+
}
|
|
2234
|
+
|
|
2235
|
+
@media (max-width: 1100px) {
|
|
2236
|
+
.card--sticky {
|
|
2237
|
+
position: static;
|
|
2238
|
+
}
|
|
2239
|
+
}
|
|
2240
|
+
|
|
2091
2241
|
.card--default {
|
|
2092
2242
|
border: 1px solid var(--color-gray-100, #eff1f2);
|
|
2093
2243
|
background-color: var(--color-white, #fff);
|
|
@@ -2375,10 +2525,16 @@ body {
|
|
|
2375
2525
|
outline: none;
|
|
2376
2526
|
}
|
|
2377
2527
|
|
|
2378
|
-
|
|
2528
|
+
/* `.well-input` sits on the <input> itself, so its placeholder is `.well-input::placeholder`
|
|
2529
|
+
(no space). The old `.well-input ::placeholder` looked for a placeholder of an element INSIDE
|
|
2530
|
+
the input and never matched, leaving the browser default (thinner than the value typed beside
|
|
2531
|
+
it). A placeholder now shares the field's family, size and weight; only the colour differs. */
|
|
2532
|
+
.well-input::placeholder {
|
|
2379
2533
|
color: var(--color-gray-500, #71747d);
|
|
2380
|
-
font-family:
|
|
2381
|
-
font-
|
|
2534
|
+
font-family: inherit;
|
|
2535
|
+
font-size: inherit;
|
|
2536
|
+
font-weight: inherit;
|
|
2537
|
+
opacity: 1;
|
|
2382
2538
|
}
|
|
2383
2539
|
|
|
2384
2540
|
.well-input [type="file"] {
|
|
@@ -3603,6 +3759,57 @@ body {
|
|
|
3603
3759
|
background-color: hsl(var(--muted));
|
|
3604
3760
|
}
|
|
3605
3761
|
|
|
3762
|
+
/* Avatar sizes and the brand look (initials on teal, thin gradient ring). */
|
|
3763
|
+
.avatar--sm {
|
|
3764
|
+
height: 2rem;
|
|
3765
|
+
width: 2rem;
|
|
3766
|
+
}
|
|
3767
|
+
|
|
3768
|
+
.avatar--sm .avatar-fallback {
|
|
3769
|
+
font-size: 0.75rem;
|
|
3770
|
+
}
|
|
3771
|
+
|
|
3772
|
+
.avatar--lg {
|
|
3773
|
+
height: 4rem;
|
|
3774
|
+
width: 4rem;
|
|
3775
|
+
}
|
|
3776
|
+
|
|
3777
|
+
.avatar--lg .avatar-fallback {
|
|
3778
|
+
font-size: 1.5rem;
|
|
3779
|
+
}
|
|
3780
|
+
|
|
3781
|
+
.avatar--xl {
|
|
3782
|
+
height: 11rem;
|
|
3783
|
+
width: 11rem;
|
|
3784
|
+
}
|
|
3785
|
+
|
|
3786
|
+
.avatar--xl .avatar-fallback {
|
|
3787
|
+
font-size: 4rem;
|
|
3788
|
+
}
|
|
3789
|
+
|
|
3790
|
+
.avatar--brand {
|
|
3791
|
+
box-sizing: border-box;
|
|
3792
|
+
border: 2px solid transparent;
|
|
3793
|
+
background:
|
|
3794
|
+
linear-gradient(#2f7a8f, #2f7a8f) padding-box,
|
|
3795
|
+
linear-gradient(135deg, #41d5f6, #3eecd1 55%, #ff7a8a) border-box;
|
|
3796
|
+
}
|
|
3797
|
+
|
|
3798
|
+
.avatar--brand.avatar--xl {
|
|
3799
|
+
border-width: 4px;
|
|
3800
|
+
}
|
|
3801
|
+
|
|
3802
|
+
.avatar--brand .avatar-fallback {
|
|
3803
|
+
background-color: transparent;
|
|
3804
|
+
color: #a9d3e3;
|
|
3805
|
+
font-family: var(--font-ftmade, ui-serif, Georgia, serif);
|
|
3806
|
+
font-size: 1rem;
|
|
3807
|
+
}
|
|
3808
|
+
|
|
3809
|
+
.avatar--brand.avatar--xl .avatar-fallback {
|
|
3810
|
+
font-size: 4rem;
|
|
3811
|
+
}
|
|
3812
|
+
|
|
3606
3813
|
/* Avatar Identity — Figma avatar-v0.2 (Layout). Does not replace .avatar */
|
|
3607
3814
|
.avatar-identity {
|
|
3608
3815
|
display: flex;
|
|
@@ -3801,6 +4008,57 @@ body {
|
|
|
3801
4008
|
line-height: 19.6px;
|
|
3802
4009
|
}
|
|
3803
4010
|
|
|
4011
|
+
/* appearance="soft" — a table-row identity: a pale initials disc, no gradient ring, and a name over
|
|
4012
|
+
a quieter email. Wraps long values rather than clipping them. */
|
|
4013
|
+
.avatar-identity--soft {
|
|
4014
|
+
gap: 12px;
|
|
4015
|
+
min-width: 0;
|
|
4016
|
+
max-width: 340px;
|
|
4017
|
+
}
|
|
4018
|
+
|
|
4019
|
+
.avatar-identity--soft .avatar-identity__face {
|
|
4020
|
+
width: 36px;
|
|
4021
|
+
height: 36px;
|
|
4022
|
+
}
|
|
4023
|
+
|
|
4024
|
+
.avatar-identity--soft .avatar-identity__face[data-face="initials"] {
|
|
4025
|
+
background: linear-gradient(135deg, #dff3fa, #e3f6ef);
|
|
4026
|
+
}
|
|
4027
|
+
|
|
4028
|
+
.avatar-identity--soft .avatar-identity__initials {
|
|
4029
|
+
color: #2f7a8f;
|
|
4030
|
+
font-size: 14px;
|
|
4031
|
+
line-height: inherit;
|
|
4032
|
+
letter-spacing: 0.02em;
|
|
4033
|
+
}
|
|
4034
|
+
|
|
4035
|
+
.avatar-identity--soft .avatar-identity__border {
|
|
4036
|
+
display: none;
|
|
4037
|
+
}
|
|
4038
|
+
|
|
4039
|
+
.avatar-identity--soft .avatar-identity__text {
|
|
4040
|
+
gap: 2px;
|
|
4041
|
+
}
|
|
4042
|
+
|
|
4043
|
+
.avatar-identity--soft .avatar-identity__name,
|
|
4044
|
+
.avatar-identity--soft .avatar-identity__email {
|
|
4045
|
+
white-space: normal;
|
|
4046
|
+
overflow-wrap: anywhere;
|
|
4047
|
+
text-box-trim: none;
|
|
4048
|
+
}
|
|
4049
|
+
|
|
4050
|
+
.avatar-identity--soft .avatar-identity__name {
|
|
4051
|
+
font-size: 14px;
|
|
4052
|
+
line-height: 1.35;
|
|
4053
|
+
color: inherit;
|
|
4054
|
+
}
|
|
4055
|
+
|
|
4056
|
+
.avatar-identity--soft .avatar-identity__email {
|
|
4057
|
+
font-size: 13px;
|
|
4058
|
+
line-height: 1.4;
|
|
4059
|
+
color: #6b7280;
|
|
4060
|
+
}
|
|
4061
|
+
|
|
3804
4062
|
/* Tag Styles */
|
|
3805
4063
|
.status-tag {
|
|
3806
4064
|
display: inline-flex;
|
|
@@ -5253,6 +5511,45 @@ body {
|
|
|
5253
5511
|
line-height: 1.25rem;
|
|
5254
5512
|
}
|
|
5255
5513
|
|
|
5514
|
+
/* DialogContent appearance="form" — the back-office dialog. A 560px panel inside the usual lighter
|
|
5515
|
+
frame (outer radius stays inner + 12px), roomier padding, a left-aligned title and description in
|
|
5516
|
+
the page font at a readable size, and a little more air between header, body and footer. */
|
|
5517
|
+
.dialog-content--form {
|
|
5518
|
+
width: min(560px, calc(100vw - 32px));
|
|
5519
|
+
}
|
|
5520
|
+
|
|
5521
|
+
.dialog-content--form .dialog-content-wrapper {
|
|
5522
|
+
border-radius: 36px; /* the inner 24px plus the 12px frame, so the two curves stay concentric */
|
|
5523
|
+
}
|
|
5524
|
+
|
|
5525
|
+
.dialog-content--form .dialog-content-inner {
|
|
5526
|
+
gap: 24px;
|
|
5527
|
+
padding: 32px;
|
|
5528
|
+
border-radius: 24px;
|
|
5529
|
+
}
|
|
5530
|
+
|
|
5531
|
+
.dialog-content--form .dialog-header {
|
|
5532
|
+
align-items: flex-start;
|
|
5533
|
+
gap: 12px;
|
|
5534
|
+
padding-right: 32px; /* clear of the close button */
|
|
5535
|
+
text-align: left;
|
|
5536
|
+
}
|
|
5537
|
+
|
|
5538
|
+
.dialog-content--form .dialog-header .dialog-title {
|
|
5539
|
+
text-align: left;
|
|
5540
|
+
}
|
|
5541
|
+
|
|
5542
|
+
.dialog-content--form .dialog-description {
|
|
5543
|
+
font-family: var(--font-mazzard);
|
|
5544
|
+
font-size: 16px;
|
|
5545
|
+
line-height: 1.5;
|
|
5546
|
+
color: var(--color-gray-700, #4a4d58);
|
|
5547
|
+
}
|
|
5548
|
+
|
|
5549
|
+
.dialog-content--form .dialog-footer {
|
|
5550
|
+
gap: 12px;
|
|
5551
|
+
}
|
|
5552
|
+
|
|
5256
5553
|
/* Select Styles */
|
|
5257
5554
|
.select-trigger {
|
|
5258
5555
|
display: flex;
|
|
@@ -14868,6 +15165,58 @@ body {
|
|
|
14868
15165
|
border-color: var(--color-gray-200, #e2e3e6);
|
|
14869
15166
|
color: var(--color-gray-700, #3d3f47);
|
|
14870
15167
|
}
|
|
15168
|
+
|
|
15169
|
+
/* Generic tones: roles, record states and flags that are not invoice states. */
|
|
15170
|
+
.status-pill--info {
|
|
15171
|
+
background-color: #e3f0fa;
|
|
15172
|
+
border-color: #c7e0f3;
|
|
15173
|
+
color: #1f5f93;
|
|
15174
|
+
}
|
|
15175
|
+
|
|
15176
|
+
.status-pill--success {
|
|
15177
|
+
background-color: #e6f6ee;
|
|
15178
|
+
border-color: #c5e8d4;
|
|
15179
|
+
color: #1c6b3f;
|
|
15180
|
+
}
|
|
15181
|
+
|
|
15182
|
+
.status-pill--warning {
|
|
15183
|
+
background-color: #fdf3df;
|
|
15184
|
+
border-color: #f6e2b3;
|
|
15185
|
+
color: #8a5a00;
|
|
15186
|
+
}
|
|
15187
|
+
|
|
15188
|
+
.status-pill--danger {
|
|
15189
|
+
background-color: #fde9e7;
|
|
15190
|
+
border-color: #f6cfca;
|
|
15191
|
+
color: #a1352a;
|
|
15192
|
+
}
|
|
15193
|
+
|
|
15194
|
+
.status-pill--accent {
|
|
15195
|
+
background-color: #efe9fb;
|
|
15196
|
+
border-color: #ddd0f5;
|
|
15197
|
+
color: #5b3aa8;
|
|
15198
|
+
}
|
|
15199
|
+
|
|
15200
|
+
.status-pill--inactive {
|
|
15201
|
+
background-color: #f3f4f6;
|
|
15202
|
+
border-color: #d9dce3;
|
|
15203
|
+
color: #6b7280;
|
|
15204
|
+
text-decoration: line-through;
|
|
15205
|
+
}
|
|
15206
|
+
|
|
15207
|
+
.status-pill--plain {
|
|
15208
|
+
background-color: #f1f3f6;
|
|
15209
|
+
border-color: transparent;
|
|
15210
|
+
color: #4a4d58;
|
|
15211
|
+
}
|
|
15212
|
+
|
|
15213
|
+
/* appearance="chip": sentence case, tighter padding, the line height of its surroundings. */
|
|
15214
|
+
.status-pill--chip {
|
|
15215
|
+
padding: 3px 10px;
|
|
15216
|
+
line-height: inherit;
|
|
15217
|
+
letter-spacing: normal;
|
|
15218
|
+
text-transform: none;
|
|
15219
|
+
}
|
|
14871
15220
|
/* /DS_PENDING_CSS:StatusPill */
|
|
14872
15221
|
|
|
14873
15222
|
/* DS_PENDING_CSS:CreditCardPreview */
|
|
@@ -15154,6 +15503,12 @@ body {
|
|
|
15154
15503
|
transition: background-color 0.15s ease-in-out;
|
|
15155
15504
|
}
|
|
15156
15505
|
|
|
15506
|
+
.modal-close-row--roomy {
|
|
15507
|
+
height: 64px;
|
|
15508
|
+
padding-right: 16px;
|
|
15509
|
+
margin-bottom: -64px;
|
|
15510
|
+
}
|
|
15511
|
+
|
|
15157
15512
|
.modal-close:hover {
|
|
15158
15513
|
background-color: rgba(255, 255, 255, 0.6);
|
|
15159
15514
|
}
|
|
@@ -15164,9 +15519,11 @@ body {
|
|
|
15164
15519
|
box-sizing: border-box;
|
|
15165
15520
|
display: flex;
|
|
15166
15521
|
flex-direction: column;
|
|
15167
|
-
gap: 24px;
|
|
15522
|
+
gap: var(--modal-panel-gap, 24px);
|
|
15168
15523
|
width: 100%;
|
|
15169
15524
|
padding: 24px;
|
|
15525
|
+
padding-top: var(--modal-panel-padding-top, 24px);
|
|
15526
|
+
padding-bottom: var(--modal-panel-padding-bottom, 24px);
|
|
15170
15527
|
border-radius: 24px;
|
|
15171
15528
|
outline: 12px solid rgba(255, 255, 255, 0.2);
|
|
15172
15529
|
outline-offset: 0;
|
|
@@ -15229,6 +15586,14 @@ body {
|
|
|
15229
15586
|
color: var(--color-gray-800, #282a31);
|
|
15230
15587
|
}
|
|
15231
15588
|
|
|
15589
|
+
.modal-title--large {
|
|
15590
|
+
height: auto;
|
|
15591
|
+
}
|
|
15592
|
+
|
|
15593
|
+
.modal-title--large .modal-title__text.heading-xxsmall {
|
|
15594
|
+
font-size: 28px;
|
|
15595
|
+
}
|
|
15596
|
+
|
|
15232
15597
|
.modal-prompt-row {
|
|
15233
15598
|
box-sizing: border-box;
|
|
15234
15599
|
display: flex;
|
|
@@ -15828,6 +16193,22 @@ body {
|
|
|
15828
16193
|
border-radius: var(--radius-md, 8px);
|
|
15829
16194
|
}
|
|
15830
16195
|
|
|
16196
|
+
.resource-thumbnail--preview {
|
|
16197
|
+
width: auto;
|
|
16198
|
+
max-width: 100%;
|
|
16199
|
+
max-height: 160px;
|
|
16200
|
+
aspect-ratio: auto;
|
|
16201
|
+
border-radius: 10px;
|
|
16202
|
+
}
|
|
16203
|
+
|
|
16204
|
+
.resource-thumbnail--thumb {
|
|
16205
|
+
width: 56px;
|
|
16206
|
+
height: 40px;
|
|
16207
|
+
aspect-ratio: auto;
|
|
16208
|
+
border-radius: 6px;
|
|
16209
|
+
background: var(--color-neutral-100, #f1f1f1);
|
|
16210
|
+
}
|
|
16211
|
+
|
|
15831
16212
|
/* ---------------------------------------------------------------------------
|
|
15832
16213
|
FileAttachment — status + filename + remove, as one attached-file row
|
|
15833
16214
|
--------------------------------------------------------------------------- */
|
|
@@ -15985,3 +16366,598 @@ body {
|
|
|
15985
16366
|
color: var(--color-gray-900, #1a282f);
|
|
15986
16367
|
}
|
|
15987
16368
|
/* /DS_PENDING_CSS:PriceTag */
|
|
16369
|
+
|
|
16370
|
+
/* ============================================================================
|
|
16371
|
+
Back-office components: Table card, SideNav, CheckboxField, RadioCard,
|
|
16372
|
+
OutlineNode, BackLink
|
|
16373
|
+
========================================================================== */
|
|
16374
|
+
|
|
16375
|
+
/* Table — appearance="card": one bordered card, tinted header, soft row dividers, hover. */
|
|
16376
|
+
.table-wrapper--card {
|
|
16377
|
+
overflow: hidden;
|
|
16378
|
+
border: 1px solid #e3e8ef;
|
|
16379
|
+
border-radius: 16px;
|
|
16380
|
+
background-color: #fff;
|
|
16381
|
+
box-shadow:
|
|
16382
|
+
0 1px 2px rgba(16, 24, 40, 0.04),
|
|
16383
|
+
0 4px 12px -6px rgba(16, 24, 40, 0.06);
|
|
16384
|
+
}
|
|
16385
|
+
|
|
16386
|
+
.table-wrapper--card .table {
|
|
16387
|
+
width: 100%;
|
|
16388
|
+
border-collapse: collapse;
|
|
16389
|
+
}
|
|
16390
|
+
|
|
16391
|
+
.table-wrapper--card .table-header {
|
|
16392
|
+
background-color: #f6f8fb;
|
|
16393
|
+
}
|
|
16394
|
+
|
|
16395
|
+
.table-wrapper--card .table-header-cell {
|
|
16396
|
+
padding-top: 14px;
|
|
16397
|
+
padding-bottom: 14px;
|
|
16398
|
+
border-bottom: 1px solid #e3e8ef;
|
|
16399
|
+
font-size: 12px;
|
|
16400
|
+
font-weight: 600;
|
|
16401
|
+
letter-spacing: 0.08em;
|
|
16402
|
+
color: #6b7280;
|
|
16403
|
+
white-space: nowrap;
|
|
16404
|
+
}
|
|
16405
|
+
|
|
16406
|
+
.table-wrapper--card .table-row {
|
|
16407
|
+
transition: background-color 0.12s ease;
|
|
16408
|
+
}
|
|
16409
|
+
|
|
16410
|
+
.table-wrapper--card .table-row:not(:last-child) .table-cell {
|
|
16411
|
+
border-bottom: 1px solid #eef1f5;
|
|
16412
|
+
}
|
|
16413
|
+
|
|
16414
|
+
.table-wrapper--card tbody .table-row:hover {
|
|
16415
|
+
background-color: #f4f9fd;
|
|
16416
|
+
}
|
|
16417
|
+
|
|
16418
|
+
.table-cell--strong {
|
|
16419
|
+
font-weight: bolder;
|
|
16420
|
+
}
|
|
16421
|
+
|
|
16422
|
+
.table-wrapper--card .table-cell {
|
|
16423
|
+
padding-top: 14px;
|
|
16424
|
+
padding-bottom: 14px;
|
|
16425
|
+
font-size: 14px;
|
|
16426
|
+
color: #1f2430;
|
|
16427
|
+
vertical-align: middle;
|
|
16428
|
+
}
|
|
16429
|
+
|
|
16430
|
+
/* Phones: keep the table's natural width and scroll sideways inside its card. */
|
|
16431
|
+
@media (max-width: 767px) {
|
|
16432
|
+
.table-wrapper--card {
|
|
16433
|
+
overflow-x: auto;
|
|
16434
|
+
}
|
|
16435
|
+
|
|
16436
|
+
.table-wrapper--card .table {
|
|
16437
|
+
min-width: 640px;
|
|
16438
|
+
}
|
|
16439
|
+
}
|
|
16440
|
+
|
|
16441
|
+
/* SideNav — grouped, icon-led navigation with a clear active state. */
|
|
16442
|
+
.side-nav {
|
|
16443
|
+
display: flex;
|
|
16444
|
+
flex-direction: column;
|
|
16445
|
+
gap: 24px;
|
|
16446
|
+
/* How far the active bar reaches left, to sit on the panel's edge (its padding). */
|
|
16447
|
+
--side-nav-edge: 12px;
|
|
16448
|
+
}
|
|
16449
|
+
|
|
16450
|
+
.side-nav__group {
|
|
16451
|
+
display: flex;
|
|
16452
|
+
flex-direction: column;
|
|
16453
|
+
gap: 2px;
|
|
16454
|
+
}
|
|
16455
|
+
|
|
16456
|
+
.side-nav__heading {
|
|
16457
|
+
padding: 0 14px 8px;
|
|
16458
|
+
font-size: 11px;
|
|
16459
|
+
font-weight: 600;
|
|
16460
|
+
letter-spacing: 0.08em;
|
|
16461
|
+
text-transform: uppercase;
|
|
16462
|
+
color: #8a8e9a;
|
|
16463
|
+
}
|
|
16464
|
+
|
|
16465
|
+
.side-nav__item {
|
|
16466
|
+
position: relative;
|
|
16467
|
+
display: flex;
|
|
16468
|
+
align-items: center;
|
|
16469
|
+
gap: 12px;
|
|
16470
|
+
width: 100%;
|
|
16471
|
+
padding: 10px 14px;
|
|
16472
|
+
border: 0;
|
|
16473
|
+
border-radius: 12px;
|
|
16474
|
+
background: none;
|
|
16475
|
+
font: inherit;
|
|
16476
|
+
font-size: 14px;
|
|
16477
|
+
font-weight: 500;
|
|
16478
|
+
color: #4a4d58;
|
|
16479
|
+
text-align: left;
|
|
16480
|
+
text-decoration: none;
|
|
16481
|
+
cursor: pointer;
|
|
16482
|
+
transition:
|
|
16483
|
+
background-color 0.15s ease,
|
|
16484
|
+
color 0.15s ease;
|
|
16485
|
+
}
|
|
16486
|
+
|
|
16487
|
+
.side-nav__icon {
|
|
16488
|
+
display: inline-flex;
|
|
16489
|
+
flex: none;
|
|
16490
|
+
color: #8a8e9a;
|
|
16491
|
+
transition: color 0.15s ease;
|
|
16492
|
+
}
|
|
16493
|
+
|
|
16494
|
+
.side-nav__icon svg {
|
|
16495
|
+
width: 18px;
|
|
16496
|
+
height: 18px;
|
|
16497
|
+
}
|
|
16498
|
+
|
|
16499
|
+
.side-nav__item:hover {
|
|
16500
|
+
background-color: #f1f5f9;
|
|
16501
|
+
color: #1f2430;
|
|
16502
|
+
}
|
|
16503
|
+
|
|
16504
|
+
.side-nav__item:hover .side-nav__icon {
|
|
16505
|
+
color: #3f74ad;
|
|
16506
|
+
}
|
|
16507
|
+
|
|
16508
|
+
.side-nav__item:focus-visible {
|
|
16509
|
+
outline: 2px solid #3b8fc9;
|
|
16510
|
+
outline-offset: 1px;
|
|
16511
|
+
}
|
|
16512
|
+
|
|
16513
|
+
.side-nav__item--active {
|
|
16514
|
+
background: linear-gradient(90deg, #e3f0fa 0%, #eef7f6 100%);
|
|
16515
|
+
color: #1f5f93;
|
|
16516
|
+
font-weight: 600;
|
|
16517
|
+
}
|
|
16518
|
+
|
|
16519
|
+
.side-nav__item--active .side-nav__icon {
|
|
16520
|
+
color: #2f7a8f;
|
|
16521
|
+
}
|
|
16522
|
+
|
|
16523
|
+
.side-nav__item--active::before {
|
|
16524
|
+
content: "";
|
|
16525
|
+
position: absolute;
|
|
16526
|
+
top: 8px;
|
|
16527
|
+
bottom: 8px;
|
|
16528
|
+
left: calc(var(--side-nav-edge) * -1);
|
|
16529
|
+
width: 3px;
|
|
16530
|
+
border-radius: 0 3px 3px 0;
|
|
16531
|
+
background: linear-gradient(180deg, #41d5f6, #3eecd1);
|
|
16532
|
+
}
|
|
16533
|
+
|
|
16534
|
+
/* Collapsible group: the heading is a button with a chevron. */
|
|
16535
|
+
.side-nav__heading--toggle {
|
|
16536
|
+
display: flex;
|
|
16537
|
+
align-items: center;
|
|
16538
|
+
justify-content: space-between;
|
|
16539
|
+
gap: 8px;
|
|
16540
|
+
width: 100%;
|
|
16541
|
+
border: 0;
|
|
16542
|
+
border-radius: 8px;
|
|
16543
|
+
background: none;
|
|
16544
|
+
font: inherit;
|
|
16545
|
+
font-size: 11px;
|
|
16546
|
+
font-weight: 600;
|
|
16547
|
+
letter-spacing: 0.08em;
|
|
16548
|
+
text-transform: uppercase;
|
|
16549
|
+
color: #8a8e9a;
|
|
16550
|
+
text-align: left;
|
|
16551
|
+
cursor: pointer;
|
|
16552
|
+
transition: color 0.15s ease;
|
|
16553
|
+
}
|
|
16554
|
+
|
|
16555
|
+
.side-nav__heading--toggle:hover {
|
|
16556
|
+
color: #4a4d58;
|
|
16557
|
+
}
|
|
16558
|
+
|
|
16559
|
+
.side-nav__heading--toggle:focus-visible {
|
|
16560
|
+
outline: 2px solid #3b8fc9;
|
|
16561
|
+
outline-offset: 1px;
|
|
16562
|
+
}
|
|
16563
|
+
|
|
16564
|
+
.side-nav__chevron {
|
|
16565
|
+
flex: none;
|
|
16566
|
+
width: 14px;
|
|
16567
|
+
height: 14px;
|
|
16568
|
+
transition: transform 0.15s ease;
|
|
16569
|
+
}
|
|
16570
|
+
|
|
16571
|
+
[aria-expanded="false"] > .side-nav__chevron {
|
|
16572
|
+
transform: rotate(-90deg);
|
|
16573
|
+
}
|
|
16574
|
+
|
|
16575
|
+
.side-nav__items,
|
|
16576
|
+
.side-nav__branch,
|
|
16577
|
+
.side-nav__sub {
|
|
16578
|
+
display: flex;
|
|
16579
|
+
flex-direction: column;
|
|
16580
|
+
gap: 2px;
|
|
16581
|
+
}
|
|
16582
|
+
|
|
16583
|
+
.side-nav__items[hidden],
|
|
16584
|
+
.side-nav__sub[hidden] {
|
|
16585
|
+
display: none;
|
|
16586
|
+
}
|
|
16587
|
+
|
|
16588
|
+
/* Branch: an item that unfolds into sub-pages, indented under its icon. */
|
|
16589
|
+
.side-nav__item--branch .side-nav__label {
|
|
16590
|
+
flex: 1;
|
|
16591
|
+
}
|
|
16592
|
+
|
|
16593
|
+
.side-nav__item--branch .side-nav__chevron {
|
|
16594
|
+
color: #8a8e9a;
|
|
16595
|
+
}
|
|
16596
|
+
|
|
16597
|
+
.side-nav__item--branch-active {
|
|
16598
|
+
color: #1f5f93;
|
|
16599
|
+
font-weight: 600;
|
|
16600
|
+
}
|
|
16601
|
+
|
|
16602
|
+
.side-nav__item--branch-active .side-nav__icon {
|
|
16603
|
+
color: #2f7a8f;
|
|
16604
|
+
}
|
|
16605
|
+
|
|
16606
|
+
.side-nav__sub .side-nav__item {
|
|
16607
|
+
padding-left: 44px;
|
|
16608
|
+
}
|
|
16609
|
+
|
|
16610
|
+
/* Collapsed: icons only. `font-size: 0` hides the text of an item rendered with `asChild` too. */
|
|
16611
|
+
.side-nav--collapsed .side-nav__heading,
|
|
16612
|
+
.side-nav--collapsed .side-nav__label {
|
|
16613
|
+
display: none;
|
|
16614
|
+
}
|
|
16615
|
+
|
|
16616
|
+
.side-nav--collapsed .side-nav__item {
|
|
16617
|
+
justify-content: center;
|
|
16618
|
+
padding: 12px 0;
|
|
16619
|
+
font-size: 0;
|
|
16620
|
+
}
|
|
16621
|
+
|
|
16622
|
+
.side-nav--collapsed .side-nav__chevron,
|
|
16623
|
+
.side-nav--collapsed .side-nav__sub {
|
|
16624
|
+
display: none;
|
|
16625
|
+
}
|
|
16626
|
+
|
|
16627
|
+
/* CheckboxField — a checkbox with its label and optional description. */
|
|
16628
|
+
.checkbox-field {
|
|
16629
|
+
display: inline-flex;
|
|
16630
|
+
align-items: flex-start;
|
|
16631
|
+
gap: 8px;
|
|
16632
|
+
}
|
|
16633
|
+
|
|
16634
|
+
.checkbox-field > .checkbox {
|
|
16635
|
+
margin-top: 2px;
|
|
16636
|
+
}
|
|
16637
|
+
|
|
16638
|
+
.checkbox-field__text {
|
|
16639
|
+
display: flex;
|
|
16640
|
+
flex-direction: column;
|
|
16641
|
+
gap: 2px;
|
|
16642
|
+
}
|
|
16643
|
+
|
|
16644
|
+
.checkbox-field__label {
|
|
16645
|
+
font-size: 14px;
|
|
16646
|
+
line-height: 20px;
|
|
16647
|
+
color: #1f2430;
|
|
16648
|
+
cursor: pointer;
|
|
16649
|
+
}
|
|
16650
|
+
|
|
16651
|
+
.checkbox-field__description {
|
|
16652
|
+
font-size: 13px;
|
|
16653
|
+
line-height: 18px;
|
|
16654
|
+
color: #6b7280;
|
|
16655
|
+
}
|
|
16656
|
+
|
|
16657
|
+
.checkbox-field--disabled .checkbox-field__label {
|
|
16658
|
+
cursor: not-allowed;
|
|
16659
|
+
opacity: 0.5;
|
|
16660
|
+
}
|
|
16661
|
+
|
|
16662
|
+
/* RadioCard — single choice where each option is a card with a title and a line of detail. */
|
|
16663
|
+
.radio-card-group {
|
|
16664
|
+
display: flex;
|
|
16665
|
+
flex-direction: column;
|
|
16666
|
+
gap: 8px;
|
|
16667
|
+
}
|
|
16668
|
+
|
|
16669
|
+
.radio-card {
|
|
16670
|
+
display: flex;
|
|
16671
|
+
flex-direction: column;
|
|
16672
|
+
align-items: flex-start;
|
|
16673
|
+
gap: 2px;
|
|
16674
|
+
width: 100%;
|
|
16675
|
+
padding: 12px 16px;
|
|
16676
|
+
border: 1px solid #d5e3f0;
|
|
16677
|
+
border-radius: 14px;
|
|
16678
|
+
background: #fff;
|
|
16679
|
+
text-align: left;
|
|
16680
|
+
font: inherit;
|
|
16681
|
+
cursor: pointer;
|
|
16682
|
+
transition:
|
|
16683
|
+
border-color 0.15s ease,
|
|
16684
|
+
background-color 0.15s ease;
|
|
16685
|
+
}
|
|
16686
|
+
|
|
16687
|
+
.radio-card:hover {
|
|
16688
|
+
border-color: #3b8fc9;
|
|
16689
|
+
}
|
|
16690
|
+
|
|
16691
|
+
.radio-card:focus-visible {
|
|
16692
|
+
outline: 2px solid #3b8fc9;
|
|
16693
|
+
outline-offset: 2px;
|
|
16694
|
+
}
|
|
16695
|
+
|
|
16696
|
+
.radio-card[data-state="checked"] {
|
|
16697
|
+
border-color: #2f7a8f;
|
|
16698
|
+
background: linear-gradient(90deg, #e3f0fa 0%, #eef7f6 100%);
|
|
16699
|
+
box-shadow: 0 0 0 1px #2f7a8f inset;
|
|
16700
|
+
}
|
|
16701
|
+
|
|
16702
|
+
.radio-card[data-disabled] {
|
|
16703
|
+
opacity: 0.5;
|
|
16704
|
+
cursor: not-allowed;
|
|
16705
|
+
}
|
|
16706
|
+
|
|
16707
|
+
.radio-card__title {
|
|
16708
|
+
font-size: 15px;
|
|
16709
|
+
font-weight: 600;
|
|
16710
|
+
color: #1f2430;
|
|
16711
|
+
}
|
|
16712
|
+
|
|
16713
|
+
.radio-card__description {
|
|
16714
|
+
font-size: 13px;
|
|
16715
|
+
color: #6b7280;
|
|
16716
|
+
}
|
|
16717
|
+
|
|
16718
|
+
/* OutlineNode — one row of an editable outline: section card, indented branch, compact leaf. */
|
|
16719
|
+
.tree-node {
|
|
16720
|
+
display: flex;
|
|
16721
|
+
flex-direction: column;
|
|
16722
|
+
gap: 4px;
|
|
16723
|
+
}
|
|
16724
|
+
|
|
16725
|
+
.tree-node--section {
|
|
16726
|
+
padding: 16px;
|
|
16727
|
+
border: 1px solid #e3e8ef;
|
|
16728
|
+
border-radius: 16px;
|
|
16729
|
+
background: #fff;
|
|
16730
|
+
}
|
|
16731
|
+
|
|
16732
|
+
.tree-node--branch {
|
|
16733
|
+
margin: 8px 0 0 20px;
|
|
16734
|
+
padding-left: 14px;
|
|
16735
|
+
border-left: 2px solid #dbe7f3;
|
|
16736
|
+
}
|
|
16737
|
+
|
|
16738
|
+
.tree-node--leaf {
|
|
16739
|
+
flex-direction: row;
|
|
16740
|
+
align-items: center;
|
|
16741
|
+
justify-content: space-between;
|
|
16742
|
+
gap: 12px;
|
|
16743
|
+
margin: 4px 0 0 18px;
|
|
16744
|
+
padding: 8px 10px;
|
|
16745
|
+
border-radius: 10px;
|
|
16746
|
+
font-size: 14px;
|
|
16747
|
+
}
|
|
16748
|
+
|
|
16749
|
+
.tree-node--leaf:hover {
|
|
16750
|
+
background-color: #f4f9fd;
|
|
16751
|
+
}
|
|
16752
|
+
|
|
16753
|
+
.tree-node[data-inactive] > .tree-node__head .tree-node__title,
|
|
16754
|
+
.tree-node--leaf[data-inactive] > .tree-node__title {
|
|
16755
|
+
color: #6b7280;
|
|
16756
|
+
}
|
|
16757
|
+
|
|
16758
|
+
.tree-node__head {
|
|
16759
|
+
display: flex;
|
|
16760
|
+
align-items: center;
|
|
16761
|
+
justify-content: space-between;
|
|
16762
|
+
gap: 12px;
|
|
16763
|
+
flex-wrap: wrap;
|
|
16764
|
+
}
|
|
16765
|
+
|
|
16766
|
+
.tree-node__title {
|
|
16767
|
+
display: inline-flex;
|
|
16768
|
+
align-items: center;
|
|
16769
|
+
flex-wrap: wrap;
|
|
16770
|
+
gap: 8px;
|
|
16771
|
+
}
|
|
16772
|
+
|
|
16773
|
+
.tree-node__code {
|
|
16774
|
+
font-weight: bolder;
|
|
16775
|
+
}
|
|
16776
|
+
|
|
16777
|
+
.tree-node__meta {
|
|
16778
|
+
font-size: 12px;
|
|
16779
|
+
color: #6b7280;
|
|
16780
|
+
}
|
|
16781
|
+
|
|
16782
|
+
.tree-node__controls {
|
|
16783
|
+
display: inline-flex;
|
|
16784
|
+
align-items: center;
|
|
16785
|
+
flex-wrap: wrap;
|
|
16786
|
+
gap: 8px;
|
|
16787
|
+
}
|
|
16788
|
+
|
|
16789
|
+
/* BackLink — "← Back to <list>" above a detail page's title. */
|
|
16790
|
+
.back-link {
|
|
16791
|
+
display: inline-flex;
|
|
16792
|
+
align-items: center;
|
|
16793
|
+
gap: 8px;
|
|
16794
|
+
align-self: flex-start;
|
|
16795
|
+
padding: 6px 12px 6px 8px;
|
|
16796
|
+
border: 0;
|
|
16797
|
+
border-radius: 999px;
|
|
16798
|
+
background: none;
|
|
16799
|
+
font: inherit;
|
|
16800
|
+
font-size: 14px;
|
|
16801
|
+
font-weight: 500;
|
|
16802
|
+
color: #3f74ad;
|
|
16803
|
+
text-decoration: none;
|
|
16804
|
+
cursor: pointer;
|
|
16805
|
+
transition: background-color 0.15s ease;
|
|
16806
|
+
}
|
|
16807
|
+
|
|
16808
|
+
.back-link:hover {
|
|
16809
|
+
background-color: #e8f1f9;
|
|
16810
|
+
}
|
|
16811
|
+
|
|
16812
|
+
.back-link:focus-visible {
|
|
16813
|
+
outline: 2px solid #3b8fc9;
|
|
16814
|
+
outline-offset: 1px;
|
|
16815
|
+
}
|
|
16816
|
+
|
|
16817
|
+
.back-link__icon {
|
|
16818
|
+
width: 18px;
|
|
16819
|
+
height: 18px;
|
|
16820
|
+
}
|
|
16821
|
+
|
|
16822
|
+
/* IconButton — a quiet icon-only button for chrome and tree rows. */
|
|
16823
|
+
.icon-button {
|
|
16824
|
+
display: inline-flex;
|
|
16825
|
+
align-items: center;
|
|
16826
|
+
justify-content: center;
|
|
16827
|
+
border: 0;
|
|
16828
|
+
background: none;
|
|
16829
|
+
color: #6b7280;
|
|
16830
|
+
cursor: pointer;
|
|
16831
|
+
transition:
|
|
16832
|
+
background-color 0.15s ease,
|
|
16833
|
+
color 0.15s ease;
|
|
16834
|
+
}
|
|
16835
|
+
|
|
16836
|
+
.icon-button:focus-visible {
|
|
16837
|
+
outline: 2px solid #3b8fc9;
|
|
16838
|
+
outline-offset: 1px;
|
|
16839
|
+
}
|
|
16840
|
+
|
|
16841
|
+
.icon-button:disabled {
|
|
16842
|
+
opacity: 0.35;
|
|
16843
|
+
cursor: default;
|
|
16844
|
+
}
|
|
16845
|
+
|
|
16846
|
+
.icon-button--md {
|
|
16847
|
+
width: 36px;
|
|
16848
|
+
height: 36px;
|
|
16849
|
+
border-radius: 10px;
|
|
16850
|
+
color: #4a4d58;
|
|
16851
|
+
}
|
|
16852
|
+
|
|
16853
|
+
.icon-button--md:hover:not(:disabled) {
|
|
16854
|
+
background-color: #f1f5f9;
|
|
16855
|
+
color: #1f5f93;
|
|
16856
|
+
}
|
|
16857
|
+
|
|
16858
|
+
.icon-button--sm {
|
|
16859
|
+
width: 28px;
|
|
16860
|
+
height: 28px;
|
|
16861
|
+
border-radius: 8px;
|
|
16862
|
+
}
|
|
16863
|
+
|
|
16864
|
+
.icon-button--sm:hover:not(:disabled) {
|
|
16865
|
+
background-color: #e8f1f9;
|
|
16866
|
+
color: #1f5f93;
|
|
16867
|
+
}
|
|
16868
|
+
|
|
16869
|
+
.icon-button--bare {
|
|
16870
|
+
padding: 0;
|
|
16871
|
+
border-radius: 50%;
|
|
16872
|
+
}
|
|
16873
|
+
|
|
16874
|
+
.icon-button--bare:focus-visible {
|
|
16875
|
+
outline-offset: 2px;
|
|
16876
|
+
}
|
|
16877
|
+
|
|
16878
|
+
/* CenteredPage — a full-window page that sets one panel near the top, centred. */
|
|
16879
|
+
.centered-page {
|
|
16880
|
+
box-sizing: border-box;
|
|
16881
|
+
display: flex;
|
|
16882
|
+
justify-content: center;
|
|
16883
|
+
min-height: 100vh;
|
|
16884
|
+
padding: 96px 24px 24px;
|
|
16885
|
+
background-color: var(--color-gray-50, #f9f9fa);
|
|
16886
|
+
font-family: var(--font-mazzard);
|
|
16887
|
+
}
|
|
16888
|
+
|
|
16889
|
+
.centered-page__body {
|
|
16890
|
+
width: 420px;
|
|
16891
|
+
max-width: 100%;
|
|
16892
|
+
}
|
|
16893
|
+
|
|
16894
|
+
/* Text tone / strong / align — last, so they win over the variant classes. */
|
|
16895
|
+
.typo--muted {
|
|
16896
|
+
color: #6b7280;
|
|
16897
|
+
}
|
|
16898
|
+
|
|
16899
|
+
.typo--strong {
|
|
16900
|
+
font-weight: 600;
|
|
16901
|
+
}
|
|
16902
|
+
|
|
16903
|
+
.typo--center {
|
|
16904
|
+
text-align: center;
|
|
16905
|
+
}
|
|
16906
|
+
|
|
16907
|
+
.typo--relaxed {
|
|
16908
|
+
line-height: 1.5;
|
|
16909
|
+
}
|
|
16910
|
+
|
|
16911
|
+
/* DataGrid — an AG Grid themed like Table appearance="card". The colours live in the component's theme. */
|
|
16912
|
+
.data-grid {
|
|
16913
|
+
width: 100%;
|
|
16914
|
+
}
|
|
16915
|
+
|
|
16916
|
+
/* AG Grid keeps 150px of body height even for two rows; only an empty grid needs that room for its message. */
|
|
16917
|
+
.data-grid:not(.data-grid--empty) .ag-viewport {
|
|
16918
|
+
min-height: 0;
|
|
16919
|
+
}
|
|
16920
|
+
|
|
16921
|
+
/* Column headers read like the card Table's: small caps with letter spacing, but large enough to read. */
|
|
16922
|
+
.data-grid .ag-header-cell-text {
|
|
16923
|
+
text-transform: uppercase;
|
|
16924
|
+
letter-spacing: 0.06em;
|
|
16925
|
+
}
|
|
16926
|
+
|
|
16927
|
+
/* A row that grows for wrapped content keeps breathing room above and below it. */
|
|
16928
|
+
.data-grid .ag-cell {
|
|
16929
|
+
padding-top: 8px;
|
|
16930
|
+
padding-bottom: 8px;
|
|
16931
|
+
}
|
|
16932
|
+
|
|
16933
|
+
/* Every cell centres its content, so a badge or a button lines up with the text beside it. */
|
|
16934
|
+
.data-grid .ag-cell {
|
|
16935
|
+
display: flex;
|
|
16936
|
+
align-items: center;
|
|
16937
|
+
}
|
|
16938
|
+
|
|
16939
|
+
.data-grid .data-grid__cell--right {
|
|
16940
|
+
justify-content: flex-end;
|
|
16941
|
+
text-align: right;
|
|
16942
|
+
}
|
|
16943
|
+
|
|
16944
|
+
.data-grid .data-grid__cell--right .ag-header-cell-label {
|
|
16945
|
+
justify-content: flex-end;
|
|
16946
|
+
}
|
|
16947
|
+
|
|
16948
|
+
.data-grid .data-grid__cell--center {
|
|
16949
|
+
justify-content: center;
|
|
16950
|
+
text-align: center;
|
|
16951
|
+
}
|
|
16952
|
+
|
|
16953
|
+
.data-grid .data-grid__cell--center .ag-header-cell-label {
|
|
16954
|
+
justify-content: center;
|
|
16955
|
+
}
|
|
16956
|
+
|
|
16957
|
+
.data-grid--clickable .ag-row {
|
|
16958
|
+
cursor: pointer;
|
|
16959
|
+
}
|
|
16960
|
+
|
|
16961
|
+
.typo--sans {
|
|
16962
|
+
font-family: var(--font-mazzard, "Mazzard Soft M"), sans-serif;
|
|
16963
|
+
}
|