@booki-aui/styles 0.0.0-stage → 0.2.0
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/CHANGELOG.md +67 -0
- package/LICENSE +21 -0
- package/README.md +14 -2
- package/dist/base.css +1 -0
- package/dist/booki.css +1 -0
- package/dist/controls/activity-timeline.css +1 -0
- package/dist/controls/aged-balances.css +1 -0
- package/dist/controls/aging-chart.css +1 -0
- package/dist/controls/audit-findings.css +1 -0
- package/dist/controls/audit-workpaper.css +1 -0
- package/dist/controls/bar-chart.css +1 -0
- package/dist/controls/cashflow-waterfall.css +1 -0
- package/dist/controls/client-requests.css +1 -0
- package/dist/controls/data-table.css +1 -0
- package/dist/controls/deal-pipeline.css +1 -0
- package/dist/controls/dialog-toast.css +1 -0
- package/dist/controls/document-signoff.css +1 -0
- package/dist/controls/evidence-list.css +1 -0
- package/dist/controls/expense-claim.css +1 -0
- package/dist/controls/fixed-asset-register.css +1 -0
- package/dist/controls/forecast-chart.css +1 -0
- package/dist/controls/funnel-chart.css +1 -0
- package/dist/controls/kpi-stat.css +1 -0
- package/dist/controls/ledger-table.css +1 -0
- package/dist/controls/payment-batch.css +1 -0
- package/dist/controls/picker.css +1 -0
- package/dist/controls/recurring-revenue.css +1 -0
- package/dist/controls/sheet-stack.css +1 -0
- package/dist/controls/stage-duration.css +1 -0
- package/dist/controls/supplier-invoice-inbox.css +1 -0
- package/dist/controls/trend-chart.css +1 -0
- package/dist/controls/vat-return.css +1 -0
- package/dist/css.d.ts +1 -0
- package/dist/layered.css +4 -0
- package/dist/shadcn.css +53 -0
- package/package.json +68 -3
- package/src/agent.css +324 -0
- package/src/booki.css +1567 -0
- package/src/controls/activity-timeline.css +142 -0
- package/src/controls/aged-balances.css +260 -0
- package/src/controls/aging-chart.css +249 -0
- package/src/controls/audit-findings.css +177 -0
- package/src/controls/audit-workpaper.css +274 -0
- package/src/controls/bar-chart.css +218 -0
- package/src/controls/cashflow-waterfall.css +228 -0
- package/src/controls/client-requests.css +172 -0
- package/src/controls/data-table.css +250 -0
- package/src/controls/deal-pipeline.css +201 -0
- package/src/controls/dialog-toast.css +200 -0
- package/src/controls/document-signoff.css +82 -0
- package/src/controls/evidence-list.css +93 -0
- package/src/controls/expense-claim.css +204 -0
- package/src/controls/fixed-asset-register.css +291 -0
- package/src/controls/forecast-chart.css +203 -0
- package/src/controls/funnel-chart.css +144 -0
- package/src/controls/kpi-stat.css +92 -0
- package/src/controls/ledger-table.css +413 -0
- package/src/controls/payment-batch.css +122 -0
- package/src/controls/picker.css +327 -0
- package/src/controls/recurring-revenue.css +192 -0
- package/src/controls/sheet-stack.css +151 -0
- package/src/controls/stage-duration.css +163 -0
- package/src/controls/supplier-invoice-inbox.css +316 -0
- package/src/controls/trend-chart.css +292 -0
- package/src/controls/vat-return.css +177 -0
- package/src/shadcn.css +53 -0
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
/* ── Expense claim ───────────────────────────────────────────────────── */
|
|
2
|
+
|
|
3
|
+
[data-slot="expense-claim"] {
|
|
4
|
+
display: grid;
|
|
5
|
+
gap: var(--bk-gap-lg);
|
|
6
|
+
min-width: 0;
|
|
7
|
+
font-family: var(--bk-font);
|
|
8
|
+
color: var(--bk-fg);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
[data-slot="expense-claim-status"] {
|
|
12
|
+
margin: 0;
|
|
13
|
+
padding: 0.55rem 0.75rem;
|
|
14
|
+
border-radius: var(--bk-radius-sm);
|
|
15
|
+
background: var(--bk-muted);
|
|
16
|
+
font-family: var(--bk-mono);
|
|
17
|
+
font-size: 0.75rem;
|
|
18
|
+
font-weight: var(--bk-font-weight-medium);
|
|
19
|
+
font-variant-numeric: tabular-nums;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
[data-slot="expense-claim"][data-status="approved"] [data-slot="expense-claim-status"] {
|
|
23
|
+
background: color-mix(in srgb, var(--bk-success) 10%, var(--bk-muted));
|
|
24
|
+
color: var(--bk-success);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
[data-slot="expense-claim"][data-status="rejected"] [data-slot="expense-claim-status"] {
|
|
28
|
+
background: color-mix(in srgb, var(--bk-danger) 10%, var(--bk-muted));
|
|
29
|
+
color: var(--bk-danger);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/* The table scrolls inside its own box, never the page. */
|
|
33
|
+
[data-slot="expense-claim-scroll"] {
|
|
34
|
+
min-width: 0;
|
|
35
|
+
overflow-x: auto;
|
|
36
|
+
border-radius: var(--bk-radius);
|
|
37
|
+
background: var(--bk-card);
|
|
38
|
+
box-shadow: var(--bk-shadow-sm);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
[data-slot="expense-claim-table"] {
|
|
42
|
+
width: 100%;
|
|
43
|
+
border-collapse: collapse;
|
|
44
|
+
font-size: 0.8125rem;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
[data-slot="expense-claim-table"] thead th {
|
|
48
|
+
padding: 0.45rem 0.75rem;
|
|
49
|
+
text-align: start;
|
|
50
|
+
background: var(--bk-wood);
|
|
51
|
+
font-family: var(--bk-mono);
|
|
52
|
+
font-size: 0.6875rem;
|
|
53
|
+
font-weight: var(--bk-font-weight-medium);
|
|
54
|
+
letter-spacing: 0.06em;
|
|
55
|
+
text-transform: uppercase;
|
|
56
|
+
color: var(--bk-muted-fg);
|
|
57
|
+
white-space: nowrap;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
[data-slot="expense-claim-table"] :is(td, tfoot th) {
|
|
61
|
+
padding: 0.3rem 0.75rem;
|
|
62
|
+
border-top: 1px solid var(--bk-border);
|
|
63
|
+
vertical-align: middle;
|
|
64
|
+
text-align: start;
|
|
65
|
+
font-weight: inherit;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
[data-slot="expense-claim-table"] [data-align="end"] {
|
|
69
|
+
text-align: end;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/* Cells a person types in sit flush in the table. */
|
|
73
|
+
[data-slot="expense-claim-table"] td:has(> :is(input, select)) {
|
|
74
|
+
padding: 0.2rem 0.3rem;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
[data-slot="expense-claim-table"] :is(input, select) {
|
|
78
|
+
width: 100%;
|
|
79
|
+
min-width: 6rem;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
[data-slot="expense-claim-table"] td:nth-child(3) input {
|
|
83
|
+
min-width: 10rem;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
[data-slot="expense-claim"] input[data-align="end"] {
|
|
87
|
+
text-align: end;
|
|
88
|
+
font-family: var(--bk-mono);
|
|
89
|
+
font-variant-numeric: tabular-nums;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
[data-slot="expense-claim"] input[aria-readonly="true"] {
|
|
93
|
+
background: var(--bk-muted);
|
|
94
|
+
color: var(--bk-muted-fg);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
[data-slot="expense-claim-amount"] {
|
|
98
|
+
font-family: var(--bk-mono);
|
|
99
|
+
font-variant-numeric: tabular-nums;
|
|
100
|
+
white-space: nowrap;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
[data-slot="expense-claim-table"] tr[data-exception] [data-slot="expense-claim-amount"] {
|
|
104
|
+
color: var(--bk-warning);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
[data-slot="expense-claim-total"] :is(th, td) {
|
|
108
|
+
font-weight: var(--bk-font-weight-semibold);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/* The row a person fills in to add a line. */
|
|
112
|
+
[data-slot="expense-claim-new"] {
|
|
113
|
+
display: grid;
|
|
114
|
+
grid-template-columns: repeat(auto-fill, minmax(min(100%, 10rem), 1fr));
|
|
115
|
+
gap: var(--bk-gap);
|
|
116
|
+
align-items: end;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
[data-slot="expense-claim-new"] label {
|
|
120
|
+
display: grid;
|
|
121
|
+
gap: 0.3rem;
|
|
122
|
+
min-width: 0;
|
|
123
|
+
font-size: 0.875rem;
|
|
124
|
+
color: var(--bk-muted-fg);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
[data-slot="expense-claim-new"] :is(input, select) {
|
|
128
|
+
width: 100%;
|
|
129
|
+
min-width: 0;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/* Lines that break the policy, each with its reason and Accept. */
|
|
133
|
+
[data-slot="expense-claim-exceptions"] {
|
|
134
|
+
margin: 0;
|
|
135
|
+
padding: 0;
|
|
136
|
+
list-style: none;
|
|
137
|
+
border-radius: var(--bk-radius-sm);
|
|
138
|
+
background: color-mix(in srgb, var(--bk-warning) 10%, var(--bk-muted));
|
|
139
|
+
font-size: 0.8125rem;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
[data-slot="expense-claim-exceptions"] > li {
|
|
143
|
+
display: flex;
|
|
144
|
+
flex-wrap: wrap;
|
|
145
|
+
align-items: center;
|
|
146
|
+
gap: var(--bk-gap) var(--bk-gap-lg);
|
|
147
|
+
min-height: var(--bk-control-h);
|
|
148
|
+
padding: 0.4rem 0.75rem;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
[data-slot="expense-claim-exceptions"] > li + li {
|
|
152
|
+
border-top: 1px solid var(--bk-border);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
[data-slot="expense-claim-exception"] {
|
|
156
|
+
flex: 0 1 16rem;
|
|
157
|
+
font-weight: var(--bk-font-weight-medium);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
[data-slot="expense-claim-exceptions"] input {
|
|
161
|
+
flex: 1 1 12rem;
|
|
162
|
+
min-width: 0;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
[data-slot="expense-claim-accepted"] {
|
|
166
|
+
flex: 1 1 12rem;
|
|
167
|
+
color: var(--bk-success);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
[data-slot="expense-claim-issues"] {
|
|
171
|
+
margin: 0;
|
|
172
|
+
padding: 0.6rem 0.75rem 0.6rem 1.75rem;
|
|
173
|
+
border-radius: var(--bk-radius-sm);
|
|
174
|
+
background: color-mix(in srgb, var(--bk-warning) 10%, var(--bk-muted));
|
|
175
|
+
font-size: 0.8125rem;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
[data-slot="expense-claim-note"] {
|
|
179
|
+
margin: 0;
|
|
180
|
+
font-size: 0.8125rem;
|
|
181
|
+
color: var(--bk-muted-fg);
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
[data-slot="expense-claim-actions"] {
|
|
185
|
+
display: flex;
|
|
186
|
+
flex-wrap: wrap;
|
|
187
|
+
align-items: center;
|
|
188
|
+
gap: var(--bk-gap);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
[data-slot="expense-claim-actions"] label {
|
|
192
|
+
flex: 1 1 12rem;
|
|
193
|
+
max-width: 24rem;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
[data-slot="expense-claim-actions"] input {
|
|
197
|
+
width: 100%;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
[data-slot="expense-claim-error"] {
|
|
201
|
+
margin: 0;
|
|
202
|
+
font-size: 0.8125rem;
|
|
203
|
+
color: var(--bk-danger);
|
|
204
|
+
}
|
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
/* ── Fixed asset register: the register, a schedule, a proposed run ──── */
|
|
2
|
+
|
|
3
|
+
[data-slot="fixed-asset-register"] {
|
|
4
|
+
display: grid;
|
|
5
|
+
gap: var(--bk-gap-lg);
|
|
6
|
+
min-width: 0;
|
|
7
|
+
font-family: var(--bk-font);
|
|
8
|
+
color: var(--bk-fg);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
:is([data-slot="fixed-asset-register-asset"], [data-slot="fixed-asset-register-run"]) {
|
|
12
|
+
display: grid;
|
|
13
|
+
gap: var(--bk-gap-lg);
|
|
14
|
+
min-width: 0;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
[data-slot="fixed-asset-register-run"] {
|
|
18
|
+
padding-top: var(--bk-gap-lg);
|
|
19
|
+
border-top: 1px solid var(--bk-border);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
[data-slot="fixed-asset-register-bar"] {
|
|
23
|
+
display: flex;
|
|
24
|
+
flex-wrap: wrap;
|
|
25
|
+
align-items: end;
|
|
26
|
+
gap: var(--bk-gap) var(--bk-gap-lg);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
[data-slot="fixed-asset-register-period"] {
|
|
30
|
+
display: grid;
|
|
31
|
+
gap: 0.3rem;
|
|
32
|
+
font-size: 0.875rem;
|
|
33
|
+
color: var(--bk-muted-fg);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
[data-slot="fixed-asset-register-period"] input {
|
|
37
|
+
width: 9rem;
|
|
38
|
+
font-family: var(--bk-mono);
|
|
39
|
+
font-variant-numeric: tabular-nums;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
[data-slot="fixed-asset-register-status"] {
|
|
43
|
+
flex: 1 1 14rem;
|
|
44
|
+
margin: 0;
|
|
45
|
+
padding: 0.55rem 0.75rem;
|
|
46
|
+
border-radius: var(--bk-radius-sm);
|
|
47
|
+
background: var(--bk-muted);
|
|
48
|
+
font-family: var(--bk-mono);
|
|
49
|
+
font-size: 0.75rem;
|
|
50
|
+
font-weight: var(--bk-font-weight-medium);
|
|
51
|
+
font-variant-numeric: tabular-nums;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
[data-slot="fixed-asset-register-status"][data-run] {
|
|
55
|
+
background: color-mix(in srgb, var(--bk-success) 10%, var(--bk-muted));
|
|
56
|
+
color: var(--bk-success);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
[data-slot="fixed-asset-register-heading"] {
|
|
60
|
+
margin: 0;
|
|
61
|
+
font-size: 1rem;
|
|
62
|
+
font-weight: var(--bk-font-weight-semibold);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/* Tables scroll inside their own frame, never the page. */
|
|
66
|
+
[data-slot="fixed-asset-register-scroll"] {
|
|
67
|
+
min-width: 0;
|
|
68
|
+
overflow-x: auto;
|
|
69
|
+
border-radius: var(--bk-radius);
|
|
70
|
+
background: var(--bk-card);
|
|
71
|
+
box-shadow: var(--bk-shadow-sm);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/* A schedule can run to hundreds of months. */
|
|
75
|
+
[data-slot="fixed-asset-register-scroll"][data-tall] {
|
|
76
|
+
max-height: 24rem;
|
|
77
|
+
overflow-y: auto;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
[data-slot="fixed-asset-register-table"] {
|
|
81
|
+
width: 100%;
|
|
82
|
+
border-collapse: collapse;
|
|
83
|
+
font-size: 0.8125rem;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
[data-slot="fixed-asset-register-table"] thead th {
|
|
87
|
+
position: sticky;
|
|
88
|
+
top: 0;
|
|
89
|
+
padding: 0.45rem 0.75rem;
|
|
90
|
+
text-align: start;
|
|
91
|
+
background: var(--bk-wood);
|
|
92
|
+
font-family: var(--bk-mono);
|
|
93
|
+
font-size: 0.6875rem;
|
|
94
|
+
font-weight: var(--bk-font-weight-medium);
|
|
95
|
+
letter-spacing: 0.06em;
|
|
96
|
+
text-transform: uppercase;
|
|
97
|
+
color: var(--bk-muted-fg);
|
|
98
|
+
white-space: nowrap;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
[data-slot="fixed-asset-register-table"] :is(tbody, tfoot) :is(td, th) {
|
|
102
|
+
padding: 0.3rem 0.75rem;
|
|
103
|
+
border-top: 1px solid var(--bk-border);
|
|
104
|
+
vertical-align: middle;
|
|
105
|
+
text-align: start;
|
|
106
|
+
font-weight: inherit;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
[data-slot="fixed-asset-register-table"] tfoot :is(td, th) {
|
|
110
|
+
font-weight: var(--bk-font-weight-semibold);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
[data-slot="fixed-asset-register-table"] [data-align="end"] {
|
|
114
|
+
text-align: end;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
:is([data-slot="fixed-asset-register-amount"], [data-slot="fixed-asset-register-code"]) {
|
|
118
|
+
font-family: var(--bk-mono);
|
|
119
|
+
font-variant-numeric: tabular-nums;
|
|
120
|
+
white-space: nowrap;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/* The months of the period being looked at. */
|
|
124
|
+
[data-slot="fixed-asset-register-table"] tr[aria-current="true"] {
|
|
125
|
+
background: var(--bk-accent);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
[data-slot="fixed-asset-register-table"] tr[data-disposed] [data-slot="fixed-asset-register-amount"] {
|
|
129
|
+
color: var(--bk-muted-fg);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/* An asset's name opens its schedule: it reads as a link, not a button. */
|
|
133
|
+
[data-slot="fixed-asset-register-open"] {
|
|
134
|
+
min-height: var(--bk-control-h);
|
|
135
|
+
padding: 0;
|
|
136
|
+
border: 0;
|
|
137
|
+
background: none;
|
|
138
|
+
color: var(--bk-brand);
|
|
139
|
+
font-weight: var(--bk-font-weight-medium);
|
|
140
|
+
text-align: start;
|
|
141
|
+
text-decoration: underline;
|
|
142
|
+
text-decoration-color: transparent;
|
|
143
|
+
text-underline-offset: 0.2em;
|
|
144
|
+
box-shadow: none;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
@media (hover: hover) and (pointer: fine) {
|
|
148
|
+
[data-slot="fixed-asset-register-open"]:hover:not(:disabled) {
|
|
149
|
+
background: none;
|
|
150
|
+
text-decoration-color: currentColor;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
[data-slot="fixed-asset-register-open"]:active:not(:disabled) {
|
|
155
|
+
transform: none;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
:is([data-slot="fixed-asset-register-note"], [data-slot="fixed-asset-register-issue"]) {
|
|
159
|
+
display: block;
|
|
160
|
+
font-size: 0.75rem;
|
|
161
|
+
color: var(--bk-muted-fg);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
[data-slot="fixed-asset-register-issue"] {
|
|
165
|
+
margin: 0;
|
|
166
|
+
color: var(--bk-danger);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
[data-slot="fixed-asset-register-facts"] {
|
|
170
|
+
display: flex;
|
|
171
|
+
flex-wrap: wrap;
|
|
172
|
+
gap: var(--bk-gap) calc(var(--bk-gap-lg) * 2);
|
|
173
|
+
margin: 0;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
[data-slot="fixed-asset-register-facts"] > div {
|
|
177
|
+
display: grid;
|
|
178
|
+
gap: 0.15rem;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
[data-slot="fixed-asset-register-facts"] dt {
|
|
182
|
+
font-size: 0.75rem;
|
|
183
|
+
color: var(--bk-muted-fg);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
[data-slot="fixed-asset-register-facts"] dd {
|
|
187
|
+
margin: 0;
|
|
188
|
+
font-family: var(--bk-mono);
|
|
189
|
+
font-size: 0.875rem;
|
|
190
|
+
font-variant-numeric: tabular-nums;
|
|
191
|
+
white-space: nowrap;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
[data-slot="fixed-asset-register-facts"] dd[data-text] {
|
|
195
|
+
font-family: inherit;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
[data-slot="fixed-asset-register-disposal"] {
|
|
199
|
+
margin: 0;
|
|
200
|
+
padding: 0.55rem 0.75rem;
|
|
201
|
+
border-radius: var(--bk-radius-sm);
|
|
202
|
+
background: color-mix(in srgb, var(--bk-success) 10%, var(--bk-muted));
|
|
203
|
+
font-size: 0.8125rem;
|
|
204
|
+
color: var(--bk-fg);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
[data-slot="fixed-asset-register-disposal"][data-outcome="loss"] {
|
|
208
|
+
background: color-mix(in srgb, var(--bk-warning) 10%, var(--bk-muted));
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
[data-slot="fixed-asset-register-disposal"] span {
|
|
212
|
+
font-family: var(--bk-mono);
|
|
213
|
+
font-variant-numeric: tabular-nums;
|
|
214
|
+
white-space: nowrap;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
[data-slot="fixed-asset-register-dispose"] {
|
|
218
|
+
display: flex;
|
|
219
|
+
flex-wrap: wrap;
|
|
220
|
+
align-items: end;
|
|
221
|
+
gap: var(--bk-gap) var(--bk-gap-lg);
|
|
222
|
+
min-width: 0;
|
|
223
|
+
margin: 0;
|
|
224
|
+
padding: var(--bk-gap-lg) 0 0;
|
|
225
|
+
border: 0;
|
|
226
|
+
border-top: 1px solid var(--bk-border);
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
[data-slot="fixed-asset-register-dispose"] legend {
|
|
230
|
+
float: inline-start;
|
|
231
|
+
width: 100%;
|
|
232
|
+
padding: 0;
|
|
233
|
+
font-size: 0.875rem;
|
|
234
|
+
font-weight: var(--bk-font-weight-medium);
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
[data-slot="fixed-asset-register-dispose"] label {
|
|
238
|
+
display: grid;
|
|
239
|
+
gap: 0.3rem;
|
|
240
|
+
font-size: 0.875rem;
|
|
241
|
+
color: var(--bk-muted-fg);
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
[data-slot="fixed-asset-register-dispose"] input {
|
|
245
|
+
width: 11rem;
|
|
246
|
+
font-family: var(--bk-mono);
|
|
247
|
+
font-variant-numeric: tabular-nums;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
[data-slot="fixed-asset-register-dispose"] input[data-align="end"] {
|
|
251
|
+
text-align: end;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
[data-slot="fixed-asset-register-skipped"] {
|
|
255
|
+
margin: 0;
|
|
256
|
+
padding: 0.6rem 0.75rem 0.6rem 1.75rem;
|
|
257
|
+
border-radius: var(--bk-radius-sm);
|
|
258
|
+
background: var(--bk-muted);
|
|
259
|
+
font-size: 0.8125rem;
|
|
260
|
+
color: var(--bk-muted-fg);
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
[data-slot="fixed-asset-register-actions"] {
|
|
264
|
+
display: flex;
|
|
265
|
+
flex-wrap: wrap;
|
|
266
|
+
gap: var(--bk-gap);
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
[data-slot="fixed-asset-register-error"] {
|
|
270
|
+
margin: 0;
|
|
271
|
+
font-size: 0.8125rem;
|
|
272
|
+
color: var(--bk-danger);
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
/* An empty register: a headline and where assets come from, or the app's action. */
|
|
276
|
+
[data-slot="fixed-asset-register-empty"] {
|
|
277
|
+
padding: 1.5rem 0.75rem;
|
|
278
|
+
text-align: start;
|
|
279
|
+
color: var(--bk-muted-fg);
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
[data-slot="fixed-asset-register-empty"] strong {
|
|
283
|
+
display: block;
|
|
284
|
+
color: var(--bk-fg);
|
|
285
|
+
font-weight: var(--bk-font-weight-semibold);
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
[data-slot="fixed-asset-register-empty"] p {
|
|
289
|
+
margin: 0.25rem 0 0.75rem;
|
|
290
|
+
max-width: 60ch;
|
|
291
|
+
}
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
/* ── forecast-chart ─────────────────────────────────────────────────────────── */
|
|
2
|
+
|
|
3
|
+
[data-slot="forecast-chart"] {
|
|
4
|
+
display: grid;
|
|
5
|
+
gap: var(--bk-gap-lg);
|
|
6
|
+
min-width: 0;
|
|
7
|
+
font-family: var(--bk-font);
|
|
8
|
+
color: var(--bk-fg);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
[data-slot="forecast-chart-title"] {
|
|
12
|
+
margin: 0;
|
|
13
|
+
font-size: 0.875rem;
|
|
14
|
+
font-weight: var(--bk-font-weight-medium);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
:is([data-slot="forecast-chart-empty"], [data-slot="forecast-chart-meta"], [data-slot="forecast-chart-between"]) {
|
|
18
|
+
margin: 0;
|
|
19
|
+
font-size: 0.75rem;
|
|
20
|
+
color: var(--bk-muted-fg);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
:is([data-slot="forecast-chart-summary"], [data-slot="forecast-chart-check"]) {
|
|
24
|
+
margin: 0;
|
|
25
|
+
padding: 0.55rem 0.75rem;
|
|
26
|
+
border-radius: var(--bk-radius-sm);
|
|
27
|
+
background: var(--bk-muted);
|
|
28
|
+
font-size: 0.8125rem;
|
|
29
|
+
font-variant-numeric: tabular-nums;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
[data-slot="forecast-chart-issues"],
|
|
33
|
+
[data-slot="forecast-chart-notes"] {
|
|
34
|
+
margin: 0;
|
|
35
|
+
padding: 0.375rem 0.5rem 0.375rem 1.5rem;
|
|
36
|
+
border-radius: var(--bk-radius-sm);
|
|
37
|
+
background: var(--bk-muted);
|
|
38
|
+
font-size: 0.75rem;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
[data-slot="forecast-chart-error"] {
|
|
42
|
+
margin: 0;
|
|
43
|
+
font-size: 0.8125rem;
|
|
44
|
+
color: var(--bk-danger);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
[data-slot="forecast-chart-table"] > summary {
|
|
48
|
+
width: fit-content;
|
|
49
|
+
font-size: 0.75rem;
|
|
50
|
+
color: var(--bk-muted-fg);
|
|
51
|
+
cursor: pointer;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
[data-slot="forecast-chart-table"] table {
|
|
55
|
+
width: 100%;
|
|
56
|
+
margin-top: 0.5rem;
|
|
57
|
+
border-collapse: collapse;
|
|
58
|
+
font-size: 0.8125rem;
|
|
59
|
+
font-variant-numeric: tabular-nums;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
[data-slot="forecast-chart-table"] :is(th, td) {
|
|
63
|
+
padding: 0.375rem 0.5rem;
|
|
64
|
+
border-bottom: 1px solid var(--bk-border);
|
|
65
|
+
text-align: left;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
[data-slot="forecast-chart-table"] [data-align="end"] {
|
|
69
|
+
text-align: right;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
[data-slot="forecast-chart-toolbar"] {
|
|
73
|
+
display: flex;
|
|
74
|
+
flex-wrap: wrap;
|
|
75
|
+
align-items: center;
|
|
76
|
+
justify-content: space-between;
|
|
77
|
+
gap: var(--bk-gap);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
[data-slot="forecast-chart-legend"] {
|
|
81
|
+
display: flex;
|
|
82
|
+
flex-wrap: wrap;
|
|
83
|
+
gap: 0.75rem;
|
|
84
|
+
font-size: 0.75rem;
|
|
85
|
+
color: var(--bk-muted-fg);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
[data-slot="forecast-chart-legend"] > span::before {
|
|
89
|
+
content: "";
|
|
90
|
+
display: inline-block;
|
|
91
|
+
width: 0.625rem;
|
|
92
|
+
height: 0.625rem;
|
|
93
|
+
margin-right: 0.375rem;
|
|
94
|
+
border-radius: 2px;
|
|
95
|
+
background: var(--forecast-series);
|
|
96
|
+
vertical-align: -1px;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
[data-series="won"] {
|
|
100
|
+
--forecast-series: var(--bk-success);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
[data-series="committed"] {
|
|
104
|
+
--forecast-series: var(--bk-series-1);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
[data-series="bestCase"] {
|
|
108
|
+
--forecast-series: color-mix(in srgb, var(--bk-series-1) 40%, var(--bk-card));
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
[data-slot="forecast-chart-groupings"] {
|
|
112
|
+
display: inline-flex;
|
|
113
|
+
gap: 0.25rem;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
[data-slot="forecast-chart-groupings"] > button {
|
|
117
|
+
min-height: 2rem;
|
|
118
|
+
padding: 0.25rem 0.625rem;
|
|
119
|
+
border: 1px solid var(--bk-border);
|
|
120
|
+
border-radius: var(--bk-radius-sm);
|
|
121
|
+
background: var(--bk-card);
|
|
122
|
+
color: var(--bk-fg);
|
|
123
|
+
font: inherit;
|
|
124
|
+
font-size: 0.75rem;
|
|
125
|
+
cursor: pointer;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
[data-slot="forecast-chart-groupings"] > button[aria-pressed="true"] {
|
|
129
|
+
background: var(--bk-fg);
|
|
130
|
+
color: var(--bk-bg);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/* Columns scroll sideways inside the chart, never the page. */
|
|
134
|
+
[data-slot="forecast-chart-columns"] {
|
|
135
|
+
display: grid;
|
|
136
|
+
grid-auto-columns: minmax(3.25rem, 1fr);
|
|
137
|
+
grid-auto-flow: column;
|
|
138
|
+
gap: 0.375rem;
|
|
139
|
+
min-width: 0;
|
|
140
|
+
overflow-x: auto;
|
|
141
|
+
overscroll-behavior-x: contain;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
[data-slot="forecast-chart-columns"] > button {
|
|
145
|
+
display: grid;
|
|
146
|
+
grid-template-rows: auto 10rem auto;
|
|
147
|
+
gap: 0.25rem;
|
|
148
|
+
min-width: 0;
|
|
149
|
+
padding: 0.25rem;
|
|
150
|
+
border: 0;
|
|
151
|
+
border-radius: var(--bk-radius-sm);
|
|
152
|
+
background: transparent;
|
|
153
|
+
color: inherit;
|
|
154
|
+
font: inherit;
|
|
155
|
+
cursor: pointer;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
[data-slot="forecast-chart-columns"] > button:hover,
|
|
159
|
+
[data-slot="forecast-chart-columns"] > button[aria-pressed="true"] {
|
|
160
|
+
background: var(--bk-muted);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
[data-slot="forecast-chart-columns"] > button:focus-visible {
|
|
164
|
+
outline: 2px solid var(--bk-ring);
|
|
165
|
+
outline-offset: 1px;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
/* The base button rule centres its children: the stack stretches to fill its row. */
|
|
169
|
+
[data-slot="forecast-chart-stack"] {
|
|
170
|
+
align-self: stretch;
|
|
171
|
+
display: flex;
|
|
172
|
+
flex-direction: column-reverse;
|
|
173
|
+
justify-content: flex-start;
|
|
174
|
+
min-height: 0;
|
|
175
|
+
border-bottom: 1px solid var(--bk-border-strong);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
[data-slot="forecast-chart-segment"] {
|
|
179
|
+
display: block;
|
|
180
|
+
width: 100%;
|
|
181
|
+
background: var(--forecast-series);
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
[data-slot="forecast-chart-segment"]:last-child {
|
|
185
|
+
border-radius: 3px 3px 0 0;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
:is([data-slot="forecast-chart-figure"], [data-slot="forecast-chart-period"]) {
|
|
189
|
+
overflow: hidden;
|
|
190
|
+
font-size: 0.6875rem;
|
|
191
|
+
font-variant-numeric: tabular-nums;
|
|
192
|
+
text-align: center;
|
|
193
|
+
text-overflow: ellipsis;
|
|
194
|
+
white-space: nowrap;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
[data-slot="forecast-chart-figure"] {
|
|
198
|
+
font-family: var(--bk-mono);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
[data-slot="forecast-chart-period"] {
|
|
202
|
+
color: var(--bk-muted-fg);
|
|
203
|
+
}
|