@deque/cauldron-styles 4.0.0 → 4.1.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/dist/index.css +74 -0
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -1441,6 +1441,7 @@ ul.semantic-only {
|
|
|
1441
1441
|
--field-background-color-disabled: #f7f7f7;
|
|
1442
1442
|
--field-required-text-color: var(--gray-60);
|
|
1443
1443
|
--field-label-text-color: var(--gray-90);
|
|
1444
|
+
--field-label-description-text-color: var(--gray-60);
|
|
1444
1445
|
--input-min-width: 250px;
|
|
1445
1446
|
}
|
|
1446
1447
|
|
|
@@ -1456,6 +1457,7 @@ ul.semantic-only {
|
|
|
1456
1457
|
--field-background-color-disabled: #5d676f;
|
|
1457
1458
|
--field-required-text-color: var(--white);
|
|
1458
1459
|
--field-label-text-color: var(--white);
|
|
1460
|
+
--field-label-description-text-color: rgba(255, 255, 255, 0.8);
|
|
1459
1461
|
}
|
|
1460
1462
|
|
|
1461
1463
|
input,
|
|
@@ -1611,6 +1613,7 @@ textarea.Field--has-error:focus:hover,
|
|
|
1611
1613
|
margin-bottom: 0;
|
|
1612
1614
|
flex-direction: row-reverse;
|
|
1613
1615
|
justify-content: flex-end;
|
|
1616
|
+
flex-wrap: wrap;
|
|
1614
1617
|
}
|
|
1615
1618
|
|
|
1616
1619
|
.Checkbox {
|
|
@@ -1694,6 +1697,28 @@ textarea.Field--has-error:focus:hover,
|
|
|
1694
1697
|
border: 1px solid var(--field-border-color);
|
|
1695
1698
|
}
|
|
1696
1699
|
|
|
1700
|
+
.Field__labelDescription {
|
|
1701
|
+
flex-basis: 100%;
|
|
1702
|
+
color: var(--field-label-description-text-color);
|
|
1703
|
+
font-size: var(--text-size-small);
|
|
1704
|
+
font-weight: var(--font-weight-normal);
|
|
1705
|
+
line-height: 1;
|
|
1706
|
+
margin-left: calc(24px + 2px + var(--space-half));
|
|
1707
|
+
cursor: default;
|
|
1708
|
+
}
|
|
1709
|
+
|
|
1710
|
+
.Icon + .Error {
|
|
1711
|
+
flex-basis: 100%;
|
|
1712
|
+
margin-top: var(--space-smallest);
|
|
1713
|
+
}
|
|
1714
|
+
|
|
1715
|
+
.Field__labelDescription + .Error {
|
|
1716
|
+
border-top: 1px solid var(--error);
|
|
1717
|
+
margin-left: calc(24px + 2px + var(--space-half));
|
|
1718
|
+
padding: 4px 0;
|
|
1719
|
+
margin-top: 4px;
|
|
1720
|
+
}
|
|
1721
|
+
|
|
1697
1722
|
.Radio__overlay,
|
|
1698
1723
|
.Checkbox__overlay {
|
|
1699
1724
|
border: 1px solid transparent;
|
|
@@ -3265,17 +3290,24 @@ button.TooltipTabstop {
|
|
|
3265
3290
|
:root {
|
|
3266
3291
|
--table-header-text-color: var(--gray-90);
|
|
3267
3292
|
--table-header-background-color: var(--gray-20);
|
|
3293
|
+
--table-header-sorting-background-color: #caddec;
|
|
3294
|
+
--table-header-sorting-text-color: var(--gray-90);
|
|
3268
3295
|
--table-cell-text-color: var(--gray-60);
|
|
3269
3296
|
--table-cell-background-color: var(--white);
|
|
3270
3297
|
--table-row-border-color: var(--gray-40);
|
|
3271
3298
|
--table-space: 11px;
|
|
3299
|
+
--table-header-sorting-border-color: var(--gray-90);
|
|
3272
3300
|
}
|
|
3273
3301
|
|
|
3274
3302
|
.cauldron--theme-dark {
|
|
3275
3303
|
--table-header-text-color: var(--white);
|
|
3276
3304
|
--table-header-background-color: var(--accent-dark);
|
|
3305
|
+
--table-header-sorting-background-color: #53636e;
|
|
3306
|
+
--table-header-sorting-text-color: var(--white);
|
|
3277
3307
|
--table-cell-text-color: var(--accent-light);
|
|
3278
3308
|
--table-cell-background-color: var(--accent-medium);
|
|
3309
|
+
--table-row-border-color: #5d676f;
|
|
3310
|
+
--table-header-sorting-border-color: var(--accent-info);
|
|
3279
3311
|
}
|
|
3280
3312
|
|
|
3281
3313
|
.Table {
|
|
@@ -3294,6 +3326,48 @@ button.TooltipTabstop {
|
|
|
3294
3326
|
border-bottom: 2px solid var(--table-row-border-color);
|
|
3295
3327
|
}
|
|
3296
3328
|
|
|
3329
|
+
.TableHeader[aria-sort] {
|
|
3330
|
+
padding: 0;
|
|
3331
|
+
}
|
|
3332
|
+
|
|
3333
|
+
.TableHeader .TableHeader__sort-button {
|
|
3334
|
+
background-color: transparent;
|
|
3335
|
+
font-family: inherit;
|
|
3336
|
+
width: 100%;
|
|
3337
|
+
font-size: var(--text-size-small);
|
|
3338
|
+
font-weight: var(--font-weight-medium);
|
|
3339
|
+
color: var(--table-header-text-color);
|
|
3340
|
+
display: flex;
|
|
3341
|
+
align-items: center;
|
|
3342
|
+
justify-content: space-between;
|
|
3343
|
+
padding: var(--table-space) var(--space-smallest);
|
|
3344
|
+
}
|
|
3345
|
+
|
|
3346
|
+
.TableHeader__sort-button:hover {
|
|
3347
|
+
cursor: pointer;
|
|
3348
|
+
}
|
|
3349
|
+
|
|
3350
|
+
.TableHeader__sort-button:focus {
|
|
3351
|
+
outline-offset: unset;
|
|
3352
|
+
}
|
|
3353
|
+
|
|
3354
|
+
.TableHeader--sort-ascending,
|
|
3355
|
+
.TableHeader--sort-descending {
|
|
3356
|
+
background: var(--table-header-sorting-background-color);
|
|
3357
|
+
border-bottom: 2px solid var(--table-header-sorting-border-color);
|
|
3358
|
+
}
|
|
3359
|
+
|
|
3360
|
+
.TableHeader--sort-ascending .TableHeader__sort-button,
|
|
3361
|
+
.TableHeader--sort-decscending .TableHeader__sort-button {
|
|
3362
|
+
color: var(--table-header-sorting-text-color);
|
|
3363
|
+
}
|
|
3364
|
+
|
|
3365
|
+
/* compensate the gap in height between TableHeader and Icon */
|
|
3366
|
+
|
|
3367
|
+
.TableHeader__sort-button span {
|
|
3368
|
+
margin: calc(var(--space-half) * -1) 0;
|
|
3369
|
+
}
|
|
3370
|
+
|
|
3297
3371
|
.TableCell {
|
|
3298
3372
|
background: var(--table-cell-background-color);
|
|
3299
3373
|
color: var(--table-cell-text-color);
|