@deque/cauldron-styles 4.5.0-canary.b2ef84aa → 4.5.0-canary.ed401288
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/dist/index.css +128 -3
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
--accent-light: #d4dde0;
|
|
21
21
|
--accent-success: #a5db75;
|
|
22
22
|
--accent-success-light: #d1ffa4;
|
|
23
|
+
--accent-success-dark: #57a711;
|
|
23
24
|
--accent-error: #d93251;
|
|
24
25
|
--accent-error-active: #c92e40;
|
|
25
26
|
--accent-danger: #fe6d6b;
|
|
@@ -35,6 +36,10 @@
|
|
|
35
36
|
--accent-secondary-active: var(--gray-30);
|
|
36
37
|
--focus-light: #c11bde;
|
|
37
38
|
--focus-dark: #eb94ff;
|
|
39
|
+
--issue-critical: #ed5959;
|
|
40
|
+
--issue-serious: #f3826b;
|
|
41
|
+
--issue-moderate: #ffdd76;
|
|
42
|
+
--issue-minor: #d3dde0;
|
|
38
43
|
|
|
39
44
|
/* text colours */
|
|
40
45
|
--text-color-base: var(--gray-60);
|
|
@@ -110,6 +115,10 @@
|
|
|
110
115
|
--z-index-top-bar: 25;
|
|
111
116
|
/* ensure this is 1 higher than the top bar z-index */
|
|
112
117
|
--z-index-skip-container: calc(var(--z-index-top-bar) + 1);
|
|
118
|
+
|
|
119
|
+
/* radio card */
|
|
120
|
+
--radio-card-width: 255px;
|
|
121
|
+
--radio-card-height: 229px;
|
|
113
122
|
}
|
|
114
123
|
|
|
115
124
|
.cauldron--theme-dark {
|
|
@@ -389,6 +398,10 @@ p {
|
|
|
389
398
|
gap: 8px;
|
|
390
399
|
}
|
|
391
400
|
|
|
401
|
+
.Button--tag {
|
|
402
|
+
position: relative;
|
|
403
|
+
}
|
|
404
|
+
|
|
392
405
|
button.Link {
|
|
393
406
|
cursor: pointer;
|
|
394
407
|
}
|
|
@@ -403,7 +416,8 @@ button.Link {
|
|
|
403
416
|
.Button--primary:before,
|
|
404
417
|
.Button--secondary:before,
|
|
405
418
|
.Button--clear:before,
|
|
406
|
-
.Button--error:before
|
|
419
|
+
.Button--error:before,
|
|
420
|
+
.Button--tag:before {
|
|
407
421
|
content: '';
|
|
408
422
|
position: absolute;
|
|
409
423
|
top: -2px;
|
|
@@ -414,6 +428,10 @@ button.Link {
|
|
|
414
428
|
pointer-events: none;
|
|
415
429
|
}
|
|
416
430
|
|
|
431
|
+
.Button--tag:before {
|
|
432
|
+
border-radius: 11px;
|
|
433
|
+
}
|
|
434
|
+
|
|
417
435
|
.Button--primary:not([disabled]):not([aria-disabled='true']):hover:before {
|
|
418
436
|
box-shadow: 0 0 0 1px var(--button-outline-color-primary);
|
|
419
437
|
}
|
|
@@ -426,9 +444,14 @@ button.Link {
|
|
|
426
444
|
box-shadow: 0 0 0 1px var(--button-outline-color-error);
|
|
427
445
|
}
|
|
428
446
|
|
|
447
|
+
.Button--tag:not([disabled]):not([aria-disabled='true']):hover:before {
|
|
448
|
+
box-shadow: 0 0 0 1px var(--button-outline-color-primary);
|
|
449
|
+
}
|
|
450
|
+
|
|
429
451
|
.Button--primary:focus:before,
|
|
430
452
|
.Button--secondary:focus:before,
|
|
431
|
-
.Button--error:focus:before
|
|
453
|
+
.Button--error:focus:before,
|
|
454
|
+
.Button--tag:focus:before {
|
|
432
455
|
box-shadow: 0 0 1px 2px var(--button-focus-ring-color, --focus);
|
|
433
456
|
}
|
|
434
457
|
|
|
@@ -479,6 +502,11 @@ button.Link {
|
|
|
479
502
|
background-color: var(--button-background-color-error-active);
|
|
480
503
|
}
|
|
481
504
|
|
|
505
|
+
.Button--tag[aria-disabled='true'],
|
|
506
|
+
.Button--tag[disabled] {
|
|
507
|
+
color: var(--disabled);
|
|
508
|
+
}
|
|
509
|
+
|
|
482
510
|
.Button--primary .Icon,
|
|
483
511
|
.Button--secondary .Icon,
|
|
484
512
|
.Button--clear .Icon,
|
|
@@ -563,7 +591,8 @@ button.Link {
|
|
|
563
591
|
.cauldron--theme-dark .Button--secondary[aria-disabled='true'],
|
|
564
592
|
.cauldron--theme-dark .Button--secondary[disabled],
|
|
565
593
|
.cauldron--theme-dark .Button--error[aria-disabled='true'],
|
|
566
|
-
.cauldron--theme-dark .Button--error[disabled]
|
|
594
|
+
.cauldron--theme-dark .Button--error[disabled],
|
|
595
|
+
.cauldron--theme-dark .Button--tag[disabled] {
|
|
567
596
|
color: var(--dark-workspace-color);
|
|
568
597
|
}
|
|
569
598
|
|
|
@@ -603,6 +632,12 @@ button.Link {
|
|
|
603
632
|
0 0 0 2px var(--accent-danger);
|
|
604
633
|
}
|
|
605
634
|
|
|
635
|
+
.cauldron--theme-dark
|
|
636
|
+
.Button--tag:not([disabled]):not([aria-disabled='true']):hover:before {
|
|
637
|
+
box-shadow: 0 0 0 1px var(--dark-workspace-color),
|
|
638
|
+
0 0 0 2px var(--accent-info);
|
|
639
|
+
}
|
|
640
|
+
|
|
606
641
|
:root {
|
|
607
642
|
--icon-button-background-color-primary: var(
|
|
608
643
|
--button-background-color-primary
|
|
@@ -2189,6 +2224,96 @@ p .Link {
|
|
|
2189
2224
|
background-color: var(--accent-dark);
|
|
2190
2225
|
}
|
|
2191
2226
|
|
|
2227
|
+
.RadioCard__overlay {
|
|
2228
|
+
border-radius: 50%;
|
|
2229
|
+
}
|
|
2230
|
+
|
|
2231
|
+
.RadioCard input[type='radio'] {
|
|
2232
|
+
position: absolute;
|
|
2233
|
+
opacity: 0;
|
|
2234
|
+
-webkit-appearance: none;
|
|
2235
|
+
-moz-appearance: none;
|
|
2236
|
+
appearance: none;
|
|
2237
|
+
height: 1px;
|
|
2238
|
+
width: 1px;
|
|
2239
|
+
}
|
|
2240
|
+
|
|
2241
|
+
.RadioCard__overlay.RadioCard__overlay--focused {
|
|
2242
|
+
border: 1px solid var(--focus);
|
|
2243
|
+
box-shadow: inset 0 0 0 1px var(--focus), 0 0 4px 2px var(--focus-glow);
|
|
2244
|
+
}
|
|
2245
|
+
|
|
2246
|
+
.RadioCard__overlay--checked.RadioCard__overlay--checked {
|
|
2247
|
+
background-color: var(--gray-20);
|
|
2248
|
+
}
|
|
2249
|
+
|
|
2250
|
+
.RadioCard__overlay.RadioCard__overlay--disabled,
|
|
2251
|
+
.RadioCard__overlay.RadioCard__overlay--disabled:hover {
|
|
2252
|
+
background-color: var(--gray-30);
|
|
2253
|
+
}
|
|
2254
|
+
|
|
2255
|
+
.RadioCardGroup {
|
|
2256
|
+
display: flex;
|
|
2257
|
+
gap: var(--space-large);
|
|
2258
|
+
flex-wrap: wrap;
|
|
2259
|
+
}
|
|
2260
|
+
|
|
2261
|
+
.RadioCardGroup .Radio + .Radio {
|
|
2262
|
+
margin-top: 0;
|
|
2263
|
+
}
|
|
2264
|
+
|
|
2265
|
+
.RadioCardGroup__Base {
|
|
2266
|
+
text-align: center;
|
|
2267
|
+
}
|
|
2268
|
+
|
|
2269
|
+
.RadioCardGroup__Checked {
|
|
2270
|
+
display: flex;
|
|
2271
|
+
justify-content: flex-end;
|
|
2272
|
+
min-height: 44px;
|
|
2273
|
+
}
|
|
2274
|
+
|
|
2275
|
+
.RadioCardGroup__Icon.Icon svg {
|
|
2276
|
+
color: var(--accent-success-dark);
|
|
2277
|
+
height: 44px;
|
|
2278
|
+
width: 44px;
|
|
2279
|
+
}
|
|
2280
|
+
|
|
2281
|
+
.RadioCardGroup__Card.Card--simple {
|
|
2282
|
+
width: var(--radio-card-width);
|
|
2283
|
+
height: var(--radio-card-height);
|
|
2284
|
+
align-content: center;
|
|
2285
|
+
}
|
|
2286
|
+
|
|
2287
|
+
.RadioCardGroup__Card:hover {
|
|
2288
|
+
background-color: var(--gray-20);
|
|
2289
|
+
}
|
|
2290
|
+
|
|
2291
|
+
.Radio__overlay--checked.Radio__overlay--checked {
|
|
2292
|
+
background-color: var(--gray-20);
|
|
2293
|
+
}
|
|
2294
|
+
|
|
2295
|
+
.RadioCardGroup__Image * {
|
|
2296
|
+
max-width: 100%;
|
|
2297
|
+
}
|
|
2298
|
+
|
|
2299
|
+
.RadioCardGroup__Image {
|
|
2300
|
+
width: 100px;
|
|
2301
|
+
height: 100px;
|
|
2302
|
+
display: flex;
|
|
2303
|
+
align-items: center;
|
|
2304
|
+
justify-content: center;
|
|
2305
|
+
margin: 0 auto;
|
|
2306
|
+
}
|
|
2307
|
+
|
|
2308
|
+
.RadioCardGroup__Label {
|
|
2309
|
+
font-size: var(--text-size-medium);
|
|
2310
|
+
font-weight: var(--font-weight-bold);
|
|
2311
|
+
color: var(--field-label-text-color);
|
|
2312
|
+
margin-top: var(--space-small);
|
|
2313
|
+
display: flex;
|
|
2314
|
+
justify-content: center;
|
|
2315
|
+
}
|
|
2316
|
+
|
|
2192
2317
|
:root {
|
|
2193
2318
|
--tile-background-color: var(--white);
|
|
2194
2319
|
--list-separator: rgba(153, 153, 153, 0.15);
|
package/package.json
CHANGED