@deque/cauldron-styles 4.0.0-canary.c3398f14 → 4.0.0-canary.debe968f
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 +49 -0
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -3265,17 +3265,24 @@ button.TooltipTabstop {
|
|
|
3265
3265
|
:root {
|
|
3266
3266
|
--table-header-text-color: var(--gray-90);
|
|
3267
3267
|
--table-header-background-color: var(--gray-20);
|
|
3268
|
+
--table-header-sorting-background-color: #caddec;
|
|
3269
|
+
--table-header-sorting-text-color: var(--gray-90);
|
|
3268
3270
|
--table-cell-text-color: var(--gray-60);
|
|
3269
3271
|
--table-cell-background-color: var(--white);
|
|
3270
3272
|
--table-row-border-color: var(--gray-40);
|
|
3271
3273
|
--table-space: 11px;
|
|
3274
|
+
--table-header-sorting-border-color: var(--gray-90);
|
|
3272
3275
|
}
|
|
3273
3276
|
|
|
3274
3277
|
.cauldron--theme-dark {
|
|
3275
3278
|
--table-header-text-color: var(--white);
|
|
3276
3279
|
--table-header-background-color: var(--accent-dark);
|
|
3280
|
+
--table-header-sorting-background-color: #53636e;
|
|
3281
|
+
--table-header-sorting-text-color: var(--white);
|
|
3277
3282
|
--table-cell-text-color: var(--accent-light);
|
|
3278
3283
|
--table-cell-background-color: var(--accent-medium);
|
|
3284
|
+
--table-row-border-color: #5d676f;
|
|
3285
|
+
--table-header-sorting-border-color: var(--accent-info);
|
|
3279
3286
|
}
|
|
3280
3287
|
|
|
3281
3288
|
.Table {
|
|
@@ -3294,6 +3301,48 @@ button.TooltipTabstop {
|
|
|
3294
3301
|
border-bottom: 2px solid var(--table-row-border-color);
|
|
3295
3302
|
}
|
|
3296
3303
|
|
|
3304
|
+
.TableHeader[aria-sort] {
|
|
3305
|
+
padding: 0;
|
|
3306
|
+
}
|
|
3307
|
+
|
|
3308
|
+
.TableHeader .TableHeader__sort-button {
|
|
3309
|
+
background-color: transparent;
|
|
3310
|
+
font-family: inherit;
|
|
3311
|
+
width: 100%;
|
|
3312
|
+
font-size: var(--text-size-small);
|
|
3313
|
+
font-weight: var(--font-weight-medium);
|
|
3314
|
+
color: var(--table-header-text-color);
|
|
3315
|
+
display: flex;
|
|
3316
|
+
align-items: center;
|
|
3317
|
+
justify-content: space-between;
|
|
3318
|
+
padding: var(--table-space) var(--space-smallest);
|
|
3319
|
+
}
|
|
3320
|
+
|
|
3321
|
+
.TableHeader__sort-button:hover {
|
|
3322
|
+
cursor: pointer;
|
|
3323
|
+
}
|
|
3324
|
+
|
|
3325
|
+
.TableHeader__sort-button:focus {
|
|
3326
|
+
outline-offset: unset;
|
|
3327
|
+
}
|
|
3328
|
+
|
|
3329
|
+
.TableHeader--sort-ascending,
|
|
3330
|
+
.TableHeader--sort-descending {
|
|
3331
|
+
background: var(--table-header-sorting-background-color);
|
|
3332
|
+
border-bottom: 2px solid var(--table-header-sorting-border-color);
|
|
3333
|
+
}
|
|
3334
|
+
|
|
3335
|
+
.TableHeader--sort-ascending .TableHeader__sort-button,
|
|
3336
|
+
.TableHeader--sort-decscending .TableHeader__sort-button {
|
|
3337
|
+
color: var(--table-header-sorting-text-color);
|
|
3338
|
+
}
|
|
3339
|
+
|
|
3340
|
+
/* compensate the gap in height between TableHeader and Icon */
|
|
3341
|
+
|
|
3342
|
+
.TableHeader__sort-button span {
|
|
3343
|
+
margin: calc(var(--space-half) * -1) 0;
|
|
3344
|
+
}
|
|
3345
|
+
|
|
3297
3346
|
.TableCell {
|
|
3298
3347
|
background: var(--table-cell-background-color);
|
|
3299
3348
|
color: var(--table-cell-text-color);
|
package/package.json
CHANGED