@nkootstra/block-kit 0.1.1 → 0.3.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/README.md +3 -3
- package/dist/{index-FPjJcmn3.d.ts → index-D139DZfD.d.ts} +34 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +95 -32
- package/dist/index.js.map +1 -1
- package/dist/styles.css +2 -4820
- package/dist/styles.css.map +1 -0
- package/dist/transport.d.ts +1 -1
- package/dist/web-api.d.ts +1 -1
- package/package.json +4 -4
package/dist/styles.css
CHANGED
|
@@ -1,4820 +1,2 @@
|
|
|
1
|
-
/* Entry stylesheet. The build inlines these imports into dist/styles.css. */
|
|
2
|
-
|
|
3
|
-
:root,
|
|
4
|
-
[data-theme="light"] {
|
|
5
|
-
--sbk-hover-actions-shadow: 0 0 0 1px rgba(29, 28, 29, 0.13), 0 1px 3px 0 #00000014;
|
|
6
|
-
--sbk-font: "Slack-Lato", Lato, appleLogo, sans-serif;
|
|
7
|
-
--sbk-font-mono:
|
|
8
|
-
"Slack-Roboto-Mono", "Roboto Mono", Monaco, Menlo, Consolas, "Courier New", monospace;
|
|
9
|
-
--sbk-text: #1d1c1d;
|
|
10
|
-
--sbk-link: #1264a3;
|
|
11
|
-
--sbk-code-text: rgb(192, 19, 67);
|
|
12
|
-
--sbk-code-bg: rgba(29, 28, 29, 0.04);
|
|
13
|
-
--sbk-code-border: rgba(29, 28, 29, 0.13);
|
|
14
|
-
--sbk-quote-bar: #dddddd;
|
|
15
|
-
--sbk-skeleton-bg: #eaeaea;
|
|
16
|
-
--sbk-mention-bg: rgba(29, 155, 209, 0.1);
|
|
17
|
-
--sbk-mention-text: #1264a3;
|
|
18
|
-
--sbk-mention-private-bg: rgba(29, 28, 29, 0.13);
|
|
19
|
-
--sbk-mention-private-text: rgba(29, 28, 29, 0.7);
|
|
20
|
-
--sbk-broadcast-bg: rgba(255, 198, 0, 0.18);
|
|
21
|
-
--sbk-bg: #fff;
|
|
22
|
-
--sbk-muted: #616061;
|
|
23
|
-
--sbk-badge-text: #454447;
|
|
24
|
-
--sbk-badge-bg: rgba(29, 28, 29, 0.06);
|
|
25
|
-
--sbk-border: rgba(29, 28, 29, 0.13);
|
|
26
|
-
--sbk-divider: rgba(94, 93, 96, 0.45);
|
|
27
|
-
--sbk-button-border: rgba(94, 93, 96, 0.45);
|
|
28
|
-
--sbk-primary: #007a5a;
|
|
29
|
-
--sbk-primary-hover: #148567;
|
|
30
|
-
--sbk-danger: #e01e5a;
|
|
31
|
-
--sbk-danger-hover: #e23067;
|
|
32
|
-
/* Interaction states, from the Builder's `c-button`, `c-icon_button`, `c-member_slug` and
|
|
33
|
-
`c-select_options_list` hover/active rules. */
|
|
34
|
-
--sbk-button-hover-bg: #f8f8f8;
|
|
35
|
-
--sbk-button-hover-shadow: rgba(0, 0, 0, 0.098) 0 1px 3px, rgba(0, 0, 0, 0.098) 0 1px 2px -1px;
|
|
36
|
-
--sbk-icon-button-hover-bg: #eaeaea;
|
|
37
|
-
--sbk-hover-overlay: rgba(29, 28, 29, 0.06);
|
|
38
|
-
--sbk-row-hover-bg: #f8f8f8;
|
|
39
|
-
--sbk-mention-hover-bg: rgba(29, 155, 209, 0.2);
|
|
40
|
-
--sbk-mention-hover-text: rgb(11, 76, 140);
|
|
41
|
-
--sbk-menu-highlight-bg: #1264a3;
|
|
42
|
-
--sbk-menu-highlight-text: #fff;
|
|
43
|
-
--sbk-focus-ring: #1264a3;
|
|
44
|
-
--sbk-focus-ring-invalid: #e01e5a;
|
|
45
|
-
--sbk-checkbox-checked: #1264a3;
|
|
46
|
-
--sbk-checkbox-checked-hover: #122a5921;
|
|
47
|
-
--sbk-checkbox-checked-pressed: #122a5938;
|
|
48
|
-
/* Menus and option lists (`c-menu`, `c-select_options_list`). */
|
|
49
|
-
--sbk-menu-bg: #fff;
|
|
50
|
-
--sbk-menu-shadow: 0 0 0 1px rgba(29, 28, 29, 0.13), 0 4px 12px 0 rgba(0, 0, 0, 0.12);
|
|
51
|
-
--sbk-menu-selected-text: #1264a3;
|
|
52
|
-
--sbk-menu-separator: rgba(29, 28, 29, 0.13);
|
|
53
|
-
--sbk-menu-secondary-text: #454447;
|
|
54
|
-
--sbk-popover-shadow: 0 0 0 1px rgba(29, 28, 29, 0.13), 0 4px 12px 0 rgba(0, 0, 0, 0.08);
|
|
55
|
-
--sbk-spinner-track: #5e5d60;
|
|
56
|
-
/* Tooltips (`c-tooltip__tip`). */
|
|
57
|
-
--sbk-tooltip-bg: #1d1c1d;
|
|
58
|
-
--sbk-tooltip-text: #fff;
|
|
59
|
-
/* Slack design-token equivalents shared by component styles, so the dark theme can remap them
|
|
60
|
-
in one place: `base-sec`, `ctr-pry`, `content-sec/ter`, `otl-pry/ter`, `base-pry-hover/pressed`,
|
|
61
|
-
`base-inv-hgl-1`, and `--dt_blend-mode-interaction` (multiply in light, lighten in dark). */
|
|
62
|
-
--sbk-surface-sec: #f8f8f8;
|
|
63
|
-
--sbk-surface-ter: #eaeaea;
|
|
64
|
-
--sbk-container-bg: #fff;
|
|
65
|
-
--sbk-content-sec: #454447;
|
|
66
|
-
--sbk-content-ter: #5e5d60;
|
|
67
|
-
--sbk-outline-pry: #7c7a7f;
|
|
68
|
-
--sbk-outline-ter: rgba(94, 93, 96, 0.13);
|
|
69
|
-
--sbk-interaction-hover: #4544470f;
|
|
70
|
-
--sbk-interaction-pressed: #45444721;
|
|
71
|
-
--sbk-highlight: #1264a3;
|
|
72
|
-
--sbk-on-highlight: #fff;
|
|
73
|
-
--sbk-blend-interaction: multiply;
|
|
74
|
-
--sbk-calendar-grid: rgb(221, 221, 221);
|
|
75
|
-
--sbk-avatar-placeholder: #dddddd;
|
|
76
|
-
--sbk-hover-actions-icon: #616061;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.sbk-root {
|
|
80
|
-
font-family: var(--sbk-font);
|
|
81
|
-
font-size: 15px;
|
|
82
|
-
line-height: 22px;
|
|
83
|
-
color: var(--sbk-text);
|
|
84
|
-
font-variant-ligatures: common-ligatures;
|
|
85
|
-
text-rendering: optimizeLegibility;
|
|
86
|
-
-webkit-font-smoothing: antialiased;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
/* Isolate rendering from the host page's global styles (Tailwind's preflight, a docs theme's heading
|
|
90
|
-
fonts, `* { min-width: 0 }`): roll every element back to the browser's defaults, so only the rules
|
|
91
|
-
below decide how a block looks. Component rules are more specific or come later, so they win.
|
|
92
|
-
SVG and replaced elements keep their presentational attributes (width, height, fill), which
|
|
93
|
-
`revert` would drop, and get just the properties preflight changes rolled back.
|
|
94
|
-
Dialogs and tooltips portalled to <body> sit outside `.sbk-root`, so they get it too. */
|
|
95
|
-
:is(.sbk-root, .sbk-confirm__overlay, .sbk-tooltip)
|
|
96
|
-
:where(:not(svg, svg *, img, video, canvas, iframe, embed, object)),
|
|
97
|
-
:is(.sbk-root, .sbk-confirm__overlay, .sbk-tooltip) :where(:not(svg, svg *))::before,
|
|
98
|
-
:is(.sbk-root, .sbk-confirm__overlay, .sbk-tooltip) :where(:not(svg, svg *))::after {
|
|
99
|
-
all: revert;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
:is(.sbk-root, .sbk-confirm__overlay, .sbk-tooltip)
|
|
103
|
-
:where(svg, img, video, canvas, iframe, embed, object) {
|
|
104
|
-
display: revert;
|
|
105
|
-
vertical-align: revert;
|
|
106
|
-
max-width: revert;
|
|
107
|
-
margin: revert;
|
|
108
|
-
padding: revert;
|
|
109
|
-
border: revert;
|
|
110
|
-
min-width: revert;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.sbk-root *,
|
|
114
|
-
.sbk-root *::before,
|
|
115
|
-
.sbk-root *::after {
|
|
116
|
-
box-sizing: border-box;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.sbk-unsupported {
|
|
120
|
-
display: inline-block;
|
|
121
|
-
padding: 2px 6px;
|
|
122
|
-
font: 12px var(--sbk-font-mono);
|
|
123
|
-
color: var(--sbk-muted);
|
|
124
|
-
border: 1px dashed var(--sbk-border);
|
|
125
|
-
border-radius: 4px;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.sbk-mrkdwn {
|
|
129
|
-
font-family: var(--sbk-font);
|
|
130
|
-
font-size: 15px;
|
|
131
|
-
line-height: 22px;
|
|
132
|
-
color: var(--sbk-text);
|
|
133
|
-
overflow-wrap: anywhere;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.sbk-mrkdwn__code {
|
|
137
|
-
font-family: var(--sbk-font-mono);
|
|
138
|
-
font-size: 12px;
|
|
139
|
-
line-height: 18px;
|
|
140
|
-
color: var(--sbk-code-text);
|
|
141
|
-
background: var(--sbk-code-bg);
|
|
142
|
-
border: 1px solid var(--sbk-code-border);
|
|
143
|
-
border-radius: 3px;
|
|
144
|
-
padding: 2px 3px 1px;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.sbk-mrkdwn__pre {
|
|
148
|
-
display: block;
|
|
149
|
-
font-family: var(--sbk-font-mono);
|
|
150
|
-
font-size: 12px;
|
|
151
|
-
line-height: 1.50001;
|
|
152
|
-
background: var(--sbk-code-bg);
|
|
153
|
-
border: 1px solid var(--sbk-code-border);
|
|
154
|
-
border-radius: 4px;
|
|
155
|
-
padding: 8px;
|
|
156
|
-
margin: 4px 0;
|
|
157
|
-
white-space: pre-wrap;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
.sbk-mrkdwn__quote {
|
|
161
|
-
margin: 4px 0;
|
|
162
|
-
padding-left: 16px;
|
|
163
|
-
position: relative;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.sbk-mrkdwn__quote::before {
|
|
167
|
-
content: "";
|
|
168
|
-
position: absolute;
|
|
169
|
-
inset: 0 auto 0 0;
|
|
170
|
-
width: 4px;
|
|
171
|
-
border-radius: 8px;
|
|
172
|
-
background: var(--sbk-quote-bar);
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
.sbk-link {
|
|
176
|
-
color: var(--sbk-link);
|
|
177
|
-
text-decoration: underline;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
.sbk-mention {
|
|
181
|
-
color: var(--sbk-mention-text);
|
|
182
|
-
background: var(--sbk-mention-bg);
|
|
183
|
-
border-radius: 3px;
|
|
184
|
-
padding: 0 2px 1px;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
.sbk-mention:hover {
|
|
188
|
-
color: var(--sbk-mention-hover-text);
|
|
189
|
-
background: var(--sbk-mention-hover-bg);
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
.sbk-mention--unresolved {
|
|
193
|
-
display: inline-block;
|
|
194
|
-
vertical-align: middle;
|
|
195
|
-
width: 120px;
|
|
196
|
-
height: 8px;
|
|
197
|
-
background: var(--sbk-skeleton-bg);
|
|
198
|
-
border-radius: 1000px;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
.sbk-mention--broadcast {
|
|
202
|
-
color: var(--sbk-text);
|
|
203
|
-
background: var(--sbk-broadcast-bg);
|
|
204
|
-
border-radius: 3px;
|
|
205
|
-
padding: 1px 2px;
|
|
206
|
-
font-weight: 700;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
.sbk-mention--private {
|
|
210
|
-
display: inline;
|
|
211
|
-
color: var(--sbk-mention-private-text);
|
|
212
|
-
background: var(--sbk-mention-private-bg);
|
|
213
|
-
border-radius: 3px;
|
|
214
|
-
padding: 0 2px 1px 0;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
/* Slack butts the lock straight up against the channel name, dropped an eighth of an em. */
|
|
218
|
-
.sbk-mention__lock-icon {
|
|
219
|
-
display: inline-block;
|
|
220
|
-
width: 15px;
|
|
221
|
-
height: 15px;
|
|
222
|
-
vertical-align: -0.125em;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
.sbk-mention--loading {
|
|
226
|
-
display: inline-block;
|
|
227
|
-
vertical-align: middle;
|
|
228
|
-
width: 120px;
|
|
229
|
-
height: 8px;
|
|
230
|
-
border: 1px solid var(--sbk-quote-bar);
|
|
231
|
-
border-radius: 1000px;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
.sbk-emoji {
|
|
235
|
-
display: inline-flex;
|
|
236
|
-
position: relative;
|
|
237
|
-
align-items: center;
|
|
238
|
-
vertical-align: top;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
.sbk-emoji__img {
|
|
242
|
-
display: block;
|
|
243
|
-
position: absolute;
|
|
244
|
-
object-fit: contain;
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
/* Slack's toggle-bar blocks (plan, task_card) slide open and shut: \`transition: height 0.25s\` on
|
|
248
|
-
the block, clipped (data/Collapse.tsx). \`flow-root\` keeps the content's margins inside the
|
|
249
|
-
height being animated. */
|
|
250
|
-
.sbk-collapse {
|
|
251
|
-
display: flow-root;
|
|
252
|
-
overflow: clip;
|
|
253
|
-
transition: height 0.25s;
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
/* Slack's c-infinite_spinner. */
|
|
257
|
-
.sbk-spinner {
|
|
258
|
-
position: relative;
|
|
259
|
-
display: inline-block;
|
|
260
|
-
flex-shrink: 0;
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
.sbk-spinner__arc {
|
|
264
|
-
position: absolute;
|
|
265
|
-
top: 0;
|
|
266
|
-
left: 0;
|
|
267
|
-
display: block;
|
|
268
|
-
width: 100%;
|
|
269
|
-
height: 100%;
|
|
270
|
-
transform: rotate(-45deg);
|
|
271
|
-
animation: sbk-spinner-spin 1.2s cubic-bezier(0.25, 0.29, 0.54, 0.86) infinite;
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
.sbk-spinner__tail {
|
|
275
|
-
animation-timing-function: cubic-bezier(0.41, 0.24, 0.64, 0.69);
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
.sbk-spinner__bg {
|
|
279
|
-
fill: none;
|
|
280
|
-
stroke: var(--sbk-spinner-track);
|
|
281
|
-
stroke-width: 8px;
|
|
282
|
-
opacity: 0.25;
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
.sbk-spinner__path {
|
|
286
|
-
fill: none;
|
|
287
|
-
stroke: currentColor;
|
|
288
|
-
stroke-width: 8px;
|
|
289
|
-
stroke-dasharray: 55, 200;
|
|
290
|
-
stroke-dashoffset: 90px;
|
|
291
|
-
stroke-linecap: round;
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
@keyframes sbk-spinner-spin {
|
|
295
|
-
0% {
|
|
296
|
-
transform: rotate(0deg);
|
|
297
|
-
}
|
|
298
|
-
100% {
|
|
299
|
-
transform: rotate(360deg);
|
|
300
|
-
}
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
/* Slack's focus ring (`c-input_text:focus`, `c-select_button:focus`, `c-button--focus-visible`):
|
|
304
|
-
a 1px solid ring plus a 4px 30% halo, replacing the border. Text fields show it on any focus;
|
|
305
|
-
buttons only for keyboard focus. */
|
|
306
|
-
.sbk-root {
|
|
307
|
-
--sbk-focus-shadow:
|
|
308
|
-
0 0 0 1px var(--sbk-focus-ring),
|
|
309
|
-
0 0 0 5px color-mix(in srgb, var(--sbk-focus-ring) 30%, transparent);
|
|
310
|
-
--sbk-focus-shadow-invalid:
|
|
311
|
-
0 0 0 1px var(--sbk-focus-ring-invalid),
|
|
312
|
-
0 0 0 5px color-mix(in srgb, var(--sbk-focus-ring-invalid) 30%, transparent);
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
.sbk-text-input,
|
|
316
|
-
.sbk-rich-text-input,
|
|
317
|
-
.sbk-datepicker__input,
|
|
318
|
-
.sbk-datetimepicker__time-input,
|
|
319
|
-
.sbk-select__control,
|
|
320
|
-
.sbk-timepicker__control,
|
|
321
|
-
.sbk-datetimepicker__control {
|
|
322
|
-
transition:
|
|
323
|
-
border 80ms ease-out,
|
|
324
|
-
box-shadow 80ms ease-out;
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
.sbk-text-input:focus,
|
|
328
|
-
.sbk-rich-text-input:focus-within,
|
|
329
|
-
.sbk-datepicker__input:focus,
|
|
330
|
-
.sbk-datetimepicker__time-input:focus,
|
|
331
|
-
.sbk-select__control:focus-visible,
|
|
332
|
-
.sbk-select__control[aria-expanded="true"],
|
|
333
|
-
.sbk-timepicker__control:focus-visible,
|
|
334
|
-
.sbk-timepicker__control[aria-expanded="true"],
|
|
335
|
-
.sbk-datetimepicker__control:focus-visible,
|
|
336
|
-
.sbk-datetimepicker__control[aria-expanded="true"] {
|
|
337
|
-
outline: none;
|
|
338
|
-
border-color: transparent;
|
|
339
|
-
box-shadow: var(--sbk-focus-shadow);
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
.sbk-text-input[aria-invalid="true"],
|
|
343
|
-
.sbk-text-input[aria-invalid="true"]:focus {
|
|
344
|
-
border-color: transparent;
|
|
345
|
-
box-shadow: var(--sbk-focus-shadow-invalid);
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
.sbk-text-input:focus::placeholder,
|
|
349
|
-
.sbk-datepicker__input:focus::placeholder {
|
|
350
|
-
color: var(--sbk-content-ter);
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
.sbk-button:focus-visible,
|
|
354
|
-
.sbk-modal__button:focus-visible,
|
|
355
|
-
.sbk-overflow__button:focus-visible,
|
|
356
|
-
.sbk-file-input__button:focus-visible,
|
|
357
|
-
.sbk-icon-button:focus-visible,
|
|
358
|
-
.sbk-code-block__copy:focus-visible,
|
|
359
|
-
.sbk-carousel__arrow:focus-visible,
|
|
360
|
-
.sbk-calendar__nav:focus-visible,
|
|
361
|
-
.sbk-calendar__cell:focus-visible,
|
|
362
|
-
.sbk-calendar__clear:focus-visible {
|
|
363
|
-
outline: none;
|
|
364
|
-
box-shadow: var(--sbk-focus-shadow);
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
/* Keyboard focus shouldn't also paint the pointer's hover shadow on outline buttons. */
|
|
368
|
-
.sbk-button:focus-visible:hover,
|
|
369
|
-
.sbk-overflow__button:focus-visible:hover {
|
|
370
|
-
box-shadow: var(--sbk-focus-shadow);
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
/* Slack's menus and popovers open and close instantly (no transition on `c-menu` /
|
|
374
|
-
`c-popover`), so the motion to tone down is the spinner and the plan/task_card slide. */
|
|
375
|
-
@media (prefers-reduced-motion: reduce) {
|
|
376
|
-
.sbk-spinner__arc {
|
|
377
|
-
animation-duration: 2.4s;
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
.sbk-collapse {
|
|
381
|
-
transition: none;
|
|
382
|
-
}
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
/* Slack's `c-tooltip__tip`. Portalled to <body>, so it sets its own font. */
|
|
386
|
-
.sbk-tooltip {
|
|
387
|
-
position: fixed;
|
|
388
|
-
z-index: 1100;
|
|
389
|
-
max-width: 200px;
|
|
390
|
-
padding: 8px 12px;
|
|
391
|
-
font-family: var(--sbk-font);
|
|
392
|
-
font-size: 13px;
|
|
393
|
-
font-weight: 700;
|
|
394
|
-
line-height: 1.38463;
|
|
395
|
-
text-align: center;
|
|
396
|
-
overflow-wrap: break-word;
|
|
397
|
-
color: var(--sbk-tooltip-text);
|
|
398
|
-
background: var(--sbk-tooltip-bg);
|
|
399
|
-
border-radius: 8px;
|
|
400
|
-
pointer-events: none;
|
|
401
|
-
-webkit-font-smoothing: antialiased;
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
.sbk-tooltip__arrow {
|
|
405
|
-
position: absolute;
|
|
406
|
-
left: 50%;
|
|
407
|
-
width: 9px;
|
|
408
|
-
height: 9px;
|
|
409
|
-
margin-left: -4.5px;
|
|
410
|
-
background: var(--sbk-tooltip-bg);
|
|
411
|
-
border-radius: 1px;
|
|
412
|
-
transform: rotate(45deg);
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
.sbk-tooltip--top .sbk-tooltip__arrow {
|
|
416
|
-
bottom: -4px;
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
.sbk-tooltip--bottom .sbk-tooltip__arrow {
|
|
420
|
-
top: -4px;
|
|
421
|
-
}
|
|
422
|
-
|
|
423
|
-
.sbk-tooltip__secondary {
|
|
424
|
-
display: block;
|
|
425
|
-
font-weight: 400;
|
|
426
|
-
color: rgba(255, 255, 255, 0.7);
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
/* The layer menus and calendars open in (elements/Popover.tsx), portalled to <body> and pinned to
|
|
430
|
-
the control that opened them. */
|
|
431
|
-
.sbk-popover {
|
|
432
|
-
position: fixed;
|
|
433
|
-
z-index: 1000;
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
/* Message surface, measured from Block Kit Builder's preview (light theme, desktop). */
|
|
437
|
-
/* Modal and Home tab surfaces, measured against Slack's own modal/home chrome (light theme, desktop). */
|
|
438
|
-
|
|
439
|
-
.sbk-modal {
|
|
440
|
-
display: flex;
|
|
441
|
-
flex-direction: column;
|
|
442
|
-
width: 600px;
|
|
443
|
-
max-width: 100%;
|
|
444
|
-
/* Slack caps a modal at 640px; past that the body scrolls between the pinned header and footer. */
|
|
445
|
-
max-height: min(640px, 90vh);
|
|
446
|
-
background: var(--sbk-bg);
|
|
447
|
-
border-radius: 8px;
|
|
448
|
-
box-shadow:
|
|
449
|
-
0 0 0 1px var(--sbk-border),
|
|
450
|
-
0 8px 28px rgba(0, 0, 0, 0.28);
|
|
451
|
-
overflow: hidden;
|
|
452
|
-
}
|
|
453
|
-
|
|
454
|
-
.sbk-modal__header {
|
|
455
|
-
position: relative;
|
|
456
|
-
display: flex;
|
|
457
|
-
align-items: flex-start;
|
|
458
|
-
justify-content: space-between;
|
|
459
|
-
flex: 0 0 auto;
|
|
460
|
-
padding: 16px 24px;
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
.sbk-modal__title-row {
|
|
464
|
-
display: flex;
|
|
465
|
-
align-items: center;
|
|
466
|
-
flex: 1 1 auto;
|
|
467
|
-
min-width: 0;
|
|
468
|
-
}
|
|
469
|
-
|
|
470
|
-
.sbk-modal__icon {
|
|
471
|
-
flex: 0 0 auto;
|
|
472
|
-
width: 36px;
|
|
473
|
-
height: 36px;
|
|
474
|
-
margin-right: 16px;
|
|
475
|
-
border-radius: 4px;
|
|
476
|
-
object-fit: cover;
|
|
477
|
-
}
|
|
478
|
-
|
|
479
|
-
.sbk-modal__title {
|
|
480
|
-
flex: 1 1 auto;
|
|
481
|
-
min-width: 0;
|
|
482
|
-
margin: 0;
|
|
483
|
-
font-size: 22px;
|
|
484
|
-
font-weight: 900;
|
|
485
|
-
line-height: 30px;
|
|
486
|
-
overflow: hidden;
|
|
487
|
-
text-overflow: ellipsis;
|
|
488
|
-
white-space: nowrap;
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
.sbk-modal__close {
|
|
492
|
-
display: grid;
|
|
493
|
-
flex: 0 0 auto;
|
|
494
|
-
place-items: center;
|
|
495
|
-
width: 33.4375px;
|
|
496
|
-
height: 36px;
|
|
497
|
-
margin-left: 16px;
|
|
498
|
-
padding: 0;
|
|
499
|
-
border: none;
|
|
500
|
-
border-radius: 8px;
|
|
501
|
-
background: none;
|
|
502
|
-
color: var(--sbk-badge-text);
|
|
503
|
-
cursor: pointer;
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
.sbk-modal__close:hover {
|
|
507
|
-
background: var(--sbk-icon-button-hover-bg);
|
|
508
|
-
}
|
|
509
|
-
|
|
510
|
-
/* Slack pads the body 20px on the right, then a transparent 4px border and an 8px scrollbar track
|
|
511
|
-
whose thumb only shows on hover. The track takes its width whether or not the body overflows. */
|
|
512
|
-
.sbk-modal__body {
|
|
513
|
-
flex: 1 1 auto;
|
|
514
|
-
padding: 8px 20px 16px 24px;
|
|
515
|
-
border-right: 4px solid transparent;
|
|
516
|
-
overflow: hidden auto;
|
|
517
|
-
}
|
|
518
|
-
|
|
519
|
-
.sbk-modal__body::-webkit-scrollbar {
|
|
520
|
-
width: 8px;
|
|
521
|
-
}
|
|
522
|
-
|
|
523
|
-
.sbk-modal__body::-webkit-scrollbar-track,
|
|
524
|
-
.sbk-modal__body::-webkit-scrollbar-corner {
|
|
525
|
-
background: transparent;
|
|
526
|
-
}
|
|
527
|
-
|
|
528
|
-
.sbk-modal__body::-webkit-scrollbar-thumb {
|
|
529
|
-
min-height: 36px;
|
|
530
|
-
background: transparent;
|
|
531
|
-
background-clip: padding-box;
|
|
532
|
-
border: 2px solid transparent;
|
|
533
|
-
border-radius: 4px;
|
|
534
|
-
}
|
|
535
|
-
|
|
536
|
-
.sbk-modal__body:hover::-webkit-scrollbar-thumb {
|
|
537
|
-
background-color: rgba(29, 28, 29, 0.52);
|
|
538
|
-
}
|
|
539
|
-
|
|
540
|
-
/* Builder's modal blocks are spaced further apart than the flat 4px message gap (measured via
|
|
541
|
-
inspect.ts: consecutive block content boxes sit 16px apart). Scoped here so .sbk-blocks's base
|
|
542
|
-
4px (Message.css) stays untouched for message fixtures; Home's own reference blocks measured at
|
|
543
|
-
the same 4px as messages, so it isn't overridden. */
|
|
544
|
-
.sbk-modal .sbk-blocks {
|
|
545
|
-
gap: 16px;
|
|
546
|
-
}
|
|
547
|
-
|
|
548
|
-
/* The modal's 16px block gap already spaces sections; Slack drops their message-surface margins. */
|
|
549
|
-
.sbk-modal .sbk-section {
|
|
550
|
-
margin: 0;
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
/* A checkbox group's trailing space is shorter in a modal (16px) than in a message (24px). */
|
|
554
|
-
.sbk-modal .sbk-checkboxes {
|
|
555
|
-
margin-bottom: 16px;
|
|
556
|
-
}
|
|
557
|
-
|
|
558
|
-
.sbk-modal__footer {
|
|
559
|
-
display: flex;
|
|
560
|
-
align-items: center;
|
|
561
|
-
justify-content: flex-end;
|
|
562
|
-
gap: 12px;
|
|
563
|
-
flex: 0 0 auto;
|
|
564
|
-
padding: 20px 24px;
|
|
565
|
-
border-top: 1px solid var(--sbk-border);
|
|
566
|
-
}
|
|
567
|
-
|
|
568
|
-
/* Modal buttons render bigger than message buttons in Slack; sized here since it's chrome, not
|
|
569
|
-
the shared button component (agent B owns elements/Button.css). */
|
|
570
|
-
.sbk-modal__button {
|
|
571
|
-
height: 36px;
|
|
572
|
-
min-width: 80px;
|
|
573
|
-
padding: 0 12px 1px;
|
|
574
|
-
border-radius: 8px;
|
|
575
|
-
border: 1px solid var(--sbk-button-border);
|
|
576
|
-
background: var(--sbk-bg);
|
|
577
|
-
color: var(--sbk-text);
|
|
578
|
-
font: inherit;
|
|
579
|
-
font-weight: 700;
|
|
580
|
-
font-size: 15px;
|
|
581
|
-
cursor: pointer;
|
|
582
|
-
transition:
|
|
583
|
-
color 80ms,
|
|
584
|
-
background-color 80ms,
|
|
585
|
-
border-color 80ms cubic-bezier(0.36, 0.19, 0.29, 1);
|
|
586
|
-
}
|
|
587
|
-
|
|
588
|
-
/* Same `c-button` hover model as elements/Button.css. */
|
|
589
|
-
.sbk-modal__button:hover {
|
|
590
|
-
box-shadow: var(--sbk-button-hover-shadow);
|
|
591
|
-
}
|
|
592
|
-
|
|
593
|
-
.sbk-modal__button:active {
|
|
594
|
-
box-shadow: none;
|
|
595
|
-
}
|
|
596
|
-
|
|
597
|
-
.sbk-modal__button--primary {
|
|
598
|
-
border-color: transparent;
|
|
599
|
-
background: var(--sbk-primary);
|
|
600
|
-
color: #fff;
|
|
601
|
-
}
|
|
602
|
-
|
|
603
|
-
.sbk-modal__button--primary:hover,
|
|
604
|
-
.sbk-modal__button--primary:active {
|
|
605
|
-
background-image: linear-gradient(var(--sbk-button-overlay), var(--sbk-button-overlay));
|
|
606
|
-
background-blend-mode: multiply;
|
|
607
|
-
}
|
|
608
|
-
|
|
609
|
-
.sbk-modal__button--primary:hover {
|
|
610
|
-
--sbk-button-overlay: #0a403221;
|
|
611
|
-
}
|
|
612
|
-
|
|
613
|
-
.sbk-modal__button--primary:active {
|
|
614
|
-
--sbk-button-overlay: #0a403238;
|
|
615
|
-
}
|
|
616
|
-
|
|
617
|
-
.sbk-modal__button--secondary:hover,
|
|
618
|
-
.sbk-modal__button--secondary:active {
|
|
619
|
-
background-color: var(--sbk-button-hover-bg);
|
|
620
|
-
}
|
|
621
|
-
|
|
622
|
-
.sbk-home {
|
|
623
|
-
max-width: 760px;
|
|
624
|
-
margin: 0 auto;
|
|
625
|
-
background: var(--sbk-bg);
|
|
626
|
-
}
|
|
627
|
-
|
|
628
|
-
.sbk-home__menu {
|
|
629
|
-
display: flex;
|
|
630
|
-
align-items: flex-end;
|
|
631
|
-
height: 40px;
|
|
632
|
-
border-bottom: 1px solid var(--sbk-border);
|
|
633
|
-
}
|
|
634
|
-
|
|
635
|
-
.sbk-home__tab {
|
|
636
|
-
display: flex;
|
|
637
|
-
align-items: center;
|
|
638
|
-
gap: 4px;
|
|
639
|
-
height: 32px;
|
|
640
|
-
margin-left: 25px;
|
|
641
|
-
font-weight: 700;
|
|
642
|
-
/* Slack's aubergine, independent of the app's primary (green) buttons. */
|
|
643
|
-
box-shadow: inset 0 -2px 0 0 rgb(74, 21, 75);
|
|
644
|
-
}
|
|
645
|
-
|
|
646
|
-
/* The Home tab uses Slack's "medium" buttons: 36px tall, 15px text, rounder corners. */
|
|
647
|
-
.sbk-home .sbk-button {
|
|
648
|
-
height: 36px;
|
|
649
|
-
font-size: 15px;
|
|
650
|
-
border-radius: 8px;
|
|
651
|
-
}
|
|
652
|
-
|
|
653
|
-
.sbk-home .sbk-overflow__button {
|
|
654
|
-
width: 31px;
|
|
655
|
-
height: 36px;
|
|
656
|
-
border-radius: 8px;
|
|
657
|
-
}
|
|
658
|
-
|
|
659
|
-
.sbk-home__content {
|
|
660
|
-
padding: 25px;
|
|
661
|
-
}
|
|
662
|
-
|
|
663
|
-
/* Modals opened through `views` sit centred on a dimmed, full-viewport overlay, as in Slack. */
|
|
664
|
-
.sbk-modal-layer {
|
|
665
|
-
position: fixed;
|
|
666
|
-
inset: 0;
|
|
667
|
-
z-index: 1000;
|
|
668
|
-
display: flex;
|
|
669
|
-
align-items: center;
|
|
670
|
-
justify-content: center;
|
|
671
|
-
padding: 16px;
|
|
672
|
-
background: rgba(0, 0, 0, 0.6);
|
|
673
|
-
}
|
|
674
|
-
|
|
675
|
-
.sbk-modal-layer__view {
|
|
676
|
-
display: flex;
|
|
677
|
-
justify-content: center;
|
|
678
|
-
width: 100%;
|
|
679
|
-
max-height: 100%;
|
|
680
|
-
}
|
|
681
|
-
|
|
682
|
-
.sbk-modal-layer__view[hidden] {
|
|
683
|
-
display: none;
|
|
684
|
-
}
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
.sbk-message {
|
|
688
|
-
display: flex;
|
|
689
|
-
background: var(--sbk-bg);
|
|
690
|
-
}
|
|
691
|
-
|
|
692
|
-
.sbk-message__avatar {
|
|
693
|
-
display: block;
|
|
694
|
-
flex: 0 0 36px;
|
|
695
|
-
width: 36px;
|
|
696
|
-
height: 36px;
|
|
697
|
-
margin-right: 8px;
|
|
698
|
-
object-fit: cover;
|
|
699
|
-
}
|
|
700
|
-
|
|
701
|
-
.sbk-message__avatar--placeholder {
|
|
702
|
-
display: grid;
|
|
703
|
-
place-items: center;
|
|
704
|
-
border-radius: 4px;
|
|
705
|
-
background: #4a154b;
|
|
706
|
-
color: #fff;
|
|
707
|
-
font-weight: 700;
|
|
708
|
-
}
|
|
709
|
-
|
|
710
|
-
.sbk-message__content {
|
|
711
|
-
flex: 1 1 0;
|
|
712
|
-
min-width: 0;
|
|
713
|
-
padding: 8px 0;
|
|
714
|
-
}
|
|
715
|
-
|
|
716
|
-
.sbk-message__header {
|
|
717
|
-
display: flex;
|
|
718
|
-
align-items: center;
|
|
719
|
-
height: 22px;
|
|
720
|
-
}
|
|
721
|
-
|
|
722
|
-
.sbk-message__sender {
|
|
723
|
-
margin-right: 5px;
|
|
724
|
-
font-weight: 900;
|
|
725
|
-
}
|
|
726
|
-
|
|
727
|
-
.sbk-message__badge {
|
|
728
|
-
margin-right: 5px;
|
|
729
|
-
padding: 1px 3px;
|
|
730
|
-
border-radius: 2px;
|
|
731
|
-
font-size: 10px;
|
|
732
|
-
line-height: 12.5px;
|
|
733
|
-
font-weight: 700;
|
|
734
|
-
color: var(--sbk-badge-text);
|
|
735
|
-
background: var(--sbk-badge-bg);
|
|
736
|
-
}
|
|
737
|
-
|
|
738
|
-
.sbk-message__time {
|
|
739
|
-
margin-right: 5px;
|
|
740
|
-
font-size: 12px;
|
|
741
|
-
line-height: 17.6px;
|
|
742
|
-
color: var(--sbk-muted);
|
|
743
|
-
}
|
|
744
|
-
|
|
745
|
-
.sbk-blocks {
|
|
746
|
-
display: flex;
|
|
747
|
-
flex-direction: column;
|
|
748
|
-
gap: 4px;
|
|
749
|
-
}
|
|
750
|
-
|
|
751
|
-
.sbk-message__edited {
|
|
752
|
-
font-size: 12px;
|
|
753
|
-
color: var(--sbk-muted);
|
|
754
|
-
}
|
|
755
|
-
|
|
756
|
-
.sbk-message__ephemeral {
|
|
757
|
-
display: flex;
|
|
758
|
-
align-items: center;
|
|
759
|
-
margin-top: 4px;
|
|
760
|
-
font-size: 12px;
|
|
761
|
-
color: var(--sbk-muted);
|
|
762
|
-
}
|
|
763
|
-
|
|
764
|
-
/* Legacy attachments: colour bar, pretext, title, fields, footer, or raw blocks. */
|
|
765
|
-
.sbk-attachments {
|
|
766
|
-
display: flex;
|
|
767
|
-
flex-direction: column;
|
|
768
|
-
gap: 4px;
|
|
769
|
-
margin-top: 4px;
|
|
770
|
-
}
|
|
771
|
-
|
|
772
|
-
.sbk-attachment {
|
|
773
|
-
display: flex;
|
|
774
|
-
border-left: 4px solid var(--sbk-border);
|
|
775
|
-
border-radius: 4px;
|
|
776
|
-
}
|
|
777
|
-
|
|
778
|
-
.sbk-attachment__body {
|
|
779
|
-
flex: 1 1 0;
|
|
780
|
-
min-width: 0;
|
|
781
|
-
padding: 8px 12px;
|
|
782
|
-
border: 1px solid var(--sbk-border);
|
|
783
|
-
border-left: none;
|
|
784
|
-
border-radius: 0 4px 4px 0;
|
|
785
|
-
}
|
|
786
|
-
|
|
787
|
-
.sbk-attachment__pretext {
|
|
788
|
-
margin-bottom: 4px;
|
|
789
|
-
}
|
|
790
|
-
|
|
791
|
-
.sbk-attachment__author {
|
|
792
|
-
display: flex;
|
|
793
|
-
align-items: center;
|
|
794
|
-
gap: 6px;
|
|
795
|
-
margin-bottom: 4px;
|
|
796
|
-
font-weight: 700;
|
|
797
|
-
}
|
|
798
|
-
|
|
799
|
-
.sbk-attachment__author-icon {
|
|
800
|
-
width: 16px;
|
|
801
|
-
height: 16px;
|
|
802
|
-
border-radius: 2px;
|
|
803
|
-
}
|
|
804
|
-
|
|
805
|
-
.sbk-attachment__title {
|
|
806
|
-
margin-bottom: 4px;
|
|
807
|
-
font-weight: 700;
|
|
808
|
-
color: var(--sbk-link);
|
|
809
|
-
}
|
|
810
|
-
|
|
811
|
-
.sbk-attachment__fields {
|
|
812
|
-
display: flex;
|
|
813
|
-
flex-wrap: wrap;
|
|
814
|
-
gap: 8px;
|
|
815
|
-
margin-top: 4px;
|
|
816
|
-
}
|
|
817
|
-
|
|
818
|
-
.sbk-attachment__field {
|
|
819
|
-
flex: 1 1 100%;
|
|
820
|
-
}
|
|
821
|
-
|
|
822
|
-
.sbk-attachment__field--short {
|
|
823
|
-
flex: 1 1 calc(50% - 8px);
|
|
824
|
-
min-width: 120px;
|
|
825
|
-
}
|
|
826
|
-
|
|
827
|
-
.sbk-attachment__field-title {
|
|
828
|
-
font-weight: 700;
|
|
829
|
-
}
|
|
830
|
-
|
|
831
|
-
.sbk-attachment__image {
|
|
832
|
-
display: block;
|
|
833
|
-
max-width: 360px;
|
|
834
|
-
margin-top: 8px;
|
|
835
|
-
border-radius: 4px;
|
|
836
|
-
}
|
|
837
|
-
|
|
838
|
-
.sbk-attachment__footer {
|
|
839
|
-
display: flex;
|
|
840
|
-
align-items: center;
|
|
841
|
-
gap: 6px;
|
|
842
|
-
margin-top: 8px;
|
|
843
|
-
font-size: 12px;
|
|
844
|
-
color: var(--sbk-muted);
|
|
845
|
-
}
|
|
846
|
-
|
|
847
|
-
.sbk-attachment__footer-icon {
|
|
848
|
-
width: 16px;
|
|
849
|
-
height: 16px;
|
|
850
|
-
border-radius: 2px;
|
|
851
|
-
}
|
|
852
|
-
|
|
853
|
-
/* Reactions row. */
|
|
854
|
-
.sbk-reactions {
|
|
855
|
-
display: flex;
|
|
856
|
-
flex-wrap: wrap;
|
|
857
|
-
gap: 4px;
|
|
858
|
-
margin-top: 4px;
|
|
859
|
-
}
|
|
860
|
-
|
|
861
|
-
.sbk-reactions__item {
|
|
862
|
-
display: inline-flex;
|
|
863
|
-
align-items: center;
|
|
864
|
-
gap: 4px;
|
|
865
|
-
padding: 2px 8px;
|
|
866
|
-
border: 1px solid var(--sbk-border);
|
|
867
|
-
border-radius: 12px;
|
|
868
|
-
background: var(--sbk-badge-bg);
|
|
869
|
-
font-size: 13px;
|
|
870
|
-
cursor: default;
|
|
871
|
-
}
|
|
872
|
-
|
|
873
|
-
.sbk-reactions__count {
|
|
874
|
-
color: var(--sbk-link);
|
|
875
|
-
font-weight: 700;
|
|
876
|
-
}
|
|
877
|
-
|
|
878
|
-
/* Thread reply summary. */
|
|
879
|
-
.sbk-thread-summary {
|
|
880
|
-
display: flex;
|
|
881
|
-
align-items: center;
|
|
882
|
-
gap: 6px;
|
|
883
|
-
margin-top: 4px;
|
|
884
|
-
padding: 4px 0;
|
|
885
|
-
border: none;
|
|
886
|
-
background: none;
|
|
887
|
-
color: var(--sbk-link);
|
|
888
|
-
font: inherit;
|
|
889
|
-
font-weight: 700;
|
|
890
|
-
cursor: pointer;
|
|
891
|
-
}
|
|
892
|
-
|
|
893
|
-
.sbk-thread-summary__subscribed {
|
|
894
|
-
color: var(--sbk-primary);
|
|
895
|
-
font-size: 8px;
|
|
896
|
-
}
|
|
897
|
-
|
|
898
|
-
/* Dark theme: Slack's `.sk-client-theme--dark` design tokens (base-pry #1a1d21, content-pry
|
|
899
|
-
#f8f8f8, content-hgl-1 #2ba5ce, ...), with hover/press overlays blended with `lighten` as Slack
|
|
900
|
-
does. Applies under `prefers-color-scheme: dark` unless the root sets `data-theme="light"`, and
|
|
901
|
-
always inside an element with `data-theme="dark"` (BlockKitProvider's `theme` prop sets it on its
|
|
902
|
-
wrapper). Inside `data-theme="light"` the light tokens apply again (base.css). Component tokens
|
|
903
|
-
are remapped here too so the whole dark palette lives in one place. `:root[data-theme="dark"]`
|
|
904
|
-
outranks the `:root` light tokens of the block stylesheets loaded after this one. */
|
|
905
|
-
@media (prefers-color-scheme: dark) {
|
|
906
|
-
:root:not([data-theme="light"]) {
|
|
907
|
-
--sbk-text: #f8f8f8;
|
|
908
|
-
--sbk-link: #2ba5ce;
|
|
909
|
-
--sbk-code-text: #de678a;
|
|
910
|
-
--sbk-code-bg: rgba(248, 248, 248, 0.06);
|
|
911
|
-
--sbk-code-border: #797c814d;
|
|
912
|
-
--sbk-quote-bar: #797c8180;
|
|
913
|
-
--sbk-skeleton-bg: #35373b;
|
|
914
|
-
--sbk-mention-bg: #03669640;
|
|
915
|
-
--sbk-mention-text: #2ba5ce;
|
|
916
|
-
--sbk-mention-private-bg: rgba(248, 248, 248, 0.13);
|
|
917
|
-
--sbk-mention-private-text: rgba(248, 248, 248, 0.7);
|
|
918
|
-
--sbk-broadcast-bg: #a073002e;
|
|
919
|
-
--sbk-bg: #1a1d21;
|
|
920
|
-
--sbk-muted: #9a9b9e;
|
|
921
|
-
--sbk-badge-text: #b9babd;
|
|
922
|
-
--sbk-badge-bg: #f8f8f80f;
|
|
923
|
-
--sbk-border: #797c814d;
|
|
924
|
-
--sbk-divider: #797c8180;
|
|
925
|
-
--sbk-button-border: #797c8180;
|
|
926
|
-
--sbk-primary: #177e56;
|
|
927
|
-
--sbk-primary-hover: #268761;
|
|
928
|
-
--sbk-danger: #d3305d;
|
|
929
|
-
--sbk-danger-hover: #d63d68;
|
|
930
|
-
--sbk-button-hover-bg: #323438;
|
|
931
|
-
--sbk-button-hover-shadow: rgba(0, 0, 0, 0.3) 0 1px 3px, rgba(0, 0, 0, 0.3) 0 1px 2px -1px;
|
|
932
|
-
--sbk-icon-button-hover-bg: #f8f8f814;
|
|
933
|
-
--sbk-hover-overlay: #f8f8f80f;
|
|
934
|
-
--sbk-row-hover-bg: #f8f8f80f;
|
|
935
|
-
--sbk-mention-hover-bg: #03669673;
|
|
936
|
-
--sbk-mention-hover-text: rgb(136, 187, 226);
|
|
937
|
-
--sbk-menu-highlight-bg: #0a77a7;
|
|
938
|
-
--sbk-menu-highlight-text: #f8f8f8;
|
|
939
|
-
--sbk-focus-ring: #2ba5ce;
|
|
940
|
-
--sbk-focus-ring-invalid: #d94c75;
|
|
941
|
-
--sbk-checkbox-checked: #0a77a7;
|
|
942
|
-
--sbk-checkbox-checked-hover: #d8eef614;
|
|
943
|
-
--sbk-checkbox-checked-pressed: #d8eef62e;
|
|
944
|
-
--sbk-menu-bg: #212428;
|
|
945
|
-
--sbk-menu-shadow: 0 0 0 1px #797c814d, 0 4px 12px 0 rgba(0, 0, 0, 0.35);
|
|
946
|
-
--sbk-menu-selected-text: #2ba5ce;
|
|
947
|
-
--sbk-menu-separator: #797c814d;
|
|
948
|
-
--sbk-menu-secondary-text: #b9babd;
|
|
949
|
-
--sbk-popover-shadow: 0 0 0 1px #797c814d, 0 4px 12px 0 rgba(0, 0, 0, 0.35);
|
|
950
|
-
--sbk-spinner-track: #9a9b9e;
|
|
951
|
-
--sbk-tooltip-bg: #212428;
|
|
952
|
-
--sbk-tooltip-text: #f8f8f8;
|
|
953
|
-
--sbk-surface-sec: #212428;
|
|
954
|
-
--sbk-surface-ter: #212428;
|
|
955
|
-
--sbk-container-bg: #212428;
|
|
956
|
-
--sbk-content-sec: #b9babd;
|
|
957
|
-
--sbk-content-ter: #9a9b9e;
|
|
958
|
-
--sbk-outline-pry: #797c81;
|
|
959
|
-
--sbk-outline-ter: #797c814d;
|
|
960
|
-
--sbk-interaction-hover: #f8f8f814;
|
|
961
|
-
--sbk-interaction-pressed: #f8f8f82e;
|
|
962
|
-
--sbk-highlight: #0a77a7;
|
|
963
|
-
--sbk-on-highlight: #f8f8f8;
|
|
964
|
-
--sbk-blend-interaction: lighten;
|
|
965
|
-
--sbk-calendar-grid: #797c814d;
|
|
966
|
-
--sbk-avatar-placeholder: #35373b;
|
|
967
|
-
--sbk-hover-actions-icon: #b9babd;
|
|
968
|
-
--sbk-hover-actions-shadow: 0 0 0 1px #797c814d, 0 1px 3px 0 rgba(0, 0, 0, 0.3);
|
|
969
|
-
--sbk-table-border: #797c814d;
|
|
970
|
-
--sbk-dataviz-border: #797c814d;
|
|
971
|
-
--sbk-dataviz-tick: #9a9b9e;
|
|
972
|
-
--sbk-data-table-bg: #f8f8f80f;
|
|
973
|
-
--sbk-data-table-sep: #797c814d;
|
|
974
|
-
--sbk-data-table-active: #3daa7c;
|
|
975
|
-
--sbk-plan-text: #9a9b9e;
|
|
976
|
-
--sbk-task-card-text: #9a9b9e;
|
|
977
|
-
--sbk-alert-default-bg: #f8f8f81a;
|
|
978
|
-
--sbk-alert-default-icon: #b9babd;
|
|
979
|
-
--sbk-alert-info-icon: #2ba5ce;
|
|
980
|
-
--sbk-alert-warning-icon: #e8a723;
|
|
981
|
-
--sbk-alert-error-icon: #d94c75;
|
|
982
|
-
--sbk-alert-success-icon: #3daa7c;
|
|
983
|
-
--sbk-callout-border: #797c814d;
|
|
984
|
-
--sbk-callout-green-bg: #203430;
|
|
985
|
-
--sbk-callout-blue-bg: #1d333d;
|
|
986
|
-
--sbk-callout-red-bg: #39252e;
|
|
987
|
-
--sbk-callout-yellow-bg: #3b3321;
|
|
988
|
-
--sbk-callout-purple-bg: #312c3f;
|
|
989
|
-
--sbk-callout-gray-bg: #272a2e;
|
|
990
|
-
--sbk-chart-area-1: #583422;
|
|
991
|
-
--sbk-chart-area-2: #1c4539;
|
|
992
|
-
--sbk-chart-area-3: #4d3756;
|
|
993
|
-
--sbk-chart-area-4: #164356;
|
|
994
|
-
}
|
|
995
|
-
}
|
|
996
|
-
|
|
997
|
-
:root[data-theme="dark"],
|
|
998
|
-
[data-theme="dark"] {
|
|
999
|
-
--sbk-text: #f8f8f8;
|
|
1000
|
-
--sbk-link: #2ba5ce;
|
|
1001
|
-
--sbk-code-text: #de678a;
|
|
1002
|
-
--sbk-code-bg: rgba(248, 248, 248, 0.06);
|
|
1003
|
-
--sbk-code-border: #797c814d;
|
|
1004
|
-
--sbk-quote-bar: #797c8180;
|
|
1005
|
-
--sbk-skeleton-bg: #35373b;
|
|
1006
|
-
--sbk-mention-bg: #03669640;
|
|
1007
|
-
--sbk-mention-text: #2ba5ce;
|
|
1008
|
-
--sbk-mention-private-bg: rgba(248, 248, 248, 0.13);
|
|
1009
|
-
--sbk-mention-private-text: rgba(248, 248, 248, 0.7);
|
|
1010
|
-
--sbk-broadcast-bg: #a073002e;
|
|
1011
|
-
--sbk-bg: #1a1d21;
|
|
1012
|
-
--sbk-muted: #9a9b9e;
|
|
1013
|
-
--sbk-badge-text: #b9babd;
|
|
1014
|
-
--sbk-badge-bg: #f8f8f80f;
|
|
1015
|
-
--sbk-border: #797c814d;
|
|
1016
|
-
--sbk-divider: #797c8180;
|
|
1017
|
-
--sbk-button-border: #797c8180;
|
|
1018
|
-
--sbk-primary: #177e56;
|
|
1019
|
-
--sbk-primary-hover: #268761;
|
|
1020
|
-
--sbk-danger: #d3305d;
|
|
1021
|
-
--sbk-danger-hover: #d63d68;
|
|
1022
|
-
--sbk-button-hover-bg: #323438;
|
|
1023
|
-
--sbk-button-hover-shadow: rgba(0, 0, 0, 0.3) 0 1px 3px, rgba(0, 0, 0, 0.3) 0 1px 2px -1px;
|
|
1024
|
-
--sbk-icon-button-hover-bg: #f8f8f814;
|
|
1025
|
-
--sbk-hover-overlay: #f8f8f80f;
|
|
1026
|
-
--sbk-row-hover-bg: #f8f8f80f;
|
|
1027
|
-
--sbk-mention-hover-bg: #03669673;
|
|
1028
|
-
--sbk-mention-hover-text: rgb(136, 187, 226);
|
|
1029
|
-
--sbk-menu-highlight-bg: #0a77a7;
|
|
1030
|
-
--sbk-menu-highlight-text: #f8f8f8;
|
|
1031
|
-
--sbk-focus-ring: #2ba5ce;
|
|
1032
|
-
--sbk-focus-ring-invalid: #d94c75;
|
|
1033
|
-
--sbk-checkbox-checked: #0a77a7;
|
|
1034
|
-
--sbk-checkbox-checked-hover: #d8eef614;
|
|
1035
|
-
--sbk-checkbox-checked-pressed: #d8eef62e;
|
|
1036
|
-
--sbk-menu-bg: #212428;
|
|
1037
|
-
--sbk-menu-shadow: 0 0 0 1px #797c814d, 0 4px 12px 0 rgba(0, 0, 0, 0.35);
|
|
1038
|
-
--sbk-menu-selected-text: #2ba5ce;
|
|
1039
|
-
--sbk-menu-separator: #797c814d;
|
|
1040
|
-
--sbk-menu-secondary-text: #b9babd;
|
|
1041
|
-
--sbk-popover-shadow: 0 0 0 1px #797c814d, 0 4px 12px 0 rgba(0, 0, 0, 0.35);
|
|
1042
|
-
--sbk-spinner-track: #9a9b9e;
|
|
1043
|
-
--sbk-tooltip-bg: #212428;
|
|
1044
|
-
--sbk-tooltip-text: #f8f8f8;
|
|
1045
|
-
--sbk-surface-sec: #212428;
|
|
1046
|
-
--sbk-surface-ter: #212428;
|
|
1047
|
-
--sbk-container-bg: #212428;
|
|
1048
|
-
--sbk-content-sec: #b9babd;
|
|
1049
|
-
--sbk-content-ter: #9a9b9e;
|
|
1050
|
-
--sbk-outline-pry: #797c81;
|
|
1051
|
-
--sbk-outline-ter: #797c814d;
|
|
1052
|
-
--sbk-interaction-hover: #f8f8f814;
|
|
1053
|
-
--sbk-interaction-pressed: #f8f8f82e;
|
|
1054
|
-
--sbk-highlight: #0a77a7;
|
|
1055
|
-
--sbk-on-highlight: #f8f8f8;
|
|
1056
|
-
--sbk-blend-interaction: lighten;
|
|
1057
|
-
--sbk-calendar-grid: #797c814d;
|
|
1058
|
-
--sbk-avatar-placeholder: #35373b;
|
|
1059
|
-
--sbk-hover-actions-icon: #b9babd;
|
|
1060
|
-
--sbk-hover-actions-shadow: 0 0 0 1px #797c814d, 0 1px 3px 0 rgba(0, 0, 0, 0.3);
|
|
1061
|
-
--sbk-table-border: #797c814d;
|
|
1062
|
-
--sbk-dataviz-border: #797c814d;
|
|
1063
|
-
--sbk-dataviz-tick: #9a9b9e;
|
|
1064
|
-
--sbk-data-table-bg: #f8f8f80f;
|
|
1065
|
-
--sbk-data-table-sep: #797c814d;
|
|
1066
|
-
--sbk-data-table-active: #3daa7c;
|
|
1067
|
-
--sbk-plan-text: #9a9b9e;
|
|
1068
|
-
--sbk-task-card-text: #9a9b9e;
|
|
1069
|
-
--sbk-alert-default-bg: #f8f8f81a;
|
|
1070
|
-
--sbk-alert-default-icon: #b9babd;
|
|
1071
|
-
--sbk-alert-info-icon: #2ba5ce;
|
|
1072
|
-
--sbk-alert-warning-icon: #e8a723;
|
|
1073
|
-
--sbk-alert-error-icon: #d94c75;
|
|
1074
|
-
--sbk-alert-success-icon: #3daa7c;
|
|
1075
|
-
--sbk-callout-border: #797c814d;
|
|
1076
|
-
--sbk-callout-green-bg: #203430;
|
|
1077
|
-
--sbk-callout-blue-bg: #1d333d;
|
|
1078
|
-
--sbk-callout-red-bg: #39252e;
|
|
1079
|
-
--sbk-callout-yellow-bg: #3b3321;
|
|
1080
|
-
--sbk-callout-purple-bg: #312c3f;
|
|
1081
|
-
--sbk-callout-gray-bg: #272a2e;
|
|
1082
|
-
--sbk-chart-area-1: #583422;
|
|
1083
|
-
--sbk-chart-area-2: #1c4539;
|
|
1084
|
-
--sbk-chart-area-3: #4d3756;
|
|
1085
|
-
--sbk-chart-area-4: #164356;
|
|
1086
|
-
}
|
|
1087
|
-
|
|
1088
|
-
/* A clickable user mention and its profile card popover (Slack's `p-member_profile_card`): a
|
|
1089
|
-
300px card with the popover shadow, a 72px rounded avatar beside the name block. */
|
|
1090
|
-
.sbk-mention--user {
|
|
1091
|
-
cursor: pointer;
|
|
1092
|
-
}
|
|
1093
|
-
|
|
1094
|
-
.sbk-mention--user:focus-visible {
|
|
1095
|
-
outline: none;
|
|
1096
|
-
box-shadow: var(--sbk-focus-shadow);
|
|
1097
|
-
}
|
|
1098
|
-
|
|
1099
|
-
.sbk-profile-card {
|
|
1100
|
-
position: fixed;
|
|
1101
|
-
z-index: 1000;
|
|
1102
|
-
display: flex;
|
|
1103
|
-
gap: 16px;
|
|
1104
|
-
width: 300px;
|
|
1105
|
-
padding: 20px;
|
|
1106
|
-
color: var(--sbk-text);
|
|
1107
|
-
background: var(--sbk-menu-bg);
|
|
1108
|
-
border-radius: 6px;
|
|
1109
|
-
box-shadow: var(--sbk-popover-shadow);
|
|
1110
|
-
}
|
|
1111
|
-
|
|
1112
|
-
.sbk-profile-card__avatar {
|
|
1113
|
-
flex: 0 0 auto;
|
|
1114
|
-
width: 72px;
|
|
1115
|
-
height: 72px;
|
|
1116
|
-
border-radius: 8px;
|
|
1117
|
-
object-fit: cover;
|
|
1118
|
-
}
|
|
1119
|
-
|
|
1120
|
-
.sbk-profile-card__avatar--placeholder {
|
|
1121
|
-
display: flex;
|
|
1122
|
-
align-items: center;
|
|
1123
|
-
justify-content: center;
|
|
1124
|
-
color: var(--sbk-on-highlight);
|
|
1125
|
-
background: var(--sbk-highlight);
|
|
1126
|
-
font-size: 32px;
|
|
1127
|
-
font-weight: 700;
|
|
1128
|
-
}
|
|
1129
|
-
|
|
1130
|
-
.sbk-profile-card__body {
|
|
1131
|
-
min-width: 0;
|
|
1132
|
-
display: flex;
|
|
1133
|
-
flex-direction: column;
|
|
1134
|
-
gap: 2px;
|
|
1135
|
-
}
|
|
1136
|
-
|
|
1137
|
-
.sbk-profile-card__name {
|
|
1138
|
-
font-size: 18px;
|
|
1139
|
-
font-weight: 900;
|
|
1140
|
-
line-height: 1.33334;
|
|
1141
|
-
overflow-wrap: anywhere;
|
|
1142
|
-
}
|
|
1143
|
-
|
|
1144
|
-
.sbk-profile-card__pronouns {
|
|
1145
|
-
margin-left: 6px;
|
|
1146
|
-
color: var(--sbk-content-sec);
|
|
1147
|
-
font-size: 15px;
|
|
1148
|
-
font-weight: 400;
|
|
1149
|
-
}
|
|
1150
|
-
|
|
1151
|
-
.sbk-profile-card__secondary {
|
|
1152
|
-
color: var(--sbk-content-sec);
|
|
1153
|
-
font-size: 15px;
|
|
1154
|
-
line-height: 22px;
|
|
1155
|
-
}
|
|
1156
|
-
|
|
1157
|
-
.sbk-profile-card__status {
|
|
1158
|
-
display: flex;
|
|
1159
|
-
align-items: center;
|
|
1160
|
-
gap: 6px;
|
|
1161
|
-
font-size: 15px;
|
|
1162
|
-
line-height: 22px;
|
|
1163
|
-
}
|
|
1164
|
-
|
|
1165
|
-
.sbk-profile-card__time {
|
|
1166
|
-
color: var(--sbk-content-ter);
|
|
1167
|
-
font-size: 13px;
|
|
1168
|
-
line-height: 18px;
|
|
1169
|
-
}
|
|
1170
|
-
|
|
1171
|
-
.sbk-confirm__overlay {
|
|
1172
|
-
position: fixed;
|
|
1173
|
-
inset: 0;
|
|
1174
|
-
display: flex;
|
|
1175
|
-
align-items: center;
|
|
1176
|
-
justify-content: center;
|
|
1177
|
-
background: rgba(0, 0, 0, 0.5);
|
|
1178
|
-
z-index: 1000;
|
|
1179
|
-
}
|
|
1180
|
-
|
|
1181
|
-
.sbk-confirm {
|
|
1182
|
-
width: 400px;
|
|
1183
|
-
max-width: calc(100vw - 32px);
|
|
1184
|
-
background: var(--sbk-bg);
|
|
1185
|
-
border-radius: 8px;
|
|
1186
|
-
box-shadow:
|
|
1187
|
-
0 0 0 1px rgba(0, 0, 0, 0.08),
|
|
1188
|
-
0 8px 32px rgba(0, 0, 0, 0.35);
|
|
1189
|
-
padding: 20px;
|
|
1190
|
-
font-family: var(--sbk-font);
|
|
1191
|
-
}
|
|
1192
|
-
|
|
1193
|
-
.sbk-confirm__title {
|
|
1194
|
-
margin: 0 0 8px;
|
|
1195
|
-
font-size: 18px;
|
|
1196
|
-
font-weight: 900;
|
|
1197
|
-
color: var(--sbk-text);
|
|
1198
|
-
}
|
|
1199
|
-
|
|
1200
|
-
.sbk-confirm__text {
|
|
1201
|
-
font-size: 15px;
|
|
1202
|
-
line-height: 22px;
|
|
1203
|
-
color: var(--sbk-text);
|
|
1204
|
-
margin-bottom: 20px;
|
|
1205
|
-
}
|
|
1206
|
-
|
|
1207
|
-
.sbk-confirm__actions {
|
|
1208
|
-
display: flex;
|
|
1209
|
-
justify-content: flex-end;
|
|
1210
|
-
gap: 8px;
|
|
1211
|
-
}
|
|
1212
|
-
|
|
1213
|
-
.sbk-confirm__button {
|
|
1214
|
-
height: 36px;
|
|
1215
|
-
padding: 0 16px;
|
|
1216
|
-
border-radius: 4px;
|
|
1217
|
-
border: 1px solid var(--sbk-button-border);
|
|
1218
|
-
background: var(--sbk-bg);
|
|
1219
|
-
color: var(--sbk-text);
|
|
1220
|
-
font: 700 15px var(--sbk-font);
|
|
1221
|
-
cursor: pointer;
|
|
1222
|
-
}
|
|
1223
|
-
|
|
1224
|
-
.sbk-confirm__button--primary {
|
|
1225
|
-
border: 0;
|
|
1226
|
-
background: var(--sbk-primary);
|
|
1227
|
-
color: #fff;
|
|
1228
|
-
}
|
|
1229
|
-
|
|
1230
|
-
.sbk-confirm__button--danger {
|
|
1231
|
-
border: 0;
|
|
1232
|
-
background: var(--sbk-danger);
|
|
1233
|
-
color: #fff;
|
|
1234
|
-
}
|
|
1235
|
-
|
|
1236
|
-
/* Slack's `c-message_actions__group` as used on tables, images and charts: a white pill of 32px
|
|
1237
|
-
icon buttons pinned to the host's top-right corner, invisible until the host is hovered or
|
|
1238
|
-
holds focus. Offsets per host come from the Builder (table 12px, image 10px, chart 16px). */
|
|
1239
|
-
.sbk-hover-actions-host {
|
|
1240
|
-
position: relative;
|
|
1241
|
-
}
|
|
1242
|
-
|
|
1243
|
-
/* Tables: Slack's wrapper hugs the table, so the group sits over the table's own corner. */
|
|
1244
|
-
.sbk-hover-actions-host--fit {
|
|
1245
|
-
width: fit-content;
|
|
1246
|
-
max-width: 100%;
|
|
1247
|
-
}
|
|
1248
|
-
|
|
1249
|
-
.sbk-hover-actions {
|
|
1250
|
-
position: absolute;
|
|
1251
|
-
z-index: 2;
|
|
1252
|
-
top: 12px;
|
|
1253
|
-
right: 12px;
|
|
1254
|
-
display: flex;
|
|
1255
|
-
padding: 4px;
|
|
1256
|
-
background: var(--sbk-menu-bg);
|
|
1257
|
-
border-radius: 12px;
|
|
1258
|
-
box-shadow: var(--sbk-hover-actions-shadow);
|
|
1259
|
-
opacity: 0;
|
|
1260
|
-
pointer-events: none;
|
|
1261
|
-
}
|
|
1262
|
-
|
|
1263
|
-
.sbk-hover-actions-host:hover > .sbk-hover-actions,
|
|
1264
|
-
.sbk-hover-actions-host:focus-within > .sbk-hover-actions,
|
|
1265
|
-
.sbk-hover-actions:has([aria-expanded="true"]) {
|
|
1266
|
-
opacity: 1;
|
|
1267
|
-
pointer-events: auto;
|
|
1268
|
-
}
|
|
1269
|
-
|
|
1270
|
-
.sbk-hover-actions--image {
|
|
1271
|
-
top: 10px;
|
|
1272
|
-
right: 10px;
|
|
1273
|
-
}
|
|
1274
|
-
|
|
1275
|
-
.sbk-hover-actions--chart {
|
|
1276
|
-
top: 16px;
|
|
1277
|
-
right: 16px;
|
|
1278
|
-
}
|
|
1279
|
-
|
|
1280
|
-
.sbk-hover-actions__button {
|
|
1281
|
-
display: flex;
|
|
1282
|
-
align-items: center;
|
|
1283
|
-
justify-content: center;
|
|
1284
|
-
width: 32px;
|
|
1285
|
-
height: 32px;
|
|
1286
|
-
padding: 0;
|
|
1287
|
-
border: 0;
|
|
1288
|
-
border-radius: 8px;
|
|
1289
|
-
background: transparent;
|
|
1290
|
-
color: var(--sbk-hover-actions-icon);
|
|
1291
|
-
font-size: 18px;
|
|
1292
|
-
cursor: pointer;
|
|
1293
|
-
transition:
|
|
1294
|
-
color 80ms cubic-bezier(0.36, 0.19, 0.29, 1),
|
|
1295
|
-
background 80ms cubic-bezier(0.36, 0.19, 0.29, 1);
|
|
1296
|
-
}
|
|
1297
|
-
|
|
1298
|
-
a.sbk-hover-actions__button {
|
|
1299
|
-
color: var(--sbk-content-sec);
|
|
1300
|
-
}
|
|
1301
|
-
|
|
1302
|
-
.sbk-hover-actions__button:hover,
|
|
1303
|
-
.sbk-hover-actions__button[aria-expanded="true"] {
|
|
1304
|
-
background: var(--sbk-row-hover-bg);
|
|
1305
|
-
color: var(--sbk-text);
|
|
1306
|
-
}
|
|
1307
|
-
|
|
1308
|
-
.sbk-hover-actions__button:focus-visible {
|
|
1309
|
-
outline: none;
|
|
1310
|
-
box-shadow: var(--sbk-focus-shadow);
|
|
1311
|
-
}
|
|
1312
|
-
|
|
1313
|
-
.sbk-hover-actions__menu-root {
|
|
1314
|
-
position: relative;
|
|
1315
|
-
}
|
|
1316
|
-
|
|
1317
|
-
.sbk-actions {
|
|
1318
|
-
display: flex;
|
|
1319
|
-
flex-wrap: wrap;
|
|
1320
|
-
margin: 0 0 8px;
|
|
1321
|
-
}
|
|
1322
|
-
|
|
1323
|
-
.sbk-actions__action {
|
|
1324
|
-
margin: 8px 8px 0 0;
|
|
1325
|
-
}
|
|
1326
|
-
|
|
1327
|
-
/* Forces the element onto its own row: with the parent's `flex-wrap: wrap`, a 100%-wide item
|
|
1328
|
-
always wraps before and after itself. */
|
|
1329
|
-
.sbk-actions__action--full-width {
|
|
1330
|
-
flex: 1 1 100%;
|
|
1331
|
-
width: 100%;
|
|
1332
|
-
}
|
|
1333
|
-
|
|
1334
|
-
/* Measured from the Builder's modal preview (`c-alert--boxed`). Dark values aren't measured; they
|
|
1335
|
-
reuse the dark palette's matching hues. */
|
|
1336
|
-
:root,
|
|
1337
|
-
[data-theme="light"] {
|
|
1338
|
-
--sbk-alert-default-bg: rgb(234, 234, 234);
|
|
1339
|
-
--sbk-alert-default-icon: rgb(94, 93, 96);
|
|
1340
|
-
--sbk-alert-info-bg: rgba(54, 197, 240, 0.13);
|
|
1341
|
-
--sbk-alert-info-icon: rgb(18, 100, 163);
|
|
1342
|
-
--sbk-alert-warning-bg: rgba(255, 198, 0, 0.18);
|
|
1343
|
-
--sbk-alert-warning-icon: rgb(107, 80, 0);
|
|
1344
|
-
--sbk-alert-error-bg: rgba(255, 129, 170, 0.13);
|
|
1345
|
-
--sbk-alert-error-icon: rgb(192, 19, 67);
|
|
1346
|
-
--sbk-alert-success-bg: rgba(76, 200, 148, 0.25);
|
|
1347
|
-
--sbk-alert-success-icon: rgb(0, 122, 90);
|
|
1348
|
-
}
|
|
1349
|
-
|
|
1350
|
-
.sbk-alert {
|
|
1351
|
-
display: flex;
|
|
1352
|
-
margin: 8px 0;
|
|
1353
|
-
padding: 12px 16px;
|
|
1354
|
-
border: 1px solid transparent;
|
|
1355
|
-
border-radius: 8px;
|
|
1356
|
-
}
|
|
1357
|
-
|
|
1358
|
-
.sbk-alert__icon {
|
|
1359
|
-
flex-shrink: 0;
|
|
1360
|
-
margin: 1px 12px 0 0;
|
|
1361
|
-
}
|
|
1362
|
-
|
|
1363
|
-
.sbk-alert__message {
|
|
1364
|
-
min-width: 0;
|
|
1365
|
-
overflow-wrap: anywhere;
|
|
1366
|
-
}
|
|
1367
|
-
|
|
1368
|
-
/* Links keep the message's ink colour and stay underlined, as in the Builder. */
|
|
1369
|
-
.sbk-alert__message .sbk-link {
|
|
1370
|
-
color: inherit;
|
|
1371
|
-
text-decoration: underline;
|
|
1372
|
-
}
|
|
1373
|
-
|
|
1374
|
-
.sbk-alert--default {
|
|
1375
|
-
background: var(--sbk-alert-default-bg);
|
|
1376
|
-
}
|
|
1377
|
-
.sbk-alert--default .sbk-alert__icon {
|
|
1378
|
-
color: var(--sbk-alert-default-icon);
|
|
1379
|
-
}
|
|
1380
|
-
.sbk-alert--info {
|
|
1381
|
-
background: var(--sbk-alert-info-bg);
|
|
1382
|
-
}
|
|
1383
|
-
.sbk-alert--info .sbk-alert__icon {
|
|
1384
|
-
color: var(--sbk-alert-info-icon);
|
|
1385
|
-
}
|
|
1386
|
-
.sbk-alert--warning {
|
|
1387
|
-
background: var(--sbk-alert-warning-bg);
|
|
1388
|
-
}
|
|
1389
|
-
.sbk-alert--warning .sbk-alert__icon {
|
|
1390
|
-
color: var(--sbk-alert-warning-icon);
|
|
1391
|
-
}
|
|
1392
|
-
.sbk-alert--error {
|
|
1393
|
-
background: var(--sbk-alert-error-bg);
|
|
1394
|
-
}
|
|
1395
|
-
.sbk-alert--error .sbk-alert__icon {
|
|
1396
|
-
color: var(--sbk-alert-error-icon);
|
|
1397
|
-
}
|
|
1398
|
-
.sbk-alert--success {
|
|
1399
|
-
background: var(--sbk-alert-success-bg);
|
|
1400
|
-
}
|
|
1401
|
-
.sbk-alert--success .sbk-alert__icon {
|
|
1402
|
-
color: var(--sbk-alert-success-icon);
|
|
1403
|
-
}
|
|
1404
|
-
|
|
1405
|
-
/* Light values measured from Builder references (green, blue); the other light values are
|
|
1406
|
-
extrapolated. Dark values (Message.css) aren't measured: each is its hue from the dark palette
|
|
1407
|
-
at 16% over the dark background (gray: 6% white), like the alert colours. */
|
|
1408
|
-
:root,
|
|
1409
|
-
[data-theme="light"] {
|
|
1410
|
-
--sbk-callout-border: rgba(94, 93, 96, 0.13);
|
|
1411
|
-
--sbk-callout-green-bg: #f4ffdb;
|
|
1412
|
-
--sbk-callout-blue-bg: #e3f8ff;
|
|
1413
|
-
--sbk-callout-red-bg: #ffeceb;
|
|
1414
|
-
--sbk-callout-yellow-bg: #fff8db;
|
|
1415
|
-
--sbk-callout-purple-bg: #f3ecff;
|
|
1416
|
-
--sbk-callout-gray-bg: #f4f4f4;
|
|
1417
|
-
}
|
|
1418
|
-
|
|
1419
|
-
.sbk-callout {
|
|
1420
|
-
padding: 12px;
|
|
1421
|
-
border: 1px solid var(--sbk-callout-border);
|
|
1422
|
-
border-radius: 12px;
|
|
1423
|
-
overflow: hidden;
|
|
1424
|
-
}
|
|
1425
|
-
|
|
1426
|
-
.sbk-callout .sbk-block:first-child > * {
|
|
1427
|
-
margin-top: 0;
|
|
1428
|
-
}
|
|
1429
|
-
|
|
1430
|
-
.sbk-callout .sbk-block:last-child > * {
|
|
1431
|
-
margin-bottom: 0;
|
|
1432
|
-
}
|
|
1433
|
-
|
|
1434
|
-
/* In a container Slack lays a callout's blocks out in a flex column with an 8px gap, so their own
|
|
1435
|
-
margins no longer collapse into each other (catalog/container/with-callout). */
|
|
1436
|
-
.sbk-container .sbk-callout {
|
|
1437
|
-
display: flex;
|
|
1438
|
-
flex-direction: column;
|
|
1439
|
-
gap: 8px;
|
|
1440
|
-
}
|
|
1441
|
-
|
|
1442
|
-
.sbk-container .sbk-callout .sbk-image__title {
|
|
1443
|
-
display: none;
|
|
1444
|
-
}
|
|
1445
|
-
|
|
1446
|
-
/* Keeps the frame's 5px top margin from collapsing into the block's own now that the title row
|
|
1447
|
-
above it is hidden. */
|
|
1448
|
-
.sbk-container .sbk-callout .sbk-image {
|
|
1449
|
-
display: flow-root;
|
|
1450
|
-
}
|
|
1451
|
-
|
|
1452
|
-
/* Slack keeps the unknown-block notice's bottom margin even as a callout's last child. */
|
|
1453
|
-
.sbk-container .sbk-callout .sbk-block:last-child > .sbk-block-error {
|
|
1454
|
-
margin-bottom: 6px;
|
|
1455
|
-
}
|
|
1456
|
-
|
|
1457
|
-
.sbk-card {
|
|
1458
|
-
margin: 8px 0;
|
|
1459
|
-
}
|
|
1460
|
-
|
|
1461
|
-
.sbk-card__box {
|
|
1462
|
-
width: 340px;
|
|
1463
|
-
max-width: 100%;
|
|
1464
|
-
background: var(--sbk-bg);
|
|
1465
|
-
border: 1px solid rgba(94, 93, 96, 0.13);
|
|
1466
|
-
border-radius: 12px;
|
|
1467
|
-
overflow: hidden;
|
|
1468
|
-
}
|
|
1469
|
-
|
|
1470
|
-
.sbk-card__content {
|
|
1471
|
-
display: flex;
|
|
1472
|
-
flex-direction: column;
|
|
1473
|
-
gap: 12px;
|
|
1474
|
-
padding: 12px;
|
|
1475
|
-
}
|
|
1476
|
-
|
|
1477
|
-
.sbk-card__hero {
|
|
1478
|
-
display: block;
|
|
1479
|
-
width: 100%;
|
|
1480
|
-
height: auto;
|
|
1481
|
-
border-radius: 4px;
|
|
1482
|
-
object-fit: cover;
|
|
1483
|
-
}
|
|
1484
|
-
|
|
1485
|
-
.sbk-card__header {
|
|
1486
|
-
display: flex;
|
|
1487
|
-
/* A lone title centres on the 36px icon. */
|
|
1488
|
-
align-items: center;
|
|
1489
|
-
gap: 12px;
|
|
1490
|
-
}
|
|
1491
|
-
|
|
1492
|
-
.sbk-card__icon {
|
|
1493
|
-
display: block;
|
|
1494
|
-
flex: 0 0 auto;
|
|
1495
|
-
width: 36px;
|
|
1496
|
-
height: 36px;
|
|
1497
|
-
border-radius: 8px;
|
|
1498
|
-
object-fit: cover;
|
|
1499
|
-
}
|
|
1500
|
-
|
|
1501
|
-
/* Slack centres its 24px icon in the 36px slot, in the text colour and with no badge behind it. */
|
|
1502
|
-
.sbk-card__icon--slack {
|
|
1503
|
-
display: flex;
|
|
1504
|
-
align-items: center;
|
|
1505
|
-
justify-content: center;
|
|
1506
|
-
color: var(--sbk-text);
|
|
1507
|
-
}
|
|
1508
|
-
|
|
1509
|
-
.sbk-card__icon--fallback {
|
|
1510
|
-
display: flex;
|
|
1511
|
-
align-items: center;
|
|
1512
|
-
justify-content: center;
|
|
1513
|
-
background: rgba(29, 28, 29, 0.06);
|
|
1514
|
-
color: var(--sbk-muted);
|
|
1515
|
-
}
|
|
1516
|
-
|
|
1517
|
-
.sbk-card__titles {
|
|
1518
|
-
flex: 1 1 0;
|
|
1519
|
-
min-width: 0;
|
|
1520
|
-
}
|
|
1521
|
-
|
|
1522
|
-
.sbk-card__title {
|
|
1523
|
-
font-weight: 700;
|
|
1524
|
-
line-height: 22.5px;
|
|
1525
|
-
overflow: hidden;
|
|
1526
|
-
text-overflow: ellipsis;
|
|
1527
|
-
white-space: nowrap;
|
|
1528
|
-
}
|
|
1529
|
-
|
|
1530
|
-
/* Text/mrkdwn content renders its own `.sbk-mrkdwn`/`.sbk-plain-text` span with a fixed
|
|
1531
|
-
font-size/line-height (set in base.css), which otherwise overrides the size we want here
|
|
1532
|
-
since it's set directly on that inline element rather than inherited. Re-assert our sizing
|
|
1533
|
-
on the span itself so title/subtitle actually take the compact card typography. */
|
|
1534
|
-
.sbk-card__title .sbk-mrkdwn,
|
|
1535
|
-
.sbk-card__title .sbk-plain-text {
|
|
1536
|
-
font-size: 15px;
|
|
1537
|
-
line-height: 22.5px;
|
|
1538
|
-
}
|
|
1539
|
-
|
|
1540
|
-
.sbk-card__subtitle {
|
|
1541
|
-
font-size: 13px;
|
|
1542
|
-
line-height: 16.25px;
|
|
1543
|
-
color: rgb(94, 93, 96);
|
|
1544
|
-
overflow: hidden;
|
|
1545
|
-
text-overflow: ellipsis;
|
|
1546
|
-
white-space: nowrap;
|
|
1547
|
-
}
|
|
1548
|
-
|
|
1549
|
-
.sbk-card__subtitle .sbk-mrkdwn,
|
|
1550
|
-
.sbk-card__subtitle .sbk-plain-text {
|
|
1551
|
-
font-size: 13px;
|
|
1552
|
-
line-height: 16.25px;
|
|
1553
|
-
color: inherit;
|
|
1554
|
-
}
|
|
1555
|
-
|
|
1556
|
-
.sbk-card__body {
|
|
1557
|
-
line-height: 22px;
|
|
1558
|
-
}
|
|
1559
|
-
|
|
1560
|
-
.sbk-card__subtext {
|
|
1561
|
-
font-size: 13px;
|
|
1562
|
-
line-height: 18px;
|
|
1563
|
-
color: var(--sbk-muted);
|
|
1564
|
-
}
|
|
1565
|
-
|
|
1566
|
-
.sbk-card__subtext .sbk-mrkdwn,
|
|
1567
|
-
.sbk-card__subtext .sbk-plain-text {
|
|
1568
|
-
font-size: 13px;
|
|
1569
|
-
line-height: 18px;
|
|
1570
|
-
color: inherit;
|
|
1571
|
-
}
|
|
1572
|
-
|
|
1573
|
-
.sbk-card__actions {
|
|
1574
|
-
display: flex;
|
|
1575
|
-
gap: 8px;
|
|
1576
|
-
}
|
|
1577
|
-
|
|
1578
|
-
/* Slack's card buttons size to their label: no 56px minimum, unlike an actions block's. */
|
|
1579
|
-
.sbk-card__actions .sbk-button {
|
|
1580
|
-
min-width: 0;
|
|
1581
|
-
}
|
|
1582
|
-
|
|
1583
|
-
.sbk-card__actions-start {
|
|
1584
|
-
display: flex;
|
|
1585
|
-
flex: 1;
|
|
1586
|
-
gap: 8px;
|
|
1587
|
-
}
|
|
1588
|
-
|
|
1589
|
-
.sbk-carousel {
|
|
1590
|
-
position: relative;
|
|
1591
|
-
margin: 8px 0;
|
|
1592
|
-
}
|
|
1593
|
-
|
|
1594
|
-
.sbk-carousel__scroller {
|
|
1595
|
-
display: flex;
|
|
1596
|
-
gap: 16px;
|
|
1597
|
-
overflow-x: auto;
|
|
1598
|
-
/* Slack hides the track; the arrow buttons scroll instead. Without this a classic-scrollbar
|
|
1599
|
-
system (a mouse on macOS, Windows, Linux) grows the carousel by 15px. */
|
|
1600
|
-
scrollbar-width: none;
|
|
1601
|
-
scroll-snap-type: x proximity;
|
|
1602
|
-
padding: 8px 0 4px;
|
|
1603
|
-
margin: -8px 0 -4px;
|
|
1604
|
-
}
|
|
1605
|
-
|
|
1606
|
-
.sbk-carousel__item {
|
|
1607
|
-
flex: 0 0 auto;
|
|
1608
|
-
scroll-snap-align: start;
|
|
1609
|
-
}
|
|
1610
|
-
|
|
1611
|
-
.sbk-carousel__item .sbk-card {
|
|
1612
|
-
margin: 0;
|
|
1613
|
-
}
|
|
1614
|
-
|
|
1615
|
-
.sbk-carousel__arrow {
|
|
1616
|
-
display: flex;
|
|
1617
|
-
align-items: center;
|
|
1618
|
-
justify-content: center;
|
|
1619
|
-
position: absolute;
|
|
1620
|
-
top: 50%;
|
|
1621
|
-
transform: translateY(-16px);
|
|
1622
|
-
width: 32px;
|
|
1623
|
-
height: 32px;
|
|
1624
|
-
padding: 0;
|
|
1625
|
-
border: 0;
|
|
1626
|
-
border-radius: 9999px;
|
|
1627
|
-
background: var(--sbk-bg);
|
|
1628
|
-
color: rgb(69, 68, 71);
|
|
1629
|
-
box-shadow:
|
|
1630
|
-
rgba(0, 0, 0, 0.098) 0px 1px 3px 0px,
|
|
1631
|
-
rgba(0, 0, 0, 0.098) 0px 1px 2px -1px;
|
|
1632
|
-
cursor: pointer;
|
|
1633
|
-
transition:
|
|
1634
|
-
opacity 0.15s,
|
|
1635
|
-
transform 0.15s;
|
|
1636
|
-
}
|
|
1637
|
-
|
|
1638
|
-
.sbk-carousel__arrow:hover {
|
|
1639
|
-
transform: translateY(-16px) scale(1.1);
|
|
1640
|
-
}
|
|
1641
|
-
|
|
1642
|
-
/* At either end of the scroll Slack shrinks the arrow away rather than disabling it. */
|
|
1643
|
-
.sbk-carousel__arrow--hidden {
|
|
1644
|
-
opacity: 0;
|
|
1645
|
-
pointer-events: none;
|
|
1646
|
-
transform: translateY(-16px) scale(0.8);
|
|
1647
|
-
}
|
|
1648
|
-
|
|
1649
|
-
.sbk-carousel__arrow--left {
|
|
1650
|
-
left: 12px;
|
|
1651
|
-
}
|
|
1652
|
-
|
|
1653
|
-
.sbk-carousel__arrow--right {
|
|
1654
|
-
right: 12px;
|
|
1655
|
-
}
|
|
1656
|
-
|
|
1657
|
-
.sbk-code-block {
|
|
1658
|
-
margin: 4px 0;
|
|
1659
|
-
padding: 8px;
|
|
1660
|
-
}
|
|
1661
|
-
|
|
1662
|
-
.sbk-code-block__box {
|
|
1663
|
-
margin: 4px 0;
|
|
1664
|
-
font-family: var(--sbk-font-mono);
|
|
1665
|
-
font-size: 12px;
|
|
1666
|
-
line-height: 18px;
|
|
1667
|
-
background: var(--sbk-surface-sec);
|
|
1668
|
-
border: 1px solid rgba(29, 28, 29, 0.06);
|
|
1669
|
-
border-radius: 12px;
|
|
1670
|
-
overflow: hidden;
|
|
1671
|
-
}
|
|
1672
|
-
|
|
1673
|
-
.sbk-code-block__header {
|
|
1674
|
-
display: flex;
|
|
1675
|
-
align-items: center;
|
|
1676
|
-
justify-content: space-between;
|
|
1677
|
-
padding: 4px 4px 4px 12px;
|
|
1678
|
-
font-family: var(--sbk-font);
|
|
1679
|
-
font-size: 13px;
|
|
1680
|
-
font-weight: 700;
|
|
1681
|
-
}
|
|
1682
|
-
|
|
1683
|
-
.sbk-code-block__language {
|
|
1684
|
-
color: var(--sbk-outline-pry);
|
|
1685
|
-
}
|
|
1686
|
-
|
|
1687
|
-
.sbk-code-block__copy {
|
|
1688
|
-
display: inline-flex;
|
|
1689
|
-
align-items: center;
|
|
1690
|
-
justify-content: center;
|
|
1691
|
-
width: 32px;
|
|
1692
|
-
height: 32px;
|
|
1693
|
-
padding: 0;
|
|
1694
|
-
color: rgb(69, 68, 71);
|
|
1695
|
-
background: none;
|
|
1696
|
-
border: none;
|
|
1697
|
-
border-radius: 8px;
|
|
1698
|
-
cursor: default;
|
|
1699
|
-
}
|
|
1700
|
-
|
|
1701
|
-
.sbk-code-block__scroll {
|
|
1702
|
-
display: flex;
|
|
1703
|
-
padding: 0 12px 8px 0;
|
|
1704
|
-
overflow: auto;
|
|
1705
|
-
}
|
|
1706
|
-
|
|
1707
|
-
.sbk-code-block__code,
|
|
1708
|
-
.sbk-code-block__code code {
|
|
1709
|
-
/* The UA stylesheet gives <pre> and <code> the generic `monospace`, which beats inheriting the
|
|
1710
|
-
box's Slack-Roboto-Mono. Slack also turns ligatures off for code. */
|
|
1711
|
-
font-family: inherit;
|
|
1712
|
-
font-variant-ligatures: none;
|
|
1713
|
-
}
|
|
1714
|
-
|
|
1715
|
-
.sbk-code-block__code {
|
|
1716
|
-
margin: 0;
|
|
1717
|
-
padding: 0 8px 8px;
|
|
1718
|
-
line-height: 18px;
|
|
1719
|
-
color: var(--sbk-text);
|
|
1720
|
-
border-radius: 4px;
|
|
1721
|
-
tab-size: 4;
|
|
1722
|
-
-moz-tab-size: 4;
|
|
1723
|
-
}
|
|
1724
|
-
|
|
1725
|
-
.sbk-code-block__line {
|
|
1726
|
-
display: block;
|
|
1727
|
-
white-space: pre;
|
|
1728
|
-
}
|
|
1729
|
-
|
|
1730
|
-
/* `condition` renders one branch's blocks in place; each child block supplies its own spacing. */
|
|
1731
|
-
|
|
1732
|
-
/* Slack's c-pillow_file: the avatar sits at the top of the row and the text column is pulled up 1px
|
|
1733
|
-
into it, so the card is 1px shorter than its content. */
|
|
1734
|
-
.sbk-contact-card {
|
|
1735
|
-
display: flex;
|
|
1736
|
-
align-items: flex-start;
|
|
1737
|
-
gap: 12px;
|
|
1738
|
-
padding: 12px;
|
|
1739
|
-
background: var(--sbk-bg);
|
|
1740
|
-
border: 1px solid rgba(94, 93, 96, 0.13);
|
|
1741
|
-
border-radius: 12px;
|
|
1742
|
-
}
|
|
1743
|
-
|
|
1744
|
-
.sbk-contact-card__avatar {
|
|
1745
|
-
display: block;
|
|
1746
|
-
flex: 0 0 auto;
|
|
1747
|
-
width: 36px;
|
|
1748
|
-
height: 36px;
|
|
1749
|
-
border-radius: 8px;
|
|
1750
|
-
background: var(--sbk-avatar-placeholder);
|
|
1751
|
-
}
|
|
1752
|
-
|
|
1753
|
-
.sbk-contact-card__body {
|
|
1754
|
-
display: flex;
|
|
1755
|
-
flex-direction: column;
|
|
1756
|
-
gap: 4px;
|
|
1757
|
-
min-width: 0;
|
|
1758
|
-
margin-top: -1px;
|
|
1759
|
-
font-size: 13px;
|
|
1760
|
-
line-height: 15.6px;
|
|
1761
|
-
color: var(--sbk-muted);
|
|
1762
|
-
}
|
|
1763
|
-
|
|
1764
|
-
.sbk-contact-card__name {
|
|
1765
|
-
font-weight: 700;
|
|
1766
|
-
font-size: 15px;
|
|
1767
|
-
line-height: 19.2px;
|
|
1768
|
-
color: var(--sbk-text);
|
|
1769
|
-
}
|
|
1770
|
-
|
|
1771
|
-
.sbk-contact-card__skeleton {
|
|
1772
|
-
display: inline-block;
|
|
1773
|
-
width: 120px;
|
|
1774
|
-
height: 8px;
|
|
1775
|
-
border-radius: 1000px;
|
|
1776
|
-
background: var(--sbk-surface-ter);
|
|
1777
|
-
}
|
|
1778
|
-
|
|
1779
|
-
/* Slack's p-block_kit_unknown_block_error, shown in place of a card it won't render. */
|
|
1780
|
-
.sbk-block-error {
|
|
1781
|
-
margin: 0 0 6px;
|
|
1782
|
-
font-size: 15px;
|
|
1783
|
-
line-height: 22px;
|
|
1784
|
-
}
|
|
1785
|
-
|
|
1786
|
-
.sbk-block-error__message {
|
|
1787
|
-
font-size: 12.5px;
|
|
1788
|
-
line-height: 18.33px;
|
|
1789
|
-
color: var(--sbk-text);
|
|
1790
|
-
opacity: 0.5;
|
|
1791
|
-
}
|
|
1792
|
-
|
|
1793
|
-
.sbk-container {
|
|
1794
|
-
margin: 16px 0 0;
|
|
1795
|
-
background: var(--sbk-bg);
|
|
1796
|
-
border: 1px solid var(--sbk-outline-ter);
|
|
1797
|
-
border-radius: 12px;
|
|
1798
|
-
overflow: hidden;
|
|
1799
|
-
}
|
|
1800
|
-
|
|
1801
|
-
/* Every width keeps the card frame; only the cap differs (`full` has none), per Slack's client. */
|
|
1802
|
-
.sbk-container--narrow {
|
|
1803
|
-
max-width: 320px;
|
|
1804
|
-
}
|
|
1805
|
-
|
|
1806
|
-
.sbk-container--standard {
|
|
1807
|
-
max-width: 480px;
|
|
1808
|
-
}
|
|
1809
|
-
|
|
1810
|
-
.sbk-container--wide {
|
|
1811
|
-
max-width: 642px;
|
|
1812
|
-
}
|
|
1813
|
-
|
|
1814
|
-
.sbk-container__header {
|
|
1815
|
-
display: flex;
|
|
1816
|
-
width: 100%;
|
|
1817
|
-
padding: 12px;
|
|
1818
|
-
border: 0;
|
|
1819
|
-
background: none;
|
|
1820
|
-
font: inherit;
|
|
1821
|
-
color: inherit;
|
|
1822
|
-
text-align: left;
|
|
1823
|
-
cursor: default;
|
|
1824
|
-
}
|
|
1825
|
-
|
|
1826
|
-
.sbk-container__header--button {
|
|
1827
|
-
cursor: pointer;
|
|
1828
|
-
}
|
|
1829
|
-
|
|
1830
|
-
.sbk-container__header--divider {
|
|
1831
|
-
margin-bottom: 12px;
|
|
1832
|
-
border-bottom: 1px solid var(--sbk-outline-ter);
|
|
1833
|
-
}
|
|
1834
|
-
|
|
1835
|
-
/* Slack centres the icon against the title and subtitle. */
|
|
1836
|
-
.sbk-container__titles {
|
|
1837
|
-
display: flex;
|
|
1838
|
-
align-items: center;
|
|
1839
|
-
gap: 12px;
|
|
1840
|
-
flex: 1 1 0;
|
|
1841
|
-
min-width: 0;
|
|
1842
|
-
}
|
|
1843
|
-
|
|
1844
|
-
.sbk-container__icon {
|
|
1845
|
-
display: block;
|
|
1846
|
-
flex: 0 0 auto;
|
|
1847
|
-
width: 36px;
|
|
1848
|
-
height: 36px;
|
|
1849
|
-
border-radius: 8px;
|
|
1850
|
-
object-fit: cover;
|
|
1851
|
-
}
|
|
1852
|
-
|
|
1853
|
-
.sbk-container__title-col {
|
|
1854
|
-
display: flex;
|
|
1855
|
-
flex-direction: column;
|
|
1856
|
-
flex: 1 1 0;
|
|
1857
|
-
min-width: 0;
|
|
1858
|
-
}
|
|
1859
|
-
|
|
1860
|
-
.sbk-container__title {
|
|
1861
|
-
font-weight: 700;
|
|
1862
|
-
line-height: 22.5px;
|
|
1863
|
-
overflow: hidden;
|
|
1864
|
-
text-overflow: ellipsis;
|
|
1865
|
-
white-space: nowrap;
|
|
1866
|
-
}
|
|
1867
|
-
|
|
1868
|
-
.sbk-container__subtitle {
|
|
1869
|
-
font-size: 13px;
|
|
1870
|
-
line-height: 16.25px;
|
|
1871
|
-
color: var(--sbk-content-sec);
|
|
1872
|
-
overflow: hidden;
|
|
1873
|
-
text-overflow: ellipsis;
|
|
1874
|
-
white-space: nowrap;
|
|
1875
|
-
}
|
|
1876
|
-
|
|
1877
|
-
.sbk-container__chevron {
|
|
1878
|
-
display: flex;
|
|
1879
|
-
flex: 0 0 auto;
|
|
1880
|
-
align-items: center;
|
|
1881
|
-
margin-left: 8px;
|
|
1882
|
-
transition: transform 0.16s cubic-bezier(0.36, 0.19, 0.29, 1);
|
|
1883
|
-
}
|
|
1884
|
-
|
|
1885
|
-
.sbk-container__chevron--collapsed {
|
|
1886
|
-
transform: rotate(-90deg);
|
|
1887
|
-
}
|
|
1888
|
-
|
|
1889
|
-
.sbk-container__body {
|
|
1890
|
-
padding: 0 12px 12px;
|
|
1891
|
-
}
|
|
1892
|
-
|
|
1893
|
-
/* Builder's `containerBlockContent` slides open and shut faster than plan and task_card, on the
|
|
1894
|
-
same curve as the chevron. */
|
|
1895
|
-
.sbk-collapse.sbk-container__collapse {
|
|
1896
|
-
transition: height 0.16s cubic-bezier(0.36, 0.19, 0.29, 1);
|
|
1897
|
-
}
|
|
1898
|
-
|
|
1899
|
-
@media (prefers-reduced-motion: reduce) {
|
|
1900
|
-
.sbk-container__chevron,
|
|
1901
|
-
.sbk-collapse.sbk-container__collapse {
|
|
1902
|
-
transition: none;
|
|
1903
|
-
}
|
|
1904
|
-
}
|
|
1905
|
-
|
|
1906
|
-
/* Builder omits the image title/caret row when an `image` block is a direct child of a
|
|
1907
|
-
container (Callout.css does the same for one nested in a callout there). */
|
|
1908
|
-
.sbk-container__body > .sbk-block--image .sbk-image__title {
|
|
1909
|
-
display: none;
|
|
1910
|
-
}
|
|
1911
|
-
|
|
1912
|
-
/* Builder's reference for an `image` block directly inside a container drops the block's own
|
|
1913
|
-
top margin (only the bottom margin remains) — the container's body padding provides the top
|
|
1914
|
-
spacing instead. */
|
|
1915
|
-
.sbk-container__body > .sbk-block--image .sbk-image {
|
|
1916
|
-
margin-top: 0;
|
|
1917
|
-
}
|
|
1918
|
-
|
|
1919
|
-
/* Builder drops the top margin of a leading section: its text starts right under the header
|
|
1920
|
-
(catalog/container/icon-plus-subtitle), or 12px below a header divider (header-divider). */
|
|
1921
|
-
.sbk-container__header + .sbk-container__body > .sbk-block--section:first-child .sbk-section,
|
|
1922
|
-
.sbk-container__header
|
|
1923
|
-
+ .sbk-container__collapse
|
|
1924
|
-
> .sbk-container__body
|
|
1925
|
-
> .sbk-block--section:first-child
|
|
1926
|
-
.sbk-section {
|
|
1927
|
-
margin-top: 0;
|
|
1928
|
-
}
|
|
1929
|
-
|
|
1930
|
-
/* Slack sets each element in a 15px/22px line box around 13px/18px text; an image sits on that
|
|
1931
|
-
line's baseline, which stretches a row holding one to 25px. */
|
|
1932
|
-
.sbk-context {
|
|
1933
|
-
display: flex;
|
|
1934
|
-
flex-wrap: wrap;
|
|
1935
|
-
align-items: flex-start;
|
|
1936
|
-
row-gap: 4px;
|
|
1937
|
-
margin: 4px 0;
|
|
1938
|
-
font-size: 15px;
|
|
1939
|
-
line-height: 22px;
|
|
1940
|
-
color: var(--sbk-muted);
|
|
1941
|
-
}
|
|
1942
|
-
|
|
1943
|
-
.sbk-context .sbk-mrkdwn,
|
|
1944
|
-
.sbk-context .sbk-plain-text {
|
|
1945
|
-
font-size: 13px;
|
|
1946
|
-
line-height: 18px;
|
|
1947
|
-
color: inherit;
|
|
1948
|
-
}
|
|
1949
|
-
|
|
1950
|
-
.sbk-context .sbk-emoji {
|
|
1951
|
-
vertical-align: text-bottom;
|
|
1952
|
-
}
|
|
1953
|
-
|
|
1954
|
-
/* Slack spaces context elements with a trailing spacer rather than a gap: 16px after text, 4px
|
|
1955
|
-
after an image, so consecutive images sit close together. Images hang from the top of the row. */
|
|
1956
|
-
.sbk-context__text {
|
|
1957
|
-
margin-right: 16px;
|
|
1958
|
-
}
|
|
1959
|
-
|
|
1960
|
-
.sbk-context > :last-child {
|
|
1961
|
-
margin-right: 0;
|
|
1962
|
-
}
|
|
1963
|
-
|
|
1964
|
-
.sbk-context__image {
|
|
1965
|
-
margin-right: 4px;
|
|
1966
|
-
margin-bottom: 5px;
|
|
1967
|
-
width: 20px;
|
|
1968
|
-
height: 20px;
|
|
1969
|
-
border-radius: 2px;
|
|
1970
|
-
object-fit: cover;
|
|
1971
|
-
}
|
|
1972
|
-
|
|
1973
|
-
/* Slack butts the 32px icon buttons against each other and against the block above. */
|
|
1974
|
-
.sbk-context-actions {
|
|
1975
|
-
display: flex;
|
|
1976
|
-
align-items: center;
|
|
1977
|
-
}
|
|
1978
|
-
|
|
1979
|
-
/* Values measured from Slack's Block Kit Builder for the `data_table` block. */
|
|
1980
|
-
:root,
|
|
1981
|
-
[data-theme="light"] {
|
|
1982
|
-
--sbk-data-table-bg: rgba(29, 28, 29, 0.06);
|
|
1983
|
-
--sbk-data-table-sep: rgba(94, 93, 96, 0.13);
|
|
1984
|
-
--sbk-data-table-active: #007a5a;
|
|
1985
|
-
}
|
|
1986
|
-
|
|
1987
|
-
.sbk-data-table {
|
|
1988
|
-
margin: 4px 0;
|
|
1989
|
-
}
|
|
1990
|
-
|
|
1991
|
-
.sbk-data-table__header {
|
|
1992
|
-
display: flex;
|
|
1993
|
-
align-items: center;
|
|
1994
|
-
padding: 8px 4px;
|
|
1995
|
-
gap: 8px;
|
|
1996
|
-
}
|
|
1997
|
-
|
|
1998
|
-
.sbk-data-table__caption {
|
|
1999
|
-
flex: 1 1 auto;
|
|
2000
|
-
font-weight: 900;
|
|
2001
|
-
white-space: nowrap;
|
|
2002
|
-
overflow: hidden;
|
|
2003
|
-
text-overflow: ellipsis;
|
|
2004
|
-
}
|
|
2005
|
-
|
|
2006
|
-
.sbk-data-table__toolbar {
|
|
2007
|
-
display: flex;
|
|
2008
|
-
gap: 8px;
|
|
2009
|
-
flex: 0 0 auto;
|
|
2010
|
-
}
|
|
2011
|
-
|
|
2012
|
-
.sbk-data-table__icon-btn {
|
|
2013
|
-
display: flex;
|
|
2014
|
-
align-items: center;
|
|
2015
|
-
justify-content: center;
|
|
2016
|
-
width: 30px;
|
|
2017
|
-
height: 30px;
|
|
2018
|
-
padding: 0;
|
|
2019
|
-
color: var(--sbk-badge-text);
|
|
2020
|
-
background: none;
|
|
2021
|
-
border: 1px solid var(--sbk-button-border);
|
|
2022
|
-
border-radius: 8px;
|
|
2023
|
-
cursor: pointer;
|
|
2024
|
-
}
|
|
2025
|
-
|
|
2026
|
-
/* Slack's grey frame holds both the grid and the pagination footer below it, and scrolls them
|
|
2027
|
-
sideways together when the columns can't fit. Like Slack's, it's a flex column, so its end
|
|
2028
|
-
padding counts as scrollable space. */
|
|
2029
|
-
.sbk-data-table__frame {
|
|
2030
|
-
display: flex;
|
|
2031
|
-
flex-direction: column;
|
|
2032
|
-
overflow-x: auto;
|
|
2033
|
-
padding: 0 4px;
|
|
2034
|
-
background-color: var(--sbk-data-table-bg);
|
|
2035
|
-
border-radius: 12px;
|
|
2036
|
-
}
|
|
2037
|
-
|
|
2038
|
-
/* Slack's scrollbar: an 8px track whose rounded thumb only shows while the table is hovered. */
|
|
2039
|
-
.sbk-data-table__frame::-webkit-scrollbar {
|
|
2040
|
-
width: 8px;
|
|
2041
|
-
height: 8px;
|
|
2042
|
-
}
|
|
2043
|
-
|
|
2044
|
-
.sbk-data-table__frame::-webkit-scrollbar-track,
|
|
2045
|
-
.sbk-data-table__frame::-webkit-scrollbar-thumb,
|
|
2046
|
-
.sbk-data-table__frame::-webkit-scrollbar-corner {
|
|
2047
|
-
background: transparent;
|
|
2048
|
-
}
|
|
2049
|
-
|
|
2050
|
-
.sbk-data-table__frame::-webkit-scrollbar-thumb {
|
|
2051
|
-
border-radius: 4px;
|
|
2052
|
-
}
|
|
2053
|
-
|
|
2054
|
-
.sbk-data-table__frame:hover::-webkit-scrollbar-thumb {
|
|
2055
|
-
background: color-mix(in srgb, var(--sbk-text) 52%, transparent);
|
|
2056
|
-
}
|
|
2057
|
-
|
|
2058
|
-
/* Like Slack's <table>, the grid never narrows below its columns' 120px minimums. */
|
|
2059
|
-
.sbk-data-table__rows {
|
|
2060
|
-
position: relative;
|
|
2061
|
-
min-width: min-content;
|
|
2062
|
-
}
|
|
2063
|
-
|
|
2064
|
-
/* Without pagination Slack's footer shrinks to a 4px strip. */
|
|
2065
|
-
.sbk-data-table__rows:last-child {
|
|
2066
|
-
margin-bottom: 4px;
|
|
2067
|
-
}
|
|
2068
|
-
|
|
2069
|
-
.sbk-data-table__grid-header,
|
|
2070
|
-
.sbk-data-table__row {
|
|
2071
|
-
display: grid;
|
|
2072
|
-
}
|
|
2073
|
-
|
|
2074
|
-
.sbk-data-table__col-header {
|
|
2075
|
-
display: flex;
|
|
2076
|
-
align-items: center;
|
|
2077
|
-
height: 36px;
|
|
2078
|
-
font-size: 13px;
|
|
2079
|
-
font-weight: 700;
|
|
2080
|
-
line-height: 18px;
|
|
2081
|
-
color: var(--sbk-badge-text);
|
|
2082
|
-
}
|
|
2083
|
-
|
|
2084
|
-
.sbk-data-table__col-header button {
|
|
2085
|
-
display: flex;
|
|
2086
|
-
align-items: center;
|
|
2087
|
-
justify-content: space-between;
|
|
2088
|
-
width: 100%;
|
|
2089
|
-
height: 28px;
|
|
2090
|
-
gap: 4px;
|
|
2091
|
-
padding: 0 12px;
|
|
2092
|
-
font: inherit;
|
|
2093
|
-
color: inherit;
|
|
2094
|
-
background: none;
|
|
2095
|
-
border: none;
|
|
2096
|
-
border-radius: 8px;
|
|
2097
|
-
cursor: pointer;
|
|
2098
|
-
}
|
|
2099
|
-
|
|
2100
|
-
/* Slack hides the unsorted caret until the header is hovered or focused, and tints the header
|
|
2101
|
-
with the same 6% overlay as its other hoverable table chrome. */
|
|
2102
|
-
.sbk-data-table__col-header button:hover,
|
|
2103
|
-
.sbk-data-table__col-header button:focus-visible {
|
|
2104
|
-
background-color: var(--sbk-hover-overlay);
|
|
2105
|
-
}
|
|
2106
|
-
|
|
2107
|
-
/* Slack's caret stays hidden, even on a sorted column, until the header is hovered or focused. */
|
|
2108
|
-
.sbk-data-table__sort-caret {
|
|
2109
|
-
display: flex;
|
|
2110
|
-
margin-left: auto;
|
|
2111
|
-
opacity: 0;
|
|
2112
|
-
}
|
|
2113
|
-
|
|
2114
|
-
.sbk-data-table__col-header button:hover .sbk-data-table__sort-caret,
|
|
2115
|
-
.sbk-data-table__col-header button:focus-visible .sbk-data-table__sort-caret {
|
|
2116
|
-
opacity: 1;
|
|
2117
|
-
}
|
|
2118
|
-
|
|
2119
|
-
/* Slack's sort menu: a 200px `c-menu` flush below the header, a small "Sort" heading, then
|
|
2120
|
-
Ascending and Descending and, once sorted, a separator and a red Clear Sort. */
|
|
2121
|
-
.sbk-data-table__sort-menu {
|
|
2122
|
-
width: 200px;
|
|
2123
|
-
padding: 12px 0;
|
|
2124
|
-
background: var(--sbk-menu-bg);
|
|
2125
|
-
border-radius: 4px;
|
|
2126
|
-
box-shadow: var(--sbk-menu-shadow);
|
|
2127
|
-
}
|
|
2128
|
-
|
|
2129
|
-
.sbk-data-table__sort-heading {
|
|
2130
|
-
padding: 4px 24px;
|
|
2131
|
-
font: 13px / 18px var(--sbk-font);
|
|
2132
|
-
color: var(--sbk-content-sec);
|
|
2133
|
-
}
|
|
2134
|
-
|
|
2135
|
-
.sbk-data-table__sort-item {
|
|
2136
|
-
position: relative;
|
|
2137
|
-
display: flex;
|
|
2138
|
-
align-items: center;
|
|
2139
|
-
height: 28px;
|
|
2140
|
-
padding: 0 24px;
|
|
2141
|
-
font: 15px / 28px var(--sbk-font);
|
|
2142
|
-
color: var(--sbk-text);
|
|
2143
|
-
white-space: nowrap;
|
|
2144
|
-
cursor: pointer;
|
|
2145
|
-
}
|
|
2146
|
-
|
|
2147
|
-
.sbk-data-table__sort-item[aria-checked="true"] {
|
|
2148
|
-
color: var(--sbk-menu-selected-text);
|
|
2149
|
-
}
|
|
2150
|
-
|
|
2151
|
-
/* Slack's danger red is the same token as its inline-code text. */
|
|
2152
|
-
.sbk-data-table__sort-item--danger {
|
|
2153
|
-
color: var(--sbk-code-text);
|
|
2154
|
-
}
|
|
2155
|
-
|
|
2156
|
-
.sbk-data-table__sort-item[data-active] {
|
|
2157
|
-
color: var(--sbk-menu-highlight-text);
|
|
2158
|
-
background: var(--sbk-menu-highlight-bg);
|
|
2159
|
-
}
|
|
2160
|
-
|
|
2161
|
-
/* Slack's 16px glyphs sit at the start of their 20px boxes. */
|
|
2162
|
-
.sbk-data-table__sort-icon {
|
|
2163
|
-
display: flex;
|
|
2164
|
-
width: 20px;
|
|
2165
|
-
height: 16px;
|
|
2166
|
-
margin-right: 8px;
|
|
2167
|
-
}
|
|
2168
|
-
|
|
2169
|
-
/* The checked item's check hangs in the 24px gutter, 4px from the menu's edge. */
|
|
2170
|
-
.sbk-data-table__sort-check {
|
|
2171
|
-
position: absolute;
|
|
2172
|
-
top: 6px;
|
|
2173
|
-
left: 4px;
|
|
2174
|
-
display: flex;
|
|
2175
|
-
width: 20px;
|
|
2176
|
-
height: 16px;
|
|
2177
|
-
}
|
|
2178
|
-
|
|
2179
|
-
.sbk-data-table__sort-separator {
|
|
2180
|
-
padding: 8px 0;
|
|
2181
|
-
}
|
|
2182
|
-
|
|
2183
|
-
.sbk-data-table__sort-separator::before {
|
|
2184
|
-
content: "";
|
|
2185
|
-
display: block;
|
|
2186
|
-
border-top: 1px solid var(--sbk-menu-separator);
|
|
2187
|
-
}
|
|
2188
|
-
|
|
2189
|
-
.sbk-data-table__col-label {
|
|
2190
|
-
overflow: hidden;
|
|
2191
|
-
white-space: nowrap;
|
|
2192
|
-
text-overflow: ellipsis;
|
|
2193
|
-
}
|
|
2194
|
-
|
|
2195
|
-
.sbk-data-table__cell {
|
|
2196
|
-
position: relative;
|
|
2197
|
-
min-width: 0;
|
|
2198
|
-
height: 48px;
|
|
2199
|
-
overflow: hidden;
|
|
2200
|
-
background-color: var(--sbk-bg);
|
|
2201
|
-
}
|
|
2202
|
-
|
|
2203
|
-
/* The body's outline is drawn by its edge cells, inside the 48px rows as in Slack. */
|
|
2204
|
-
.sbk-data-table__row:first-child .sbk-data-table__cell {
|
|
2205
|
-
border-top: 1px solid var(--sbk-button-border);
|
|
2206
|
-
}
|
|
2207
|
-
|
|
2208
|
-
.sbk-data-table__row:last-child .sbk-data-table__cell {
|
|
2209
|
-
border-bottom: 1px solid var(--sbk-button-border);
|
|
2210
|
-
}
|
|
2211
|
-
|
|
2212
|
-
.sbk-data-table__cell:first-child {
|
|
2213
|
-
border-left: 1px solid var(--sbk-button-border);
|
|
2214
|
-
}
|
|
2215
|
-
|
|
2216
|
-
.sbk-data-table__cell:last-child {
|
|
2217
|
-
border-right: 1px solid var(--sbk-button-border);
|
|
2218
|
-
}
|
|
2219
|
-
|
|
2220
|
-
.sbk-data-table__row:hover .sbk-data-table__cell {
|
|
2221
|
-
background-color: var(--sbk-row-hover-bg);
|
|
2222
|
-
}
|
|
2223
|
-
|
|
2224
|
-
.sbk-data-table__row:not(:first-child) .sbk-data-table__cell {
|
|
2225
|
-
box-shadow: inset 0 1px 0 var(--sbk-data-table-sep);
|
|
2226
|
-
}
|
|
2227
|
-
|
|
2228
|
-
.sbk-data-table__row:first-child .sbk-data-table__cell:first-child {
|
|
2229
|
-
border-top-left-radius: 8px;
|
|
2230
|
-
}
|
|
2231
|
-
|
|
2232
|
-
.sbk-data-table__row:first-child .sbk-data-table__cell:last-child {
|
|
2233
|
-
border-top-right-radius: 8px;
|
|
2234
|
-
}
|
|
2235
|
-
|
|
2236
|
-
.sbk-data-table__row:last-child .sbk-data-table__cell:first-child {
|
|
2237
|
-
border-bottom-left-radius: 8px;
|
|
2238
|
-
}
|
|
2239
|
-
|
|
2240
|
-
.sbk-data-table__row:last-child .sbk-data-table__cell:last-child {
|
|
2241
|
-
border-bottom-right-radius: 8px;
|
|
2242
|
-
}
|
|
2243
|
-
|
|
2244
|
-
.sbk-data-table__cell-content {
|
|
2245
|
-
display: flex;
|
|
2246
|
-
align-items: center;
|
|
2247
|
-
height: 48px;
|
|
2248
|
-
padding: 0 12px;
|
|
2249
|
-
}
|
|
2250
|
-
|
|
2251
|
-
/* Slack clips overlong cell text without an ellipsis. */
|
|
2252
|
-
.sbk-data-table__truncate {
|
|
2253
|
-
overflow: hidden;
|
|
2254
|
-
white-space: nowrap;
|
|
2255
|
-
}
|
|
2256
|
-
|
|
2257
|
-
/* Pinned to the frame's left edge, so the pages stay in view while the columns scroll sideways. */
|
|
2258
|
-
.sbk-data-table__pagination {
|
|
2259
|
-
position: sticky;
|
|
2260
|
-
left: 0;
|
|
2261
|
-
max-width: 100%;
|
|
2262
|
-
display: flex;
|
|
2263
|
-
align-items: center;
|
|
2264
|
-
justify-content: center;
|
|
2265
|
-
gap: 4px;
|
|
2266
|
-
height: 32px;
|
|
2267
|
-
font-size: 13px;
|
|
2268
|
-
line-height: 18px;
|
|
2269
|
-
color: var(--sbk-badge-text);
|
|
2270
|
-
}
|
|
2271
|
-
|
|
2272
|
-
.sbk-data-table__page-nav {
|
|
2273
|
-
display: flex;
|
|
2274
|
-
align-items: center;
|
|
2275
|
-
justify-content: center;
|
|
2276
|
-
width: 20px;
|
|
2277
|
-
height: 20px;
|
|
2278
|
-
padding: 0;
|
|
2279
|
-
color: inherit;
|
|
2280
|
-
background: none;
|
|
2281
|
-
border: none;
|
|
2282
|
-
border-radius: 8px;
|
|
2283
|
-
cursor: pointer;
|
|
2284
|
-
}
|
|
2285
|
-
|
|
2286
|
-
.sbk-data-table__page-nav:disabled {
|
|
2287
|
-
opacity: 0.4;
|
|
2288
|
-
cursor: default;
|
|
2289
|
-
}
|
|
2290
|
-
|
|
2291
|
-
.sbk-data-table__page-btn {
|
|
2292
|
-
display: flex;
|
|
2293
|
-
align-items: center;
|
|
2294
|
-
justify-content: center;
|
|
2295
|
-
min-width: 20px;
|
|
2296
|
-
height: 20px;
|
|
2297
|
-
padding: 0 6px;
|
|
2298
|
-
font: inherit;
|
|
2299
|
-
color: inherit;
|
|
2300
|
-
background: none;
|
|
2301
|
-
border: none;
|
|
2302
|
-
border-radius: 4px;
|
|
2303
|
-
cursor: pointer;
|
|
2304
|
-
}
|
|
2305
|
-
|
|
2306
|
-
.sbk-data-table__page-btn--active {
|
|
2307
|
-
color: #fff;
|
|
2308
|
-
background-color: var(--sbk-data-table-active);
|
|
2309
|
-
}
|
|
2310
|
-
|
|
2311
|
-
.sbk-data-table__page-btn:not(.sbk-data-table__page-btn--active):hover,
|
|
2312
|
-
.sbk-data-table__page-btn:not(.sbk-data-table__page-btn--active):focus-visible {
|
|
2313
|
-
color: var(--sbk-text);
|
|
2314
|
-
background-color: var(--sbk-button-hover-bg);
|
|
2315
|
-
}
|
|
2316
|
-
|
|
2317
|
-
/* Same multiply darkening as a primary button: hover ≈ rgb(20,133,103), pressed ≈ rgb(0,110,81). */
|
|
2318
|
-
.sbk-data-table__page-btn--active:hover {
|
|
2319
|
-
background-color: rgb(20, 133, 103);
|
|
2320
|
-
}
|
|
2321
|
-
|
|
2322
|
-
.sbk-data-table__page-btn--active:active {
|
|
2323
|
-
background-color: rgb(0, 110, 81);
|
|
2324
|
-
}
|
|
2325
|
-
|
|
2326
|
-
.sbk-rtmini__link {
|
|
2327
|
-
color: var(--sbk-link);
|
|
2328
|
-
text-decoration: none;
|
|
2329
|
-
}
|
|
2330
|
-
|
|
2331
|
-
.sbk-rtmini__link:hover {
|
|
2332
|
-
text-decoration: underline;
|
|
2333
|
-
}
|
|
2334
|
-
|
|
2335
|
-
.sbk-rtmini__code {
|
|
2336
|
-
font-family: var(--sbk-font-mono);
|
|
2337
|
-
font-size: 12px;
|
|
2338
|
-
background: var(--sbk-code-bg);
|
|
2339
|
-
border: 1px solid var(--sbk-code-border);
|
|
2340
|
-
border-radius: 3px;
|
|
2341
|
-
padding: 1px 3px;
|
|
2342
|
-
}
|
|
2343
|
-
|
|
2344
|
-
:root,
|
|
2345
|
-
[data-theme="light"] {
|
|
2346
|
-
/* Area fills: measured for the first two series colours, tinted 88% toward white for the
|
|
2347
|
-
others. Dark values (Message.css) aren't measured: the series colour at 30% over the dark
|
|
2348
|
-
background. */
|
|
2349
|
-
--sbk-chart-area-1: rgb(255, 237, 229);
|
|
2350
|
-
--sbk-chart-area-2: rgb(227, 255, 243);
|
|
2351
|
-
--sbk-chart-area-3: rgb(248, 238, 250);
|
|
2352
|
-
--sbk-chart-area-4: rgb(226, 243, 250);
|
|
2353
|
-
--sbk-dataviz-border: rgba(94, 93, 96, 0.13);
|
|
2354
|
-
--sbk-dataviz-tick: #5e5d60;
|
|
2355
|
-
}
|
|
2356
|
-
|
|
2357
|
-
.sbk-dataviz {
|
|
2358
|
-
display: flex;
|
|
2359
|
-
flex-direction: column;
|
|
2360
|
-
/* Slack insets the chart card 8px from the block edges. */
|
|
2361
|
-
margin: 8px 0;
|
|
2362
|
-
padding: 12px;
|
|
2363
|
-
background-color: var(--sbk-container-bg);
|
|
2364
|
-
border: 1px solid var(--sbk-dataviz-border);
|
|
2365
|
-
border-radius: 12px;
|
|
2366
|
-
overflow: hidden;
|
|
2367
|
-
}
|
|
2368
|
-
|
|
2369
|
-
.sbk-dataviz__title {
|
|
2370
|
-
/* Only the title is spaced off; the plot, axis label and legend stack flush. */
|
|
2371
|
-
margin: 0 0 8px;
|
|
2372
|
-
font-size: 18px;
|
|
2373
|
-
font-weight: 900;
|
|
2374
|
-
line-height: 24.0001px;
|
|
2375
|
-
}
|
|
2376
|
-
|
|
2377
|
-
.sbk-dataviz__body {
|
|
2378
|
-
display: flex;
|
|
2379
|
-
align-items: stretch;
|
|
2380
|
-
/* The y-axis label is absolutely positioned (see below) so it doesn't steal width from the
|
|
2381
|
-
chart — Slack renders the chart at the container's full width and overlays the label. */
|
|
2382
|
-
position: relative;
|
|
2383
|
-
}
|
|
2384
|
-
|
|
2385
|
-
.sbk-dataviz__body--pie {
|
|
2386
|
-
justify-content: center;
|
|
2387
|
-
}
|
|
2388
|
-
|
|
2389
|
-
.sbk-dataviz__y-label {
|
|
2390
|
-
position: absolute;
|
|
2391
|
-
left: 0;
|
|
2392
|
-
/* Matches the reference: the label spans the plot area, not the tick/legend gutters below it. */
|
|
2393
|
-
top: 8px;
|
|
2394
|
-
bottom: 26px;
|
|
2395
|
-
width: 18px;
|
|
2396
|
-
display: flex;
|
|
2397
|
-
align-items: center;
|
|
2398
|
-
justify-content: center;
|
|
2399
|
-
writing-mode: vertical-rl;
|
|
2400
|
-
transform: rotate(180deg);
|
|
2401
|
-
font-size: 13px;
|
|
2402
|
-
font-weight: 700;
|
|
2403
|
-
text-align: center;
|
|
2404
|
-
pointer-events: none;
|
|
2405
|
-
}
|
|
2406
|
-
|
|
2407
|
-
.sbk-dataviz__body > .sbk-chart {
|
|
2408
|
-
flex: 1;
|
|
2409
|
-
min-width: 0;
|
|
2410
|
-
}
|
|
2411
|
-
|
|
2412
|
-
.sbk-chart {
|
|
2413
|
-
width: 100%;
|
|
2414
|
-
}
|
|
2415
|
-
|
|
2416
|
-
.sbk-chart__svg {
|
|
2417
|
-
display: block;
|
|
2418
|
-
width: 100%;
|
|
2419
|
-
height: auto;
|
|
2420
|
-
}
|
|
2421
|
-
|
|
2422
|
-
.sbk-chart__tick {
|
|
2423
|
-
fill: var(--sbk-dataviz-tick);
|
|
2424
|
-
font-size: 13px;
|
|
2425
|
-
}
|
|
2426
|
-
|
|
2427
|
-
.sbk-dataviz__x-label {
|
|
2428
|
-
padding: 8px 0 0 74px;
|
|
2429
|
-
font-size: 13px;
|
|
2430
|
-
font-weight: 700;
|
|
2431
|
-
/* The label is centred within the remaining (post-gutter) width, not left-aligned. */
|
|
2432
|
-
line-height: 18px;
|
|
2433
|
-
text-align: center;
|
|
2434
|
-
}
|
|
2435
|
-
|
|
2436
|
-
.sbk-dataviz__legend {
|
|
2437
|
-
display: flex;
|
|
2438
|
-
padding: 8px 0 0 74px;
|
|
2439
|
-
gap: 8px;
|
|
2440
|
-
flex-wrap: wrap;
|
|
2441
|
-
/* Centred under the plot area, like the x-axis label above it. */
|
|
2442
|
-
justify-content: center;
|
|
2443
|
-
line-height: 18px;
|
|
2444
|
-
}
|
|
2445
|
-
|
|
2446
|
-
.sbk-dataviz__legend--pie {
|
|
2447
|
-
padding-left: 0;
|
|
2448
|
-
justify-content: center;
|
|
2449
|
-
}
|
|
2450
|
-
|
|
2451
|
-
.sbk-dataviz__legend-entry {
|
|
2452
|
-
display: flex;
|
|
2453
|
-
align-items: center;
|
|
2454
|
-
gap: 8px;
|
|
2455
|
-
font-size: 13px;
|
|
2456
|
-
}
|
|
2457
|
-
|
|
2458
|
-
.sbk-dataviz__legend-dot {
|
|
2459
|
-
width: 10px;
|
|
2460
|
-
height: 10px;
|
|
2461
|
-
border-radius: 9999px;
|
|
2462
|
-
display: inline-block;
|
|
2463
|
-
flex-shrink: 0;
|
|
2464
|
-
}
|
|
2465
|
-
|
|
2466
|
-
.sbk-divider {
|
|
2467
|
-
margin: 8px 0;
|
|
2468
|
-
border: 0;
|
|
2469
|
-
border-top: 1px solid var(--sbk-divider);
|
|
2470
|
-
}
|
|
2471
|
-
|
|
2472
|
-
/* Slack drops every fallback block into the single (flex-row) wrapper of the unknown block. */
|
|
2473
|
-
.sbk-fallback-canary {
|
|
2474
|
-
display: flex;
|
|
2475
|
-
}
|
|
2476
|
-
|
|
2477
|
-
/* Slack's header and section blocks are `width: 100%` there while a context block sizes to its
|
|
2478
|
-
content, so the row shrinks them in that proportion (174/174/84px of 432 in the reference). */
|
|
2479
|
-
.sbk-fallback-canary > .sbk-block--header,
|
|
2480
|
-
.sbk-fallback-canary > .sbk-block--section {
|
|
2481
|
-
width: 100%;
|
|
2482
|
-
}
|
|
2483
|
-
|
|
2484
|
-
.sbk-file {
|
|
2485
|
-
display: flex;
|
|
2486
|
-
align-items: center;
|
|
2487
|
-
gap: 8px;
|
|
2488
|
-
margin: 8px 0;
|
|
2489
|
-
padding: 8px 12px;
|
|
2490
|
-
max-width: 360px;
|
|
2491
|
-
background: rgba(29, 28, 29, 0.04);
|
|
2492
|
-
border: 1px solid var(--sbk-border);
|
|
2493
|
-
border-radius: 8px;
|
|
2494
|
-
color: var(--sbk-muted);
|
|
2495
|
-
}
|
|
2496
|
-
|
|
2497
|
-
/* Slack's pillow file card: the border firms up and a soft shadow appears under the pointer. */
|
|
2498
|
-
.sbk-file:hover {
|
|
2499
|
-
border-color: rgba(94, 93, 96, 0.45);
|
|
2500
|
-
box-shadow: rgba(0, 0, 0, 0.047) 0 1px 2px;
|
|
2501
|
-
}
|
|
2502
|
-
|
|
2503
|
-
.sbk-file__icon {
|
|
2504
|
-
display: flex;
|
|
2505
|
-
flex: 0 0 auto;
|
|
2506
|
-
}
|
|
2507
|
-
|
|
2508
|
-
.sbk-file__body {
|
|
2509
|
-
display: flex;
|
|
2510
|
-
flex-direction: column;
|
|
2511
|
-
min-width: 0;
|
|
2512
|
-
}
|
|
2513
|
-
|
|
2514
|
-
.sbk-file__name {
|
|
2515
|
-
color: var(--sbk-text);
|
|
2516
|
-
overflow: hidden;
|
|
2517
|
-
text-overflow: ellipsis;
|
|
2518
|
-
white-space: nowrap;
|
|
2519
|
-
}
|
|
2520
|
-
|
|
2521
|
-
.sbk-file__meta {
|
|
2522
|
-
font-size: 12px;
|
|
2523
|
-
text-transform: capitalize;
|
|
2524
|
-
}
|
|
2525
|
-
|
|
2526
|
-
/* Sizes measured from the Builder's level-1..4 header references (level 2 is Slack's default). */
|
|
2527
|
-
.sbk-header {
|
|
2528
|
-
margin: 15px 0 4px;
|
|
2529
|
-
font-weight: 400;
|
|
2530
|
-
}
|
|
2531
|
-
|
|
2532
|
-
.sbk-header--level-1 {
|
|
2533
|
-
font-size: 18px;
|
|
2534
|
-
line-height: 1.33334;
|
|
2535
|
-
font-weight: 900;
|
|
2536
|
-
}
|
|
2537
|
-
|
|
2538
|
-
.sbk-header--level-2 {
|
|
2539
|
-
font-size: 15px;
|
|
2540
|
-
line-height: 1.46668;
|
|
2541
|
-
font-weight: 900;
|
|
2542
|
-
}
|
|
2543
|
-
|
|
2544
|
-
.sbk-header--level-3,
|
|
2545
|
-
.sbk-header--level-4 {
|
|
2546
|
-
font-size: 15px;
|
|
2547
|
-
line-height: 1.46668;
|
|
2548
|
-
font-weight: 700;
|
|
2549
|
-
}
|
|
2550
|
-
|
|
2551
|
-
.sbk-image {
|
|
2552
|
-
margin: 8px 0;
|
|
2553
|
-
}
|
|
2554
|
-
|
|
2555
|
-
/* Slack sets the row as inline text on a 22px line: the title, then a nowrap caption holding the
|
|
2556
|
-
file size (which we can't know without fetching the image) and the caret button. */
|
|
2557
|
-
.sbk-image__title {
|
|
2558
|
-
font-size: 15px;
|
|
2559
|
-
line-height: 22px;
|
|
2560
|
-
color: var(--sbk-muted);
|
|
2561
|
-
}
|
|
2562
|
-
|
|
2563
|
-
.sbk-image__title-text {
|
|
2564
|
-
display: inline-block;
|
|
2565
|
-
font-size: 13px;
|
|
2566
|
-
line-height: 18px;
|
|
2567
|
-
word-break: break-word;
|
|
2568
|
-
}
|
|
2569
|
-
|
|
2570
|
-
.sbk-image__trigger {
|
|
2571
|
-
font-size: 13px;
|
|
2572
|
-
line-height: 18px;
|
|
2573
|
-
white-space: nowrap;
|
|
2574
|
-
}
|
|
2575
|
-
|
|
2576
|
-
.sbk-image__toggle {
|
|
2577
|
-
display: inline-block;
|
|
2578
|
-
width: 15px;
|
|
2579
|
-
margin-top: -4px;
|
|
2580
|
-
padding: 0;
|
|
2581
|
-
border: 0;
|
|
2582
|
-
background: none;
|
|
2583
|
-
font-size: 15px;
|
|
2584
|
-
line-height: 15px;
|
|
2585
|
-
color: var(--sbk-link);
|
|
2586
|
-
cursor: pointer;
|
|
2587
|
-
}
|
|
2588
|
-
|
|
2589
|
-
.sbk-image__caret {
|
|
2590
|
-
display: inline-block;
|
|
2591
|
-
width: 15px;
|
|
2592
|
-
height: 15px;
|
|
2593
|
-
vertical-align: middle;
|
|
2594
|
-
}
|
|
2595
|
-
|
|
2596
|
-
.sbk-image__frame {
|
|
2597
|
-
position: relative;
|
|
2598
|
-
/* Slack always leaves a 5px gap above the image itself (the image container's own
|
|
2599
|
-
margin-top), independent of whether the title row above it has content or is hidden/0-height
|
|
2600
|
-
— so this lives on the frame rather than as the title row's margin-bottom, which would
|
|
2601
|
-
disappear along with the row when Container.css hides it for a direct-child image. */
|
|
2602
|
-
margin-top: 5px;
|
|
2603
|
-
/* Slack scales large images down to the message width but never upscales a small one. */
|
|
2604
|
-
max-width: 100%;
|
|
2605
|
-
width: fit-content;
|
|
2606
|
-
border-radius: 8px;
|
|
2607
|
-
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
|
|
2608
|
-
overflow: hidden;
|
|
2609
|
-
/* Slack paints the photo as this box's background rather than an <img>. Chrome resamples the two
|
|
2610
|
-
differently when downscaling, which on a large photo shifts every high-contrast edge; painting
|
|
2611
|
-
it the same way makes our pixels match. The <img> stays for sizing and alt text. */
|
|
2612
|
-
background-position: 50% 50%;
|
|
2613
|
-
background-repeat: no-repeat;
|
|
2614
|
-
background-size: contain;
|
|
2615
|
-
}
|
|
2616
|
-
|
|
2617
|
-
.sbk-image__img {
|
|
2618
|
-
display: block;
|
|
2619
|
-
opacity: 0;
|
|
2620
|
-
max-width: 100%;
|
|
2621
|
-
height: auto;
|
|
2622
|
-
}
|
|
2623
|
-
|
|
2624
|
-
.sbk-image__fallback {
|
|
2625
|
-
display: flex;
|
|
2626
|
-
align-items: center;
|
|
2627
|
-
justify-content: center;
|
|
2628
|
-
min-height: 88px;
|
|
2629
|
-
width: 100%;
|
|
2630
|
-
background: var(--sbk-badge-bg);
|
|
2631
|
-
color: var(--sbk-muted);
|
|
2632
|
-
font-size: 13px;
|
|
2633
|
-
padding: 16px;
|
|
2634
|
-
text-align: center;
|
|
2635
|
-
}
|
|
2636
|
-
|
|
2637
|
-
.sbk-input {
|
|
2638
|
-
margin: 0;
|
|
2639
|
-
}
|
|
2640
|
-
|
|
2641
|
-
.sbk-input__label {
|
|
2642
|
-
font: 700 15px / 22px var(--sbk-font);
|
|
2643
|
-
color: var(--sbk-text);
|
|
2644
|
-
margin-bottom: 8px;
|
|
2645
|
-
}
|
|
2646
|
-
|
|
2647
|
-
.sbk-input__optional {
|
|
2648
|
-
font-weight: 400;
|
|
2649
|
-
color: var(--sbk-muted);
|
|
2650
|
-
}
|
|
2651
|
-
|
|
2652
|
-
/* Selects and date/time pickers default to a fixed ~190px width (their size as a section/actions accessory), but
|
|
2653
|
-
Slack's Builder stretches them to the full field width inside an `input` block. */
|
|
2654
|
-
.sbk-input__element .sbk-select,
|
|
2655
|
-
.sbk-input__element .sbk-datepicker,
|
|
2656
|
-
.sbk-input__element .sbk-timepicker {
|
|
2657
|
-
width: 100%;
|
|
2658
|
-
}
|
|
2659
|
-
|
|
2660
|
-
/* Slack renders radio_buttons as a `<fieldset>` with a `<legend>` inside an `input` block, which
|
|
2661
|
-
carries ~24px of trailing space below the last option — 8px more than the bare-wrapper (no
|
|
2662
|
-
legend) rendering used in actions/section-accessory context. Confirmed via inspect.ts against
|
|
2663
|
-
catalog/input/radio-buttons vs catalog/actions/radio-buttons and catalog/section/radio-buttons. */
|
|
2664
|
-
.sbk-input__element .sbk-radio-buttons {
|
|
2665
|
-
margin-bottom: 24px;
|
|
2666
|
-
}
|
|
2667
|
-
|
|
2668
|
-
/* Slack sets hints inline inside a body-text line box, so they sit flush under the element and the
|
|
2669
|
-
13px text rides on a 22px line. */
|
|
2670
|
-
.sbk-input__hint {
|
|
2671
|
-
font: 400 15px / 22px var(--sbk-font);
|
|
2672
|
-
}
|
|
2673
|
-
|
|
2674
|
-
.sbk-input__hint-text {
|
|
2675
|
-
font-size: 13px;
|
|
2676
|
-
line-height: 18px;
|
|
2677
|
-
color: var(--sbk-muted);
|
|
2678
|
-
}
|
|
2679
|
-
|
|
2680
|
-
.sbk-input__hint-text--dispatch {
|
|
2681
|
-
margin-left: 4px;
|
|
2682
|
-
}
|
|
2683
|
-
|
|
2684
|
-
.sbk-input__hint-icon {
|
|
2685
|
-
display: inline-flex;
|
|
2686
|
-
align-items: center;
|
|
2687
|
-
justify-content: center;
|
|
2688
|
-
width: 13px;
|
|
2689
|
-
height: 20px;
|
|
2690
|
-
}
|
|
2691
|
-
|
|
2692
|
-
.sbk-input__error {
|
|
2693
|
-
margin-top: 4px;
|
|
2694
|
-
font: 400 13px / 18px var(--sbk-font);
|
|
2695
|
-
color: var(--sbk-danger);
|
|
2696
|
-
}
|
|
2697
|
-
|
|
2698
|
-
.sbk-input--error .sbk-input__element {
|
|
2699
|
-
--sbk-button-border: var(--sbk-danger);
|
|
2700
|
-
}
|
|
2701
|
-
|
|
2702
|
-
/* Slack expands a markdown block into one block per heading, paragraph, divider…, so their
|
|
2703
|
-
margins add up instead of collapsing (divider → heading is 8px + 15px). */
|
|
2704
|
-
.sbk-markdown {
|
|
2705
|
-
display: flex;
|
|
2706
|
-
flex-direction: column;
|
|
2707
|
-
font-family: var(--sbk-font);
|
|
2708
|
-
font-size: 15px;
|
|
2709
|
-
line-height: 22px;
|
|
2710
|
-
color: var(--sbk-text);
|
|
2711
|
-
overflow-wrap: anywhere;
|
|
2712
|
-
}
|
|
2713
|
-
|
|
2714
|
-
.sbk-markdown__section {
|
|
2715
|
-
display: block;
|
|
2716
|
-
}
|
|
2717
|
-
|
|
2718
|
-
.sbk-markdown__table-wrap {
|
|
2719
|
-
overflow: auto;
|
|
2720
|
-
}
|
|
2721
|
-
|
|
2722
|
-
/* Slack draws the grid with separate borders (right + bottom on every cell, plus the outer top
|
|
2723
|
-
and left edges) so the corner cells can round off. */
|
|
2724
|
-
.sbk-markdown__table {
|
|
2725
|
-
border-collapse: separate;
|
|
2726
|
-
border-spacing: 0;
|
|
2727
|
-
padding: 4px 0;
|
|
2728
|
-
}
|
|
2729
|
-
|
|
2730
|
-
.sbk-markdown__table th,
|
|
2731
|
-
.sbk-markdown__table td {
|
|
2732
|
-
padding: 2px 12px 0;
|
|
2733
|
-
height: 28px;
|
|
2734
|
-
font-weight: 400;
|
|
2735
|
-
text-align: left;
|
|
2736
|
-
vertical-align: top;
|
|
2737
|
-
white-space: nowrap;
|
|
2738
|
-
border-right: 1px solid var(--sbk-outline-ter);
|
|
2739
|
-
border-bottom: 1px solid var(--sbk-outline-ter);
|
|
2740
|
-
}
|
|
2741
|
-
|
|
2742
|
-
/* Inline code keeps the cell's nowrap, even under a host's `.prose td > code` rule. */
|
|
2743
|
-
.sbk-markdown__table :is(th, td) code {
|
|
2744
|
-
white-space: inherit;
|
|
2745
|
-
}
|
|
2746
|
-
|
|
2747
|
-
.sbk-markdown__table th {
|
|
2748
|
-
font-weight: 700;
|
|
2749
|
-
}
|
|
2750
|
-
|
|
2751
|
-
.sbk-markdown__table > :first-child > tr:first-child > * {
|
|
2752
|
-
border-top: 1px solid var(--sbk-outline-ter);
|
|
2753
|
-
}
|
|
2754
|
-
|
|
2755
|
-
.sbk-markdown__table tr > :first-child {
|
|
2756
|
-
border-left: 1px solid var(--sbk-outline-ter);
|
|
2757
|
-
}
|
|
2758
|
-
|
|
2759
|
-
.sbk-markdown__table > :first-child > tr:first-child > :first-child {
|
|
2760
|
-
border-top-left-radius: 4px;
|
|
2761
|
-
}
|
|
2762
|
-
|
|
2763
|
-
.sbk-markdown__table > :first-child > tr:first-child > :last-child {
|
|
2764
|
-
border-top-right-radius: 4px;
|
|
2765
|
-
}
|
|
2766
|
-
|
|
2767
|
-
.sbk-markdown__table > :last-child > tr:last-child > :first-child {
|
|
2768
|
-
border-bottom-left-radius: 4px;
|
|
2769
|
-
}
|
|
2770
|
-
|
|
2771
|
-
.sbk-markdown__table > :last-child > tr:last-child > :last-child {
|
|
2772
|
-
border-bottom-right-radius: 4px;
|
|
2773
|
-
}
|
|
2774
|
-
|
|
2775
|
-
:root,
|
|
2776
|
-
[data-theme="light"] {
|
|
2777
|
-
--sbk-plan-text: rgb(94, 93, 96);
|
|
2778
|
-
}
|
|
2779
|
-
|
|
2780
|
-
.sbk-plan {
|
|
2781
|
-
display: flex;
|
|
2782
|
-
flex-direction: column;
|
|
2783
|
-
margin: 8px 0;
|
|
2784
|
-
}
|
|
2785
|
-
|
|
2786
|
-
.sbk-plan__pill {
|
|
2787
|
-
display: flex;
|
|
2788
|
-
align-self: flex-start;
|
|
2789
|
-
padding: 0;
|
|
2790
|
-
border: 0;
|
|
2791
|
-
background: transparent;
|
|
2792
|
-
border-radius: 12px;
|
|
2793
|
-
cursor: pointer;
|
|
2794
|
-
font: inherit;
|
|
2795
|
-
color: inherit;
|
|
2796
|
-
text-align: left;
|
|
2797
|
-
max-width: 100%;
|
|
2798
|
-
}
|
|
2799
|
-
|
|
2800
|
-
/* Slack sets the toggle as inline text: the status icon hangs in a 20px indent and the icon and
|
|
2801
|
-
caret sit `vertical-align: middle` on the 13px title's line. */
|
|
2802
|
-
.sbk-plan__pill-content {
|
|
2803
|
-
display: block;
|
|
2804
|
-
padding-left: 20px;
|
|
2805
|
-
text-indent: -20px;
|
|
2806
|
-
font-size: 15px;
|
|
2807
|
-
line-height: 22px;
|
|
2808
|
-
}
|
|
2809
|
-
|
|
2810
|
-
/* Slack's `toggleBarButton`: a 6% tint on hover, an inset blue ring for keyboard focus. */
|
|
2811
|
-
.sbk-plan__pill:hover {
|
|
2812
|
-
background-color: var(--sbk-hover-overlay);
|
|
2813
|
-
}
|
|
2814
|
-
|
|
2815
|
-
.sbk-plan__pill:focus-visible {
|
|
2816
|
-
outline: 2px solid var(--sbk-focus-ring);
|
|
2817
|
-
outline-offset: -2px;
|
|
2818
|
-
}
|
|
2819
|
-
|
|
2820
|
-
/* A 12px slot, as in Slack: the 13px check and warning overhang it rather than push the title. */
|
|
2821
|
-
.sbk-plan__pill-icon {
|
|
2822
|
-
display: inline-flex;
|
|
2823
|
-
width: 12px;
|
|
2824
|
-
/* Slack's `middle` lands here; ours sits 0.5px lower and grows the 22px line box. */
|
|
2825
|
-
vertical-align: -2px;
|
|
2826
|
-
margin: 0 8px 0 0;
|
|
2827
|
-
font-size: 13px;
|
|
2828
|
-
line-height: normal;
|
|
2829
|
-
text-indent: 0;
|
|
2830
|
-
}
|
|
2831
|
-
|
|
2832
|
-
.sbk-plan__pill-title {
|
|
2833
|
-
font-size: 13px;
|
|
2834
|
-
/* Slack's is 19.5px, but with our Lato metrics that overhangs the 22px line by half a pixel. */
|
|
2835
|
-
line-height: 19px;
|
|
2836
|
-
color: var(--sbk-plan-text);
|
|
2837
|
-
}
|
|
2838
|
-
|
|
2839
|
-
.sbk-plan__pill-chevron {
|
|
2840
|
-
display: inline-flex;
|
|
2841
|
-
align-items: center;
|
|
2842
|
-
vertical-align: middle;
|
|
2843
|
-
margin-left: 4px;
|
|
2844
|
-
width: 13px;
|
|
2845
|
-
height: 13px;
|
|
2846
|
-
text-indent: 0;
|
|
2847
|
-
color: var(--sbk-plan-text);
|
|
2848
|
-
}
|
|
2849
|
-
|
|
2850
|
-
/* Slack's toggle-bar status colours: a grey check once done, a red warning on failure, a blue
|
|
2851
|
-
spinner while running. The timeline's dots are grey, lighter while the step is waiting. */
|
|
2852
|
-
.sbk-status-icon--complete,
|
|
2853
|
-
.sbk-status-icon--dot-complete {
|
|
2854
|
-
color: var(--sbk-content-sec);
|
|
2855
|
-
}
|
|
2856
|
-
|
|
2857
|
-
.sbk-status-icon--spinner {
|
|
2858
|
-
color: var(--sbk-link);
|
|
2859
|
-
}
|
|
2860
|
-
|
|
2861
|
-
.sbk-status-icon--error {
|
|
2862
|
-
color: var(--sbk-code-text);
|
|
2863
|
-
}
|
|
2864
|
-
|
|
2865
|
-
.sbk-status-icon--dot {
|
|
2866
|
-
display: block;
|
|
2867
|
-
}
|
|
2868
|
-
|
|
2869
|
-
/* Slack's expanded plan is a timeline: each task is a row with a 12px step indicator (a 1px line
|
|
2870
|
-
in, the status icon, a 1px line out) and the task's content 8px to its right. */
|
|
2871
|
-
.sbk-plan__tasks {
|
|
2872
|
-
list-style: none;
|
|
2873
|
-
margin: 0;
|
|
2874
|
-
padding: 0;
|
|
2875
|
-
}
|
|
2876
|
-
|
|
2877
|
-
.sbk-plan__task {
|
|
2878
|
-
display: flex;
|
|
2879
|
-
font-size: 13px;
|
|
2880
|
-
line-height: 19.0668px;
|
|
2881
|
-
color: var(--sbk-plan-text);
|
|
2882
|
-
}
|
|
2883
|
-
|
|
2884
|
-
.sbk-plan__step {
|
|
2885
|
-
display: flex;
|
|
2886
|
-
flex: 0 0 12px;
|
|
2887
|
-
flex-direction: column;
|
|
2888
|
-
align-items: center;
|
|
2889
|
-
gap: 4px;
|
|
2890
|
-
}
|
|
2891
|
-
|
|
2892
|
-
.sbk-plan__line {
|
|
2893
|
-
width: 1px;
|
|
2894
|
-
background: var(--sbk-surface-ter);
|
|
2895
|
-
}
|
|
2896
|
-
|
|
2897
|
-
.sbk-plan__line--top {
|
|
2898
|
-
flex: 0 0 6px;
|
|
2899
|
-
}
|
|
2900
|
-
|
|
2901
|
-
/* Slack's first step sits 11px below the toggle, not 12. */
|
|
2902
|
-
.sbk-plan__task:first-child .sbk-plan__line--top {
|
|
2903
|
-
flex-basis: 11px;
|
|
2904
|
-
}
|
|
2905
|
-
|
|
2906
|
-
.sbk-plan__line--bottom {
|
|
2907
|
-
flex: 1 1 auto;
|
|
2908
|
-
}
|
|
2909
|
-
|
|
2910
|
-
.sbk-plan__task:last-child .sbk-plan__line--bottom {
|
|
2911
|
-
background: transparent;
|
|
2912
|
-
}
|
|
2913
|
-
|
|
2914
|
-
/* A 12x8 box: the 5px dot centres in it; the 12px spinner and 13px warning overhang it evenly. */
|
|
2915
|
-
.sbk-plan__task-icon {
|
|
2916
|
-
display: flex;
|
|
2917
|
-
flex: 0 0 auto;
|
|
2918
|
-
align-items: center;
|
|
2919
|
-
justify-content: center;
|
|
2920
|
-
width: 12px;
|
|
2921
|
-
height: 8px;
|
|
2922
|
-
margin: 2px 0;
|
|
2923
|
-
}
|
|
2924
|
-
|
|
2925
|
-
.sbk-plan__task-content {
|
|
2926
|
-
flex: 1 1 auto;
|
|
2927
|
-
min-width: 0;
|
|
2928
|
-
margin-left: 8px;
|
|
2929
|
-
}
|
|
2930
|
-
|
|
2931
|
-
.sbk-plan__task:first-child .sbk-plan__task-content {
|
|
2932
|
-
padding-top: 6px;
|
|
2933
|
-
}
|
|
2934
|
-
|
|
2935
|
-
/* Slack's `taskHeaderSlim`: an unstyled button, the title and a 13px caret 4px apart. */
|
|
2936
|
-
.sbk-plan__task-header {
|
|
2937
|
-
display: flex;
|
|
2938
|
-
align-items: center;
|
|
2939
|
-
gap: 4px;
|
|
2940
|
-
padding: 4px 0;
|
|
2941
|
-
border: 0;
|
|
2942
|
-
background: none;
|
|
2943
|
-
font: inherit;
|
|
2944
|
-
color: inherit;
|
|
2945
|
-
text-align: start;
|
|
2946
|
-
cursor: pointer;
|
|
2947
|
-
}
|
|
2948
|
-
|
|
2949
|
-
.sbk-plan__task-header[aria-disabled="true"] {
|
|
2950
|
-
cursor: default;
|
|
2951
|
-
}
|
|
2952
|
-
|
|
2953
|
-
.sbk-plan__task-header:focus-visible {
|
|
2954
|
-
outline: 2px solid var(--sbk-focus-ring);
|
|
2955
|
-
outline-offset: -2px;
|
|
2956
|
-
}
|
|
2957
|
-
|
|
2958
|
-
.sbk-plan__task-title {
|
|
2959
|
-
margin: 2px 0;
|
|
2960
|
-
}
|
|
2961
|
-
|
|
2962
|
-
/* Slack's caret sits 1px below the header's centre line. */
|
|
2963
|
-
.sbk-plan__task-caret {
|
|
2964
|
-
display: flex;
|
|
2965
|
-
width: 13px;
|
|
2966
|
-
height: 13px;
|
|
2967
|
-
margin-top: 2px;
|
|
2968
|
-
}
|
|
2969
|
-
|
|
2970
|
-
.sbk-plan__task-body {
|
|
2971
|
-
display: flex;
|
|
2972
|
-
flex-direction: column;
|
|
2973
|
-
gap: 4px;
|
|
2974
|
-
}
|
|
2975
|
-
|
|
2976
|
-
.sbk-plan__task-sources {
|
|
2977
|
-
list-style: none;
|
|
2978
|
-
margin: 0;
|
|
2979
|
-
padding: 0;
|
|
2980
|
-
}
|
|
2981
|
-
|
|
2982
|
-
.sbk-plan__task-source-link {
|
|
2983
|
-
color: var(--sbk-link);
|
|
2984
|
-
text-decoration: none;
|
|
2985
|
-
}
|
|
2986
|
-
|
|
2987
|
-
.sbk-plan__task-source-link:hover {
|
|
2988
|
-
text-decoration: underline;
|
|
2989
|
-
}
|
|
2990
|
-
|
|
2991
|
-
.sbk-rich-text {
|
|
2992
|
-
font-family: var(--sbk-font);
|
|
2993
|
-
font-size: 15px;
|
|
2994
|
-
line-height: 22px;
|
|
2995
|
-
color: var(--sbk-text);
|
|
2996
|
-
overflow-wrap: anywhere;
|
|
2997
|
-
}
|
|
2998
|
-
|
|
2999
|
-
.sbk-rich-text__section {
|
|
3000
|
-
display: block;
|
|
3001
|
-
}
|
|
3002
|
-
|
|
3003
|
-
.sbk-rich-text__br {
|
|
3004
|
-
display: block;
|
|
3005
|
-
height: 8px;
|
|
3006
|
-
}
|
|
3007
|
-
|
|
3008
|
-
.sbk-rich-text__jumbo-emoji {
|
|
3009
|
-
display: inline-flex;
|
|
3010
|
-
align-items: center;
|
|
3011
|
-
gap: 4px;
|
|
3012
|
-
}
|
|
3013
|
-
|
|
3014
|
-
.sbk-rich-text__quote {
|
|
3015
|
-
margin: 4px 0;
|
|
3016
|
-
padding-left: 16px;
|
|
3017
|
-
position: relative;
|
|
3018
|
-
}
|
|
3019
|
-
|
|
3020
|
-
.sbk-rich-text__quote::before {
|
|
3021
|
-
content: "";
|
|
3022
|
-
position: absolute;
|
|
3023
|
-
inset: 0 auto 0 0;
|
|
3024
|
-
width: 4px;
|
|
3025
|
-
border-radius: 8px;
|
|
3026
|
-
background: var(--sbk-quote-bar);
|
|
3027
|
-
}
|
|
3028
|
-
|
|
3029
|
-
.sbk-rich-text__pre {
|
|
3030
|
-
display: block;
|
|
3031
|
-
position: relative;
|
|
3032
|
-
margin: 4px 0;
|
|
3033
|
-
padding: 8px;
|
|
3034
|
-
font-family: var(--sbk-font-mono);
|
|
3035
|
-
font-size: 12px;
|
|
3036
|
-
line-height: 1.50001;
|
|
3037
|
-
color: var(--sbk-text);
|
|
3038
|
-
background: var(--sbk-code-bg);
|
|
3039
|
-
border: 1px solid var(--sbk-code-border);
|
|
3040
|
-
border-radius: 4px;
|
|
3041
|
-
white-space: pre-wrap;
|
|
3042
|
-
overflow-wrap: anywhere;
|
|
3043
|
-
}
|
|
3044
|
-
|
|
3045
|
-
.sbk-rich-text__pre-copy {
|
|
3046
|
-
display: flex;
|
|
3047
|
-
align-items: center;
|
|
3048
|
-
justify-content: center;
|
|
3049
|
-
position: absolute;
|
|
3050
|
-
top: 4px;
|
|
3051
|
-
right: 4px;
|
|
3052
|
-
width: 28px;
|
|
3053
|
-
height: 28px;
|
|
3054
|
-
color: rgb(69, 68, 71);
|
|
3055
|
-
background: rgba(29, 28, 29, 0.04);
|
|
3056
|
-
border-radius: 4px;
|
|
3057
|
-
/* Slack's copy control (`container__nrkPh`) is invisible until the code block is hovered. */
|
|
3058
|
-
opacity: 0;
|
|
3059
|
-
}
|
|
3060
|
-
|
|
3061
|
-
.sbk-rich-text__pre:hover .sbk-rich-text__pre-copy,
|
|
3062
|
-
.sbk-rich-text__pre:focus-within .sbk-rich-text__pre-copy {
|
|
3063
|
-
opacity: 1;
|
|
3064
|
-
}
|
|
3065
|
-
|
|
3066
|
-
.sbk-rich-text__color-swatch {
|
|
3067
|
-
display: inline-block;
|
|
3068
|
-
vertical-align: middle;
|
|
3069
|
-
margin: 0 0 -1px 2px;
|
|
3070
|
-
width: 13px;
|
|
3071
|
-
height: 13px;
|
|
3072
|
-
border: 1px solid var(--sbk-muted);
|
|
3073
|
-
border-radius: 3px;
|
|
3074
|
-
}
|
|
3075
|
-
|
|
3076
|
-
.sbk-rich-list {
|
|
3077
|
-
margin: 0;
|
|
3078
|
-
list-style-position: outside;
|
|
3079
|
-
}
|
|
3080
|
-
|
|
3081
|
-
.sbk-rich-list--ordered {
|
|
3082
|
-
padding: 0 0 0 11px;
|
|
3083
|
-
}
|
|
3084
|
-
|
|
3085
|
-
.sbk-rich-list--bullet {
|
|
3086
|
-
padding: 0;
|
|
3087
|
-
list-style: none;
|
|
3088
|
-
}
|
|
3089
|
-
|
|
3090
|
-
/* Slack's bullets are its icon font's presence glyphs, cycling dot, ring and square by indent,
|
|
3091
|
-
each 15px glyph centred in a 22px slot that hangs 28px left of the text. */
|
|
3092
|
-
.sbk-rich-list--bullet > .sbk-rich-list__item::before {
|
|
3093
|
-
content: "";
|
|
3094
|
-
display: inline-block;
|
|
3095
|
-
width: 22px;
|
|
3096
|
-
height: 15px;
|
|
3097
|
-
margin-left: -28px;
|
|
3098
|
-
margin-right: 6px;
|
|
3099
|
-
vertical-align: -2px;
|
|
3100
|
-
background: currentColor;
|
|
3101
|
-
mask: var(--sbk-bullet) center / 15px 15px no-repeat;
|
|
3102
|
-
}
|
|
3103
|
-
|
|
3104
|
-
.sbk-rich-list--bullet:is([data-indent="0"], [data-indent="3"], [data-indent="6"]) {
|
|
3105
|
-
--sbk-bullet: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 2000 2000%22><path transform=%22matrix(1 0 0 -1 0 1700)%22 d=%22M1000 150C1249 150 1450 351 1450 600C1450 849 1249 1050 1000 1050C751 1050 550 849 550 600C550 351 751 150 1000 150Z%22/></svg>");
|
|
3106
|
-
}
|
|
3107
|
-
|
|
3108
|
-
.sbk-rich-list--bullet:is([data-indent="1"], [data-indent="4"], [data-indent="7"]) {
|
|
3109
|
-
--sbk-bullet: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 2000 2000%22><path transform=%22matrix(1 0 0 -1 0 1700)%22 d=%22M1000 150C1249 150 1450 351 1450 600C1450 849 1249 1050 1000 1050C751 1050 550 849 550 600C550 351 751 150 1000 150ZM1000 300C834 300 700 434 700 600C700 766 834 900 1000 900C1166 900 1300 766 1300 600C1300 434 1166 300 1000 300Z%22/></svg>");
|
|
3110
|
-
}
|
|
3111
|
-
|
|
3112
|
-
.sbk-rich-list--bullet:is([data-indent="2"], [data-indent="5"], [data-indent="8"]) {
|
|
3113
|
-
--sbk-bullet: url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 2000 2000%22><path transform=%22matrix(1 0 0 -1 0 1700)%22 d=%22M550 303C550 214 614 150 703 150H1297C1386 150 1450 214 1450 303V897C1450 986 1386 1050 1297 1050H703C614 1050 550 986 550 897Z%22/></svg>");
|
|
3114
|
-
}
|
|
3115
|
-
|
|
3116
|
-
.sbk-rich-list__item {
|
|
3117
|
-
display: list-item;
|
|
3118
|
-
}
|
|
3119
|
-
|
|
3120
|
-
.sbk-rich-list--ordered > .sbk-rich-list__item {
|
|
3121
|
-
margin: 0 0 0 20px;
|
|
3122
|
-
padding-left: 8px;
|
|
3123
|
-
}
|
|
3124
|
-
|
|
3125
|
-
.sbk-rich-list--bullet > .sbk-rich-list__item {
|
|
3126
|
-
margin: 0 0 0 28px;
|
|
3127
|
-
}
|
|
3128
|
-
|
|
3129
|
-
/* A list with `border: 1` carries the same left bar as a quote, so the two join visually. */
|
|
3130
|
-
.sbk-rich-list--bordered {
|
|
3131
|
-
position: relative;
|
|
3132
|
-
margin-left: 0;
|
|
3133
|
-
}
|
|
3134
|
-
|
|
3135
|
-
.sbk-rich-list--bordered::before {
|
|
3136
|
-
content: "";
|
|
3137
|
-
position: absolute;
|
|
3138
|
-
inset: 0 auto 0 0;
|
|
3139
|
-
width: 4px;
|
|
3140
|
-
border-radius: 8px;
|
|
3141
|
-
background: var(--sbk-quote-bar);
|
|
3142
|
-
}
|
|
3143
|
-
|
|
3144
|
-
.sbk-section {
|
|
3145
|
-
display: flex;
|
|
3146
|
-
margin: 8px 0 4px;
|
|
3147
|
-
}
|
|
3148
|
-
|
|
3149
|
-
.sbk-section__content {
|
|
3150
|
-
flex: 1 1 0;
|
|
3151
|
-
min-width: 0;
|
|
3152
|
-
}
|
|
3153
|
-
|
|
3154
|
-
.sbk-section__fields {
|
|
3155
|
-
display: flex;
|
|
3156
|
-
flex-wrap: wrap;
|
|
3157
|
-
}
|
|
3158
|
-
|
|
3159
|
-
.sbk-section__field {
|
|
3160
|
-
width: calc(50% - 16px);
|
|
3161
|
-
}
|
|
3162
|
-
|
|
3163
|
-
.sbk-section__field:nth-child(even) {
|
|
3164
|
-
margin-left: 16px;
|
|
3165
|
-
}
|
|
3166
|
-
|
|
3167
|
-
.sbk-section__text + .sbk-section__fields {
|
|
3168
|
-
margin-top: 12px;
|
|
3169
|
-
}
|
|
3170
|
-
|
|
3171
|
-
.sbk-section__text--clamped {
|
|
3172
|
-
display: -webkit-box;
|
|
3173
|
-
-webkit-box-orient: vertical;
|
|
3174
|
-
overflow: hidden;
|
|
3175
|
-
}
|
|
3176
|
-
|
|
3177
|
-
.sbk-section__toggle {
|
|
3178
|
-
display: block;
|
|
3179
|
-
margin-top: 2px;
|
|
3180
|
-
padding: 0;
|
|
3181
|
-
border: 0;
|
|
3182
|
-
background: none;
|
|
3183
|
-
font: inherit;
|
|
3184
|
-
font-size: 13px;
|
|
3185
|
-
color: var(--sbk-link);
|
|
3186
|
-
cursor: pointer;
|
|
3187
|
-
}
|
|
3188
|
-
|
|
3189
|
-
.sbk-section__accessory {
|
|
3190
|
-
display: flex;
|
|
3191
|
-
position: relative;
|
|
3192
|
-
margin: 0 0 4px 8px;
|
|
3193
|
-
}
|
|
3194
|
-
|
|
3195
|
-
.sbk-section--stacked {
|
|
3196
|
-
flex-direction: column;
|
|
3197
|
-
}
|
|
3198
|
-
|
|
3199
|
-
.sbk-section--stacked .sbk-section__accessory {
|
|
3200
|
-
margin: 4px 0;
|
|
3201
|
-
}
|
|
3202
|
-
|
|
3203
|
-
/* Values measured from Slack's Block Kit Builder for the `table` block. */
|
|
3204
|
-
:root,
|
|
3205
|
-
[data-theme="light"] {
|
|
3206
|
-
--sbk-table-border: rgba(94, 93, 96, 0.13);
|
|
3207
|
-
}
|
|
3208
|
-
|
|
3209
|
-
.sbk-table {
|
|
3210
|
-
padding: 4px 0;
|
|
3211
|
-
}
|
|
3212
|
-
|
|
3213
|
-
/* Scrolls wide tables while the hover actions stay pinned to the visible corner. */
|
|
3214
|
-
.sbk-table__scroll {
|
|
3215
|
-
overflow: auto;
|
|
3216
|
-
}
|
|
3217
|
-
|
|
3218
|
-
/* Separate borders (right + bottom on every cell, plus the outer top and left edges), as Slack
|
|
3219
|
-
draws them: collapsed borders land the rows on half pixels. */
|
|
3220
|
-
.sbk-table__table {
|
|
3221
|
-
border-collapse: separate;
|
|
3222
|
-
border-spacing: 0;
|
|
3223
|
-
font-size: 15px;
|
|
3224
|
-
line-height: 22px;
|
|
3225
|
-
}
|
|
3226
|
-
|
|
3227
|
-
.sbk-table__thead,
|
|
3228
|
-
.sbk-table__tbody {
|
|
3229
|
-
background-color: var(--sbk-bg);
|
|
3230
|
-
}
|
|
3231
|
-
|
|
3232
|
-
.sbk-table__th,
|
|
3233
|
-
.sbk-table__td {
|
|
3234
|
-
box-sizing: border-box;
|
|
3235
|
-
height: 28px;
|
|
3236
|
-
padding: 2px 12px 0;
|
|
3237
|
-
text-align: left;
|
|
3238
|
-
vertical-align: top;
|
|
3239
|
-
white-space: nowrap;
|
|
3240
|
-
border-right: 1px solid var(--sbk-table-border);
|
|
3241
|
-
border-bottom: 1px solid var(--sbk-table-border);
|
|
3242
|
-
}
|
|
3243
|
-
|
|
3244
|
-
.sbk-table__table > :first-child > tr:first-child > * {
|
|
3245
|
-
border-top: 1px solid var(--sbk-table-border);
|
|
3246
|
-
}
|
|
3247
|
-
|
|
3248
|
-
.sbk-table__table tr > :first-child {
|
|
3249
|
-
border-left: 1px solid var(--sbk-table-border);
|
|
3250
|
-
}
|
|
3251
|
-
|
|
3252
|
-
.sbk-table__th {
|
|
3253
|
-
font-weight: 700;
|
|
3254
|
-
}
|
|
3255
|
-
|
|
3256
|
-
.sbk-table__thead tr:first-child th:first-child {
|
|
3257
|
-
border-top-left-radius: 4px;
|
|
3258
|
-
}
|
|
3259
|
-
|
|
3260
|
-
.sbk-table__thead tr:first-child th:last-child {
|
|
3261
|
-
border-top-right-radius: 4px;
|
|
3262
|
-
}
|
|
3263
|
-
|
|
3264
|
-
.sbk-table__tbody tr:last-child td:first-child {
|
|
3265
|
-
border-bottom-left-radius: 4px;
|
|
3266
|
-
}
|
|
3267
|
-
|
|
3268
|
-
.sbk-table__tbody tr:last-child td:last-child {
|
|
3269
|
-
border-bottom-right-radius: 4px;
|
|
3270
|
-
}
|
|
3271
|
-
|
|
3272
|
-
:root,
|
|
3273
|
-
[data-theme="light"] {
|
|
3274
|
-
--sbk-task-card-text: rgb(94, 93, 96);
|
|
3275
|
-
}
|
|
3276
|
-
|
|
3277
|
-
.sbk-task-card {
|
|
3278
|
-
display: flex;
|
|
3279
|
-
flex-direction: column;
|
|
3280
|
-
margin: 8px 0;
|
|
3281
|
-
}
|
|
3282
|
-
|
|
3283
|
-
.sbk-task-card__pill {
|
|
3284
|
-
display: flex;
|
|
3285
|
-
align-self: flex-start;
|
|
3286
|
-
padding: 0;
|
|
3287
|
-
border: 0;
|
|
3288
|
-
background: transparent;
|
|
3289
|
-
border-radius: 12px;
|
|
3290
|
-
cursor: pointer;
|
|
3291
|
-
font: inherit;
|
|
3292
|
-
color: inherit;
|
|
3293
|
-
text-align: left;
|
|
3294
|
-
max-width: 100%;
|
|
3295
|
-
}
|
|
3296
|
-
|
|
3297
|
-
/* Slack sets the toggle as inline text: the status icon hangs in a 20px indent and the icon and
|
|
3298
|
-
caret sit `vertical-align: middle` on the 13px title's line. */
|
|
3299
|
-
.sbk-task-card__pill-content {
|
|
3300
|
-
display: block;
|
|
3301
|
-
padding-left: 20px;
|
|
3302
|
-
text-indent: -20px;
|
|
3303
|
-
font-size: 15px;
|
|
3304
|
-
line-height: 22px;
|
|
3305
|
-
}
|
|
3306
|
-
|
|
3307
|
-
/* Slack's `toggleBarButton`: a 6% tint on hover, an inset blue ring for keyboard focus. */
|
|
3308
|
-
.sbk-task-card__pill[aria-disabled="true"] {
|
|
3309
|
-
cursor: default;
|
|
3310
|
-
}
|
|
3311
|
-
|
|
3312
|
-
.sbk-task-card__pill:not([aria-disabled="true"]):hover {
|
|
3313
|
-
background-color: var(--sbk-hover-overlay);
|
|
3314
|
-
}
|
|
3315
|
-
|
|
3316
|
-
.sbk-task-card__pill:focus-visible {
|
|
3317
|
-
outline: 2px solid var(--sbk-focus-ring);
|
|
3318
|
-
outline-offset: -2px;
|
|
3319
|
-
}
|
|
3320
|
-
|
|
3321
|
-
/* A 12px slot, as in Slack: the 13px check and warning overhang it rather than push the title. */
|
|
3322
|
-
.sbk-task-card__pill-icon {
|
|
3323
|
-
display: inline-flex;
|
|
3324
|
-
width: 12px;
|
|
3325
|
-
/* Slack's `middle` lands here; ours sits 0.5px lower and grows the 22px line box. */
|
|
3326
|
-
vertical-align: -2px;
|
|
3327
|
-
margin: 0 8px 0 0;
|
|
3328
|
-
font-size: 13px;
|
|
3329
|
-
line-height: normal;
|
|
3330
|
-
text-indent: 0;
|
|
3331
|
-
}
|
|
3332
|
-
|
|
3333
|
-
.sbk-task-card__pill-title {
|
|
3334
|
-
font-size: 13px;
|
|
3335
|
-
/* Slack's is 19.5px, but with our Lato metrics that overhangs the 22px line by half a pixel. */
|
|
3336
|
-
line-height: 19px;
|
|
3337
|
-
color: var(--sbk-task-card-text);
|
|
3338
|
-
}
|
|
3339
|
-
|
|
3340
|
-
.sbk-task-card__pill-chevron {
|
|
3341
|
-
display: inline-flex;
|
|
3342
|
-
align-items: center;
|
|
3343
|
-
vertical-align: middle;
|
|
3344
|
-
margin-left: 4px;
|
|
3345
|
-
width: 13px;
|
|
3346
|
-
height: 13px;
|
|
3347
|
-
text-indent: 0;
|
|
3348
|
-
color: var(--sbk-task-card-text);
|
|
3349
|
-
}
|
|
3350
|
-
|
|
3351
|
-
/* Slack's expanded card is a short timeline: the details, with a 1px rule 6px in from the left,
|
|
3352
|
-
then a step whose 5px dot and rule sit in a 12px rail 8px left of the output and sources. */
|
|
3353
|
-
.sbk-task-card__body {
|
|
3354
|
-
font-size: 13px;
|
|
3355
|
-
line-height: 19.0668px;
|
|
3356
|
-
color: var(--sbk-task-card-text);
|
|
3357
|
-
}
|
|
3358
|
-
|
|
3359
|
-
.sbk-task-card__details {
|
|
3360
|
-
position: relative;
|
|
3361
|
-
padding: 0 20px;
|
|
3362
|
-
}
|
|
3363
|
-
|
|
3364
|
-
.sbk-task-card__details::before {
|
|
3365
|
-
content: "";
|
|
3366
|
-
position: absolute;
|
|
3367
|
-
top: 0;
|
|
3368
|
-
bottom: 0;
|
|
3369
|
-
left: 6px;
|
|
3370
|
-
width: 1px;
|
|
3371
|
-
background-color: var(--sbk-surface-ter);
|
|
3372
|
-
}
|
|
3373
|
-
|
|
3374
|
-
/* Slack underlines the links inside a task's rich text. */
|
|
3375
|
-
.sbk-task-card__details .sbk-rtmini__link,
|
|
3376
|
-
.sbk-task-card__output .sbk-rtmini__link {
|
|
3377
|
-
text-decoration: underline;
|
|
3378
|
-
}
|
|
3379
|
-
|
|
3380
|
-
.sbk-task-card__step {
|
|
3381
|
-
display: flex;
|
|
3382
|
-
gap: 8px;
|
|
3383
|
-
}
|
|
3384
|
-
|
|
3385
|
-
.sbk-task-card__rail {
|
|
3386
|
-
display: flex;
|
|
3387
|
-
flex: 0 0 12px;
|
|
3388
|
-
flex-direction: column;
|
|
3389
|
-
align-items: center;
|
|
3390
|
-
margin-top: 7px;
|
|
3391
|
-
}
|
|
3392
|
-
|
|
3393
|
-
.sbk-task-card__dot {
|
|
3394
|
-
display: flex;
|
|
3395
|
-
padding-bottom: 2px;
|
|
3396
|
-
}
|
|
3397
|
-
|
|
3398
|
-
.sbk-task-card__line {
|
|
3399
|
-
flex: 1 1 auto;
|
|
3400
|
-
width: 1px;
|
|
3401
|
-
margin-top: 8px;
|
|
3402
|
-
background-color: var(--sbk-surface-ter);
|
|
3403
|
-
}
|
|
3404
|
-
|
|
3405
|
-
.sbk-task-card__step-content {
|
|
3406
|
-
flex: 1 1 auto;
|
|
3407
|
-
min-width: 0;
|
|
3408
|
-
}
|
|
3409
|
-
|
|
3410
|
-
.sbk-task-card__output {
|
|
3411
|
-
margin-bottom: 4px;
|
|
3412
|
-
}
|
|
3413
|
-
|
|
3414
|
-
.sbk-task-card__sources {
|
|
3415
|
-
list-style: none;
|
|
3416
|
-
margin: 0;
|
|
3417
|
-
padding: 0;
|
|
3418
|
-
}
|
|
3419
|
-
|
|
3420
|
-
.sbk-task-card__source-link {
|
|
3421
|
-
color: var(--sbk-link);
|
|
3422
|
-
text-decoration: none;
|
|
3423
|
-
}
|
|
3424
|
-
|
|
3425
|
-
.sbk-task-card__source-link:hover {
|
|
3426
|
-
text-decoration: underline;
|
|
3427
|
-
}
|
|
3428
|
-
|
|
3429
|
-
.sbk-video {
|
|
3430
|
-
padding: 8px 0;
|
|
3431
|
-
max-width: 360px;
|
|
3432
|
-
line-height: 22px;
|
|
3433
|
-
}
|
|
3434
|
-
|
|
3435
|
-
.sbk-video__byline {
|
|
3436
|
-
color: var(--sbk-muted);
|
|
3437
|
-
white-space: nowrap;
|
|
3438
|
-
}
|
|
3439
|
-
|
|
3440
|
-
.sbk-video__provider-icon {
|
|
3441
|
-
width: 16px;
|
|
3442
|
-
height: 16px;
|
|
3443
|
-
margin: 0 8px 3px 0;
|
|
3444
|
-
border-radius: 2px;
|
|
3445
|
-
vertical-align: middle;
|
|
3446
|
-
}
|
|
3447
|
-
|
|
3448
|
-
.sbk-video__provider {
|
|
3449
|
-
font-weight: 900;
|
|
3450
|
-
color: var(--sbk-text);
|
|
3451
|
-
}
|
|
3452
|
-
|
|
3453
|
-
.sbk-video__separator {
|
|
3454
|
-
color: rgb(221, 221, 221);
|
|
3455
|
-
white-space: pre;
|
|
3456
|
-
}
|
|
3457
|
-
|
|
3458
|
-
.sbk-video__description {
|
|
3459
|
-
color: var(--sbk-text);
|
|
3460
|
-
}
|
|
3461
|
-
|
|
3462
|
-
.sbk-video__title {
|
|
3463
|
-
color: var(--sbk-link);
|
|
3464
|
-
}
|
|
3465
|
-
|
|
3466
|
-
/* A plain `c-link`: underlined only on hover. */
|
|
3467
|
-
.sbk-video__title a {
|
|
3468
|
-
color: inherit;
|
|
3469
|
-
text-decoration: none;
|
|
3470
|
-
}
|
|
3471
|
-
|
|
3472
|
-
.sbk-video__title a:hover {
|
|
3473
|
-
text-decoration: underline;
|
|
3474
|
-
}
|
|
3475
|
-
|
|
3476
|
-
/* Slack's caret that expands the inline player. */
|
|
3477
|
-
.sbk-video__expand {
|
|
3478
|
-
display: inline-block;
|
|
3479
|
-
margin: -4px 0 0 3px;
|
|
3480
|
-
vertical-align: middle;
|
|
3481
|
-
line-height: 15px;
|
|
3482
|
-
}
|
|
3483
|
-
|
|
3484
|
-
.sbk-video__frame {
|
|
3485
|
-
display: block;
|
|
3486
|
-
position: relative;
|
|
3487
|
-
/* Slack renders a fixed 360x283 box regardless of the thumbnail's own aspect ratio, letterboxing
|
|
3488
|
-
the thumbnail inside it. */
|
|
3489
|
-
width: 360px;
|
|
3490
|
-
height: 283px;
|
|
3491
|
-
max-width: 100%;
|
|
3492
|
-
background: #000;
|
|
3493
|
-
overflow: hidden;
|
|
3494
|
-
}
|
|
3495
|
-
|
|
3496
|
-
/* Slack's p-video_overlay--controls: a bottom gradient fades in while hovered or focused. */
|
|
3497
|
-
.sbk-video__frame::before {
|
|
3498
|
-
content: "";
|
|
3499
|
-
position: absolute;
|
|
3500
|
-
inset: 0;
|
|
3501
|
-
z-index: 1;
|
|
3502
|
-
pointer-events: none;
|
|
3503
|
-
opacity: 0;
|
|
3504
|
-
background: linear-gradient(rgba(29, 28, 29, 0), rgba(29, 28, 29, 0.7) 70%);
|
|
3505
|
-
transition: opacity 80ms cubic-bezier(0.36, 0.19, 0.29, 1);
|
|
3506
|
-
}
|
|
3507
|
-
|
|
3508
|
-
.sbk-video__frame:hover::before,
|
|
3509
|
-
.sbk-video__frame:focus-within::before,
|
|
3510
|
-
.sbk-video__frame:focus-visible::before {
|
|
3511
|
-
opacity: 1;
|
|
3512
|
-
}
|
|
3513
|
-
|
|
3514
|
-
.sbk-video__thumb {
|
|
3515
|
-
position: absolute;
|
|
3516
|
-
inset: 0;
|
|
3517
|
-
width: 100%;
|
|
3518
|
-
height: 100%;
|
|
3519
|
-
object-fit: contain;
|
|
3520
|
-
}
|
|
3521
|
-
|
|
3522
|
-
.sbk-video__play {
|
|
3523
|
-
position: absolute;
|
|
3524
|
-
left: 16px;
|
|
3525
|
-
bottom: 16px;
|
|
3526
|
-
display: flex;
|
|
3527
|
-
align-items: center;
|
|
3528
|
-
gap: 8px;
|
|
3529
|
-
height: 30px;
|
|
3530
|
-
padding: 4px 8px 4px 6px;
|
|
3531
|
-
font-weight: 700;
|
|
3532
|
-
color: #fff;
|
|
3533
|
-
background: rgba(29, 28, 29, 0.8);
|
|
3534
|
-
border-radius: 4px;
|
|
3535
|
-
z-index: 2;
|
|
3536
|
-
transition:
|
|
3537
|
-
background 80ms cubic-bezier(0.36, 0.19, 0.29, 1),
|
|
3538
|
-
opacity 80ms cubic-bezier(0.36, 0.19, 0.29, 1);
|
|
3539
|
-
}
|
|
3540
|
-
|
|
3541
|
-
/* Messages use Slack's small button variant. */
|
|
3542
|
-
.sbk-button {
|
|
3543
|
-
display: block;
|
|
3544
|
-
position: relative;
|
|
3545
|
-
height: 28px;
|
|
3546
|
-
min-width: 56px;
|
|
3547
|
-
padding: 0 8px 1px;
|
|
3548
|
-
border: 1px solid var(--sbk-button-border);
|
|
3549
|
-
border-radius: 4px;
|
|
3550
|
-
background: var(--sbk-bg);
|
|
3551
|
-
background-clip: padding-box;
|
|
3552
|
-
color: var(--sbk-text);
|
|
3553
|
-
font: 700 13px / normal var(--sbk-font);
|
|
3554
|
-
text-align: center;
|
|
3555
|
-
white-space: nowrap;
|
|
3556
|
-
cursor: pointer;
|
|
3557
|
-
appearance: none;
|
|
3558
|
-
transition:
|
|
3559
|
-
color 80ms,
|
|
3560
|
-
background-color 80ms,
|
|
3561
|
-
border-color 80ms cubic-bezier(0.36, 0.19, 0.29, 1);
|
|
3562
|
-
}
|
|
3563
|
-
|
|
3564
|
-
/* Slack's `c-button` hover model: outline buttons swap to a light gray fill, filled buttons
|
|
3565
|
-
darken through a `multiply` gradient overlay. Both raise a two-layer shadow on hover and drop
|
|
3566
|
-
it while pressed. Values read from the Block Kit Builder's live stylesheet. */
|
|
3567
|
-
.sbk-button:hover {
|
|
3568
|
-
background-color: var(--sbk-button-hover-bg);
|
|
3569
|
-
box-shadow: var(--sbk-button-hover-shadow);
|
|
3570
|
-
}
|
|
3571
|
-
|
|
3572
|
-
.sbk-button:active {
|
|
3573
|
-
background-color: var(--sbk-button-hover-bg);
|
|
3574
|
-
box-shadow: none;
|
|
3575
|
-
}
|
|
3576
|
-
|
|
3577
|
-
.sbk-button--primary,
|
|
3578
|
-
.sbk-button--danger {
|
|
3579
|
-
border: 0;
|
|
3580
|
-
color: #fff;
|
|
3581
|
-
}
|
|
3582
|
-
|
|
3583
|
-
.sbk-button--primary {
|
|
3584
|
-
background: var(--sbk-primary);
|
|
3585
|
-
}
|
|
3586
|
-
|
|
3587
|
-
.sbk-button--primary:hover,
|
|
3588
|
-
.sbk-button--primary:active,
|
|
3589
|
-
.sbk-button--danger:hover,
|
|
3590
|
-
.sbk-button--danger:active {
|
|
3591
|
-
background-image: linear-gradient(var(--sbk-button-overlay), var(--sbk-button-overlay));
|
|
3592
|
-
background-blend-mode: multiply;
|
|
3593
|
-
}
|
|
3594
|
-
|
|
3595
|
-
.sbk-button--primary:hover {
|
|
3596
|
-
--sbk-button-overlay: #0a403221;
|
|
3597
|
-
background-color: var(--sbk-primary);
|
|
3598
|
-
}
|
|
3599
|
-
|
|
3600
|
-
.sbk-button--primary:active {
|
|
3601
|
-
--sbk-button-overlay: #0a403238;
|
|
3602
|
-
background-color: var(--sbk-primary);
|
|
3603
|
-
}
|
|
3604
|
-
|
|
3605
|
-
.sbk-button--danger {
|
|
3606
|
-
background: var(--sbk-danger);
|
|
3607
|
-
}
|
|
3608
|
-
|
|
3609
|
-
.sbk-button--danger:hover {
|
|
3610
|
-
--sbk-button-overlay: #59000f17;
|
|
3611
|
-
background-color: var(--sbk-danger);
|
|
3612
|
-
}
|
|
3613
|
-
|
|
3614
|
-
.sbk-button--danger:active {
|
|
3615
|
-
--sbk-button-overlay: #59000f38;
|
|
3616
|
-
background-color: var(--sbk-danger);
|
|
3617
|
-
}
|
|
3618
|
-
|
|
3619
|
-
.sbk-checkboxes {
|
|
3620
|
-
display: flex;
|
|
3621
|
-
flex-direction: column;
|
|
3622
|
-
/* Slack renders checkboxes inside a `<fieldset>` in every context (input, section accessory,
|
|
3623
|
-
actions), which carries a fixed ~24px bottom margin beyond the last option row — confirmed
|
|
3624
|
-
via inspect.ts against catalog/input/checkboxes, catalog/section/checkboxes, and
|
|
3625
|
-
catalog/actions/checkboxes (all measured 24px of trailing space). */
|
|
3626
|
-
margin-bottom: 24px;
|
|
3627
|
-
}
|
|
3628
|
-
|
|
3629
|
-
.sbk-checkboxes__option {
|
|
3630
|
-
display: flex;
|
|
3631
|
-
align-items: flex-start;
|
|
3632
|
-
/* Slack's Builder packs option rows with zero gap between them — each row's own height (22px
|
|
3633
|
-
for a text-only option, 44px for a text+description option) sets the pitch on its own,
|
|
3634
|
-
confirmed via inspect.ts against the same three fixtures above. */
|
|
3635
|
-
line-height: 22px;
|
|
3636
|
-
cursor: pointer;
|
|
3637
|
-
}
|
|
3638
|
-
|
|
3639
|
-
.sbk-checkboxes__input {
|
|
3640
|
-
appearance: none;
|
|
3641
|
-
flex: 0 0 auto;
|
|
3642
|
-
width: 14px;
|
|
3643
|
-
height: 14px;
|
|
3644
|
-
margin: 6px 4px 2px 4px;
|
|
3645
|
-
border: 1px solid var(--sbk-button-border);
|
|
3646
|
-
border-radius: 4px;
|
|
3647
|
-
background: var(--sbk-bg);
|
|
3648
|
-
cursor: pointer;
|
|
3649
|
-
position: relative;
|
|
3650
|
-
transition: 80ms cubic-bezier(0.36, 0.19, 0.29, 1);
|
|
3651
|
-
}
|
|
3652
|
-
|
|
3653
|
-
/* Slack's `.p-checkboxes_element .c-input_checkbox`: darker border plus a faint overlay on hover,
|
|
3654
|
-
a stronger overlay while pressed, and a 2px blue ring for keyboard focus. */
|
|
3655
|
-
.sbk-checkboxes__option:hover .sbk-checkboxes__input:not(:checked) {
|
|
3656
|
-
border-color: var(--sbk-outline-pry);
|
|
3657
|
-
background-image: linear-gradient(var(--sbk-interaction-hover), var(--sbk-interaction-hover));
|
|
3658
|
-
}
|
|
3659
|
-
|
|
3660
|
-
.sbk-checkboxes__input:not(:checked):active {
|
|
3661
|
-
background-image: linear-gradient(var(--sbk-interaction-pressed), var(--sbk-interaction-pressed));
|
|
3662
|
-
}
|
|
3663
|
-
|
|
3664
|
-
.sbk-checkboxes__input:focus-visible {
|
|
3665
|
-
outline: 2px solid var(--sbk-focus-ring);
|
|
3666
|
-
outline-offset: 1px;
|
|
3667
|
-
}
|
|
3668
|
-
|
|
3669
|
-
/* Slack's checked box is solid blue with no border; hover/focus and press darken it with the same
|
|
3670
|
-
multiply overlays Slack's blue buttons use. */
|
|
3671
|
-
.sbk-checkboxes__input:checked {
|
|
3672
|
-
border-color: transparent;
|
|
3673
|
-
background-color: var(--sbk-checkbox-checked);
|
|
3674
|
-
}
|
|
3675
|
-
|
|
3676
|
-
.sbk-checkboxes__option:hover .sbk-checkboxes__input:checked,
|
|
3677
|
-
.sbk-checkboxes__input:checked:focus-visible {
|
|
3678
|
-
background-image: linear-gradient(
|
|
3679
|
-
var(--sbk-checkbox-checked-hover),
|
|
3680
|
-
var(--sbk-checkbox-checked-hover)
|
|
3681
|
-
);
|
|
3682
|
-
background-blend-mode: var(--sbk-blend-interaction);
|
|
3683
|
-
}
|
|
3684
|
-
|
|
3685
|
-
.sbk-checkboxes__input:checked:active {
|
|
3686
|
-
background-image: linear-gradient(
|
|
3687
|
-
var(--sbk-checkbox-checked-pressed),
|
|
3688
|
-
var(--sbk-checkbox-checked-pressed)
|
|
3689
|
-
);
|
|
3690
|
-
background-blend-mode: var(--sbk-blend-interaction);
|
|
3691
|
-
}
|
|
3692
|
-
|
|
3693
|
-
.sbk-checkboxes__input:checked::after {
|
|
3694
|
-
content: "";
|
|
3695
|
-
position: absolute;
|
|
3696
|
-
left: 4px;
|
|
3697
|
-
top: 1px;
|
|
3698
|
-
width: 4px;
|
|
3699
|
-
height: 8px;
|
|
3700
|
-
border: solid var(--sbk-on-highlight);
|
|
3701
|
-
border-width: 0 2px 2px 0;
|
|
3702
|
-
transform: rotate(45deg);
|
|
3703
|
-
}
|
|
3704
|
-
|
|
3705
|
-
.sbk-checkboxes__body {
|
|
3706
|
-
display: flex;
|
|
3707
|
-
flex-direction: column;
|
|
3708
|
-
/* Slack's c-label__text is nudged up a pixel with `position: relative; top: -1px`. */
|
|
3709
|
-
position: relative;
|
|
3710
|
-
top: -1px;
|
|
3711
|
-
}
|
|
3712
|
-
|
|
3713
|
-
.sbk-checkboxes__description,
|
|
3714
|
-
.sbk-checkboxes__description .sbk-mrkdwn {
|
|
3715
|
-
color: var(--sbk-content-sec);
|
|
3716
|
-
}
|
|
3717
|
-
|
|
3718
|
-
/* Slack's `c-date_picker_calendar`. */
|
|
3719
|
-
.sbk-calendar {
|
|
3720
|
-
padding: 8px;
|
|
3721
|
-
font-family: var(--sbk-font);
|
|
3722
|
-
font-size: 15px;
|
|
3723
|
-
line-height: 20px;
|
|
3724
|
-
color: var(--sbk-text);
|
|
3725
|
-
}
|
|
3726
|
-
|
|
3727
|
-
.sbk-calendar__header {
|
|
3728
|
-
display: flex;
|
|
3729
|
-
align-items: center;
|
|
3730
|
-
justify-content: space-between;
|
|
3731
|
-
height: 32px;
|
|
3732
|
-
margin-bottom: 16px;
|
|
3733
|
-
font-weight: 700;
|
|
3734
|
-
}
|
|
3735
|
-
|
|
3736
|
-
.sbk-calendar__nav {
|
|
3737
|
-
display: flex;
|
|
3738
|
-
align-items: center;
|
|
3739
|
-
justify-content: center;
|
|
3740
|
-
width: 32px;
|
|
3741
|
-
height: 32px;
|
|
3742
|
-
padding: 0;
|
|
3743
|
-
border: none;
|
|
3744
|
-
border-radius: 4px;
|
|
3745
|
-
background: none;
|
|
3746
|
-
color: var(--sbk-text);
|
|
3747
|
-
cursor: pointer;
|
|
3748
|
-
transition-property: color, background-color;
|
|
3749
|
-
transition-duration: 80ms;
|
|
3750
|
-
transition-timing-function: cubic-bezier(0.36, 0.19, 0.29, 1);
|
|
3751
|
-
}
|
|
3752
|
-
|
|
3753
|
-
.sbk-calendar__nav:hover {
|
|
3754
|
-
background: rgba(29, 155, 209, 0.1);
|
|
3755
|
-
}
|
|
3756
|
-
|
|
3757
|
-
.sbk-calendar__nav:active {
|
|
3758
|
-
background: var(--sbk-highlight);
|
|
3759
|
-
color: var(--sbk-on-highlight);
|
|
3760
|
-
}
|
|
3761
|
-
|
|
3762
|
-
.sbk-calendar__weekdays,
|
|
3763
|
-
.sbk-calendar__grid {
|
|
3764
|
-
display: grid;
|
|
3765
|
-
/* 44px cells whose 1px borders overlap their neighbours (Slack's `margin: -1px`). */
|
|
3766
|
-
grid-template-columns: repeat(7, 43px);
|
|
3767
|
-
text-align: center;
|
|
3768
|
-
}
|
|
3769
|
-
|
|
3770
|
-
.sbk-calendar__weekdays {
|
|
3771
|
-
padding-right: 1px;
|
|
3772
|
-
}
|
|
3773
|
-
|
|
3774
|
-
.sbk-calendar__weekdays span {
|
|
3775
|
-
padding: 4px 0 6px;
|
|
3776
|
-
font-size: 13px;
|
|
3777
|
-
color: var(--sbk-content-sec);
|
|
3778
|
-
}
|
|
3779
|
-
|
|
3780
|
-
.sbk-calendar__cell {
|
|
3781
|
-
position: relative;
|
|
3782
|
-
min-height: 42px;
|
|
3783
|
-
margin: 0 -1px -1px 0;
|
|
3784
|
-
padding: 10px 0;
|
|
3785
|
-
font: inherit;
|
|
3786
|
-
line-height: 20px;
|
|
3787
|
-
color: var(--sbk-text);
|
|
3788
|
-
background: var(--sbk-bg);
|
|
3789
|
-
border: 1px solid var(--sbk-calendar-grid);
|
|
3790
|
-
cursor: pointer;
|
|
3791
|
-
}
|
|
3792
|
-
|
|
3793
|
-
.sbk-calendar__cell--empty {
|
|
3794
|
-
border-color: transparent;
|
|
3795
|
-
background: none;
|
|
3796
|
-
cursor: default;
|
|
3797
|
-
}
|
|
3798
|
-
|
|
3799
|
-
/* A light-blue wash with a matching border on hover, raised above its neighbours' borders. */
|
|
3800
|
-
.sbk-calendar__cell:hover:not(.sbk-calendar__cell--empty, .sbk-calendar__cell--selected) {
|
|
3801
|
-
z-index: 1;
|
|
3802
|
-
border-color: rgba(29, 155, 209, 0.3);
|
|
3803
|
-
background: rgba(29, 155, 209, 0.2);
|
|
3804
|
-
}
|
|
3805
|
-
|
|
3806
|
-
.sbk-calendar__cell--today {
|
|
3807
|
-
color: var(--sbk-link);
|
|
3808
|
-
}
|
|
3809
|
-
|
|
3810
|
-
/* Today gets a 32px ring centred in its cell (white when today is also selected). */
|
|
3811
|
-
.sbk-calendar__cell--today::after {
|
|
3812
|
-
content: "";
|
|
3813
|
-
position: absolute;
|
|
3814
|
-
top: 50%;
|
|
3815
|
-
left: 50%;
|
|
3816
|
-
width: 32px;
|
|
3817
|
-
height: 32px;
|
|
3818
|
-
border: 1px solid var(--sbk-highlight);
|
|
3819
|
-
border-radius: 50%;
|
|
3820
|
-
transform: translate(-50%, -50%);
|
|
3821
|
-
pointer-events: none;
|
|
3822
|
-
}
|
|
3823
|
-
|
|
3824
|
-
.sbk-calendar__cell--selected {
|
|
3825
|
-
z-index: 1;
|
|
3826
|
-
color: var(--sbk-on-highlight);
|
|
3827
|
-
background: var(--sbk-highlight);
|
|
3828
|
-
border-color: var(--sbk-highlight);
|
|
3829
|
-
border-radius: 4px;
|
|
3830
|
-
}
|
|
3831
|
-
|
|
3832
|
-
.sbk-calendar__cell--selected.sbk-calendar__cell--today::after {
|
|
3833
|
-
border-color: var(--sbk-on-highlight);
|
|
3834
|
-
}
|
|
3835
|
-
|
|
3836
|
-
.sbk-calendar__cell:focus-visible {
|
|
3837
|
-
z-index: 2;
|
|
3838
|
-
}
|
|
3839
|
-
|
|
3840
|
-
/* Slack's `c-date_picker__clear_selection`: a full-width bold footer that turns blue on hover. */
|
|
3841
|
-
.sbk-calendar__footer {
|
|
3842
|
-
margin: 16px -16px -16px;
|
|
3843
|
-
border-top: 1px solid rgba(0, 0, 0, 0.1);
|
|
3844
|
-
}
|
|
3845
|
-
|
|
3846
|
-
.sbk-calendar__clear {
|
|
3847
|
-
display: block;
|
|
3848
|
-
width: 100%;
|
|
3849
|
-
height: 44px;
|
|
3850
|
-
padding: 0;
|
|
3851
|
-
font: 700 15px var(--sbk-font);
|
|
3852
|
-
color: var(--sbk-text);
|
|
3853
|
-
background: none;
|
|
3854
|
-
border: none;
|
|
3855
|
-
border-radius: 0 0 6px 6px;
|
|
3856
|
-
cursor: pointer;
|
|
3857
|
-
}
|
|
3858
|
-
|
|
3859
|
-
.sbk-calendar__clear:hover,
|
|
3860
|
-
.sbk-calendar__clear:focus-visible {
|
|
3861
|
-
color: var(--sbk-link);
|
|
3862
|
-
}
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
.sbk-datepicker {
|
|
3866
|
-
position: relative;
|
|
3867
|
-
width: 194.5px;
|
|
3868
|
-
color: var(--sbk-muted);
|
|
3869
|
-
}
|
|
3870
|
-
|
|
3871
|
-
.sbk-datepicker__input_wrap {
|
|
3872
|
-
position: relative;
|
|
3873
|
-
}
|
|
3874
|
-
|
|
3875
|
-
/* Slack's glyph sits on an 18px text line centred in the 28px field; the line's baseline rounds
|
|
3876
|
-
to a whole pixel, which drops the icon 0.45px below its 13px em box's true centre. Chrome snaps
|
|
3877
|
-
`top` to whole pixels, so the last fraction goes in a transform, as Slack's text glyph isn't. */
|
|
3878
|
-
.sbk-datepicker__icon {
|
|
3879
|
-
position: absolute;
|
|
3880
|
-
left: 8px;
|
|
3881
|
-
top: 8px;
|
|
3882
|
-
transform: translateY(-0.1px);
|
|
3883
|
-
width: 13px;
|
|
3884
|
-
height: 13px;
|
|
3885
|
-
color: var(--sbk-badge-text);
|
|
3886
|
-
}
|
|
3887
|
-
|
|
3888
|
-
.sbk-datepicker__input {
|
|
3889
|
-
width: 100%;
|
|
3890
|
-
height: 28px;
|
|
3891
|
-
/* Slack's small c-input_text: 8px / 7px vertical padding around an 18px line. */
|
|
3892
|
-
padding: 8px 28px 7px;
|
|
3893
|
-
font: 13px / 18px var(--sbk-font);
|
|
3894
|
-
color: var(--sbk-text);
|
|
3895
|
-
background: var(--sbk-bg);
|
|
3896
|
-
border: 1px solid rgb(124, 122, 127);
|
|
3897
|
-
border-radius: 8px;
|
|
3898
|
-
cursor: pointer;
|
|
3899
|
-
}
|
|
3900
|
-
|
|
3901
|
-
/* Slack's c-date_picker__select_btn: a 28px square on the right with a 20px chevron. */
|
|
3902
|
-
.sbk-datepicker__chevron {
|
|
3903
|
-
position: absolute;
|
|
3904
|
-
right: 4px;
|
|
3905
|
-
top: 4px;
|
|
3906
|
-
width: 20px;
|
|
3907
|
-
height: 20px;
|
|
3908
|
-
color: var(--sbk-content-sec);
|
|
3909
|
-
pointer-events: none;
|
|
3910
|
-
}
|
|
3911
|
-
|
|
3912
|
-
.sbk-datepicker__input::placeholder {
|
|
3913
|
-
color: var(--sbk-muted);
|
|
3914
|
-
}
|
|
3915
|
-
|
|
3916
|
-
.sbk-datepicker__popup {
|
|
3917
|
-
position: absolute;
|
|
3918
|
-
z-index: 10;
|
|
3919
|
-
top: 0;
|
|
3920
|
-
left: 0;
|
|
3921
|
-
/* Slack's datepicker dropdown: 16px padding, hairline ring plus a soft drop shadow. */
|
|
3922
|
-
padding: 16px;
|
|
3923
|
-
background: var(--sbk-menu-bg);
|
|
3924
|
-
border-radius: 6px;
|
|
3925
|
-
box-shadow: var(--sbk-popover-shadow);
|
|
3926
|
-
}
|
|
3927
|
-
|
|
3928
|
-
.sbk-datetimepicker {
|
|
3929
|
-
position: relative;
|
|
3930
|
-
display: block;
|
|
3931
|
-
width: 100%;
|
|
3932
|
-
}
|
|
3933
|
-
|
|
3934
|
-
/* Slack's Builder renders a datetimepicker as two side-by-side boxes (date, then time) rather
|
|
3935
|
-
than a single combined control. */
|
|
3936
|
-
.sbk-datetimepicker__row {
|
|
3937
|
-
display: flex;
|
|
3938
|
-
gap: 8px;
|
|
3939
|
-
}
|
|
3940
|
-
|
|
3941
|
-
/* The time zone caption sits under the time box only, so each box gets its own column. */
|
|
3942
|
-
.sbk-datetimepicker__column {
|
|
3943
|
-
flex: 1 1 0;
|
|
3944
|
-
min-width: 0;
|
|
3945
|
-
}
|
|
3946
|
-
|
|
3947
|
-
.sbk-datetimepicker__control {
|
|
3948
|
-
display: flex;
|
|
3949
|
-
align-items: center;
|
|
3950
|
-
gap: 6px;
|
|
3951
|
-
width: 100%;
|
|
3952
|
-
height: 36px;
|
|
3953
|
-
padding: 4px 7px 4px 11px;
|
|
3954
|
-
font: 15px var(--sbk-font);
|
|
3955
|
-
color: var(--sbk-text);
|
|
3956
|
-
background: var(--sbk-bg);
|
|
3957
|
-
border: 1px solid rgb(124, 122, 127);
|
|
3958
|
-
border-radius: 8px;
|
|
3959
|
-
cursor: pointer;
|
|
3960
|
-
}
|
|
3961
|
-
|
|
3962
|
-
/* Slack's medium date input: the icon sits 12px in, the text 32px in, and the chevron is centred
|
|
3963
|
-
in a 36px button. Our border is inside the box, so each inset is 1px smaller here. */
|
|
3964
|
-
.sbk-datetimepicker__control--date {
|
|
3965
|
-
padding: 4px 7px 4px 11px;
|
|
3966
|
-
}
|
|
3967
|
-
|
|
3968
|
-
/* Slack's medium time select: 12px side padding, text on a 22.5px line 33px in. */
|
|
3969
|
-
.sbk-datetimepicker__control--time {
|
|
3970
|
-
padding: 4px 11px;
|
|
3971
|
-
line-height: 22.5px;
|
|
3972
|
-
}
|
|
3973
|
-
|
|
3974
|
-
.sbk-datetimepicker__icon {
|
|
3975
|
-
flex: 0 0 auto;
|
|
3976
|
-
width: 15px;
|
|
3977
|
-
height: 15px;
|
|
3978
|
-
color: var(--sbk-badge-text);
|
|
3979
|
-
}
|
|
3980
|
-
|
|
3981
|
-
.sbk-datetimepicker__value,
|
|
3982
|
-
.sbk-datetimepicker__placeholder {
|
|
3983
|
-
flex: 1;
|
|
3984
|
-
min-width: 0;
|
|
3985
|
-
text-align: left;
|
|
3986
|
-
overflow: hidden;
|
|
3987
|
-
white-space: nowrap;
|
|
3988
|
-
text-overflow: ellipsis;
|
|
3989
|
-
}
|
|
3990
|
-
|
|
3991
|
-
.sbk-datetimepicker__chevron {
|
|
3992
|
-
flex: 0 0 auto;
|
|
3993
|
-
width: 20px;
|
|
3994
|
-
height: 20px;
|
|
3995
|
-
color: var(--sbk-badge-text);
|
|
3996
|
-
}
|
|
3997
|
-
|
|
3998
|
-
.sbk-datetimepicker__placeholder {
|
|
3999
|
-
color: var(--sbk-muted);
|
|
4000
|
-
}
|
|
4001
|
-
|
|
4002
|
-
.sbk-datetimepicker__timezone {
|
|
4003
|
-
margin: 4px 0 0;
|
|
4004
|
-
font-size: 13px;
|
|
4005
|
-
line-height: 18px;
|
|
4006
|
-
color: var(--sbk-badge-text);
|
|
4007
|
-
}
|
|
4008
|
-
|
|
4009
|
-
.sbk-datetimepicker__popup {
|
|
4010
|
-
position: absolute;
|
|
4011
|
-
z-index: 10;
|
|
4012
|
-
top: 0;
|
|
4013
|
-
left: 0;
|
|
4014
|
-
/* Slack's datepicker dropdown: 16px padding, hairline ring plus a soft drop shadow. */
|
|
4015
|
-
padding: 16px;
|
|
4016
|
-
background: var(--sbk-menu-bg);
|
|
4017
|
-
border-radius: 6px;
|
|
4018
|
-
box-shadow: var(--sbk-popover-shadow);
|
|
4019
|
-
}
|
|
4020
|
-
|
|
4021
|
-
.sbk-datetimepicker__time-row {
|
|
4022
|
-
display: flex;
|
|
4023
|
-
align-items: center;
|
|
4024
|
-
gap: 8px;
|
|
4025
|
-
padding: 8px;
|
|
4026
|
-
border-top: 1px solid var(--sbk-border);
|
|
4027
|
-
}
|
|
4028
|
-
|
|
4029
|
-
.sbk-datetimepicker__time-input {
|
|
4030
|
-
flex: 1;
|
|
4031
|
-
height: 28px;
|
|
4032
|
-
padding: 4px 8px;
|
|
4033
|
-
border: 1px solid rgb(124, 122, 127);
|
|
4034
|
-
border-radius: 8px;
|
|
4035
|
-
font: 13px var(--sbk-font);
|
|
4036
|
-
}
|
|
4037
|
-
|
|
4038
|
-
.sbk-datetimepicker__apply {
|
|
4039
|
-
height: 28px;
|
|
4040
|
-
padding: 0 12px;
|
|
4041
|
-
border: 0;
|
|
4042
|
-
border-radius: 4px;
|
|
4043
|
-
background: var(--sbk-primary);
|
|
4044
|
-
color: #fff;
|
|
4045
|
-
font: 700 13px var(--sbk-font);
|
|
4046
|
-
cursor: pointer;
|
|
4047
|
-
}
|
|
4048
|
-
|
|
4049
|
-
.sbk-datetimepicker__apply:disabled {
|
|
4050
|
-
opacity: 0.5;
|
|
4051
|
-
cursor: default;
|
|
4052
|
-
}
|
|
4053
|
-
|
|
4054
|
-
.sbk-feedback-buttons {
|
|
4055
|
-
display: inline-flex;
|
|
4056
|
-
align-items: center;
|
|
4057
|
-
}
|
|
4058
|
-
|
|
4059
|
-
.sbk-icon-button--active {
|
|
4060
|
-
color: var(--sbk-primary);
|
|
4061
|
-
background: var(--sbk-badge-bg);
|
|
4062
|
-
}
|
|
4063
|
-
|
|
4064
|
-
.sbk-file-input {
|
|
4065
|
-
/* Slack renders a `file_input` element inside a `<fieldset>` that carries its own
|
|
4066
|
-
margin-bottom (~20px), on top of the label/hint spacing every other Input-block element
|
|
4067
|
-
shares — confirmed via inspect.ts against extra/modal/rich-and-file's reference. */
|
|
4068
|
-
margin-bottom: 20px;
|
|
4069
|
-
}
|
|
4070
|
-
|
|
4071
|
-
.sbk-file-input__button {
|
|
4072
|
-
display: inline-flex;
|
|
4073
|
-
align-items: center;
|
|
4074
|
-
gap: 4px;
|
|
4075
|
-
height: 36px;
|
|
4076
|
-
min-width: 80px;
|
|
4077
|
-
padding: 0 12px 1px;
|
|
4078
|
-
border: 1px solid var(--sbk-button-border);
|
|
4079
|
-
border-radius: 8px;
|
|
4080
|
-
background: var(--sbk-bg);
|
|
4081
|
-
color: var(--sbk-text);
|
|
4082
|
-
font: 700 15px var(--sbk-font);
|
|
4083
|
-
cursor: pointer;
|
|
4084
|
-
}
|
|
4085
|
-
|
|
4086
|
-
.sbk-file-input__button svg {
|
|
4087
|
-
width: 16px;
|
|
4088
|
-
height: 16px;
|
|
4089
|
-
flex-shrink: 0;
|
|
4090
|
-
}
|
|
4091
|
-
|
|
4092
|
-
.sbk-file-input__native {
|
|
4093
|
-
position: absolute;
|
|
4094
|
-
width: 1px;
|
|
4095
|
-
height: 1px;
|
|
4096
|
-
overflow: hidden;
|
|
4097
|
-
opacity: 0;
|
|
4098
|
-
}
|
|
4099
|
-
|
|
4100
|
-
.sbk-file-input__list {
|
|
4101
|
-
list-style: none;
|
|
4102
|
-
margin: 8px 0 0;
|
|
4103
|
-
padding: 0;
|
|
4104
|
-
}
|
|
4105
|
-
|
|
4106
|
-
.sbk-file-input__item {
|
|
4107
|
-
font-size: 13px;
|
|
4108
|
-
color: var(--sbk-text);
|
|
4109
|
-
padding: 2px 0;
|
|
4110
|
-
}
|
|
4111
|
-
|
|
4112
|
-
.sbk-icon-button {
|
|
4113
|
-
display: flex;
|
|
4114
|
-
align-items: center;
|
|
4115
|
-
justify-content: center;
|
|
4116
|
-
width: 32px;
|
|
4117
|
-
height: 32px;
|
|
4118
|
-
padding: 0;
|
|
4119
|
-
border: none;
|
|
4120
|
-
background: none;
|
|
4121
|
-
border-radius: 8px;
|
|
4122
|
-
color: rgb(69, 68, 71);
|
|
4123
|
-
cursor: pointer;
|
|
4124
|
-
transition-property: color, background-color, border-color;
|
|
4125
|
-
transition-duration: 80ms;
|
|
4126
|
-
transition-timing-function: cubic-bezier(0.36, 0.19, 0.29, 1);
|
|
4127
|
-
}
|
|
4128
|
-
|
|
4129
|
-
/* Slack's `c-icon_button--default`: solid gray fill and full-strength text on hover, a darker
|
|
4130
|
-
multiply overlay while pressed. */
|
|
4131
|
-
.sbk-icon-button:hover,
|
|
4132
|
-
.sbk-icon-button:active {
|
|
4133
|
-
color: var(--sbk-text);
|
|
4134
|
-
background-color: var(--sbk-icon-button-hover-bg);
|
|
4135
|
-
}
|
|
4136
|
-
|
|
4137
|
-
.sbk-icon-button:active {
|
|
4138
|
-
background-image: linear-gradient(var(--sbk-interaction-pressed), var(--sbk-interaction-pressed));
|
|
4139
|
-
background-blend-mode: var(--sbk-blend-interaction);
|
|
4140
|
-
}
|
|
4141
|
-
|
|
4142
|
-
.sbk-icon-button svg {
|
|
4143
|
-
width: 18px;
|
|
4144
|
-
height: 18px;
|
|
4145
|
-
}
|
|
4146
|
-
|
|
4147
|
-
.sbk-section__accessory--image {
|
|
4148
|
-
margin-left: 12px;
|
|
4149
|
-
}
|
|
4150
|
-
|
|
4151
|
-
.sbk-image-element {
|
|
4152
|
-
display: block;
|
|
4153
|
-
width: 88px;
|
|
4154
|
-
height: 88px;
|
|
4155
|
-
border-radius: 8px;
|
|
4156
|
-
object-fit: cover;
|
|
4157
|
-
}
|
|
4158
|
-
|
|
4159
|
-
.sbk-overflow {
|
|
4160
|
-
position: relative;
|
|
4161
|
-
display: inline-block;
|
|
4162
|
-
}
|
|
4163
|
-
|
|
4164
|
-
.sbk-overflow__button {
|
|
4165
|
-
display: flex;
|
|
4166
|
-
align-items: center;
|
|
4167
|
-
justify-content: center;
|
|
4168
|
-
width: 30px;
|
|
4169
|
-
height: 28px;
|
|
4170
|
-
padding: 0 7px 1px;
|
|
4171
|
-
background: var(--sbk-bg);
|
|
4172
|
-
border: 1px solid var(--sbk-button-border);
|
|
4173
|
-
border-radius: 4px;
|
|
4174
|
-
color: var(--sbk-text);
|
|
4175
|
-
cursor: pointer;
|
|
4176
|
-
}
|
|
4177
|
-
|
|
4178
|
-
/* The trigger is a small outline `c-button` in Slack, so it shares Button.css's hover. */
|
|
4179
|
-
.sbk-overflow__button:hover {
|
|
4180
|
-
background: var(--sbk-button-hover-bg);
|
|
4181
|
-
box-shadow: var(--sbk-button-hover-shadow);
|
|
4182
|
-
}
|
|
4183
|
-
|
|
4184
|
-
.sbk-overflow__button:active {
|
|
4185
|
-
box-shadow: none;
|
|
4186
|
-
}
|
|
4187
|
-
|
|
4188
|
-
.sbk-overflow__menu {
|
|
4189
|
-
position: absolute;
|
|
4190
|
-
z-index: 10;
|
|
4191
|
-
top: 0;
|
|
4192
|
-
right: 0;
|
|
4193
|
-
/* Slack's `c-menu`: 200-300px wide, hairline ring plus drop shadow, 12px list padding. */
|
|
4194
|
-
min-width: 200px;
|
|
4195
|
-
max-width: 300px;
|
|
4196
|
-
width: max-content;
|
|
4197
|
-
padding: 12px 0;
|
|
4198
|
-
background: var(--sbk-menu-bg);
|
|
4199
|
-
border-radius: 4px;
|
|
4200
|
-
box-shadow: var(--sbk-menu-shadow);
|
|
4201
|
-
}
|
|
4202
|
-
|
|
4203
|
-
/* `c-menu_item__button`: 15px text on a 28px line, 24px side padding. */
|
|
4204
|
-
.sbk-overflow__option {
|
|
4205
|
-
min-height: 28px;
|
|
4206
|
-
padding: 0 24px;
|
|
4207
|
-
font: 15px / 28px var(--sbk-font);
|
|
4208
|
-
color: var(--sbk-text);
|
|
4209
|
-
overflow: hidden;
|
|
4210
|
-
white-space: nowrap;
|
|
4211
|
-
text-overflow: ellipsis;
|
|
4212
|
-
cursor: pointer;
|
|
4213
|
-
}
|
|
4214
|
-
|
|
4215
|
-
/* Highlighted (pointer or keyboard) `c-menu_item__button`: white on blue. */
|
|
4216
|
-
.sbk-overflow__option[data-active] {
|
|
4217
|
-
color: var(--sbk-menu-highlight-text);
|
|
4218
|
-
background: var(--sbk-menu-highlight-bg);
|
|
4219
|
-
}
|
|
4220
|
-
|
|
4221
|
-
.sbk-radio-buttons {
|
|
4222
|
-
display: flex;
|
|
4223
|
-
flex-direction: column;
|
|
4224
|
-
/* ~24px of trailing space below the last option in every context (actions, section accessory,
|
|
4225
|
-
input), matching checkboxes. Confirmed against catalog/{actions,section,input}/radio-buttons. */
|
|
4226
|
-
margin-bottom: 24px;
|
|
4227
|
-
}
|
|
4228
|
-
|
|
4229
|
-
.sbk-radio-buttons__option {
|
|
4230
|
-
display: flex;
|
|
4231
|
-
align-items: flex-start;
|
|
4232
|
-
/* Zero gap between option rows — each row's own height (22px text-only, 44px with a
|
|
4233
|
-
description) sets the pitch, confirmed via inspect.ts against the same fixtures above. */
|
|
4234
|
-
line-height: 22px;
|
|
4235
|
-
cursor: pointer;
|
|
4236
|
-
}
|
|
4237
|
-
|
|
4238
|
-
.sbk-radio-buttons__input {
|
|
4239
|
-
flex: 0 0 auto;
|
|
4240
|
-
width: 13px;
|
|
4241
|
-
height: 13px;
|
|
4242
|
-
margin: 7px 7px 0 5px;
|
|
4243
|
-
accent-color: #000;
|
|
4244
|
-
cursor: pointer;
|
|
4245
|
-
}
|
|
4246
|
-
|
|
4247
|
-
.sbk-radio-buttons__body {
|
|
4248
|
-
display: flex;
|
|
4249
|
-
flex-direction: column;
|
|
4250
|
-
/* Slack's c-label__text is nudged up a pixel with `position: relative; top: -1px`. */
|
|
4251
|
-
position: relative;
|
|
4252
|
-
top: -1px;
|
|
4253
|
-
}
|
|
4254
|
-
|
|
4255
|
-
.sbk-radio-buttons__description,
|
|
4256
|
-
.sbk-radio-buttons__description .sbk-mrkdwn {
|
|
4257
|
-
color: var(--sbk-content-sec);
|
|
4258
|
-
}
|
|
4259
|
-
|
|
4260
|
-
/* Slack's modal rich-text editor: a grey formatting toolbar over a text area, in a box that
|
|
4261
|
-
measures 118px tall in the reference (the Aa/emoji button row Slack draws below it overflows
|
|
4262
|
-
that frozen box in the capture, so it's left out). */
|
|
4263
|
-
.sbk-rich-text-input {
|
|
4264
|
-
display: flex;
|
|
4265
|
-
flex-direction: column;
|
|
4266
|
-
width: 100%;
|
|
4267
|
-
min-height: 118px;
|
|
4268
|
-
background: var(--sbk-bg);
|
|
4269
|
-
border: 1px solid rgba(29, 28, 29, 0.13);
|
|
4270
|
-
border-radius: 4px;
|
|
4271
|
-
}
|
|
4272
|
-
|
|
4273
|
-
.sbk-rich-text-input__toolbar {
|
|
4274
|
-
display: flex;
|
|
4275
|
-
align-items: center;
|
|
4276
|
-
height: 38px;
|
|
4277
|
-
padding: 4px;
|
|
4278
|
-
background: #f8f8f8;
|
|
4279
|
-
border-radius: 8px 8px 0 0;
|
|
4280
|
-
}
|
|
4281
|
-
|
|
4282
|
-
.sbk-rich-text-input__tool {
|
|
4283
|
-
display: inline-flex;
|
|
4284
|
-
align-items: center;
|
|
4285
|
-
justify-content: center;
|
|
4286
|
-
width: 28px;
|
|
4287
|
-
height: 28px;
|
|
4288
|
-
/* Slack's buttons carry no bottom margin, so they sit 2px down the 30px bar, not centred in it. */
|
|
4289
|
-
margin: 2px 2px 0;
|
|
4290
|
-
color: rgba(29, 28, 29, 0.7);
|
|
4291
|
-
opacity: 0.3;
|
|
4292
|
-
}
|
|
4293
|
-
|
|
4294
|
-
.sbk-rich-text-input__separator {
|
|
4295
|
-
width: 1px;
|
|
4296
|
-
height: 20px;
|
|
4297
|
-
margin: 0 4px;
|
|
4298
|
-
background: rgba(29, 28, 29, 0.13);
|
|
4299
|
-
}
|
|
4300
|
-
|
|
4301
|
-
.sbk-rich-text-input__editor {
|
|
4302
|
-
flex: 1;
|
|
4303
|
-
padding: 8px 12px;
|
|
4304
|
-
font: 15px / 22px var(--sbk-font);
|
|
4305
|
-
color: var(--sbk-text);
|
|
4306
|
-
overflow-y: auto;
|
|
4307
|
-
outline: none;
|
|
4308
|
-
}
|
|
4309
|
-
|
|
4310
|
-
.sbk-rich-text-input__editor:empty::before {
|
|
4311
|
-
content: attr(data-placeholder);
|
|
4312
|
-
color: var(--sbk-muted);
|
|
4313
|
-
}
|
|
4314
|
-
|
|
4315
|
-
.sbk-select {
|
|
4316
|
-
position: relative;
|
|
4317
|
-
width: 190px;
|
|
4318
|
-
}
|
|
4319
|
-
|
|
4320
|
-
.sbk-select__control {
|
|
4321
|
-
display: flex;
|
|
4322
|
-
align-items: center;
|
|
4323
|
-
gap: 8px;
|
|
4324
|
-
width: 100%;
|
|
4325
|
-
height: 28px;
|
|
4326
|
-
padding: 4px 8px;
|
|
4327
|
-
font: 13px var(--sbk-font);
|
|
4328
|
-
color: var(--sbk-text);
|
|
4329
|
-
background: var(--sbk-bg);
|
|
4330
|
-
border: 1px solid rgb(124, 122, 127);
|
|
4331
|
-
border-radius: 8px;
|
|
4332
|
-
cursor: pointer;
|
|
4333
|
-
}
|
|
4334
|
-
|
|
4335
|
-
/* In an input block, Slack's multi-select closed control uses a taller (36px) box than a
|
|
4336
|
-
single-select's (28px), to give its chip row breathing room, even with no chips selected yet.
|
|
4337
|
-
As a section/actions accessory it stays a 28px button. */
|
|
4338
|
-
.sbk-input__element .sbk-select--multi .sbk-select__control {
|
|
4339
|
-
height: 36px;
|
|
4340
|
-
padding: 4px 28px 4px 12px;
|
|
4341
|
-
font-size: 15px;
|
|
4342
|
-
line-height: 22px;
|
|
4343
|
-
}
|
|
4344
|
-
|
|
4345
|
-
/* With chips it grows to fit their rows: each chip sits 4px in from the box and the one above. */
|
|
4346
|
-
.sbk-input__element .sbk-select--chips .sbk-select__control {
|
|
4347
|
-
height: auto;
|
|
4348
|
-
min-height: 36px;
|
|
4349
|
-
align-items: flex-start;
|
|
4350
|
-
padding: 0 28px 4px 4px;
|
|
4351
|
-
}
|
|
4352
|
-
|
|
4353
|
-
/* Slack's p-block_kit_max_selected_items__info, tucked into the label's 8px bottom padding. */
|
|
4354
|
-
.sbk-select__max-info {
|
|
4355
|
-
display: none;
|
|
4356
|
-
}
|
|
4357
|
-
|
|
4358
|
-
.sbk-input__element .sbk-select__max-info {
|
|
4359
|
-
display: block;
|
|
4360
|
-
margin: -8px 0 8px;
|
|
4361
|
-
font-size: 15px;
|
|
4362
|
-
line-height: 22px;
|
|
4363
|
-
color: rgb(97, 96, 97);
|
|
4364
|
-
}
|
|
4365
|
-
|
|
4366
|
-
/* Its closed input-block box is a text field, not a dropdown: no chevron, 15px placeholder. */
|
|
4367
|
-
.sbk-input__element .sbk-select--multi .sbk-select__placeholder {
|
|
4368
|
-
color: rgb(94, 93, 96);
|
|
4369
|
-
}
|
|
4370
|
-
|
|
4371
|
-
.sbk-input__element .sbk-select--multi .sbk-select__chevron {
|
|
4372
|
-
display: none;
|
|
4373
|
-
}
|
|
4374
|
-
|
|
4375
|
-
/* As a section accessory, Slack collapses a multi-select into a content-sized outline button
|
|
4376
|
-
("Select conversations") that opens the picker, rather than a 190px select with a chevron. */
|
|
4377
|
-
.sbk-section__accessory .sbk-select--multi {
|
|
4378
|
-
width: auto;
|
|
4379
|
-
}
|
|
4380
|
-
|
|
4381
|
-
.sbk-section__accessory .sbk-select--multi .sbk-select__control {
|
|
4382
|
-
padding: 0 12px 1px;
|
|
4383
|
-
font-weight: 700;
|
|
4384
|
-
border-color: rgba(94, 93, 96, 0.45);
|
|
4385
|
-
border-radius: 4px;
|
|
4386
|
-
}
|
|
4387
|
-
|
|
4388
|
-
.sbk-section__accessory .sbk-select--multi .sbk-select__placeholder {
|
|
4389
|
-
color: var(--sbk-text);
|
|
4390
|
-
}
|
|
4391
|
-
|
|
4392
|
-
.sbk-section__accessory .sbk-select--multi .sbk-select__chevron {
|
|
4393
|
-
display: none;
|
|
4394
|
-
}
|
|
4395
|
-
|
|
4396
|
-
/* Slack's Builder uses a taller "medium" control (with 15px text) on a modal/Home tab surface than the
|
|
4397
|
-
message-surface preview's 28px "small" control. */
|
|
4398
|
-
.sbk-select--medium .sbk-select__control {
|
|
4399
|
-
height: 36px;
|
|
4400
|
-
padding: 4px 12px;
|
|
4401
|
-
font-size: 15px;
|
|
4402
|
-
}
|
|
4403
|
-
|
|
4404
|
-
/* Slack's single select is a full-width text input with the chevron laid over its right edge, so
|
|
4405
|
-
the text runs under the chevron and only truncates at the input's own 8px padding. */
|
|
4406
|
-
.sbk-select:not(.sbk-select--multi) :is(.sbk-select__value, .sbk-select__placeholder) {
|
|
4407
|
-
margin-right: -28px;
|
|
4408
|
-
}
|
|
4409
|
-
|
|
4410
|
-
.sbk-select__value,
|
|
4411
|
-
.sbk-select__placeholder {
|
|
4412
|
-
flex: 1;
|
|
4413
|
-
text-align: left;
|
|
4414
|
-
overflow: hidden;
|
|
4415
|
-
white-space: nowrap;
|
|
4416
|
-
text-overflow: ellipsis;
|
|
4417
|
-
}
|
|
4418
|
-
|
|
4419
|
-
.sbk-select__placeholder {
|
|
4420
|
-
color: var(--sbk-muted);
|
|
4421
|
-
}
|
|
4422
|
-
|
|
4423
|
-
/* Slack draws a chosen value in an unbordered layer 8px in, and its chevron 28px from the right;
|
|
4424
|
-
our border sits inside the control, so pull both 1px outwards. The placeholder keeps the
|
|
4425
|
-
border's inset, as Slack's lives in the bordered <input>. */
|
|
4426
|
-
.sbk-select__value {
|
|
4427
|
-
margin-left: -1px;
|
|
4428
|
-
}
|
|
4429
|
-
|
|
4430
|
-
.sbk-select__chevron {
|
|
4431
|
-
margin-right: -1px;
|
|
4432
|
-
}
|
|
4433
|
-
|
|
4434
|
-
/* An id Slack couldn't resolve: c-small_channel_entity with a c-missing_channel--private pill. */
|
|
4435
|
-
.sbk-select__entity {
|
|
4436
|
-
display: flex;
|
|
4437
|
-
align-items: center;
|
|
4438
|
-
height: 20px;
|
|
4439
|
-
line-height: 20px;
|
|
4440
|
-
}
|
|
4441
|
-
|
|
4442
|
-
.sbk-select__channel-hash {
|
|
4443
|
-
flex: 0 0 auto;
|
|
4444
|
-
margin-right: 8px;
|
|
4445
|
-
}
|
|
4446
|
-
|
|
4447
|
-
.sbk-select__entity-text {
|
|
4448
|
-
display: flow-root;
|
|
4449
|
-
overflow: hidden;
|
|
4450
|
-
white-space: nowrap;
|
|
4451
|
-
}
|
|
4452
|
-
|
|
4453
|
-
.sbk-select__missing-channel {
|
|
4454
|
-
padding: 0 2px 1px 0;
|
|
4455
|
-
color: rgba(29, 28, 29, 0.7);
|
|
4456
|
-
background: rgba(29, 28, 29, 0.13);
|
|
4457
|
-
border-radius: 3px;
|
|
4458
|
-
}
|
|
4459
|
-
|
|
4460
|
-
.sbk-select__missing-channel svg {
|
|
4461
|
-
display: inline-block;
|
|
4462
|
-
vertical-align: -1.625px;
|
|
4463
|
-
}
|
|
4464
|
-
|
|
4465
|
-
/* ... and c-small_member_list_entity while the member loads: a blank avatar and a name bar,
|
|
4466
|
-
clipped square where the name's box ends. */
|
|
4467
|
-
.sbk-select__skeleton {
|
|
4468
|
-
display: flex;
|
|
4469
|
-
align-items: center;
|
|
4470
|
-
height: 20px;
|
|
4471
|
-
}
|
|
4472
|
-
|
|
4473
|
-
.sbk-select__skeleton-avatar {
|
|
4474
|
-
flex: 0 0 auto;
|
|
4475
|
-
width: 20px;
|
|
4476
|
-
height: 20px;
|
|
4477
|
-
margin: 0 8px 0 6px;
|
|
4478
|
-
background: rgb(234, 234, 234);
|
|
4479
|
-
border-radius: clamp(4px, min(22.222%, 12px), 12px);
|
|
4480
|
-
}
|
|
4481
|
-
|
|
4482
|
-
.sbk-select__skeleton-name {
|
|
4483
|
-
flex: 0 0 auto;
|
|
4484
|
-
width: 109px;
|
|
4485
|
-
height: 8px;
|
|
4486
|
-
margin-top: 2px;
|
|
4487
|
-
overflow: hidden;
|
|
4488
|
-
}
|
|
4489
|
-
|
|
4490
|
-
.sbk-select__skeleton-name::before {
|
|
4491
|
-
content: "";
|
|
4492
|
-
display: block;
|
|
4493
|
-
width: 120px;
|
|
4494
|
-
height: 8px;
|
|
4495
|
-
background: rgb(234, 234, 234);
|
|
4496
|
-
border-radius: 1000px;
|
|
4497
|
-
}
|
|
4498
|
-
|
|
4499
|
-
.sbk-select__chevron {
|
|
4500
|
-
flex: 0 0 auto;
|
|
4501
|
-
width: 20px;
|
|
4502
|
-
height: 20px;
|
|
4503
|
-
color: var(--sbk-badge-text);
|
|
4504
|
-
}
|
|
4505
|
-
|
|
4506
|
-
.sbk-select__chips {
|
|
4507
|
-
display: flex;
|
|
4508
|
-
flex-wrap: wrap;
|
|
4509
|
-
flex: 1;
|
|
4510
|
-
min-width: 0;
|
|
4511
|
-
}
|
|
4512
|
-
|
|
4513
|
-
/* Slack's c-token--medium: a 28px pale-blue tag with a bold 15px label and an 18px "x". */
|
|
4514
|
-
.sbk-select__chip {
|
|
4515
|
-
display: flex;
|
|
4516
|
-
align-items: center;
|
|
4517
|
-
margin: 4px 0 0 4px;
|
|
4518
|
-
padding: 0 4px 0 0;
|
|
4519
|
-
font-size: 18px;
|
|
4520
|
-
font-weight: 700;
|
|
4521
|
-
line-height: 26.4px;
|
|
4522
|
-
white-space: nowrap;
|
|
4523
|
-
color: var(--sbk-text);
|
|
4524
|
-
background: rgba(54, 197, 240, 0.13);
|
|
4525
|
-
border: 1px solid transparent;
|
|
4526
|
-
border-radius: 4px;
|
|
4527
|
-
}
|
|
4528
|
-
|
|
4529
|
-
.sbk-select__chip-label {
|
|
4530
|
-
display: flex;
|
|
4531
|
-
padding: 0 4px;
|
|
4532
|
-
}
|
|
4533
|
-
|
|
4534
|
-
/* The label is a flow-root on the chip's 18px strut, so 15px text makes its line 27px tall. */
|
|
4535
|
-
.sbk-select__chip-text {
|
|
4536
|
-
display: flow-root;
|
|
4537
|
-
overflow: hidden;
|
|
4538
|
-
}
|
|
4539
|
-
|
|
4540
|
-
.sbk-select__chip-text > span {
|
|
4541
|
-
font-size: 15px;
|
|
4542
|
-
line-height: 26px;
|
|
4543
|
-
}
|
|
4544
|
-
|
|
4545
|
-
.sbk-select__chip-entity {
|
|
4546
|
-
align-items: center;
|
|
4547
|
-
font-size: 15px;
|
|
4548
|
-
line-height: 26px;
|
|
4549
|
-
}
|
|
4550
|
-
|
|
4551
|
-
.sbk-select__chip-entity .sbk-select__channel-hash {
|
|
4552
|
-
margin-right: 2px;
|
|
4553
|
-
}
|
|
4554
|
-
|
|
4555
|
-
.sbk-select__chip-entity .sbk-select__missing-channel svg {
|
|
4556
|
-
width: 15px;
|
|
4557
|
-
height: 15px;
|
|
4558
|
-
vertical-align: -1.875px;
|
|
4559
|
-
}
|
|
4560
|
-
|
|
4561
|
-
.sbk-select__chip-remove {
|
|
4562
|
-
display: flex;
|
|
4563
|
-
cursor: pointer;
|
|
4564
|
-
}
|
|
4565
|
-
|
|
4566
|
-
.sbk-select__menu {
|
|
4567
|
-
position: absolute;
|
|
4568
|
-
z-index: 10;
|
|
4569
|
-
top: 0;
|
|
4570
|
-
left: 0;
|
|
4571
|
-
width: max(100%, 240px);
|
|
4572
|
-
max-height: 280px;
|
|
4573
|
-
overflow-y: auto;
|
|
4574
|
-
/* Slack's `c-select_options_list`: a hairline ring plus a soft drop shadow, no border. */
|
|
4575
|
-
background: var(--sbk-menu-bg);
|
|
4576
|
-
border-radius: 4px;
|
|
4577
|
-
box-shadow:
|
|
4578
|
-
0 0 0 1px rgba(29, 28, 29, 0.13),
|
|
4579
|
-
0 5px 10px rgba(0, 0, 0, 0.12);
|
|
4580
|
-
padding: 12px 0;
|
|
4581
|
-
}
|
|
4582
|
-
|
|
4583
|
-
.sbk-select__search {
|
|
4584
|
-
display: flex;
|
|
4585
|
-
align-items: center;
|
|
4586
|
-
gap: 6px;
|
|
4587
|
-
margin: -4px 0 8px;
|
|
4588
|
-
padding: 0 24px 8px;
|
|
4589
|
-
border-bottom: 1px solid var(--sbk-border);
|
|
4590
|
-
color: var(--sbk-muted);
|
|
4591
|
-
}
|
|
4592
|
-
|
|
4593
|
-
.sbk-select__search-input {
|
|
4594
|
-
flex: 1;
|
|
4595
|
-
border: none;
|
|
4596
|
-
outline: none;
|
|
4597
|
-
font: 13px var(--sbk-font);
|
|
4598
|
-
color: var(--sbk-text);
|
|
4599
|
-
}
|
|
4600
|
-
|
|
4601
|
-
/* Slack's `c-menu_item__header`. */
|
|
4602
|
-
.sbk-select__group-label {
|
|
4603
|
-
padding: 4px 24px;
|
|
4604
|
-
font-size: 13px;
|
|
4605
|
-
line-height: 1.38463;
|
|
4606
|
-
color: var(--sbk-menu-secondary-text);
|
|
4607
|
-
}
|
|
4608
|
-
|
|
4609
|
-
.sbk-select__group + .sbk-select__group {
|
|
4610
|
-
margin-top: 8px;
|
|
4611
|
-
}
|
|
4612
|
-
|
|
4613
|
-
/* Slack's `c-select_options_list__option`: 15px rows, 24px side padding, 28px minimum height. */
|
|
4614
|
-
.sbk-select__option {
|
|
4615
|
-
display: flex;
|
|
4616
|
-
flex-direction: column;
|
|
4617
|
-
justify-content: center;
|
|
4618
|
-
min-height: 28px;
|
|
4619
|
-
padding: 0 24px;
|
|
4620
|
-
font: 15px / 1.46668 var(--sbk-font);
|
|
4621
|
-
color: var(--sbk-text);
|
|
4622
|
-
cursor: pointer;
|
|
4623
|
-
}
|
|
4624
|
-
|
|
4625
|
-
.sbk-select__option:has(.sbk-select__option-description) {
|
|
4626
|
-
padding-top: 4px;
|
|
4627
|
-
padding-bottom: 4px;
|
|
4628
|
-
}
|
|
4629
|
-
|
|
4630
|
-
/* `--active` (pointer or keyboard highlight) inverts to white on blue; the chosen option keeps its
|
|
4631
|
-
row but turns blue. */
|
|
4632
|
-
.sbk-select__option--selected {
|
|
4633
|
-
color: var(--sbk-menu-selected-text);
|
|
4634
|
-
}
|
|
4635
|
-
|
|
4636
|
-
.sbk-select__option[data-active] {
|
|
4637
|
-
color: var(--sbk-menu-highlight-text);
|
|
4638
|
-
background: var(--sbk-menu-highlight-bg);
|
|
4639
|
-
}
|
|
4640
|
-
|
|
4641
|
-
.sbk-select__option[data-active] .sbk-select__option-description {
|
|
4642
|
-
color: inherit;
|
|
4643
|
-
}
|
|
4644
|
-
|
|
4645
|
-
.sbk-select__option-description {
|
|
4646
|
-
margin-top: -2px;
|
|
4647
|
-
font-size: 13px;
|
|
4648
|
-
line-height: 1.25;
|
|
4649
|
-
color: var(--sbk-menu-secondary-text);
|
|
4650
|
-
}
|
|
4651
|
-
|
|
4652
|
-
/* An external select's "Loading…" / "No results" row while it waits on the app's options. */
|
|
4653
|
-
.sbk-select__status {
|
|
4654
|
-
display: flex;
|
|
4655
|
-
align-items: center;
|
|
4656
|
-
min-height: 28px;
|
|
4657
|
-
padding: 0 24px;
|
|
4658
|
-
font: 15px / 1.46668 var(--sbk-font);
|
|
4659
|
-
color: var(--sbk-muted);
|
|
4660
|
-
}
|
|
4661
|
-
|
|
4662
|
-
.sbk-text-input {
|
|
4663
|
-
width: 100%;
|
|
4664
|
-
height: 28px;
|
|
4665
|
-
padding: 8px 8px 7px;
|
|
4666
|
-
font: 13px / 18px var(--sbk-font);
|
|
4667
|
-
color: var(--sbk-text);
|
|
4668
|
-
background: var(--sbk-bg);
|
|
4669
|
-
border: 1px solid rgb(124, 122, 127);
|
|
4670
|
-
border-radius: 8px;
|
|
4671
|
-
}
|
|
4672
|
-
|
|
4673
|
-
.sbk-text-input::placeholder {
|
|
4674
|
-
color: var(--sbk-muted);
|
|
4675
|
-
}
|
|
4676
|
-
|
|
4677
|
-
/* Slack's Builder uses a taller "medium" control on a modal/Home tab surface (36px, more
|
|
4678
|
-
horizontal padding, 15px text) instead of the message-surface preview's 28px "small" control. */
|
|
4679
|
-
.sbk-text-input--medium {
|
|
4680
|
-
height: 36px;
|
|
4681
|
-
padding: 4px 12px;
|
|
4682
|
-
font-size: 15px;
|
|
4683
|
-
}
|
|
4684
|
-
|
|
4685
|
-
.sbk-text-input__wrap .sbk-text-input.sbk-text-input--medium {
|
|
4686
|
-
padding-left: 32px;
|
|
4687
|
-
}
|
|
4688
|
-
|
|
4689
|
-
/* Slack's textarea is 104px tall on every surface, with less padding below the text than above.
|
|
4690
|
-
Block-level, so no inline baseline gap opens up under it. */
|
|
4691
|
-
.sbk-text-input--multiline {
|
|
4692
|
-
display: block;
|
|
4693
|
-
height: auto;
|
|
4694
|
-
min-height: 104px;
|
|
4695
|
-
padding: 8px 12px 4px;
|
|
4696
|
-
font-size: 15px;
|
|
4697
|
-
line-height: 22px;
|
|
4698
|
-
resize: vertical;
|
|
4699
|
-
}
|
|
4700
|
-
|
|
4701
|
-
.sbk-text-input__wrap {
|
|
4702
|
-
position: relative;
|
|
4703
|
-
}
|
|
4704
|
-
|
|
4705
|
-
.sbk-text-input__wrap .sbk-text-input {
|
|
4706
|
-
padding-left: 28px;
|
|
4707
|
-
}
|
|
4708
|
-
|
|
4709
|
-
.sbk-text-input__icon {
|
|
4710
|
-
position: absolute;
|
|
4711
|
-
left: 8px;
|
|
4712
|
-
top: 50%;
|
|
4713
|
-
transform: translateY(-50%);
|
|
4714
|
-
color: var(--sbk-muted);
|
|
4715
|
-
pointer-events: none;
|
|
4716
|
-
}
|
|
4717
|
-
|
|
4718
|
-
.sbk-timepicker {
|
|
4719
|
-
position: relative;
|
|
4720
|
-
width: 190px;
|
|
4721
|
-
}
|
|
4722
|
-
|
|
4723
|
-
.sbk-timepicker__control {
|
|
4724
|
-
display: flex;
|
|
4725
|
-
align-items: center;
|
|
4726
|
-
gap: 8px;
|
|
4727
|
-
width: 100%;
|
|
4728
|
-
height: 28px;
|
|
4729
|
-
/* Slack's c-select_input--small pads 4px 8px outside a drawn ring; our border sits inside the
|
|
4730
|
-
box, so trim it from the padding to land the icon, text and chevron on the same pixels. */
|
|
4731
|
-
padding: 3px 7px;
|
|
4732
|
-
font: 13px / 19.5px var(--sbk-font);
|
|
4733
|
-
color: var(--sbk-text);
|
|
4734
|
-
background: var(--sbk-bg);
|
|
4735
|
-
border: 1px solid rgb(124, 122, 127);
|
|
4736
|
-
border-radius: 8px;
|
|
4737
|
-
cursor: pointer;
|
|
4738
|
-
}
|
|
4739
|
-
|
|
4740
|
-
.sbk-timepicker__icon {
|
|
4741
|
-
flex: 0 0 auto;
|
|
4742
|
-
width: 13px;
|
|
4743
|
-
height: 20px;
|
|
4744
|
-
color: var(--sbk-badge-text);
|
|
4745
|
-
}
|
|
4746
|
-
|
|
4747
|
-
.sbk-timepicker__value,
|
|
4748
|
-
.sbk-timepicker__placeholder {
|
|
4749
|
-
flex: 1;
|
|
4750
|
-
text-align: left;
|
|
4751
|
-
overflow: hidden;
|
|
4752
|
-
white-space: nowrap;
|
|
4753
|
-
text-overflow: ellipsis;
|
|
4754
|
-
}
|
|
4755
|
-
|
|
4756
|
-
.sbk-timepicker__placeholder {
|
|
4757
|
-
color: var(--sbk-muted);
|
|
4758
|
-
}
|
|
4759
|
-
|
|
4760
|
-
.sbk-timepicker__chevron {
|
|
4761
|
-
flex: 0 0 auto;
|
|
4762
|
-
width: 20px;
|
|
4763
|
-
height: 20px;
|
|
4764
|
-
color: var(--sbk-badge-text);
|
|
4765
|
-
}
|
|
4766
|
-
|
|
4767
|
-
.sbk-timepicker__menu {
|
|
4768
|
-
position: absolute;
|
|
4769
|
-
z-index: 10;
|
|
4770
|
-
top: 0;
|
|
4771
|
-
left: 0;
|
|
4772
|
-
width: 100%;
|
|
4773
|
-
max-height: 240px;
|
|
4774
|
-
overflow-y: auto;
|
|
4775
|
-
padding: 12px 0;
|
|
4776
|
-
background: var(--sbk-menu-bg);
|
|
4777
|
-
border-radius: 4px;
|
|
4778
|
-
box-shadow:
|
|
4779
|
-
0 0 0 1px rgba(29, 28, 29, 0.13),
|
|
4780
|
-
0 5px 10px rgba(0, 0, 0, 0.12);
|
|
4781
|
-
}
|
|
4782
|
-
|
|
4783
|
-
/* Same `c-select_options_list__option` rows as Select.css. */
|
|
4784
|
-
.sbk-timepicker__option {
|
|
4785
|
-
display: flex;
|
|
4786
|
-
align-items: center;
|
|
4787
|
-
min-height: 28px;
|
|
4788
|
-
padding: 0 24px;
|
|
4789
|
-
font: 15px / 1.46668 var(--sbk-font);
|
|
4790
|
-
color: var(--sbk-text);
|
|
4791
|
-
cursor: pointer;
|
|
4792
|
-
}
|
|
4793
|
-
|
|
4794
|
-
.sbk-timepicker__option--selected {
|
|
4795
|
-
color: var(--sbk-menu-selected-text);
|
|
4796
|
-
}
|
|
4797
|
-
|
|
4798
|
-
.sbk-timepicker__option[data-active] {
|
|
4799
|
-
color: var(--sbk-menu-highlight-text);
|
|
4800
|
-
background: var(--sbk-menu-highlight-bg);
|
|
4801
|
-
}
|
|
4802
|
-
|
|
4803
|
-
.sbk-timepicker__hint {
|
|
4804
|
-
margin-top: 4px;
|
|
4805
|
-
font-size: 12px;
|
|
4806
|
-
color: var(--sbk-muted);
|
|
4807
|
-
}
|
|
4808
|
-
|
|
4809
|
-
.sbk-workflow-button {
|
|
4810
|
-
display: inline-flex;
|
|
4811
|
-
align-items: center;
|
|
4812
|
-
gap: 6px;
|
|
4813
|
-
}
|
|
4814
|
-
|
|
4815
|
-
.sbk-workflow-button__icon {
|
|
4816
|
-
width: 14px;
|
|
4817
|
-
height: 14px;
|
|
4818
|
-
flex: none;
|
|
4819
|
-
}
|
|
4820
|
-
|
|
1
|
+
:root,[data-theme="light"]{--sbk-hover-actions-shadow:0 0 0 1px rgba(29,28,29,0.13),0 1px 3px 0 #00000014;--sbk-font:"Slack-Lato",Lato,appleLogo,sans-serif;--sbk-font-mono:"Slack-Roboto-Mono","Roboto Mono",Monaco,Menlo,Consolas,"Courier New",monospace;--sbk-text:#1d1c1d;--sbk-link:#1264a3;--sbk-code-text:rgb(192,19,67);--sbk-code-bg:rgba(29,28,29,0.04);--sbk-code-border:rgba(29,28,29,0.13);--sbk-quote-bar:#dddddd;--sbk-skeleton-bg:#eaeaea;--sbk-mention-bg:rgba(29,155,209,0.1);--sbk-mention-text:#1264a3;--sbk-mention-private-bg:rgba(29,28,29,0.13);--sbk-mention-private-text:rgba(29,28,29,0.7);--sbk-broadcast-bg:rgba(255,198,0,0.18);--sbk-bg:#fff;--sbk-muted:#616061;--sbk-badge-text:#454447;--sbk-badge-bg:rgba(29,28,29,0.06);--sbk-border:rgba(29,28,29,0.13);--sbk-divider:rgba(94,93,96,0.45);--sbk-button-border:rgba(94,93,96,0.45);--sbk-primary:#007a5a;--sbk-primary-hover:#148567;--sbk-danger:#e01e5a;--sbk-danger-hover:#e23067;--sbk-button-hover-bg:#f8f8f8;--sbk-button-hover-shadow:rgba(0,0,0,0.098) 0 1px 3px,rgba(0,0,0,0.098) 0 1px 2px -1px;--sbk-icon-button-hover-bg:#eaeaea;--sbk-hover-overlay:rgba(29,28,29,0.06);--sbk-row-hover-bg:#f8f8f8;--sbk-mention-hover-bg:rgba(29,155,209,0.2);--sbk-mention-hover-text:rgb(11,76,140);--sbk-menu-highlight-bg:#1264a3;--sbk-menu-highlight-text:#fff;--sbk-focus-ring:#1264a3;--sbk-focus-ring-invalid:#e01e5a;--sbk-checkbox-checked:#1264a3;--sbk-checkbox-checked-hover:#122a5921;--sbk-checkbox-checked-pressed:#122a5938;--sbk-menu-bg:#fff;--sbk-menu-shadow:0 0 0 1px rgba(29,28,29,0.13),0 4px 12px 0 rgba(0,0,0,0.12);--sbk-menu-selected-text:#1264a3;--sbk-menu-separator:rgba(29,28,29,0.13);--sbk-menu-secondary-text:#454447;--sbk-popover-shadow:0 0 0 1px rgba(29,28,29,0.13),0 4px 12px 0 rgba(0,0,0,0.08);--sbk-spinner-track:#5e5d60;--sbk-tooltip-bg:#1d1c1d;--sbk-tooltip-text:#fff;--sbk-surface-sec:#f8f8f8;--sbk-surface-ter:#eaeaea;--sbk-container-bg:#fff;--sbk-content-sec:#454447;--sbk-content-ter:#5e5d60;--sbk-outline-pry:#7c7a7f;--sbk-outline-ter:rgba(94,93,96,0.13);--sbk-interaction-hover:#4544470f;--sbk-interaction-pressed:#45444721;--sbk-highlight:#1264a3;--sbk-on-highlight:#fff;--sbk-blend-interaction:multiply;--sbk-calendar-grid:rgb(221,221,221);--sbk-avatar-placeholder:#dddddd;--sbk-hover-actions-icon:#616061}.sbk-root{font-family:var(--sbk-font);font-size:15px;line-height:22px;color:var(--sbk-text);font-variant-ligatures:common-ligatures;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}:is(.sbk-root,.sbk-confirm__overlay,.sbk-tooltip) :where(:not(svg,svg *,img,video,canvas,iframe,embed,object)),:is(.sbk-root,.sbk-confirm__overlay,.sbk-tooltip) :where(:not(svg,svg *))::before,:is(.sbk-root,.sbk-confirm__overlay,.sbk-tooltip) :where(:not(svg,svg *))::after{all:revert}:is(.sbk-root,.sbk-confirm__overlay,.sbk-tooltip) :where(svg,img,video,canvas,iframe,embed,object){display:revert;vertical-align:revert;max-width:revert;margin:revert;padding:revert;border:revert;min-width:revert}.sbk-root *,.sbk-root *::before,.sbk-root *::after{box-sizing:border-box}.sbk-unsupported{display:inline-block;padding:2px 6px;font:12px var(--sbk-font-mono);color:var(--sbk-muted);border:1px dashed var(--sbk-border);border-radius:4px}.sbk-mrkdwn{font-family:var(--sbk-font);font-size:15px;line-height:22px;color:var(--sbk-text);overflow-wrap:anywhere}.sbk-mrkdwn__code{font-family:var(--sbk-font-mono);font-size:12px;line-height:18px;color:var(--sbk-code-text);background:var(--sbk-code-bg);border:1px solid var(--sbk-code-border);border-radius:3px;padding:2px 3px 1px}.sbk-mrkdwn__pre{display:block;font-family:var(--sbk-font-mono);font-size:12px;line-height:1.50001;background:var(--sbk-code-bg);border:1px solid var(--sbk-code-border);border-radius:4px;padding:8px;margin:4px 0;white-space:pre-wrap}.sbk-mrkdwn__quote{margin:4px 0;padding-left:16px;position:relative}.sbk-mrkdwn__quote::before{content:"";position:absolute;inset:0 auto 0 0;width:4px;border-radius:8px;background:var(--sbk-quote-bar)}.sbk-link{color:var(--sbk-link);text-decoration:underline}.sbk-mention{color:var(--sbk-mention-text);background:var(--sbk-mention-bg);border-radius:3px;padding:0 2px 1px}.sbk-mention:hover{color:var(--sbk-mention-hover-text);background:var(--sbk-mention-hover-bg)}a.sbk-mention{text-decoration:none}.sbk-mention--unresolved{display:inline-block;vertical-align:middle;width:120px;height:8px;background:var(--sbk-skeleton-bg);border-radius:1000px}.sbk-mention--broadcast{color:var(--sbk-text);background:var(--sbk-broadcast-bg);border-radius:3px;padding:1px 2px;font-weight:700}.sbk-mention--private{display:inline;color:var(--sbk-mention-private-text);background:var(--sbk-mention-private-bg);border-radius:3px;padding:0 2px 1px 0}.sbk-mention__lock-icon{display:inline-block;width:15px;height:15px;vertical-align:-0.125em}.sbk-mention--loading{display:inline-block;vertical-align:middle;width:120px;height:8px;border:1px solid var(--sbk-quote-bar);border-radius:1000px}.sbk-emoji{display:inline-flex;position:relative;align-items:center;vertical-align:top}.sbk-emoji__img{display:block;position:absolute;object-fit:contain}.sbk-collapse{display:flow-root;overflow:clip;transition:height 0.25s}.sbk-spinner{position:relative;display:inline-block;flex-shrink:0}.sbk-spinner__arc{position:absolute;top:0;left:0;display:block;width:100%;height:100%;transform:rotate(-45deg);animation:sbk-spinner-spin 1.2s cubic-bezier(0.25,0.29,0.54,0.86) infinite}.sbk-spinner__tail{animation-timing-function:cubic-bezier(0.41,0.24,0.64,0.69)}.sbk-spinner__bg{fill:none;stroke:var(--sbk-spinner-track);stroke-width:8px;opacity:0.25}.sbk-spinner__path{fill:none;stroke:currentColor;stroke-width:8px;stroke-dasharray:55,200;stroke-dashoffset:90px;stroke-linecap:round}@keyframes sbk-spinner-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.sbk-root{--sbk-focus-shadow:0 0 0 1px var(--sbk-focus-ring),0 0 0 5px color-mix(in srgb,var(--sbk-focus-ring) 30%,transparent);--sbk-focus-shadow-invalid:0 0 0 1px var(--sbk-focus-ring-invalid),0 0 0 5px color-mix(in srgb,var(--sbk-focus-ring-invalid) 30%,transparent)}.sbk-text-input,.sbk-rich-text-input,.sbk-datepicker__input,.sbk-datetimepicker__time-input,.sbk-select__control,.sbk-timepicker__control,.sbk-datetimepicker__control{transition:border 80ms ease-out,box-shadow 80ms ease-out}.sbk-text-input:focus,.sbk-rich-text-input:focus-within,.sbk-datepicker__input:focus,.sbk-datetimepicker__time-input:focus,.sbk-select__control:focus-visible,.sbk-select__control[aria-expanded="true"],.sbk-timepicker__control:focus-visible,.sbk-timepicker__control[aria-expanded="true"],.sbk-datetimepicker__control:focus-visible,.sbk-datetimepicker__control[aria-expanded="true"]{outline:none;border-color:transparent;box-shadow:var(--sbk-focus-shadow)}.sbk-text-input[aria-invalid="true"],.sbk-text-input[aria-invalid="true"]:focus{border-color:transparent;box-shadow:var(--sbk-focus-shadow-invalid)}.sbk-text-input:focus::placeholder,.sbk-datepicker__input:focus::placeholder{color:var(--sbk-content-ter)}.sbk-button:focus-visible,.sbk-modal__button:focus-visible,.sbk-overflow__button:focus-visible,.sbk-file-input__button:focus-visible,.sbk-icon-button:focus-visible,.sbk-code-block__copy:focus-visible,.sbk-carousel__arrow:focus-visible,.sbk-calendar__nav:focus-visible,.sbk-calendar__cell:focus-visible,.sbk-calendar__clear:focus-visible{outline:none;box-shadow:var(--sbk-focus-shadow)}.sbk-button:focus-visible:hover,.sbk-overflow__button:focus-visible:hover{box-shadow:var(--sbk-focus-shadow)}@media (prefers-reduced-motion:reduce){.sbk-spinner__arc{animation-duration:2.4s}.sbk-collapse{transition:none}}.sbk-tooltip{position:fixed;z-index:1100;max-width:200px;padding:8px 12px;font-family:var(--sbk-font);font-size:13px;font-weight:700;line-height:1.38463;text-align:center;overflow-wrap:break-word;color:var(--sbk-tooltip-text);background:var(--sbk-tooltip-bg);border-radius:8px;pointer-events:none;-webkit-font-smoothing:antialiased}.sbk-tooltip__arrow{position:absolute;left:50%;width:9px;height:9px;margin-left:-4.5px;background:var(--sbk-tooltip-bg);border-radius:1px;transform:rotate(45deg)}.sbk-tooltip--top .sbk-tooltip__arrow{bottom:-4px}.sbk-tooltip--bottom .sbk-tooltip__arrow{top:-4px}.sbk-tooltip__secondary{display:block;font-weight:400;color:rgba(255,255,255,0.7)}.sbk-popover{position:fixed;z-index:1000}.sbk-modal{display:flex;flex-direction:column;width:600px;max-width:100%;max-height:min(640px,90vh);background:var(--sbk-bg);border-radius:8px;box-shadow:0 0 0 1px var(--sbk-border),0 8px 28px rgba(0,0,0,0.28);overflow:hidden}.sbk-modal__header{position:relative;display:flex;align-items:flex-start;justify-content:space-between;flex:0 0 auto;padding:16px 24px}.sbk-modal__title-row{display:flex;align-items:center;flex:1 1 auto;min-width:0}.sbk-modal__icon{flex:0 0 auto;width:36px;height:36px;margin-right:16px;border-radius:4px;object-fit:cover}.sbk-modal__title{flex:1 1 auto;min-width:0;margin:0;font-size:22px;font-weight:900;line-height:30px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sbk-modal__close{display:grid;flex:0 0 auto;place-items:center;width:33.4375px;height:36px;margin-left:16px;padding:0;border:none;border-radius:8px;background:none;color:var(--sbk-badge-text);cursor:pointer}.sbk-modal__close:hover{background:var(--sbk-icon-button-hover-bg)}.sbk-modal__body{flex:1 1 auto;padding:8px 20px 16px 24px;border-right:4px solid transparent;overflow:hidden auto}.sbk-modal__body::-webkit-scrollbar{width:8px}.sbk-modal__body::-webkit-scrollbar-track,.sbk-modal__body::-webkit-scrollbar-corner{background:transparent}.sbk-modal__body::-webkit-scrollbar-thumb{min-height:36px;background:transparent;background-clip:padding-box;border:2px solid transparent;border-radius:4px}.sbk-modal__body:hover::-webkit-scrollbar-thumb{background-color:rgba(29,28,29,0.52)}.sbk-modal .sbk-blocks{gap:16px}.sbk-modal .sbk-section{margin:0}.sbk-modal .sbk-checkboxes{margin-bottom:16px}.sbk-modal__footer{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex:0 0 auto;padding:20px 24px;border-top:1px solid var(--sbk-border)}.sbk-modal__button{height:36px;min-width:80px;padding:0 12px 1px;border-radius:8px;border:1px solid var(--sbk-button-border);background:var(--sbk-bg);color:var(--sbk-text);font:inherit;font-weight:700;font-size:15px;cursor:pointer;transition:color 80ms,background-color 80ms,border-color 80ms cubic-bezier(0.36,0.19,0.29,1)}.sbk-modal__button:hover{box-shadow:var(--sbk-button-hover-shadow)}.sbk-modal__button:active{box-shadow:none}.sbk-modal__button--primary{border-color:transparent;background:var(--sbk-primary);color:#fff}.sbk-modal__button--primary:hover,.sbk-modal__button--primary:active{background-image:linear-gradient(var(--sbk-button-overlay),var(--sbk-button-overlay));background-blend-mode:multiply}.sbk-modal__button--primary:hover{--sbk-button-overlay:#0a403221}.sbk-modal__button--primary:active{--sbk-button-overlay:#0a403238}.sbk-modal__button--secondary:hover,.sbk-modal__button--secondary:active{background-color:var(--sbk-button-hover-bg)}.sbk-home{max-width:760px;margin:0 auto;background:var(--sbk-bg)}.sbk-home__menu{display:flex;align-items:flex-end;height:40px;border-bottom:1px solid var(--sbk-border)}.sbk-home__tab{display:flex;align-items:center;gap:4px;height:32px;margin-left:25px;font-weight:700;box-shadow:inset 0 -2px 0 0 rgb(74,21,75)}.sbk-home .sbk-button{height:36px;font-size:15px;border-radius:8px}.sbk-home .sbk-overflow__button{width:31px;height:36px;border-radius:8px}.sbk-home__content{padding:25px}.sbk-modal-layer{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(0,0,0,0.6)}.sbk-modal-layer__view{display:flex;justify-content:center;width:100%;max-height:100%}.sbk-modal-layer__view[hidden]{display:none}.sbk-message{display:flex;background:var(--sbk-bg)}.sbk-message__avatar{display:block;flex:0 0 36px;width:36px;height:36px;margin-right:8px;object-fit:cover}.sbk-message__avatar--placeholder{display:grid;place-items:center;border-radius:4px;background:#4a154b;color:#fff;font-weight:700}.sbk-message__content{flex:1 1 0;min-width:0;padding:8px 0}.sbk-message__header{display:flex;align-items:center;height:22px}.sbk-message__sender{margin-right:5px;font-weight:900}.sbk-message__badge{margin-right:5px;padding:1px 3px;border-radius:2px;font-size:10px;line-height:12.5px;font-weight:700;color:var(--sbk-badge-text);background:var(--sbk-badge-bg)}.sbk-message__time{margin-right:5px;font-size:12px;line-height:17.6px;color:var(--sbk-muted)}.sbk-blocks{display:flex;flex-direction:column;gap:4px}.sbk-message__edited{font-size:12px;color:var(--sbk-muted)}.sbk-message__ephemeral{display:flex;align-items:center;margin-top:4px;font-size:12px;color:var(--sbk-muted)}.sbk-attachments{display:flex;flex-direction:column;gap:4px;margin-top:4px}.sbk-attachment{display:flex;border-left:4px solid var(--sbk-border);border-radius:4px}.sbk-attachment__body{flex:1 1 0;min-width:0;padding:8px 12px;border:1px solid var(--sbk-border);border-left:none;border-radius:0 4px 4px 0}.sbk-attachment__pretext{margin-bottom:4px}.sbk-attachment__author{display:flex;align-items:center;gap:6px;margin-bottom:4px;font-weight:700}.sbk-attachment__author-icon{width:16px;height:16px;border-radius:2px}.sbk-attachment__title{margin-bottom:4px;font-weight:700;color:var(--sbk-link)}.sbk-attachment__fields{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}.sbk-attachment__field{flex:1 1 100%}.sbk-attachment__field--short{flex:1 1 calc(50% - 8px);min-width:120px}.sbk-attachment__field-title{font-weight:700}.sbk-attachment__image{display:block;max-width:360px;margin-top:8px;border-radius:4px}.sbk-attachment__footer{display:flex;align-items:center;gap:6px;margin-top:8px;font-size:12px;color:var(--sbk-muted)}.sbk-attachment__footer-icon{width:16px;height:16px;border-radius:2px}.sbk-reactions{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}.sbk-reactions__item{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border:1px solid var(--sbk-border);border-radius:12px;background:var(--sbk-badge-bg);font-size:13px;cursor:default}.sbk-reactions__count{color:var(--sbk-link);font-weight:700}.sbk-thread-summary{display:flex;align-items:center;gap:6px;margin-top:4px;padding:4px 0;border:none;background:none;color:var(--sbk-link);font:inherit;font-weight:700;cursor:pointer}.sbk-thread-summary__subscribed{color:var(--sbk-primary);font-size:8px}@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--sbk-text:#f8f8f8;--sbk-link:#2ba5ce;--sbk-code-text:#de678a;--sbk-code-bg:rgba(248,248,248,0.06);--sbk-code-border:#797c814d;--sbk-quote-bar:#797c8180;--sbk-skeleton-bg:#35373b;--sbk-mention-bg:#03669640;--sbk-mention-text:#2ba5ce;--sbk-mention-private-bg:rgba(248,248,248,0.13);--sbk-mention-private-text:rgba(248,248,248,0.7);--sbk-broadcast-bg:#a073002e;--sbk-bg:#1a1d21;--sbk-muted:#9a9b9e;--sbk-badge-text:#b9babd;--sbk-badge-bg:#f8f8f80f;--sbk-border:#797c814d;--sbk-divider:#797c8180;--sbk-button-border:#797c8180;--sbk-primary:#177e56;--sbk-primary-hover:#268761;--sbk-danger:#d3305d;--sbk-danger-hover:#d63d68;--sbk-button-hover-bg:#323438;--sbk-button-hover-shadow:rgba(0,0,0,0.3) 0 1px 3px,rgba(0,0,0,0.3) 0 1px 2px -1px;--sbk-icon-button-hover-bg:#f8f8f814;--sbk-hover-overlay:#f8f8f80f;--sbk-row-hover-bg:#f8f8f80f;--sbk-mention-hover-bg:#03669673;--sbk-mention-hover-text:rgb(136,187,226);--sbk-menu-highlight-bg:#0a77a7;--sbk-menu-highlight-text:#f8f8f8;--sbk-focus-ring:#2ba5ce;--sbk-focus-ring-invalid:#d94c75;--sbk-checkbox-checked:#0a77a7;--sbk-checkbox-checked-hover:#d8eef614;--sbk-checkbox-checked-pressed:#d8eef62e;--sbk-menu-bg:#212428;--sbk-menu-shadow:0 0 0 1px #797c814d,0 4px 12px 0 rgba(0,0,0,0.35);--sbk-menu-selected-text:#2ba5ce;--sbk-menu-separator:#797c814d;--sbk-menu-secondary-text:#b9babd;--sbk-popover-shadow:0 0 0 1px #797c814d,0 4px 12px 0 rgba(0,0,0,0.35);--sbk-spinner-track:#9a9b9e;--sbk-tooltip-bg:#212428;--sbk-tooltip-text:#f8f8f8;--sbk-surface-sec:#212428;--sbk-surface-ter:#212428;--sbk-container-bg:#212428;--sbk-content-sec:#b9babd;--sbk-content-ter:#9a9b9e;--sbk-outline-pry:#797c81;--sbk-outline-ter:#797c814d;--sbk-interaction-hover:#f8f8f814;--sbk-interaction-pressed:#f8f8f82e;--sbk-highlight:#0a77a7;--sbk-on-highlight:#f8f8f8;--sbk-blend-interaction:lighten;--sbk-calendar-grid:#797c814d;--sbk-avatar-placeholder:#35373b;--sbk-hover-actions-icon:#b9babd;--sbk-hover-actions-shadow:0 0 0 1px #797c814d,0 1px 3px 0 rgba(0,0,0,0.3);--sbk-table-border:#797c814d;--sbk-dataviz-border:#797c814d;--sbk-dataviz-tick:#9a9b9e;--sbk-data-table-bg:#f8f8f80f;--sbk-data-table-sep:#797c814d;--sbk-data-table-active:#3daa7c;--sbk-plan-text:#9a9b9e;--sbk-task-card-text:#9a9b9e;--sbk-alert-default-bg:#f8f8f81a;--sbk-alert-default-icon:#b9babd;--sbk-alert-info-icon:#2ba5ce;--sbk-alert-warning-icon:#e8a723;--sbk-alert-error-icon:#d94c75;--sbk-alert-success-icon:#3daa7c;--sbk-callout-border:#797c814d;--sbk-callout-green-bg:#203430;--sbk-callout-blue-bg:#1d333d;--sbk-callout-red-bg:#39252e;--sbk-callout-yellow-bg:#3b3321;--sbk-callout-purple-bg:#312c3f;--sbk-callout-gray-bg:#272a2e;--sbk-chart-area-1:#583422;--sbk-chart-area-2:#1c4539;--sbk-chart-area-3:#4d3756;--sbk-chart-area-4:#164356}}:root[data-theme="dark"],[data-theme="dark"]{--sbk-text:#f8f8f8;--sbk-link:#2ba5ce;--sbk-code-text:#de678a;--sbk-code-bg:rgba(248,248,248,0.06);--sbk-code-border:#797c814d;--sbk-quote-bar:#797c8180;--sbk-skeleton-bg:#35373b;--sbk-mention-bg:#03669640;--sbk-mention-text:#2ba5ce;--sbk-mention-private-bg:rgba(248,248,248,0.13);--sbk-mention-private-text:rgba(248,248,248,0.7);--sbk-broadcast-bg:#a073002e;--sbk-bg:#1a1d21;--sbk-muted:#9a9b9e;--sbk-badge-text:#b9babd;--sbk-badge-bg:#f8f8f80f;--sbk-border:#797c814d;--sbk-divider:#797c8180;--sbk-button-border:#797c8180;--sbk-primary:#177e56;--sbk-primary-hover:#268761;--sbk-danger:#d3305d;--sbk-danger-hover:#d63d68;--sbk-button-hover-bg:#323438;--sbk-button-hover-shadow:rgba(0,0,0,0.3) 0 1px 3px,rgba(0,0,0,0.3) 0 1px 2px -1px;--sbk-icon-button-hover-bg:#f8f8f814;--sbk-hover-overlay:#f8f8f80f;--sbk-row-hover-bg:#f8f8f80f;--sbk-mention-hover-bg:#03669673;--sbk-mention-hover-text:rgb(136,187,226);--sbk-menu-highlight-bg:#0a77a7;--sbk-menu-highlight-text:#f8f8f8;--sbk-focus-ring:#2ba5ce;--sbk-focus-ring-invalid:#d94c75;--sbk-checkbox-checked:#0a77a7;--sbk-checkbox-checked-hover:#d8eef614;--sbk-checkbox-checked-pressed:#d8eef62e;--sbk-menu-bg:#212428;--sbk-menu-shadow:0 0 0 1px #797c814d,0 4px 12px 0 rgba(0,0,0,0.35);--sbk-menu-selected-text:#2ba5ce;--sbk-menu-separator:#797c814d;--sbk-menu-secondary-text:#b9babd;--sbk-popover-shadow:0 0 0 1px #797c814d,0 4px 12px 0 rgba(0,0,0,0.35);--sbk-spinner-track:#9a9b9e;--sbk-tooltip-bg:#212428;--sbk-tooltip-text:#f8f8f8;--sbk-surface-sec:#212428;--sbk-surface-ter:#212428;--sbk-container-bg:#212428;--sbk-content-sec:#b9babd;--sbk-content-ter:#9a9b9e;--sbk-outline-pry:#797c81;--sbk-outline-ter:#797c814d;--sbk-interaction-hover:#f8f8f814;--sbk-interaction-pressed:#f8f8f82e;--sbk-highlight:#0a77a7;--sbk-on-highlight:#f8f8f8;--sbk-blend-interaction:lighten;--sbk-calendar-grid:#797c814d;--sbk-avatar-placeholder:#35373b;--sbk-hover-actions-icon:#b9babd;--sbk-hover-actions-shadow:0 0 0 1px #797c814d,0 1px 3px 0 rgba(0,0,0,0.3);--sbk-table-border:#797c814d;--sbk-dataviz-border:#797c814d;--sbk-dataviz-tick:#9a9b9e;--sbk-data-table-bg:#f8f8f80f;--sbk-data-table-sep:#797c814d;--sbk-data-table-active:#3daa7c;--sbk-plan-text:#9a9b9e;--sbk-task-card-text:#9a9b9e;--sbk-alert-default-bg:#f8f8f81a;--sbk-alert-default-icon:#b9babd;--sbk-alert-info-icon:#2ba5ce;--sbk-alert-warning-icon:#e8a723;--sbk-alert-error-icon:#d94c75;--sbk-alert-success-icon:#3daa7c;--sbk-callout-border:#797c814d;--sbk-callout-green-bg:#203430;--sbk-callout-blue-bg:#1d333d;--sbk-callout-red-bg:#39252e;--sbk-callout-yellow-bg:#3b3321;--sbk-callout-purple-bg:#312c3f;--sbk-callout-gray-bg:#272a2e;--sbk-chart-area-1:#583422;--sbk-chart-area-2:#1c4539;--sbk-chart-area-3:#4d3756;--sbk-chart-area-4:#164356}.sbk-mention--user{cursor:pointer}.sbk-mention--user:focus-visible{outline:none;box-shadow:var(--sbk-focus-shadow)}.sbk-profile-card{position:fixed;z-index:1000;display:flex;gap:16px;width:300px;padding:20px;color:var(--sbk-text);background:var(--sbk-menu-bg);border-radius:6px;box-shadow:var(--sbk-popover-shadow)}.sbk-profile-card__avatar{flex:0 0 auto;width:72px;height:72px;border-radius:8px;object-fit:cover}.sbk-profile-card__avatar--placeholder{display:flex;align-items:center;justify-content:center;color:var(--sbk-on-highlight);background:var(--sbk-highlight);font-size:32px;font-weight:700}.sbk-profile-card__body{min-width:0;display:flex;flex-direction:column;gap:2px}.sbk-profile-card__name{font-size:18px;font-weight:900;line-height:1.33334;overflow-wrap:anywhere}.sbk-profile-card__pronouns{margin-left:6px;color:var(--sbk-content-sec);font-size:15px;font-weight:400}.sbk-profile-card__secondary{color:var(--sbk-content-sec);font-size:15px;line-height:22px}.sbk-profile-card__status{display:flex;align-items:center;gap:6px;font-size:15px;line-height:22px}.sbk-profile-card__time{color:var(--sbk-content-ter);font-size:13px;line-height:18px}.sbk-profile-card__name-link{color:inherit;text-decoration:none}.sbk-profile-card__name-link:hover{text-decoration:underline}.sbk-confirm__overlay{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,0.5);z-index:1000}.sbk-confirm{width:400px;max-width:calc(100vw - 32px);background:var(--sbk-bg);border-radius:8px;box-shadow:0 0 0 1px rgba(0,0,0,0.08),0 8px 32px rgba(0,0,0,0.35);padding:20px;font-family:var(--sbk-font)}.sbk-confirm__title{margin:0 0 8px;font-size:18px;font-weight:900;color:var(--sbk-text)}.sbk-confirm__text{font-size:15px;line-height:22px;color:var(--sbk-text);margin-bottom:20px}.sbk-confirm__actions{display:flex;justify-content:flex-end;gap:8px}.sbk-confirm__button{height:36px;padding:0 16px;border-radius:4px;border:1px solid var(--sbk-button-border);background:var(--sbk-bg);color:var(--sbk-text);font:700 15px var(--sbk-font);cursor:pointer}.sbk-confirm__button--primary{border:0;background:var(--sbk-primary);color:#fff}.sbk-confirm__button--danger{border:0;background:var(--sbk-danger);color:#fff}.sbk-hover-actions-host{position:relative}.sbk-hover-actions-host--fit{width:fit-content;max-width:100%}.sbk-hover-actions{position:absolute;z-index:2;top:12px;right:12px;display:flex;padding:4px;background:var(--sbk-menu-bg);border-radius:12px;box-shadow:var(--sbk-hover-actions-shadow);opacity:0;pointer-events:none}.sbk-hover-actions-host:hover>.sbk-hover-actions,.sbk-hover-actions-host:focus-within>.sbk-hover-actions,.sbk-hover-actions:has([aria-expanded="true"]){opacity:1;pointer-events:auto}.sbk-hover-actions--image{top:10px;right:10px}.sbk-hover-actions--chart{top:16px;right:16px}.sbk-hover-actions__button{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--sbk-hover-actions-icon);font-size:18px;cursor:pointer;transition:color 80ms cubic-bezier(0.36,0.19,0.29,1),background 80ms cubic-bezier(0.36,0.19,0.29,1)}a.sbk-hover-actions__button{color:var(--sbk-content-sec)}.sbk-hover-actions__button:hover,.sbk-hover-actions__button[aria-expanded="true"]{background:var(--sbk-row-hover-bg);color:var(--sbk-text)}.sbk-hover-actions__button:focus-visible{outline:none;box-shadow:var(--sbk-focus-shadow)}.sbk-hover-actions__menu-root{position:relative}.sbk-actions{display:flex;flex-wrap:wrap;margin:0 0 8px}.sbk-actions__action{margin:8px 8px 0 0}.sbk-actions__action--full-width{flex:1 1 100%;width:100%}:root,[data-theme="light"]{--sbk-alert-default-bg:rgb(234,234,234);--sbk-alert-default-icon:rgb(94,93,96);--sbk-alert-info-bg:rgba(54,197,240,0.13);--sbk-alert-info-icon:rgb(18,100,163);--sbk-alert-warning-bg:rgba(255,198,0,0.18);--sbk-alert-warning-icon:rgb(107,80,0);--sbk-alert-error-bg:rgba(255,129,170,0.13);--sbk-alert-error-icon:rgb(192,19,67);--sbk-alert-success-bg:rgba(76,200,148,0.25);--sbk-alert-success-icon:rgb(0,122,90)}.sbk-alert{display:flex;margin:8px 0;padding:12px 16px;border:1px solid transparent;border-radius:8px}.sbk-alert__icon{flex-shrink:0;margin:1px 12px 0 0}.sbk-alert__message{min-width:0;overflow-wrap:anywhere}.sbk-alert__message .sbk-link{color:inherit;text-decoration:underline}.sbk-alert--default{background:var(--sbk-alert-default-bg)}.sbk-alert--default .sbk-alert__icon{color:var(--sbk-alert-default-icon)}.sbk-alert--info{background:var(--sbk-alert-info-bg)}.sbk-alert--info .sbk-alert__icon{color:var(--sbk-alert-info-icon)}.sbk-alert--warning{background:var(--sbk-alert-warning-bg)}.sbk-alert--warning .sbk-alert__icon{color:var(--sbk-alert-warning-icon)}.sbk-alert--error{background:var(--sbk-alert-error-bg)}.sbk-alert--error .sbk-alert__icon{color:var(--sbk-alert-error-icon)}.sbk-alert--success{background:var(--sbk-alert-success-bg)}.sbk-alert--success .sbk-alert__icon{color:var(--sbk-alert-success-icon)}:root,[data-theme="light"]{--sbk-callout-border:rgba(94,93,96,0.13);--sbk-callout-green-bg:#f4ffdb;--sbk-callout-blue-bg:#e3f8ff;--sbk-callout-red-bg:#ffeceb;--sbk-callout-yellow-bg:#fff8db;--sbk-callout-purple-bg:#f3ecff;--sbk-callout-gray-bg:#f4f4f4}.sbk-callout{padding:12px;border:1px solid var(--sbk-callout-border);border-radius:12px;overflow:hidden}.sbk-callout .sbk-block:first-child>*{margin-top:0}.sbk-callout .sbk-block:last-child>*{margin-bottom:0}.sbk-container .sbk-callout{display:flex;flex-direction:column;gap:8px}.sbk-container .sbk-callout .sbk-image__title{display:none}.sbk-container .sbk-callout .sbk-image{display:flow-root}.sbk-container .sbk-callout .sbk-block:last-child>.sbk-block-error{margin-bottom:6px}.sbk-card{margin:8px 0}.sbk-card__box{width:340px;max-width:100%;background:var(--sbk-bg);border:1px solid rgba(94,93,96,0.13);border-radius:12px;overflow:hidden}.sbk-card__content{display:flex;flex-direction:column;gap:12px;padding:12px}.sbk-card__hero{display:block;width:100%;height:auto;border-radius:4px;object-fit:cover}.sbk-card__header{display:flex;align-items:center;gap:12px}.sbk-card__icon{display:block;flex:0 0 auto;width:36px;height:36px;border-radius:8px;object-fit:cover}.sbk-card__icon--slack{display:flex;align-items:center;justify-content:center;color:var(--sbk-text)}.sbk-card__icon--fallback{display:flex;align-items:center;justify-content:center;background:rgba(29,28,29,0.06);color:var(--sbk-muted)}.sbk-card__titles{flex:1 1 0;min-width:0}.sbk-card__title{font-weight:700;line-height:22.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sbk-card__title .sbk-mrkdwn,.sbk-card__title .sbk-plain-text{font-size:15px;line-height:22.5px}.sbk-card__subtitle{font-size:13px;line-height:16.25px;color:rgb(94,93,96);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sbk-card__subtitle .sbk-mrkdwn,.sbk-card__subtitle .sbk-plain-text{font-size:13px;line-height:16.25px;color:inherit}.sbk-card__body{line-height:22px}.sbk-card__subtext{font-size:13px;line-height:18px;color:var(--sbk-muted)}.sbk-card__subtext .sbk-mrkdwn,.sbk-card__subtext .sbk-plain-text{font-size:13px;line-height:18px;color:inherit}.sbk-card__actions{display:flex;gap:8px}.sbk-card__actions .sbk-button{min-width:0}.sbk-card__actions-start{display:flex;flex:1;gap:8px}.sbk-carousel{position:relative;margin:8px 0}.sbk-carousel__scroller{display:flex;gap:16px;overflow-x:auto;scrollbar-width:none;scroll-snap-type:x proximity;padding:8px 0 4px;margin:-8px 0 -4px}.sbk-carousel__item{flex:0 0 auto;scroll-snap-align:start}.sbk-carousel__item .sbk-card{margin:0}.sbk-carousel__arrow{display:flex;align-items:center;justify-content:center;position:absolute;top:50%;transform:translateY(-16px);width:32px;height:32px;padding:0;border:0;border-radius:9999px;background:var(--sbk-bg);color:rgb(69,68,71);box-shadow:rgba(0,0,0,0.098) 0px 1px 3px 0px,rgba(0,0,0,0.098) 0px 1px 2px -1px;cursor:pointer;transition:opacity 0.15s,transform 0.15s}.sbk-carousel__arrow:hover{transform:translateY(-16px) scale(1.1)}.sbk-carousel__arrow--hidden{opacity:0;pointer-events:none;transform:translateY(-16px) scale(0.8)}.sbk-carousel__arrow--left{left:12px}.sbk-carousel__arrow--right{right:12px}.sbk-code-block{margin:4px 0;padding:8px}.sbk-code-block__box{margin:4px 0;font-family:var(--sbk-font-mono);font-size:12px;line-height:18px;background:var(--sbk-surface-sec);border:1px solid rgba(29,28,29,0.06);border-radius:12px;overflow:hidden}.sbk-code-block__header{display:flex;align-items:center;justify-content:space-between;padding:4px 4px 4px 12px;font-family:var(--sbk-font);font-size:13px;font-weight:700}.sbk-code-block__language{color:var(--sbk-outline-pry)}.sbk-code-block__copy{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;color:rgb(69,68,71);background:none;border:none;border-radius:8px;cursor:default}.sbk-code-block__scroll{display:flex;padding:0 12px 8px 0;overflow:auto}.sbk-code-block__code,.sbk-code-block__code code{font-family:inherit;font-variant-ligatures:none}.sbk-code-block__code{margin:0;padding:0 8px 8px;line-height:18px;color:var(--sbk-text);border-radius:4px;tab-size:4;-moz-tab-size:4}.sbk-code-block__line{display:block;white-space:pre}.sbk-contact-card{display:flex;align-items:flex-start;gap:12px;padding:12px;background:var(--sbk-bg);border:1px solid rgba(94,93,96,0.13);border-radius:12px}.sbk-contact-card__avatar{display:block;flex:0 0 auto;width:36px;height:36px;border-radius:8px;background:var(--sbk-avatar-placeholder)}.sbk-contact-card__body{display:flex;flex-direction:column;gap:4px;min-width:0;margin-top:-1px;font-size:13px;line-height:15.6px;color:var(--sbk-muted)}.sbk-contact-card__name{font-weight:700;font-size:15px;line-height:19.2px;color:var(--sbk-text)}.sbk-contact-card__skeleton{display:inline-block;width:120px;height:8px;border-radius:1000px;background:var(--sbk-surface-ter)}.sbk-block-error{margin:0 0 6px;font-size:15px;line-height:22px}.sbk-block-error__message{font-size:12.5px;line-height:18.33px;color:var(--sbk-text);opacity:0.5}.sbk-container{margin:16px 0 0;background:var(--sbk-bg);border:1px solid var(--sbk-outline-ter);border-radius:12px;overflow:hidden}.sbk-container--narrow{max-width:320px}.sbk-container--standard{max-width:480px}.sbk-container--wide{max-width:642px}.sbk-container__header{display:flex;width:100%;padding:12px;border:0;background:none;font:inherit;color:inherit;text-align:left;cursor:default}.sbk-container__header--button{cursor:pointer}.sbk-container__header--divider{margin-bottom:12px;border-bottom:1px solid var(--sbk-outline-ter)}.sbk-container__titles{display:flex;align-items:center;gap:12px;flex:1 1 0;min-width:0}.sbk-container__icon{display:block;flex:0 0 auto;width:36px;height:36px;border-radius:8px;object-fit:cover}.sbk-container__title-col{display:flex;flex-direction:column;flex:1 1 0;min-width:0}.sbk-container__title{font-weight:700;line-height:22.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sbk-container__subtitle{font-size:13px;line-height:16.25px;color:var(--sbk-content-sec);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sbk-container__chevron{display:flex;flex:0 0 auto;align-items:center;margin-left:8px;transition:transform 0.16s cubic-bezier(0.36,0.19,0.29,1)}.sbk-container__chevron--collapsed{transform:rotate(-90deg)}.sbk-container__body{padding:0 12px 12px}.sbk-collapse.sbk-container__collapse{transition:height 0.16s cubic-bezier(0.36,0.19,0.29,1)}@media (prefers-reduced-motion:reduce){.sbk-container__chevron,.sbk-collapse.sbk-container__collapse{transition:none}}.sbk-container__body>.sbk-block--image .sbk-image__title{display:none}.sbk-container__body>.sbk-block--image .sbk-image{margin-top:0}.sbk-container__header + .sbk-container__body>.sbk-block--section:first-child .sbk-section,.sbk-container__header + .sbk-container__collapse>.sbk-container__body>.sbk-block--section:first-child .sbk-section{margin-top:0}.sbk-context{display:flex;flex-wrap:wrap;align-items:flex-start;row-gap:4px;margin:4px 0;font-size:15px;line-height:22px;color:var(--sbk-muted)}.sbk-context .sbk-mrkdwn,.sbk-context .sbk-plain-text{font-size:13px;line-height:18px;color:inherit}.sbk-context .sbk-emoji{vertical-align:text-bottom}.sbk-context__text{margin-right:16px}.sbk-context>:last-child{margin-right:0}.sbk-context__image{margin-right:4px;margin-bottom:5px;width:20px;height:20px;border-radius:2px;object-fit:cover}.sbk-context-actions{display:flex;align-items:center}:root,[data-theme="light"]{--sbk-data-table-bg:rgba(29,28,29,0.06);--sbk-data-table-sep:rgba(94,93,96,0.13);--sbk-data-table-active:#007a5a}.sbk-data-table{margin:4px 0}.sbk-data-table__header{display:flex;align-items:center;padding:8px 4px;gap:8px}.sbk-data-table__caption{flex:1 1 auto;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sbk-data-table__toolbar{display:flex;gap:8px;flex:0 0 auto}.sbk-data-table__icon-btn{display:flex;align-items:center;justify-content:center;width:30px;height:30px;padding:0;color:var(--sbk-badge-text);background:none;border:1px solid var(--sbk-button-border);border-radius:8px;cursor:pointer}.sbk-data-table__frame{display:flex;flex-direction:column;overflow-x:auto;padding:0 4px;background-color:var(--sbk-data-table-bg);border-radius:12px}.sbk-data-table__frame::-webkit-scrollbar{width:8px;height:8px}.sbk-data-table__frame::-webkit-scrollbar-track,.sbk-data-table__frame::-webkit-scrollbar-thumb,.sbk-data-table__frame::-webkit-scrollbar-corner{background:transparent}.sbk-data-table__frame::-webkit-scrollbar-thumb{border-radius:4px}.sbk-data-table__frame:hover::-webkit-scrollbar-thumb{background:color-mix(in srgb,var(--sbk-text) 52%,transparent)}.sbk-data-table__rows{position:relative;min-width:min-content}.sbk-data-table__rows:last-child{margin-bottom:4px}.sbk-data-table__grid-header,.sbk-data-table__row{display:grid}.sbk-data-table__col-header{display:flex;align-items:center;height:36px;font-size:13px;font-weight:700;line-height:18px;color:var(--sbk-badge-text)}.sbk-data-table__col-header button{display:flex;align-items:center;justify-content:space-between;width:100%;height:28px;gap:4px;padding:0 12px;font:inherit;color:inherit;background:none;border:none;border-radius:8px;cursor:pointer}.sbk-data-table__col-header button:hover,.sbk-data-table__col-header button:focus-visible{background-color:var(--sbk-hover-overlay)}.sbk-data-table__sort-caret{display:flex;margin-left:auto;opacity:0}.sbk-data-table__col-header button:hover .sbk-data-table__sort-caret,.sbk-data-table__col-header button:focus-visible .sbk-data-table__sort-caret{opacity:1}.sbk-data-table__sort-menu{width:200px;padding:12px 0;background:var(--sbk-menu-bg);border-radius:4px;box-shadow:var(--sbk-menu-shadow)}.sbk-data-table__sort-heading{padding:4px 24px;font:13px / 18px var(--sbk-font);color:var(--sbk-content-sec)}.sbk-data-table__sort-item{position:relative;display:flex;align-items:center;height:28px;padding:0 24px;font:15px / 28px var(--sbk-font);color:var(--sbk-text);white-space:nowrap;cursor:pointer}.sbk-data-table__sort-item[aria-checked="true"]{color:var(--sbk-menu-selected-text)}.sbk-data-table__sort-item--danger{color:var(--sbk-code-text)}.sbk-data-table__sort-item[data-active]{color:var(--sbk-menu-highlight-text);background:var(--sbk-menu-highlight-bg)}.sbk-data-table__sort-icon{display:flex;width:20px;height:16px;margin-right:8px}.sbk-data-table__sort-check{position:absolute;top:6px;left:4px;display:flex;width:20px;height:16px}.sbk-data-table__sort-separator{padding:8px 0}.sbk-data-table__sort-separator::before{content:"";display:block;border-top:1px solid var(--sbk-menu-separator)}.sbk-data-table__col-label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.sbk-data-table__cell{position:relative;min-width:0;height:48px;overflow:hidden;background-color:var(--sbk-bg)}.sbk-data-table__row:first-child .sbk-data-table__cell{border-top:1px solid var(--sbk-button-border)}.sbk-data-table__row:last-child .sbk-data-table__cell{border-bottom:1px solid var(--sbk-button-border)}.sbk-data-table__cell:first-child{border-left:1px solid var(--sbk-button-border)}.sbk-data-table__cell:last-child{border-right:1px solid var(--sbk-button-border)}.sbk-data-table__row:hover .sbk-data-table__cell{background-color:var(--sbk-row-hover-bg)}.sbk-data-table__row:not(:first-child) .sbk-data-table__cell{box-shadow:inset 0 1px 0 var(--sbk-data-table-sep)}.sbk-data-table__row:first-child .sbk-data-table__cell:first-child{border-top-left-radius:8px}.sbk-data-table__row:first-child .sbk-data-table__cell:last-child{border-top-right-radius:8px}.sbk-data-table__row:last-child .sbk-data-table__cell:first-child{border-bottom-left-radius:8px}.sbk-data-table__row:last-child .sbk-data-table__cell:last-child{border-bottom-right-radius:8px}.sbk-data-table__cell-content{display:flex;align-items:center;height:48px;padding:0 12px}.sbk-data-table__truncate{overflow:hidden;white-space:nowrap}.sbk-data-table__pagination{position:sticky;left:0;max-width:100%;display:flex;align-items:center;justify-content:center;gap:4px;height:32px;font-size:13px;line-height:18px;color:var(--sbk-badge-text)}.sbk-data-table__page-nav{display:flex;align-items:center;justify-content:center;width:20px;height:20px;padding:0;color:inherit;background:none;border:none;border-radius:8px;cursor:pointer}.sbk-data-table__page-nav:disabled{opacity:0.4;cursor:default}.sbk-data-table__page-btn{display:flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;font:inherit;color:inherit;background:none;border:none;border-radius:4px;cursor:pointer}.sbk-data-table__page-btn--active{color:#fff;background-color:var(--sbk-data-table-active)}.sbk-data-table__page-btn:not(.sbk-data-table__page-btn--active):hover,.sbk-data-table__page-btn:not(.sbk-data-table__page-btn--active):focus-visible{color:var(--sbk-text);background-color:var(--sbk-button-hover-bg)}.sbk-data-table__page-btn--active:hover{background-color:rgb(20,133,103)}.sbk-data-table__page-btn--active:active{background-color:rgb(0,110,81)}.sbk-rtmini__link{color:var(--sbk-link);text-decoration:none}.sbk-rtmini__link:hover{text-decoration:underline}.sbk-rtmini__code{font-family:var(--sbk-font-mono);font-size:12px;background:var(--sbk-code-bg);border:1px solid var(--sbk-code-border);border-radius:3px;padding:1px 3px}:root,[data-theme="light"]{--sbk-chart-area-1:rgb(255,237,229);--sbk-chart-area-2:rgb(227,255,243);--sbk-chart-area-3:rgb(248,238,250);--sbk-chart-area-4:rgb(226,243,250);--sbk-dataviz-border:rgba(94,93,96,0.13);--sbk-dataviz-tick:#5e5d60}.sbk-dataviz{display:flex;flex-direction:column;margin:8px 0;padding:12px;background-color:var(--sbk-container-bg);border:1px solid var(--sbk-dataviz-border);border-radius:12px;overflow:hidden}.sbk-dataviz__title{margin:0 0 8px;font-size:18px;font-weight:900;line-height:24.0001px}.sbk-dataviz__body{display:flex;align-items:stretch;position:relative}.sbk-dataviz__body--pie{justify-content:center}.sbk-dataviz__y-label{position:absolute;left:0;top:8px;bottom:26px;width:18px;display:flex;align-items:center;justify-content:center;writing-mode:vertical-rl;transform:rotate(180deg);font-size:13px;font-weight:700;text-align:center;pointer-events:none}.sbk-dataviz__body>.sbk-chart{flex:1;min-width:0}.sbk-chart{width:100%}.sbk-chart__svg{display:block;width:100%;height:auto}.sbk-chart__tick{fill:var(--sbk-dataviz-tick);font-size:13px}.sbk-dataviz__x-label{padding:8px 0 0 74px;font-size:13px;font-weight:700;line-height:18px;text-align:center}.sbk-dataviz__legend{display:flex;padding:8px 0 0 74px;gap:8px;flex-wrap:wrap;justify-content:center;line-height:18px}.sbk-dataviz__legend--pie{padding-left:0;justify-content:center}.sbk-dataviz__legend-entry{display:flex;align-items:center;gap:8px;font-size:13px}.sbk-dataviz__legend-dot{width:10px;height:10px;border-radius:9999px;display:inline-block;flex-shrink:0}.sbk-divider{margin:8px 0;border:0;border-top:1px solid var(--sbk-divider)}.sbk-fallback-canary{display:flex}.sbk-fallback-canary>.sbk-block--header,.sbk-fallback-canary>.sbk-block--section{width:100%}.sbk-file{display:flex;align-items:center;gap:8px;margin:8px 0;padding:8px 12px;max-width:360px;background:rgba(29,28,29,0.04);border:1px solid var(--sbk-border);border-radius:8px;color:var(--sbk-muted)}.sbk-file:hover{border-color:rgba(94,93,96,0.45);box-shadow:rgba(0,0,0,0.047) 0 1px 2px}.sbk-file__icon{display:flex;flex:0 0 auto}.sbk-file__body{display:flex;flex-direction:column;min-width:0}.sbk-file__name{color:var(--sbk-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sbk-file__meta{font-size:12px;text-transform:capitalize}.sbk-header{margin:15px 0 4px;font-weight:400}.sbk-header--level-1{font-size:18px;line-height:1.33334;font-weight:900}.sbk-header--level-2{font-size:15px;line-height:1.46668;font-weight:900}.sbk-header--level-3,.sbk-header--level-4{font-size:15px;line-height:1.46668;font-weight:700}.sbk-image{margin:8px 0}.sbk-image__title{font-size:15px;line-height:22px;color:var(--sbk-muted)}.sbk-image__title-text{display:inline-block;font-size:13px;line-height:18px;word-break:break-word}.sbk-image__trigger{font-size:13px;line-height:18px;white-space:nowrap}.sbk-image__toggle{display:inline-block;width:15px;margin-top:-4px;padding:0;border:0;background:none;font-size:15px;line-height:15px;color:var(--sbk-link);cursor:pointer}.sbk-image__caret{display:inline-block;width:15px;height:15px;vertical-align:middle}.sbk-image__frame{position:relative;margin-top:5px;max-width:100%;width:fit-content;border-radius:8px;box-shadow:inset 0 0 0 1px rgba(0,0,0,0.1);overflow:hidden;background-position:50% 50%;background-repeat:no-repeat;background-size:contain}.sbk-image__img{display:block;opacity:0;max-width:100%;height:auto}.sbk-image__fallback{display:flex;align-items:center;justify-content:center;min-height:88px;width:100%;background:var(--sbk-badge-bg);color:var(--sbk-muted);font-size:13px;padding:16px;text-align:center}.sbk-input{margin:0}.sbk-input__label{font:700 15px / 22px var(--sbk-font);color:var(--sbk-text);margin-bottom:8px}.sbk-input__optional{font-weight:400;color:var(--sbk-muted)}.sbk-input__element .sbk-select,.sbk-input__element .sbk-datepicker,.sbk-input__element .sbk-timepicker{width:100%}.sbk-input__element .sbk-radio-buttons{margin-bottom:24px}.sbk-input__hint{font:400 15px / 22px var(--sbk-font)}.sbk-input__hint-text{font-size:13px;line-height:18px;color:var(--sbk-muted)}.sbk-input__hint-text--dispatch{margin-left:4px}.sbk-input__hint-icon{display:inline-flex;align-items:center;justify-content:center;width:13px;height:20px}.sbk-input__error{margin-top:4px;font:400 13px / 18px var(--sbk-font);color:var(--sbk-danger)}.sbk-input--error .sbk-input__element{--sbk-button-border:var(--sbk-danger)}.sbk-markdown{display:flex;flex-direction:column;font-family:var(--sbk-font);font-size:15px;line-height:22px;color:var(--sbk-text);overflow-wrap:anywhere}.sbk-markdown__section{display:block}.sbk-markdown__table-wrap{overflow:auto}.sbk-markdown__table{border-collapse:separate;border-spacing:0;padding:4px 0}.sbk-markdown__table th,.sbk-markdown__table td{padding:2px 12px 0;height:28px;font-weight:400;text-align:left;vertical-align:top;white-space:nowrap;border-right:1px solid var(--sbk-outline-ter);border-bottom:1px solid var(--sbk-outline-ter)}.sbk-markdown__table :is(th,td) code{white-space:inherit}.sbk-markdown__table th{font-weight:700}.sbk-markdown__table>:first-child>tr:first-child>*{border-top:1px solid var(--sbk-outline-ter)}.sbk-markdown__table tr>:first-child{border-left:1px solid var(--sbk-outline-ter)}.sbk-markdown__table>:first-child>tr:first-child>:first-child{border-top-left-radius:4px}.sbk-markdown__table>:first-child>tr:first-child>:last-child{border-top-right-radius:4px}.sbk-markdown__table>:last-child>tr:last-child>:first-child{border-bottom-left-radius:4px}.sbk-markdown__table>:last-child>tr:last-child>:last-child{border-bottom-right-radius:4px}:root,[data-theme="light"]{--sbk-plan-text:rgb(94,93,96)}.sbk-plan{display:flex;flex-direction:column;margin:8px 0}.sbk-plan__pill{display:flex;align-self:flex-start;padding:0;border:0;background:transparent;border-radius:12px;cursor:pointer;font:inherit;color:inherit;text-align:left;max-width:100%}.sbk-plan__pill-content{display:block;padding-left:20px;text-indent:-20px;font-size:15px;line-height:22px}.sbk-plan__pill:hover{background-color:var(--sbk-hover-overlay)}.sbk-plan__pill:focus-visible{outline:2px solid var(--sbk-focus-ring);outline-offset:-2px}.sbk-plan__pill-icon{display:inline-flex;width:12px;vertical-align:-2px;margin:0 8px 0 0;font-size:13px;line-height:normal;text-indent:0}.sbk-plan__pill-title{font-size:13px;line-height:19px;color:var(--sbk-plan-text)}.sbk-plan__pill-chevron{display:inline-flex;align-items:center;vertical-align:middle;margin-left:4px;width:13px;height:13px;text-indent:0;color:var(--sbk-plan-text)}.sbk-status-icon--complete,.sbk-status-icon--dot-complete{color:var(--sbk-content-sec)}.sbk-status-icon--spinner{color:var(--sbk-link)}.sbk-status-icon--error{color:var(--sbk-code-text)}.sbk-status-icon--dot{display:block}.sbk-plan__tasks{list-style:none;margin:0;padding:0}.sbk-plan__task{display:flex;font-size:13px;line-height:19.0668px;color:var(--sbk-plan-text)}.sbk-plan__step{display:flex;flex:0 0 12px;flex-direction:column;align-items:center;gap:4px}.sbk-plan__line{width:1px;background:var(--sbk-surface-ter)}.sbk-plan__line--top{flex:0 0 6px}.sbk-plan__task:first-child .sbk-plan__line--top{flex-basis:11px}.sbk-plan__line--bottom{flex:1 1 auto}.sbk-plan__task:last-child .sbk-plan__line--bottom{background:transparent}.sbk-plan__task-icon{display:flex;flex:0 0 auto;align-items:center;justify-content:center;width:12px;height:8px;margin:2px 0}.sbk-plan__task-content{flex:1 1 auto;min-width:0;margin-left:8px}.sbk-plan__task:first-child .sbk-plan__task-content{padding-top:6px}.sbk-plan__task-header{display:flex;align-items:center;gap:4px;padding:4px 0;border:0;background:none;font:inherit;color:inherit;text-align:start;cursor:pointer}.sbk-plan__task-header[aria-disabled="true"]{cursor:default}.sbk-plan__task-header:focus-visible{outline:2px solid var(--sbk-focus-ring);outline-offset:-2px}.sbk-plan__task-title{margin:2px 0}.sbk-plan__task-caret{display:flex;width:13px;height:13px;margin-top:2px}.sbk-plan__task-body{display:flex;flex-direction:column;gap:4px}.sbk-plan__task-sources{list-style:none;margin:0;padding:0}.sbk-plan__task-source-link{color:var(--sbk-link);text-decoration:none}.sbk-plan__task-source-link:hover{text-decoration:underline}.sbk-rich-text{font-family:var(--sbk-font);font-size:15px;line-height:22px;color:var(--sbk-text);overflow-wrap:anywhere}.sbk-rich-text__section{display:block}.sbk-rich-text__br{display:block;height:8px}.sbk-rich-text__jumbo-emoji{display:inline-flex;align-items:center;gap:4px}.sbk-rich-text__quote{margin:4px 0;padding-left:16px;position:relative}.sbk-rich-text__quote::before{content:"";position:absolute;inset:0 auto 0 0;width:4px;border-radius:8px;background:var(--sbk-quote-bar)}.sbk-rich-text__pre{display:block;position:relative;margin:4px 0;padding:8px;font-family:var(--sbk-font-mono);font-size:12px;line-height:1.50001;color:var(--sbk-text);background:var(--sbk-code-bg);border:1px solid var(--sbk-code-border);border-radius:4px;white-space:pre-wrap;overflow-wrap:anywhere}.sbk-rich-text__pre-copy{display:flex;align-items:center;justify-content:center;position:absolute;top:4px;right:4px;width:28px;height:28px;color:rgb(69,68,71);background:rgba(29,28,29,0.04);border-radius:4px;opacity:0}.sbk-rich-text__pre:hover .sbk-rich-text__pre-copy,.sbk-rich-text__pre:focus-within .sbk-rich-text__pre-copy{opacity:1}.sbk-rich-text__color-swatch{display:inline-block;vertical-align:middle;margin:0 0 -1px 2px;width:13px;height:13px;border:1px solid var(--sbk-muted);border-radius:3px}.sbk-rich-list{margin:0;list-style-position:outside}.sbk-rich-list--ordered{padding:0 0 0 11px}.sbk-rich-list--bullet{padding:0;list-style:none}.sbk-rich-list--bullet>.sbk-rich-list__item::before{content:"";display:inline-block;width:22px;height:15px;margin-left:-28px;margin-right:6px;vertical-align:-2px;background:currentColor;mask:var(--sbk-bullet) center / 15px 15px no-repeat}.sbk-rich-list--bullet:is([data-indent="0"],[data-indent="3"],[data-indent="6"]){--sbk-bullet:url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 2000 2000%22><path transform=%22matrix(1 0 0 -1 0 1700)%22 d=%22M1000 150C1249 150 1450 351 1450 600C1450 849 1249 1050 1000 1050C751 1050 550 849 550 600C550 351 751 150 1000 150Z%22/></svg>")}.sbk-rich-list--bullet:is([data-indent="1"],[data-indent="4"],[data-indent="7"]){--sbk-bullet:url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 2000 2000%22><path transform=%22matrix(1 0 0 -1 0 1700)%22 d=%22M1000 150C1249 150 1450 351 1450 600C1450 849 1249 1050 1000 1050C751 1050 550 849 550 600C550 351 751 150 1000 150ZM1000 300C834 300 700 434 700 600C700 766 834 900 1000 900C1166 900 1300 766 1300 600C1300 434 1166 300 1000 300Z%22/></svg>")}.sbk-rich-list--bullet:is([data-indent="2"],[data-indent="5"],[data-indent="8"]){--sbk-bullet:url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 2000 2000%22><path transform=%22matrix(1 0 0 -1 0 1700)%22 d=%22M550 303C550 214 614 150 703 150H1297C1386 150 1450 214 1450 303V897C1450 986 1386 1050 1297 1050H703C614 1050 550 986 550 897Z%22/></svg>")}.sbk-rich-list__item{display:list-item}.sbk-rich-list--ordered>.sbk-rich-list__item{margin:0 0 0 20px;padding-left:8px}.sbk-rich-list--bullet>.sbk-rich-list__item{margin:0 0 0 28px}.sbk-rich-list--bordered{position:relative;margin-left:0}.sbk-rich-list--bordered::before{content:"";position:absolute;inset:0 auto 0 0;width:4px;border-radius:8px;background:var(--sbk-quote-bar)}.sbk-section{display:flex;margin:8px 0 4px}.sbk-section__content{flex:1 1 0;min-width:0}.sbk-section__fields{display:flex;flex-wrap:wrap}.sbk-section__field{width:calc(50% - 16px)}.sbk-section__field:nth-child(even){margin-left:16px}.sbk-section__text + .sbk-section__fields{margin-top:12px}.sbk-section__text--clamped{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}.sbk-section__toggle{display:block;margin-top:2px;padding:0;border:0;background:none;font:inherit;font-size:13px;color:var(--sbk-link);cursor:pointer}.sbk-section__accessory{display:flex;position:relative;margin:0 0 4px 8px}.sbk-section--stacked{flex-direction:column}.sbk-section--stacked .sbk-section__accessory{margin:4px 0}:root,[data-theme="light"]{--sbk-table-border:rgba(94,93,96,0.13)}.sbk-table{padding:4px 0}.sbk-table__scroll{overflow:auto}.sbk-table__table{border-collapse:separate;border-spacing:0;font-size:15px;line-height:22px}.sbk-table__thead,.sbk-table__tbody{background-color:var(--sbk-bg)}.sbk-table__th,.sbk-table__td{box-sizing:border-box;height:28px;padding:2px 12px 0;text-align:left;vertical-align:top;white-space:nowrap;border-right:1px solid var(--sbk-table-border);border-bottom:1px solid var(--sbk-table-border)}.sbk-table__table>:first-child>tr:first-child>*{border-top:1px solid var(--sbk-table-border)}.sbk-table__table tr>:first-child{border-left:1px solid var(--sbk-table-border)}.sbk-table__th{font-weight:700}.sbk-table__thead tr:first-child th:first-child{border-top-left-radius:4px}.sbk-table__thead tr:first-child th:last-child{border-top-right-radius:4px}.sbk-table__tbody tr:last-child td:first-child{border-bottom-left-radius:4px}.sbk-table__tbody tr:last-child td:last-child{border-bottom-right-radius:4px}:root,[data-theme="light"]{--sbk-task-card-text:rgb(94,93,96)}.sbk-task-card{display:flex;flex-direction:column;margin:8px 0}.sbk-task-card__pill{display:flex;align-self:flex-start;padding:0;border:0;background:transparent;border-radius:12px;cursor:pointer;font:inherit;color:inherit;text-align:left;max-width:100%}.sbk-task-card__pill-content{display:block;padding-left:20px;text-indent:-20px;font-size:15px;line-height:22px}.sbk-task-card__pill[aria-disabled="true"]{cursor:default}.sbk-task-card__pill:not([aria-disabled="true"]):hover{background-color:var(--sbk-hover-overlay)}.sbk-task-card__pill:focus-visible{outline:2px solid var(--sbk-focus-ring);outline-offset:-2px}.sbk-task-card__pill-icon{display:inline-flex;width:12px;vertical-align:-2px;margin:0 8px 0 0;font-size:13px;line-height:normal;text-indent:0}.sbk-task-card__pill-title{font-size:13px;line-height:19px;color:var(--sbk-task-card-text)}.sbk-task-card__pill-chevron{display:inline-flex;align-items:center;vertical-align:middle;margin-left:4px;width:13px;height:13px;text-indent:0;color:var(--sbk-task-card-text)}.sbk-task-card__body{font-size:13px;line-height:19.0668px;color:var(--sbk-task-card-text)}.sbk-task-card__details{position:relative;padding:0 20px}.sbk-task-card__details::before{content:"";position:absolute;top:0;bottom:0;left:6px;width:1px;background-color:var(--sbk-surface-ter)}.sbk-task-card__details .sbk-rtmini__link,.sbk-task-card__output .sbk-rtmini__link{text-decoration:underline}.sbk-task-card__step{display:flex;gap:8px}.sbk-task-card__rail{display:flex;flex:0 0 12px;flex-direction:column;align-items:center;margin-top:7px}.sbk-task-card__dot{display:flex;padding-bottom:2px}.sbk-task-card__line{flex:1 1 auto;width:1px;margin-top:8px;background-color:var(--sbk-surface-ter)}.sbk-task-card__step-content{flex:1 1 auto;min-width:0}.sbk-task-card__output{margin-bottom:4px}.sbk-task-card__sources{list-style:none;margin:0;padding:0}.sbk-task-card__source-link{color:var(--sbk-link);text-decoration:none}.sbk-task-card__source-link:hover{text-decoration:underline}.sbk-video{padding:8px 0;max-width:360px;line-height:22px}.sbk-video__byline{color:var(--sbk-muted);white-space:nowrap}.sbk-video__provider-icon{width:16px;height:16px;margin:0 8px 3px 0;border-radius:2px;vertical-align:middle}.sbk-video__provider{font-weight:900;color:var(--sbk-text)}.sbk-video__separator{color:rgb(221,221,221);white-space:pre}.sbk-video__description{color:var(--sbk-text)}.sbk-video__title{color:var(--sbk-link)}.sbk-video__title a{color:inherit;text-decoration:none}.sbk-video__title a:hover{text-decoration:underline}.sbk-video__expand{display:inline-block;margin:-4px 0 0 3px;vertical-align:middle;line-height:15px}.sbk-video__frame{display:block;position:relative;width:360px;height:283px;max-width:100%;background:#000;overflow:hidden}.sbk-video__frame::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;opacity:0;background:linear-gradient(rgba(29,28,29,0),rgba(29,28,29,0.7) 70%);transition:opacity 80ms cubic-bezier(0.36,0.19,0.29,1)}.sbk-video__frame:hover::before,.sbk-video__frame:focus-within::before,.sbk-video__frame:focus-visible::before{opacity:1}.sbk-video__thumb{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.sbk-video__play{position:absolute;left:16px;bottom:16px;display:flex;align-items:center;gap:8px;height:30px;padding:4px 8px 4px 6px;font-weight:700;color:#fff;background:rgba(29,28,29,0.8);border-radius:4px;z-index:2;transition:background 80ms cubic-bezier(0.36,0.19,0.29,1),opacity 80ms cubic-bezier(0.36,0.19,0.29,1)}.sbk-button{display:block;position:relative;height:28px;min-width:56px;padding:0 8px 1px;border:1px solid var(--sbk-button-border);border-radius:4px;background:var(--sbk-bg);background-clip:padding-box;color:var(--sbk-text);font:700 13px / normal var(--sbk-font);text-align:center;white-space:nowrap;cursor:pointer;appearance:none;transition:color 80ms,background-color 80ms,border-color 80ms cubic-bezier(0.36,0.19,0.29,1)}.sbk-button:hover{background-color:var(--sbk-button-hover-bg);box-shadow:var(--sbk-button-hover-shadow)}.sbk-button:active{background-color:var(--sbk-button-hover-bg);box-shadow:none}.sbk-button--primary,.sbk-button--danger{border:0;color:#fff}.sbk-button--primary{background:var(--sbk-primary)}.sbk-button--primary:hover,.sbk-button--primary:active,.sbk-button--danger:hover,.sbk-button--danger:active{background-image:linear-gradient(var(--sbk-button-overlay),var(--sbk-button-overlay));background-blend-mode:multiply}.sbk-button--primary:hover{--sbk-button-overlay:#0a403221;background-color:var(--sbk-primary)}.sbk-button--primary:active{--sbk-button-overlay:#0a403238;background-color:var(--sbk-primary)}.sbk-button--danger{background:var(--sbk-danger)}.sbk-button--danger:hover{--sbk-button-overlay:#59000f17;background-color:var(--sbk-danger)}.sbk-button--danger:active{--sbk-button-overlay:#59000f38;background-color:var(--sbk-danger)}.sbk-checkboxes{display:flex;flex-direction:column;margin-bottom:24px}.sbk-checkboxes__option{display:flex;align-items:flex-start;line-height:22px;cursor:pointer}.sbk-checkboxes__input{appearance:none;flex:0 0 auto;width:14px;height:14px;margin:6px 4px 2px 4px;border:1px solid var(--sbk-button-border);border-radius:4px;background:var(--sbk-bg);cursor:pointer;position:relative;transition:80ms cubic-bezier(0.36,0.19,0.29,1)}.sbk-checkboxes__option:hover .sbk-checkboxes__input:not(:checked){border-color:var(--sbk-outline-pry);background-image:linear-gradient(var(--sbk-interaction-hover),var(--sbk-interaction-hover))}.sbk-checkboxes__input:not(:checked):active{background-image:linear-gradient(var(--sbk-interaction-pressed),var(--sbk-interaction-pressed))}.sbk-checkboxes__input:focus-visible{outline:2px solid var(--sbk-focus-ring);outline-offset:1px}.sbk-checkboxes__input:checked{border-color:transparent;background-color:var(--sbk-checkbox-checked)}.sbk-checkboxes__option:hover .sbk-checkboxes__input:checked,.sbk-checkboxes__input:checked:focus-visible{background-image:linear-gradient( var(--sbk-checkbox-checked-hover),var(--sbk-checkbox-checked-hover) );background-blend-mode:var(--sbk-blend-interaction)}.sbk-checkboxes__input:checked:active{background-image:linear-gradient( var(--sbk-checkbox-checked-pressed),var(--sbk-checkbox-checked-pressed) );background-blend-mode:var(--sbk-blend-interaction)}.sbk-checkboxes__input:checked::after{content:"";position:absolute;left:4px;top:1px;width:4px;height:8px;border:solid var(--sbk-on-highlight);border-width:0 2px 2px 0;transform:rotate(45deg)}.sbk-checkboxes__body{display:flex;flex-direction:column;position:relative;top:-1px}.sbk-checkboxes__description,.sbk-checkboxes__description .sbk-mrkdwn{color:var(--sbk-content-sec)}.sbk-calendar{padding:8px;font-family:var(--sbk-font);font-size:15px;line-height:20px;color:var(--sbk-text)}.sbk-calendar__header{display:flex;align-items:center;justify-content:space-between;height:32px;margin-bottom:16px;font-weight:700}.sbk-calendar__nav{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:none;border-radius:4px;background:none;color:var(--sbk-text);cursor:pointer;transition-property:color,background-color;transition-duration:80ms;transition-timing-function:cubic-bezier(0.36,0.19,0.29,1)}.sbk-calendar__nav:hover{background:rgba(29,155,209,0.1)}.sbk-calendar__nav:active{background:var(--sbk-highlight);color:var(--sbk-on-highlight)}.sbk-calendar__weekdays,.sbk-calendar__grid{display:grid;grid-template-columns:repeat(7,43px);text-align:center}.sbk-calendar__weekdays{padding-right:1px}.sbk-calendar__weekdays span{padding:4px 0 6px;font-size:13px;color:var(--sbk-content-sec)}.sbk-calendar__cell{position:relative;min-height:42px;margin:0 -1px -1px 0;padding:10px 0;font:inherit;line-height:20px;color:var(--sbk-text);background:var(--sbk-bg);border:1px solid var(--sbk-calendar-grid);cursor:pointer}.sbk-calendar__cell--empty{border-color:transparent;background:none;cursor:default}.sbk-calendar__cell:hover:not(.sbk-calendar__cell--empty,.sbk-calendar__cell--selected){z-index:1;border-color:rgba(29,155,209,0.3);background:rgba(29,155,209,0.2)}.sbk-calendar__cell--today{color:var(--sbk-link)}.sbk-calendar__cell--today::after{content:"";position:absolute;top:50%;left:50%;width:32px;height:32px;border:1px solid var(--sbk-highlight);border-radius:50%;transform:translate(-50%,-50%);pointer-events:none}.sbk-calendar__cell--selected{z-index:1;color:var(--sbk-on-highlight);background:var(--sbk-highlight);border-color:var(--sbk-highlight);border-radius:4px}.sbk-calendar__cell--selected.sbk-calendar__cell--today::after{border-color:var(--sbk-on-highlight)}.sbk-calendar__cell:focus-visible{z-index:2}.sbk-calendar__footer{margin:16px -16px -16px;border-top:1px solid rgba(0,0,0,0.1)}.sbk-calendar__clear{display:block;width:100%;height:44px;padding:0;font:700 15px var(--sbk-font);color:var(--sbk-text);background:none;border:none;border-radius:0 0 6px 6px;cursor:pointer}.sbk-calendar__clear:hover,.sbk-calendar__clear:focus-visible{color:var(--sbk-link)}.sbk-datepicker{position:relative;width:194.5px;color:var(--sbk-muted)}.sbk-datepicker__input_wrap{position:relative}.sbk-datepicker__icon{position:absolute;left:8px;top:8px;transform:translateY(-0.1px);width:13px;height:13px;color:var(--sbk-badge-text)}.sbk-datepicker__input{width:100%;height:28px;padding:8px 28px 7px;font:13px / 18px var(--sbk-font);color:var(--sbk-text);background:var(--sbk-bg);border:1px solid rgb(124,122,127);border-radius:8px;cursor:pointer}.sbk-datepicker__chevron{position:absolute;right:4px;top:4px;width:20px;height:20px;color:var(--sbk-content-sec);pointer-events:none}.sbk-datepicker__input::placeholder{color:var(--sbk-muted)}.sbk-datepicker__popup{position:absolute;z-index:10;top:0;left:0;padding:16px;background:var(--sbk-menu-bg);border-radius:6px;box-shadow:var(--sbk-popover-shadow)}.sbk-datetimepicker{position:relative;display:block;width:100%}.sbk-datetimepicker__row{display:flex;gap:8px}.sbk-datetimepicker__column{flex:1 1 0;min-width:0}.sbk-datetimepicker__control{display:flex;align-items:center;gap:6px;width:100%;height:36px;padding:4px 7px 4px 11px;font:15px var(--sbk-font);color:var(--sbk-text);background:var(--sbk-bg);border:1px solid rgb(124,122,127);border-radius:8px;cursor:pointer}.sbk-datetimepicker__control--date{padding:4px 7px 4px 11px}.sbk-datetimepicker__control--time{padding:4px 11px;line-height:22.5px}.sbk-datetimepicker__icon{flex:0 0 auto;width:15px;height:15px;color:var(--sbk-badge-text)}.sbk-datetimepicker__value,.sbk-datetimepicker__placeholder{flex:1;min-width:0;text-align:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.sbk-datetimepicker__chevron{flex:0 0 auto;width:20px;height:20px;color:var(--sbk-badge-text)}.sbk-datetimepicker__placeholder{color:var(--sbk-muted)}.sbk-datetimepicker__timezone{margin:4px 0 0;font-size:13px;line-height:18px;color:var(--sbk-badge-text)}.sbk-datetimepicker__popup{position:absolute;z-index:10;top:0;left:0;padding:16px;background:var(--sbk-menu-bg);border-radius:6px;box-shadow:var(--sbk-popover-shadow)}.sbk-datetimepicker__time-row{display:flex;align-items:center;gap:8px;padding:8px;border-top:1px solid var(--sbk-border)}.sbk-datetimepicker__time-input{flex:1;height:28px;padding:4px 8px;border:1px solid rgb(124,122,127);border-radius:8px;font:13px var(--sbk-font)}.sbk-datetimepicker__apply{height:28px;padding:0 12px;border:0;border-radius:4px;background:var(--sbk-primary);color:#fff;font:700 13px var(--sbk-font);cursor:pointer}.sbk-datetimepicker__apply:disabled{opacity:0.5;cursor:default}.sbk-feedback-buttons{display:inline-flex;align-items:center}.sbk-icon-button--active{color:var(--sbk-primary);background:var(--sbk-badge-bg)}.sbk-file-input{margin-bottom:20px}.sbk-file-input__button{display:inline-flex;align-items:center;gap:4px;height:36px;min-width:80px;padding:0 12px 1px;border:1px solid var(--sbk-button-border);border-radius:8px;background:var(--sbk-bg);color:var(--sbk-text);font:700 15px var(--sbk-font);cursor:pointer}.sbk-file-input__button svg{width:16px;height:16px;flex-shrink:0}.sbk-file-input__native{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0}.sbk-file-input__list{list-style:none;margin:8px 0 0;padding:0}.sbk-file-input__item{font-size:13px;color:var(--sbk-text);padding:2px 0}.sbk-icon-button{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:none;background:none;border-radius:8px;color:rgb(69,68,71);cursor:pointer;transition-property:color,background-color,border-color;transition-duration:80ms;transition-timing-function:cubic-bezier(0.36,0.19,0.29,1)}.sbk-icon-button:hover,.sbk-icon-button:active{color:var(--sbk-text);background-color:var(--sbk-icon-button-hover-bg)}.sbk-icon-button:active{background-image:linear-gradient(var(--sbk-interaction-pressed),var(--sbk-interaction-pressed));background-blend-mode:var(--sbk-blend-interaction)}.sbk-icon-button svg{width:18px;height:18px}.sbk-section__accessory--image{margin-left:12px}.sbk-image-element{display:block;width:88px;height:88px;border-radius:8px;object-fit:cover}.sbk-overflow{position:relative;display:inline-block}.sbk-overflow__button{display:flex;align-items:center;justify-content:center;width:30px;height:28px;padding:0 7px 1px;background:var(--sbk-bg);border:1px solid var(--sbk-button-border);border-radius:4px;color:var(--sbk-text);cursor:pointer}.sbk-overflow__button:hover{background:var(--sbk-button-hover-bg);box-shadow:var(--sbk-button-hover-shadow)}.sbk-overflow__button:active{box-shadow:none}.sbk-overflow__menu{position:absolute;z-index:10;top:0;right:0;min-width:200px;max-width:300px;width:max-content;padding:12px 0;background:var(--sbk-menu-bg);border-radius:4px;box-shadow:var(--sbk-menu-shadow)}.sbk-overflow__option{min-height:28px;padding:0 24px;font:15px / 28px var(--sbk-font);color:var(--sbk-text);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;cursor:pointer}.sbk-overflow__option[data-active]{color:var(--sbk-menu-highlight-text);background:var(--sbk-menu-highlight-bg)}.sbk-radio-buttons{display:flex;flex-direction:column;margin-bottom:24px}.sbk-radio-buttons__option{display:flex;align-items:flex-start;line-height:22px;cursor:pointer}.sbk-radio-buttons__input{flex:0 0 auto;width:13px;height:13px;margin:7px 7px 0 5px;accent-color:#000;cursor:pointer}.sbk-radio-buttons__body{display:flex;flex-direction:column;position:relative;top:-1px}.sbk-radio-buttons__description,.sbk-radio-buttons__description .sbk-mrkdwn{color:var(--sbk-content-sec)}.sbk-rich-text-input{display:flex;flex-direction:column;width:100%;min-height:118px;background:var(--sbk-bg);border:1px solid rgba(29,28,29,0.13);border-radius:4px}.sbk-rich-text-input__toolbar{display:flex;align-items:center;height:38px;padding:4px;background:#f8f8f8;border-radius:8px 8px 0 0}.sbk-rich-text-input__tool{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;margin:2px 2px 0;color:rgba(29,28,29,0.7);opacity:0.3}.sbk-rich-text-input__separator{width:1px;height:20px;margin:0 4px;background:rgba(29,28,29,0.13)}.sbk-rich-text-input__editor{flex:1;padding:8px 12px;font:15px / 22px var(--sbk-font);color:var(--sbk-text);overflow-y:auto;outline:none}.sbk-rich-text-input__editor:empty::before{content:attr(data-placeholder);color:var(--sbk-muted)}.sbk-select{position:relative;width:190px}.sbk-select__control{display:flex;align-items:center;gap:8px;width:100%;height:28px;padding:4px 8px;font:13px var(--sbk-font);color:var(--sbk-text);background:var(--sbk-bg);border:1px solid rgb(124,122,127);border-radius:8px;cursor:pointer}.sbk-input__element .sbk-select--multi .sbk-select__control{height:36px;padding:4px 28px 4px 12px;font-size:15px;line-height:22px}.sbk-input__element .sbk-select--chips .sbk-select__control{height:auto;min-height:36px;align-items:flex-start;padding:0 28px 4px 4px}.sbk-select__max-info{display:none}.sbk-input__element .sbk-select__max-info{display:block;margin:-8px 0 8px;font-size:15px;line-height:22px;color:rgb(97,96,97)}.sbk-input__element .sbk-select--multi .sbk-select__placeholder{color:rgb(94,93,96)}.sbk-input__element .sbk-select--multi .sbk-select__chevron{display:none}.sbk-section__accessory .sbk-select--multi{width:auto}.sbk-section__accessory .sbk-select--multi .sbk-select__control{padding:0 12px 1px;font-weight:700;border-color:rgba(94,93,96,0.45);border-radius:4px}.sbk-section__accessory .sbk-select--multi .sbk-select__placeholder{color:var(--sbk-text)}.sbk-section__accessory .sbk-select--multi .sbk-select__chevron{display:none}.sbk-select--medium .sbk-select__control{height:36px;padding:4px 12px;font-size:15px}.sbk-select:not(.sbk-select--multi) :is(.sbk-select__value,.sbk-select__placeholder){margin-right:-28px}.sbk-select__value,.sbk-select__placeholder{flex:1;text-align:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.sbk-select__placeholder{color:var(--sbk-muted)}.sbk-select__value{margin-left:-1px}.sbk-select__chevron{margin-right:-1px}.sbk-select__entity{display:flex;align-items:center;height:20px;line-height:20px}.sbk-select__channel-hash{flex:0 0 auto;margin-right:8px}.sbk-select__entity-text{display:flow-root;overflow:hidden;white-space:nowrap}.sbk-select__missing-channel{padding:0 2px 1px 0;color:rgba(29,28,29,0.7);background:rgba(29,28,29,0.13);border-radius:3px}.sbk-select__missing-channel svg{display:inline-block;vertical-align:-1.625px}.sbk-select__skeleton{display:flex;align-items:center;height:20px}.sbk-select__skeleton-avatar{flex:0 0 auto;width:20px;height:20px;margin:0 8px 0 6px;background:rgb(234,234,234);border-radius:clamp(4px,min(22.222%,12px),12px)}.sbk-select__skeleton-name{flex:0 0 auto;width:109px;height:8px;margin-top:2px;overflow:hidden}.sbk-select__skeleton-name::before{content:"";display:block;width:120px;height:8px;background:rgb(234,234,234);border-radius:1000px}.sbk-select__chevron{flex:0 0 auto;width:20px;height:20px;color:var(--sbk-badge-text)}.sbk-select__chips{display:flex;flex-wrap:wrap;flex:1;min-width:0}.sbk-select__chip{display:flex;align-items:center;margin:4px 0 0 4px;padding:0 4px 0 0;font-size:18px;font-weight:700;line-height:26.4px;white-space:nowrap;color:var(--sbk-text);background:rgba(54,197,240,0.13);border:1px solid transparent;border-radius:4px}.sbk-select__chip-label{display:flex;padding:0 4px}.sbk-select__chip-text{display:flow-root;overflow:hidden}.sbk-select__chip-text>span{font-size:15px;line-height:26px}.sbk-select__chip-entity{align-items:center;font-size:15px;line-height:26px}.sbk-select__chip-entity .sbk-select__channel-hash{margin-right:2px}.sbk-select__chip-entity .sbk-select__missing-channel svg{width:15px;height:15px;vertical-align:-1.875px}.sbk-select__chip-remove{display:flex;cursor:pointer}.sbk-select__menu{position:absolute;z-index:10;top:0;left:0;width:max(100%,240px);max-height:280px;overflow-y:auto;background:var(--sbk-menu-bg);border-radius:4px;box-shadow:0 0 0 1px rgba(29,28,29,0.13),0 5px 10px rgba(0,0,0,0.12);padding:12px 0}.sbk-select__search{display:flex;align-items:center;gap:6px;margin:-4px 0 8px;padding:0 24px 8px;border-bottom:1px solid var(--sbk-border);color:var(--sbk-muted)}.sbk-select__search-input{flex:1;border:none;outline:none;font:13px var(--sbk-font);color:var(--sbk-text)}.sbk-select__group-label{padding:4px 24px;font-size:13px;line-height:1.38463;color:var(--sbk-menu-secondary-text)}.sbk-select__group + .sbk-select__group{margin-top:8px}.sbk-select__option{display:flex;flex-direction:column;justify-content:center;min-height:28px;padding:0 24px;font:15px / 1.46668 var(--sbk-font);color:var(--sbk-text);cursor:pointer}.sbk-select__option:has(.sbk-select__option-description){padding-top:4px;padding-bottom:4px}.sbk-select__option--selected{color:var(--sbk-menu-selected-text)}.sbk-select__option[data-active]{color:var(--sbk-menu-highlight-text);background:var(--sbk-menu-highlight-bg)}.sbk-select__option[data-active] .sbk-select__option-description{color:inherit}.sbk-select__option-description{margin-top:-2px;font-size:13px;line-height:1.25;color:var(--sbk-menu-secondary-text)}.sbk-select__status{display:flex;align-items:center;min-height:28px;padding:0 24px;font:15px / 1.46668 var(--sbk-font);color:var(--sbk-muted)}.sbk-text-input{width:100%;height:28px;padding:8px 8px 7px;font:13px / 18px var(--sbk-font);color:var(--sbk-text);background:var(--sbk-bg);border:1px solid rgb(124,122,127);border-radius:8px}.sbk-text-input::placeholder{color:var(--sbk-muted)}.sbk-text-input--medium{height:36px;padding:4px 12px;font-size:15px}.sbk-text-input__wrap .sbk-text-input.sbk-text-input--medium{padding-left:32px}.sbk-text-input--multiline{display:block;height:auto;min-height:104px;padding:8px 12px 4px;font-size:15px;line-height:22px;resize:vertical}.sbk-text-input__wrap{position:relative}.sbk-text-input__wrap .sbk-text-input{padding-left:28px}.sbk-text-input__icon{position:absolute;left:8px;top:50%;transform:translateY(-50%);color:var(--sbk-muted);pointer-events:none}.sbk-timepicker{position:relative;width:190px}.sbk-timepicker__control{display:flex;align-items:center;gap:8px;width:100%;height:28px;padding:3px 7px;font:13px / 19.5px var(--sbk-font);color:var(--sbk-text);background:var(--sbk-bg);border:1px solid rgb(124,122,127);border-radius:8px;cursor:pointer}.sbk-timepicker__icon{flex:0 0 auto;width:13px;height:20px;color:var(--sbk-badge-text)}.sbk-timepicker__value,.sbk-timepicker__placeholder{flex:1;text-align:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.sbk-timepicker__placeholder{color:var(--sbk-muted)}.sbk-timepicker__chevron{flex:0 0 auto;width:20px;height:20px;color:var(--sbk-badge-text)}.sbk-timepicker__menu{position:absolute;z-index:10;top:0;left:0;width:100%;max-height:240px;overflow-y:auto;padding:12px 0;background:var(--sbk-menu-bg);border-radius:4px;box-shadow:0 0 0 1px rgba(29,28,29,0.13),0 5px 10px rgba(0,0,0,0.12)}.sbk-timepicker__option{display:flex;align-items:center;min-height:28px;padding:0 24px;font:15px / 1.46668 var(--sbk-font);color:var(--sbk-text);cursor:pointer}.sbk-timepicker__option--selected{color:var(--sbk-menu-selected-text)}.sbk-timepicker__option[data-active]{color:var(--sbk-menu-highlight-text);background:var(--sbk-menu-highlight-bg)}.sbk-timepicker__hint{margin-top:4px;font-size:12px;color:var(--sbk-muted)}.sbk-workflow-button{display:inline-flex;align-items:center;gap:6px}.sbk-workflow-button__icon{width:14px;height:14px;flex:none}
|
|
2
|
+
/*# sourceMappingURL=styles.css.map */
|