@syscore/ui-library 2.0.0-beta-publish-workflow-beta.5 → 2.0.0-beta-publish-workflow-beta.6
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.
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { CheckCircle2, Paperclip, Trash2 } from "lucide-react";
|
|
3
|
+
import { cn } from "@/lib/utils";
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* A single uploaded-file row: status (checkmark + "File Uploaded"), the
|
|
7
|
+
* filename as a download link, and an optional remove action. Replaces the
|
|
8
|
+
* previous pattern of a filename `Copy` next to plain "Download"/"Remove"
|
|
9
|
+
* `Button`s, which read as two disconnected controls rather than one
|
|
10
|
+
* attached-file entity.
|
|
11
|
+
*/
|
|
12
|
+
export interface FileAttachmentProps {
|
|
13
|
+
filename: string;
|
|
14
|
+
onDownload?: () => void;
|
|
15
|
+
onRemove?: () => void;
|
|
16
|
+
downloading?: boolean;
|
|
17
|
+
removable?: boolean;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
const FileAttachment = React.forwardRef<HTMLDivElement, FileAttachmentProps>(
|
|
21
|
+
({ filename, onDownload, onRemove, downloading, removable = true }, ref) => {
|
|
22
|
+
return (
|
|
23
|
+
<div ref={ref} className="file-attachment">
|
|
24
|
+
<div className="file-attachment-status">
|
|
25
|
+
<CheckCircle2 className="file-attachment-status-icon" aria-hidden="true" />
|
|
26
|
+
<span className="file-attachment-status-text">File Uploaded</span>
|
|
27
|
+
</div>
|
|
28
|
+
|
|
29
|
+
<div className="file-attachment-file">
|
|
30
|
+
<button
|
|
31
|
+
type="button"
|
|
32
|
+
className="file-attachment-download"
|
|
33
|
+
disabled={downloading}
|
|
34
|
+
onClick={onDownload}
|
|
35
|
+
>
|
|
36
|
+
<Paperclip className="file-attachment-paperclip" aria-hidden="true" />
|
|
37
|
+
<span className="file-attachment-filename">{filename}</span>
|
|
38
|
+
</button>
|
|
39
|
+
|
|
40
|
+
{removable ? (
|
|
41
|
+
<button
|
|
42
|
+
type="button"
|
|
43
|
+
className="file-attachment-remove"
|
|
44
|
+
aria-label={`Remove ${filename}`}
|
|
45
|
+
onClick={onRemove}
|
|
46
|
+
>
|
|
47
|
+
<Trash2 aria-hidden="true" />
|
|
48
|
+
</button>
|
|
49
|
+
) : null}
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
);
|
|
53
|
+
},
|
|
54
|
+
);
|
|
55
|
+
FileAttachment.displayName = "FileAttachment";
|
|
56
|
+
|
|
57
|
+
export { FileAttachment };
|
|
@@ -31,6 +31,18 @@ const BUTTON_VARIANT_CLASS: Record<string, string> = {
|
|
|
31
31
|
"tertiary-light": "button--tertiary-light",
|
|
32
32
|
};
|
|
33
33
|
|
|
34
|
+
// The published `Button` gets its actual height/padding/font-weight from a
|
|
35
|
+
// SIZE class (default "large"), separate from the colour/border variant
|
|
36
|
+
// class above — this component only ever applied the variant class, so
|
|
37
|
+
// every trigger rendered with no padding at all, collapsing to bare text
|
|
38
|
+
// that happened to be the variant's text colour. Matches `Button`'s own
|
|
39
|
+
// size names so the two read the same size side by side (as they do in
|
|
40
|
+
// `DocumentUploadGroup`, next to `Button`-rendered Download/Remove).
|
|
41
|
+
const BUTTON_SIZE_CLASS: Record<string, string> = {
|
|
42
|
+
large: "button--large",
|
|
43
|
+
utility: "button--utility",
|
|
44
|
+
};
|
|
45
|
+
|
|
34
46
|
interface FileUploadTriggerProps
|
|
35
47
|
extends Omit<React.ComponentProps<"button">, "onChange"> {
|
|
36
48
|
/** Fires with the selected files. */
|
|
@@ -40,6 +52,8 @@ interface FileUploadTriggerProps
|
|
|
40
52
|
multiple?: boolean;
|
|
41
53
|
/** Matches the DS `Button`'s existing variant names — see BUTTON_VARIANT_CLASS. */
|
|
42
54
|
variant?: keyof typeof BUTTON_VARIANT_CLASS;
|
|
55
|
+
/** Matches the DS `Button`'s existing size names — see BUTTON_SIZE_CLASS. */
|
|
56
|
+
size?: keyof typeof BUTTON_SIZE_CLASS;
|
|
43
57
|
}
|
|
44
58
|
|
|
45
59
|
const FileUploadTrigger = React.forwardRef<HTMLButtonElement, FileUploadTriggerProps>(
|
|
@@ -49,6 +63,7 @@ const FileUploadTrigger = React.forwardRef<HTMLButtonElement, FileUploadTriggerP
|
|
|
49
63
|
accept,
|
|
50
64
|
multiple = false,
|
|
51
65
|
variant = "secondary-light",
|
|
66
|
+
size = "large",
|
|
52
67
|
children,
|
|
53
68
|
className,
|
|
54
69
|
type = "button",
|
|
@@ -66,7 +81,7 @@ const FileUploadTrigger = React.forwardRef<HTMLButtonElement, FileUploadTriggerP
|
|
|
66
81
|
ref={ref}
|
|
67
82
|
type={type}
|
|
68
83
|
disabled={disabled}
|
|
69
|
-
className={cn("button", BUTTON_VARIANT_CLASS[variant], className)}
|
|
84
|
+
className={cn("button", BUTTON_VARIANT_CLASS[variant], BUTTON_SIZE_CLASS[size], className)}
|
|
70
85
|
onClick={(event) => {
|
|
71
86
|
onClick?.(event);
|
|
72
87
|
if (!event.defaultPrevented) inputRef.current?.click();
|
package/client/global.css
CHANGED
|
@@ -11268,7 +11268,11 @@ body {
|
|
|
11268
11268
|
|
|
11269
11269
|
.stepper--horizontal {
|
|
11270
11270
|
flex-direction: row;
|
|
11271
|
-
align-items:
|
|
11271
|
+
align-items: stretch;
|
|
11272
|
+
border: 1px solid var(--color-gray-200, #d5d9dc);
|
|
11273
|
+
border-radius: var(--radius-lg, 12px);
|
|
11274
|
+
background-color: var(--color-white, #fff);
|
|
11275
|
+
overflow: hidden;
|
|
11272
11276
|
}
|
|
11273
11277
|
|
|
11274
11278
|
.stepper--vertical {
|
|
@@ -11288,11 +11292,14 @@ body {
|
|
|
11288
11292
|
position: relative;
|
|
11289
11293
|
}
|
|
11290
11294
|
|
|
11291
|
-
/* Horizontal: each item is a
|
|
11295
|
+
/* Horizontal: each item is a single row — icon then label, side by side */
|
|
11292
11296
|
.stepper--horizontal .stepper-item {
|
|
11293
|
-
flex-direction:
|
|
11297
|
+
flex-direction: row;
|
|
11294
11298
|
align-items: center;
|
|
11299
|
+
gap: 0.75rem;
|
|
11295
11300
|
flex: 1;
|
|
11301
|
+
min-width: 0;
|
|
11302
|
+
padding: 1rem 1.5rem;
|
|
11296
11303
|
}
|
|
11297
11304
|
|
|
11298
11305
|
/* Vertical: each item is a row (indicator on left, label on right) */
|
|
@@ -11308,6 +11315,7 @@ body {
|
|
|
11308
11315
|
.stepper-indicator-row {
|
|
11309
11316
|
display: flex;
|
|
11310
11317
|
align-items: center;
|
|
11318
|
+
justify-content: center;
|
|
11311
11319
|
width: 100%;
|
|
11312
11320
|
position: relative;
|
|
11313
11321
|
}
|
|
@@ -11318,6 +11326,13 @@ body {
|
|
|
11318
11326
|
width: auto;
|
|
11319
11327
|
}
|
|
11320
11328
|
|
|
11329
|
+
/* The bar layout only needs the row to size to the circle — the connector
|
|
11330
|
+
is repositioned to the item's edge below, not laid out beside the circle. */
|
|
11331
|
+
.stepper--horizontal .stepper-indicator-row {
|
|
11332
|
+
width: auto;
|
|
11333
|
+
position: static;
|
|
11334
|
+
}
|
|
11335
|
+
|
|
11321
11336
|
/* ---------------------------------------------------------------------------
|
|
11322
11337
|
Indicator (the circle)
|
|
11323
11338
|
--------------------------------------------------------------------------- */
|
|
@@ -11342,8 +11357,8 @@ body {
|
|
|
11342
11357
|
|
|
11343
11358
|
/* Complete */
|
|
11344
11359
|
.stepper-indicator--complete.stepper-indicator--default {
|
|
11345
|
-
background-color: var(--color-
|
|
11346
|
-
border-color: var(--color-
|
|
11360
|
+
background-color: var(--color-emerald-600, #1bc5a3);
|
|
11361
|
+
border-color: var(--color-emerald-600, #1bc5a3);
|
|
11347
11362
|
color: #fff;
|
|
11348
11363
|
}
|
|
11349
11364
|
.stepper-indicator--complete.stepper-indicator--outlined {
|
|
@@ -11399,11 +11414,28 @@ body {
|
|
|
11399
11414
|
background-color: var(--color-cyan-600, #0891b2);
|
|
11400
11415
|
}
|
|
11401
11416
|
|
|
11402
|
-
/* Horizontal connector
|
|
11417
|
+
/* Horizontal connector — a chevron glyph pinned to the item's trailing edge
|
|
11418
|
+
(which, since items sit flush, is exactly the seam between two items), not
|
|
11419
|
+
a progress line. Positioned against `.stepper-item` (its nearest
|
|
11420
|
+
`position: relative` ancestor once the indicator-row above gives up its
|
|
11421
|
+
own `position: relative` for this orientation). */
|
|
11403
11422
|
.stepper-connector--horizontal {
|
|
11404
|
-
|
|
11405
|
-
|
|
11406
|
-
|
|
11423
|
+
position: absolute;
|
|
11424
|
+
top: 50%;
|
|
11425
|
+
right: 0;
|
|
11426
|
+
width: 16px;
|
|
11427
|
+
height: 16px;
|
|
11428
|
+
margin: 0;
|
|
11429
|
+
background-color: var(--color-gray-300, #bec6cb);
|
|
11430
|
+
transform: translate(50%, -50%);
|
|
11431
|
+
-webkit-mask-image: url("data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M6 3.5L10.5 8L6 12.5' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
|
|
11432
|
+
mask-image: url("data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M6 3.5L10.5 8L6 12.5' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
|
|
11433
|
+
-webkit-mask-repeat: no-repeat;
|
|
11434
|
+
mask-repeat: no-repeat;
|
|
11435
|
+
-webkit-mask-position: center;
|
|
11436
|
+
mask-position: center;
|
|
11437
|
+
pointer-events: none;
|
|
11438
|
+
z-index: 2;
|
|
11407
11439
|
}
|
|
11408
11440
|
|
|
11409
11441
|
/* Vertical connector */
|
|
@@ -11424,10 +11456,11 @@ body {
|
|
|
11424
11456
|
}
|
|
11425
11457
|
|
|
11426
11458
|
.stepper--horizontal .stepper-label {
|
|
11427
|
-
align-items:
|
|
11428
|
-
text-align:
|
|
11429
|
-
margin-top: 0
|
|
11430
|
-
padding: 0
|
|
11459
|
+
align-items: flex-start;
|
|
11460
|
+
text-align: left;
|
|
11461
|
+
margin-top: 0;
|
|
11462
|
+
padding: 0;
|
|
11463
|
+
min-width: 0;
|
|
11431
11464
|
}
|
|
11432
11465
|
|
|
11433
11466
|
.stepper--vertical .stepper-label {
|
|
@@ -11445,6 +11478,12 @@ body {
|
|
|
11445
11478
|
.stepper-title--current { color: var(--color-gray-900, #1a282f); }
|
|
11446
11479
|
.stepper-title--upcoming { color: var(--color-gray-400, #9ba6af); }
|
|
11447
11480
|
|
|
11481
|
+
.stepper--horizontal .stepper-title {
|
|
11482
|
+
text-transform: uppercase;
|
|
11483
|
+
font-size: 0.8125rem;
|
|
11484
|
+
letter-spacing: 0.02em;
|
|
11485
|
+
}
|
|
11486
|
+
|
|
11448
11487
|
.stepper-description {
|
|
11449
11488
|
font-size: calc(var(--stepper-font-size) - 0.0625rem);
|
|
11450
11489
|
line-height: 1.4;
|
|
@@ -11454,6 +11493,7 @@ body {
|
|
|
11454
11493
|
.stepper-description--current { color: var(--color-gray-500, #6b7a84); }
|
|
11455
11494
|
.stepper-description--upcoming { color: var(--color-gray-300, #bec6cb); }
|
|
11456
11495
|
|
|
11496
|
+
|
|
11457
11497
|
/* ─── AppBar ──────────────────────────────────────────────────────────────── */
|
|
11458
11498
|
|
|
11459
11499
|
.app-bar {
|
|
@@ -13038,7 +13078,11 @@ body {
|
|
|
13038
13078
|
|
|
13039
13079
|
.stepper--horizontal {
|
|
13040
13080
|
flex-direction: row;
|
|
13041
|
-
align-items:
|
|
13081
|
+
align-items: stretch;
|
|
13082
|
+
border: 1px solid var(--color-gray-200, #d5d9dc);
|
|
13083
|
+
border-radius: var(--radius-lg, 12px);
|
|
13084
|
+
background-color: var(--color-white, #fff);
|
|
13085
|
+
overflow: hidden;
|
|
13042
13086
|
}
|
|
13043
13087
|
|
|
13044
13088
|
.stepper--vertical {
|
|
@@ -13058,11 +13102,14 @@ body {
|
|
|
13058
13102
|
position: relative;
|
|
13059
13103
|
}
|
|
13060
13104
|
|
|
13061
|
-
/* Horizontal: each item is a
|
|
13105
|
+
/* Horizontal: each item is a single row — icon then label, side by side */
|
|
13062
13106
|
.stepper--horizontal .stepper-item {
|
|
13063
|
-
flex-direction:
|
|
13107
|
+
flex-direction: row;
|
|
13064
13108
|
align-items: center;
|
|
13109
|
+
gap: 0.75rem;
|
|
13065
13110
|
flex: 1;
|
|
13111
|
+
min-width: 0;
|
|
13112
|
+
padding: 1rem 1.5rem;
|
|
13066
13113
|
}
|
|
13067
13114
|
|
|
13068
13115
|
/* Vertical: each item is a row (indicator on left, label on right) */
|
|
@@ -13078,6 +13125,7 @@ body {
|
|
|
13078
13125
|
.stepper-indicator-row {
|
|
13079
13126
|
display: flex;
|
|
13080
13127
|
align-items: center;
|
|
13128
|
+
justify-content: center;
|
|
13081
13129
|
width: 100%;
|
|
13082
13130
|
position: relative;
|
|
13083
13131
|
}
|
|
@@ -13088,6 +13136,13 @@ body {
|
|
|
13088
13136
|
width: auto;
|
|
13089
13137
|
}
|
|
13090
13138
|
|
|
13139
|
+
/* The bar layout only needs the row to size to the circle — the connector
|
|
13140
|
+
is repositioned to the item's edge below, not laid out beside the circle. */
|
|
13141
|
+
.stepper--horizontal .stepper-indicator-row {
|
|
13142
|
+
width: auto;
|
|
13143
|
+
position: static;
|
|
13144
|
+
}
|
|
13145
|
+
|
|
13091
13146
|
/* ---------------------------------------------------------------------------
|
|
13092
13147
|
Indicator (the circle)
|
|
13093
13148
|
--------------------------------------------------------------------------- */
|
|
@@ -13112,8 +13167,8 @@ body {
|
|
|
13112
13167
|
|
|
13113
13168
|
/* Complete */
|
|
13114
13169
|
.stepper-indicator--complete.stepper-indicator--default {
|
|
13115
|
-
background-color: var(--color-
|
|
13116
|
-
border-color: var(--color-
|
|
13170
|
+
background-color: var(--color-emerald-600, #1bc5a3);
|
|
13171
|
+
border-color: var(--color-emerald-600, #1bc5a3);
|
|
13117
13172
|
color: #fff;
|
|
13118
13173
|
}
|
|
13119
13174
|
.stepper-indicator--complete.stepper-indicator--outlined {
|
|
@@ -13169,11 +13224,28 @@ body {
|
|
|
13169
13224
|
background-color: var(--color-cyan-600, #0891b2);
|
|
13170
13225
|
}
|
|
13171
13226
|
|
|
13172
|
-
/* Horizontal connector
|
|
13227
|
+
/* Horizontal connector — a chevron glyph pinned to the item's trailing edge
|
|
13228
|
+
(which, since items sit flush, is exactly the seam between two items), not
|
|
13229
|
+
a progress line. Positioned against `.stepper-item` (its nearest
|
|
13230
|
+
`position: relative` ancestor once the indicator-row above gives up its
|
|
13231
|
+
own `position: relative` for this orientation). */
|
|
13173
13232
|
.stepper-connector--horizontal {
|
|
13174
|
-
|
|
13175
|
-
|
|
13176
|
-
|
|
13233
|
+
position: absolute;
|
|
13234
|
+
top: 50%;
|
|
13235
|
+
right: 0;
|
|
13236
|
+
width: 16px;
|
|
13237
|
+
height: 16px;
|
|
13238
|
+
margin: 0;
|
|
13239
|
+
background-color: var(--color-gray-300, #bec6cb);
|
|
13240
|
+
transform: translate(50%, -50%);
|
|
13241
|
+
-webkit-mask-image: url("data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M6 3.5L10.5 8L6 12.5' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
|
|
13242
|
+
mask-image: url("data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M6 3.5L10.5 8L6 12.5' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
|
|
13243
|
+
-webkit-mask-repeat: no-repeat;
|
|
13244
|
+
mask-repeat: no-repeat;
|
|
13245
|
+
-webkit-mask-position: center;
|
|
13246
|
+
mask-position: center;
|
|
13247
|
+
pointer-events: none;
|
|
13248
|
+
z-index: 2;
|
|
13177
13249
|
}
|
|
13178
13250
|
|
|
13179
13251
|
/* Vertical connector */
|
|
@@ -13194,10 +13266,11 @@ body {
|
|
|
13194
13266
|
}
|
|
13195
13267
|
|
|
13196
13268
|
.stepper--horizontal .stepper-label {
|
|
13197
|
-
align-items:
|
|
13198
|
-
text-align:
|
|
13199
|
-
margin-top: 0
|
|
13200
|
-
padding: 0
|
|
13269
|
+
align-items: flex-start;
|
|
13270
|
+
text-align: left;
|
|
13271
|
+
margin-top: 0;
|
|
13272
|
+
padding: 0;
|
|
13273
|
+
min-width: 0;
|
|
13201
13274
|
}
|
|
13202
13275
|
|
|
13203
13276
|
.stepper--vertical .stepper-label {
|
|
@@ -13215,6 +13288,12 @@ body {
|
|
|
13215
13288
|
.stepper-title--current { color: var(--color-gray-900, #1a282f); }
|
|
13216
13289
|
.stepper-title--upcoming { color: var(--color-gray-400, #9ba6af); }
|
|
13217
13290
|
|
|
13291
|
+
.stepper--horizontal .stepper-title {
|
|
13292
|
+
text-transform: uppercase;
|
|
13293
|
+
font-size: 0.8125rem;
|
|
13294
|
+
letter-spacing: 0.02em;
|
|
13295
|
+
}
|
|
13296
|
+
|
|
13218
13297
|
.stepper-description {
|
|
13219
13298
|
font-size: calc(var(--stepper-font-size) - 0.0625rem);
|
|
13220
13299
|
line-height: 1.4;
|
|
@@ -13224,6 +13303,7 @@ body {
|
|
|
13224
13303
|
.stepper-description--current { color: var(--color-gray-500, #6b7a84); }
|
|
13225
13304
|
.stepper-description--upcoming { color: var(--color-gray-300, #bec6cb); }
|
|
13226
13305
|
|
|
13306
|
+
|
|
13227
13307
|
/* ─── AppBar ──────────────────────────────────────────────────────────────── */
|
|
13228
13308
|
|
|
13229
13309
|
.app-bar {
|
|
@@ -15534,4 +15614,98 @@ body {
|
|
|
15534
15614
|
object-fit: cover;
|
|
15535
15615
|
border-radius: var(--radius-md, 8px);
|
|
15536
15616
|
}
|
|
15617
|
+
|
|
15618
|
+
/* ---------------------------------------------------------------------------
|
|
15619
|
+
FileAttachment — status + filename + remove, as one attached-file row
|
|
15620
|
+
--------------------------------------------------------------------------- */
|
|
15621
|
+
.file-attachment {
|
|
15622
|
+
display: flex;
|
|
15623
|
+
align-items: center;
|
|
15624
|
+
justify-content: space-between;
|
|
15625
|
+
flex-wrap: wrap;
|
|
15626
|
+
gap: 0.75rem;
|
|
15627
|
+
width: 100%;
|
|
15628
|
+
padding: 1rem 1.25rem;
|
|
15629
|
+
border: 1px solid var(--color-gray-200, #dedfe3);
|
|
15630
|
+
border-radius: var(--radius-lg, 12px);
|
|
15631
|
+
background-color: var(--color-white, #fff);
|
|
15632
|
+
}
|
|
15633
|
+
|
|
15634
|
+
.file-attachment-status {
|
|
15635
|
+
display: flex;
|
|
15636
|
+
align-items: center;
|
|
15637
|
+
gap: 0.5rem;
|
|
15638
|
+
flex-shrink: 0;
|
|
15639
|
+
}
|
|
15640
|
+
|
|
15641
|
+
.file-attachment-status-icon {
|
|
15642
|
+
width: 1.25rem;
|
|
15643
|
+
height: 1.25rem;
|
|
15644
|
+
color: var(--color-emerald-600, #1bc5a3);
|
|
15645
|
+
}
|
|
15646
|
+
|
|
15647
|
+
.file-attachment-status-text {
|
|
15648
|
+
font-weight: 600;
|
|
15649
|
+
color: var(--color-gray-800, #282a31);
|
|
15650
|
+
}
|
|
15651
|
+
|
|
15652
|
+
.file-attachment-file {
|
|
15653
|
+
display: flex;
|
|
15654
|
+
align-items: center;
|
|
15655
|
+
gap: 1rem;
|
|
15656
|
+
}
|
|
15657
|
+
|
|
15658
|
+
.file-attachment-download {
|
|
15659
|
+
display: flex;
|
|
15660
|
+
align-items: center;
|
|
15661
|
+
gap: 0.375rem;
|
|
15662
|
+
padding: 0;
|
|
15663
|
+
border: 0;
|
|
15664
|
+
background: none;
|
|
15665
|
+
color: var(--color-blue-600, #2e74ad);
|
|
15666
|
+
cursor: pointer;
|
|
15667
|
+
}
|
|
15668
|
+
|
|
15669
|
+
.file-attachment-download:hover {
|
|
15670
|
+
text-decoration: underline;
|
|
15671
|
+
}
|
|
15672
|
+
|
|
15673
|
+
.file-attachment-download:disabled {
|
|
15674
|
+
cursor: not-allowed;
|
|
15675
|
+
opacity: 0.5;
|
|
15676
|
+
}
|
|
15677
|
+
|
|
15678
|
+
.file-attachment-paperclip {
|
|
15679
|
+
width: 1rem;
|
|
15680
|
+
height: 1rem;
|
|
15681
|
+
flex-shrink: 0;
|
|
15682
|
+
}
|
|
15683
|
+
|
|
15684
|
+
.file-attachment-filename {
|
|
15685
|
+
font-weight: 500;
|
|
15686
|
+
}
|
|
15687
|
+
|
|
15688
|
+
.file-attachment-remove {
|
|
15689
|
+
display: flex;
|
|
15690
|
+
align-items: center;
|
|
15691
|
+
justify-content: center;
|
|
15692
|
+
width: 1.75rem;
|
|
15693
|
+
height: 1.75rem;
|
|
15694
|
+
padding: 0;
|
|
15695
|
+
border: 0;
|
|
15696
|
+
border-radius: 9999px;
|
|
15697
|
+
background: none;
|
|
15698
|
+
color: var(--color-coral-600, #e67357);
|
|
15699
|
+
cursor: pointer;
|
|
15700
|
+
transition: background-color 0.15s ease-in-out;
|
|
15701
|
+
}
|
|
15702
|
+
|
|
15703
|
+
.file-attachment-remove:hover {
|
|
15704
|
+
background-color: var(--color-coral-50, #fefcfb);
|
|
15705
|
+
}
|
|
15706
|
+
|
|
15707
|
+
.file-attachment-remove svg {
|
|
15708
|
+
width: 1rem;
|
|
15709
|
+
height: 1rem;
|
|
15710
|
+
}
|
|
15537
15711
|
/* /DS_PENDING_CSS:ResourceThumbnail */
|