@carbon/styles 1.4.0 → 1.6.0-rc.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/css/styles.css +153 -137
- package/css/styles.min.css +1 -1
- package/package.json +13 -11
- package/scss/__tests__/zone-test.js +76 -0
- package/scss/_breakpoint.scss +2 -2
- package/scss/_config.scss +5 -6
- package/scss/_feature-flags.scss +2 -1
- package/scss/_spacing.scss +4 -20
- package/scss/_zone.scss +2 -2
- package/scss/components/data-table/sort/_data-table-sort.scss +1 -0
- package/scss/components/modal/_modal.scss +2 -1
- package/scss/components/notification/_actionable-notification.scss +1 -2
- package/scss/components/notification/_toast-notification.scss +1 -1
- package/scss/components/notification/_tokens.scss +1 -1
- package/scss/components/structured-list/_structured-list.scss +4 -4
- package/scss/components/tabs/_tabs.scss +6 -0
- package/scss/components/treeview/_treeview.scss +118 -118
- package/scss/fonts/README.md +4 -4
- package/scss/grid/_index.scss +2 -6
- package/scss/theme/_theme.scss +2 -2
- package/scss/type/_index.scss +3 -1
- package/scss/utilities/_convert.scss +1 -1
package/README.md
CHANGED
|
@@ -81,7 +81,7 @@ You can change the default theme of Carbon by doing the following:
|
|
|
81
81
|
```scss
|
|
82
82
|
@use '@carbon/styles/scss/themes';
|
|
83
83
|
@use '@carbon/styles/scss/theme' with (
|
|
84
|
-
$theme: themes.$g100
|
|
84
|
+
$theme: themes.$g100
|
|
85
85
|
);
|
|
86
86
|
```
|
|
87
87
|
|
|
@@ -95,7 +95,7 @@ extend the theme.
|
|
|
95
95
|
$theme: (
|
|
96
96
|
background: #e2e2e2,
|
|
97
97
|
text-primary: #ffffff,
|
|
98
|
-
)
|
|
98
|
+
)
|
|
99
99
|
);
|
|
100
100
|
```
|
|
101
101
|
|
|
@@ -106,7 +106,7 @@ extend the theme.
|
|
|
106
106
|
$fallback: themes.$g100,
|
|
107
107
|
$theme: (
|
|
108
108
|
custom-token-01: #000000,
|
|
109
|
-
)
|
|
109
|
+
)
|
|
110
110
|
);
|
|
111
111
|
```
|
|
112
112
|
|
package/css/styles.css
CHANGED
|
@@ -3193,61 +3193,56 @@ em {
|
|
|
3193
3193
|
--cds-border-subtle: var(--cds-border-subtle-01, #e0e0e0);
|
|
3194
3194
|
--cds-border-subtle-selected: var(--cds-border-subtle-selected-01, #c6c6c6);
|
|
3195
3195
|
--cds-border-strong: var(--cds-border-strong-01, #8d8d8d);
|
|
3196
|
-
--cds-button-separator: #
|
|
3196
|
+
--cds-button-separator: #161616;
|
|
3197
3197
|
--cds-button-primary: #0f62fe;
|
|
3198
|
-
--cds-button-secondary: #
|
|
3199
|
-
--cds-button-tertiary: #
|
|
3198
|
+
--cds-button-secondary: #6f6f6f;
|
|
3199
|
+
--cds-button-tertiary: #ffffff;
|
|
3200
3200
|
--cds-button-danger-primary: #da1e28;
|
|
3201
|
-
--cds-button-danger-secondary: #
|
|
3201
|
+
--cds-button-danger-secondary: #ff8389;
|
|
3202
3202
|
--cds-button-danger-active: #750e13;
|
|
3203
3203
|
--cds-button-primary-active: #002d9c;
|
|
3204
|
-
--cds-button-secondary-active: #
|
|
3205
|
-
--cds-button-tertiary-active: #
|
|
3206
|
-
--cds-button-danger-hover: #
|
|
3204
|
+
--cds-button-secondary-active: #393939;
|
|
3205
|
+
--cds-button-tertiary-active: #c6c6c6;
|
|
3206
|
+
--cds-button-danger-hover: #b81921;
|
|
3207
3207
|
--cds-button-primary-hover: #0050e6;
|
|
3208
|
-
--cds-button-secondary-hover: #
|
|
3209
|
-
--cds-button-tertiary-hover: #
|
|
3210
|
-
--cds-button-disabled:
|
|
3211
|
-
--cds-notification-
|
|
3212
|
-
--cds-notification-
|
|
3213
|
-
--cds-notification-
|
|
3214
|
-
--cds-notification-
|
|
3215
|
-
--cds-notification-action-
|
|
3216
|
-
--cds-
|
|
3217
|
-
--cds-
|
|
3218
|
-
--cds-
|
|
3219
|
-
--cds-
|
|
3220
|
-
--cds-
|
|
3221
|
-
--cds-tag-
|
|
3222
|
-
--cds-tag-
|
|
3223
|
-
--cds-tag-
|
|
3224
|
-
--cds-tag-
|
|
3225
|
-
--cds-tag-
|
|
3226
|
-
--cds-tag-
|
|
3227
|
-
--cds-tag-
|
|
3228
|
-
--cds-tag-
|
|
3229
|
-
--cds-tag-
|
|
3230
|
-
--cds-tag-
|
|
3231
|
-
--cds-tag-
|
|
3232
|
-
--cds-tag-
|
|
3233
|
-
--cds-tag-
|
|
3234
|
-
--cds-tag-
|
|
3235
|
-
--cds-tag-
|
|
3236
|
-
--cds-tag-
|
|
3237
|
-
--cds-tag-
|
|
3238
|
-
--cds-tag-
|
|
3239
|
-
--cds-tag-
|
|
3240
|
-
--cds-tag-
|
|
3241
|
-
--cds-tag-
|
|
3242
|
-
--cds-tag-
|
|
3243
|
-
--cds-tag-
|
|
3244
|
-
--cds-tag-
|
|
3245
|
-
--cds-tag-
|
|
3246
|
-
--cds-tag-color-cool-gray: #343a3f;
|
|
3247
|
-
--cds-tag-hover-cool-gray: #c1c7cd;
|
|
3248
|
-
--cds-tag-background-warm-gray: #e5e0df;
|
|
3249
|
-
--cds-tag-color-warm-gray: #3c3838;
|
|
3250
|
-
--cds-tag-hover-warm-gray: #cac5c4;
|
|
3208
|
+
--cds-button-secondary-hover: #5e5e5e;
|
|
3209
|
+
--cds-button-tertiary-hover: #f4f4f4;
|
|
3210
|
+
--cds-button-disabled: rgba(141, 141, 141, 0.3);
|
|
3211
|
+
--cds-notification-action-tertiary-inverse: #0f62fe;
|
|
3212
|
+
--cds-notification-action-tertiary-inverse-active: #002d9c;
|
|
3213
|
+
--cds-notification-action-tertiary-inverse-hover: #0050e6;
|
|
3214
|
+
--cds-notification-action-tertiary-inverse-text: #ffffff;
|
|
3215
|
+
--cds-notification-action-tertiary-inverse-text-on-color-disabled: #8d8d8d;
|
|
3216
|
+
--cds-tag-background-red: #a2191f;
|
|
3217
|
+
--cds-tag-color-red: #ffd7d9;
|
|
3218
|
+
--cds-tag-hover-red: #c21e25;
|
|
3219
|
+
--cds-tag-background-magenta: #9f1853;
|
|
3220
|
+
--cds-tag-color-magenta: #ffd6e8;
|
|
3221
|
+
--cds-tag-hover-magenta: #bf1d63;
|
|
3222
|
+
--cds-tag-background-purple: #6929c4;
|
|
3223
|
+
--cds-tag-color-purple: #e8daff;
|
|
3224
|
+
--cds-tag-hover-purple: #7c3dd6;
|
|
3225
|
+
--cds-tag-background-blue: #0043ce;
|
|
3226
|
+
--cds-tag-color-blue: #d0e2ff;
|
|
3227
|
+
--cds-tag-hover-blue: #0053ff;
|
|
3228
|
+
--cds-tag-background-cyan: #00539a;
|
|
3229
|
+
--cds-tag-color-cyan: #bae6ff;
|
|
3230
|
+
--cds-tag-hover-cyan: #0066bd;
|
|
3231
|
+
--cds-tag-background-teal: #005d5d;
|
|
3232
|
+
--cds-tag-color-teal: #9ef0f0;
|
|
3233
|
+
--cds-tag-hover-teal: #007070;
|
|
3234
|
+
--cds-tag-background-green: #0e6027;
|
|
3235
|
+
--cds-tag-color-green: #a7f0ba;
|
|
3236
|
+
--cds-tag-hover-green: #11742f;
|
|
3237
|
+
--cds-tag-background-gray: #525252;
|
|
3238
|
+
--cds-tag-color-gray: #e0e0e0;
|
|
3239
|
+
--cds-tag-hover-gray: #636363;
|
|
3240
|
+
--cds-tag-background-cool-gray: #4d5358;
|
|
3241
|
+
--cds-tag-color-cool-gray: #dde1e6;
|
|
3242
|
+
--cds-tag-hover-cool-gray: #5d646a;
|
|
3243
|
+
--cds-tag-background-warm-gray: #565151;
|
|
3244
|
+
--cds-tag-color-warm-gray: #e5e0df;
|
|
3245
|
+
--cds-tag-hover-warm-gray: #696363;
|
|
3251
3246
|
}
|
|
3252
3247
|
|
|
3253
3248
|
.cds--g100 {
|
|
@@ -3360,61 +3355,56 @@ em {
|
|
|
3360
3355
|
--cds-border-subtle: var(--cds-border-subtle-01, #e0e0e0);
|
|
3361
3356
|
--cds-border-subtle-selected: var(--cds-border-subtle-selected-01, #c6c6c6);
|
|
3362
3357
|
--cds-border-strong: var(--cds-border-strong-01, #8d8d8d);
|
|
3363
|
-
--cds-button-separator: #
|
|
3358
|
+
--cds-button-separator: #161616;
|
|
3364
3359
|
--cds-button-primary: #0f62fe;
|
|
3365
|
-
--cds-button-secondary: #
|
|
3366
|
-
--cds-button-tertiary: #
|
|
3360
|
+
--cds-button-secondary: #6f6f6f;
|
|
3361
|
+
--cds-button-tertiary: #ffffff;
|
|
3367
3362
|
--cds-button-danger-primary: #da1e28;
|
|
3368
|
-
--cds-button-danger-secondary: #
|
|
3363
|
+
--cds-button-danger-secondary: #fa4d56;
|
|
3369
3364
|
--cds-button-danger-active: #750e13;
|
|
3370
3365
|
--cds-button-primary-active: #002d9c;
|
|
3371
|
-
--cds-button-secondary-active: #
|
|
3372
|
-
--cds-button-tertiary-active: #
|
|
3373
|
-
--cds-button-danger-hover: #
|
|
3366
|
+
--cds-button-secondary-active: #393939;
|
|
3367
|
+
--cds-button-tertiary-active: #c6c6c6;
|
|
3368
|
+
--cds-button-danger-hover: #b81921;
|
|
3374
3369
|
--cds-button-primary-hover: #0050e6;
|
|
3375
|
-
--cds-button-secondary-hover: #
|
|
3376
|
-
--cds-button-tertiary-hover: #
|
|
3377
|
-
--cds-button-disabled:
|
|
3378
|
-
--cds-notification-
|
|
3379
|
-
--cds-notification-
|
|
3380
|
-
--cds-notification-
|
|
3381
|
-
--cds-notification-
|
|
3382
|
-
--cds-notification-action-
|
|
3383
|
-
--cds-
|
|
3384
|
-
--cds-
|
|
3385
|
-
--cds-
|
|
3386
|
-
--cds-
|
|
3387
|
-
--cds-
|
|
3388
|
-
--cds-tag-
|
|
3389
|
-
--cds-tag-
|
|
3390
|
-
--cds-tag-
|
|
3391
|
-
--cds-tag-
|
|
3392
|
-
--cds-tag-
|
|
3393
|
-
--cds-tag-
|
|
3394
|
-
--cds-tag-
|
|
3395
|
-
--cds-tag-
|
|
3396
|
-
--cds-tag-
|
|
3397
|
-
--cds-tag-
|
|
3398
|
-
--cds-tag-
|
|
3399
|
-
--cds-tag-
|
|
3400
|
-
--cds-tag-
|
|
3401
|
-
--cds-tag-
|
|
3402
|
-
--cds-tag-
|
|
3403
|
-
--cds-tag-
|
|
3404
|
-
--cds-tag-
|
|
3405
|
-
--cds-tag-
|
|
3406
|
-
--cds-tag-
|
|
3407
|
-
--cds-tag-
|
|
3408
|
-
--cds-tag-
|
|
3409
|
-
--cds-tag-
|
|
3410
|
-
--cds-tag-
|
|
3411
|
-
--cds-tag-
|
|
3412
|
-
--cds-tag-
|
|
3413
|
-
--cds-tag-color-cool-gray: #343a3f;
|
|
3414
|
-
--cds-tag-hover-cool-gray: #c1c7cd;
|
|
3415
|
-
--cds-tag-background-warm-gray: #e5e0df;
|
|
3416
|
-
--cds-tag-color-warm-gray: #3c3838;
|
|
3417
|
-
--cds-tag-hover-warm-gray: #cac5c4;
|
|
3370
|
+
--cds-button-secondary-hover: #5e5e5e;
|
|
3371
|
+
--cds-button-tertiary-hover: #f4f4f4;
|
|
3372
|
+
--cds-button-disabled: rgba(141, 141, 141, 0.3);
|
|
3373
|
+
--cds-notification-action-tertiary-inverse: #0f62fe;
|
|
3374
|
+
--cds-notification-action-tertiary-inverse-active: #002d9c;
|
|
3375
|
+
--cds-notification-action-tertiary-inverse-hover: #0050e6;
|
|
3376
|
+
--cds-notification-action-tertiary-inverse-text: #ffffff;
|
|
3377
|
+
--cds-notification-action-tertiary-inverse-text-on-color-disabled: #8d8d8d;
|
|
3378
|
+
--cds-tag-background-red: #a2191f;
|
|
3379
|
+
--cds-tag-color-red: #ffd7d9;
|
|
3380
|
+
--cds-tag-hover-red: #c21e25;
|
|
3381
|
+
--cds-tag-background-magenta: #9f1853;
|
|
3382
|
+
--cds-tag-color-magenta: #ffd6e8;
|
|
3383
|
+
--cds-tag-hover-magenta: #bf1d63;
|
|
3384
|
+
--cds-tag-background-purple: #6929c4;
|
|
3385
|
+
--cds-tag-color-purple: #e8daff;
|
|
3386
|
+
--cds-tag-hover-purple: #7c3dd6;
|
|
3387
|
+
--cds-tag-background-blue: #0043ce;
|
|
3388
|
+
--cds-tag-color-blue: #d0e2ff;
|
|
3389
|
+
--cds-tag-hover-blue: #0053ff;
|
|
3390
|
+
--cds-tag-background-cyan: #00539a;
|
|
3391
|
+
--cds-tag-color-cyan: #bae6ff;
|
|
3392
|
+
--cds-tag-hover-cyan: #0066bd;
|
|
3393
|
+
--cds-tag-background-teal: #005d5d;
|
|
3394
|
+
--cds-tag-color-teal: #9ef0f0;
|
|
3395
|
+
--cds-tag-hover-teal: #007070;
|
|
3396
|
+
--cds-tag-background-green: #0e6027;
|
|
3397
|
+
--cds-tag-color-green: #a7f0ba;
|
|
3398
|
+
--cds-tag-hover-green: #11742f;
|
|
3399
|
+
--cds-tag-background-gray: #525252;
|
|
3400
|
+
--cds-tag-color-gray: #e0e0e0;
|
|
3401
|
+
--cds-tag-hover-gray: #636363;
|
|
3402
|
+
--cds-tag-background-cool-gray: #4d5358;
|
|
3403
|
+
--cds-tag-color-cool-gray: #dde1e6;
|
|
3404
|
+
--cds-tag-hover-cool-gray: #5d646a;
|
|
3405
|
+
--cds-tag-background-warm-gray: #565151;
|
|
3406
|
+
--cds-tag-color-warm-gray: #e5e0df;
|
|
3407
|
+
--cds-tag-hover-warm-gray: #696363;
|
|
3418
3408
|
}
|
|
3419
3409
|
|
|
3420
3410
|
.cds--accordion {
|
|
@@ -9959,6 +9949,7 @@ tr.cds--parent-row.cds--data-table--selected.cds--expandable-row--hover + tr[dat
|
|
|
9959
9949
|
.cds--data-table.cds--data-table--sort th > .cds--table-header-label {
|
|
9960
9950
|
padding-right: 1rem;
|
|
9961
9951
|
padding-left: 1rem;
|
|
9952
|
+
line-height: 1;
|
|
9962
9953
|
}
|
|
9963
9954
|
|
|
9964
9955
|
th .cds--table-sort__flex {
|
|
@@ -12645,11 +12636,11 @@ button.cds--dropdown-text:focus {
|
|
|
12645
12636
|
|
|
12646
12637
|
.cds--modal-content p,
|
|
12647
12638
|
.cds--modal-content__regular-content {
|
|
12648
|
-
padding-right: 20%;
|
|
12649
12639
|
font-size: var(--cds-body-01-font-size, 0.875rem);
|
|
12650
12640
|
font-weight: var(--cds-body-01-font-weight, 400);
|
|
12651
12641
|
line-height: var(--cds-body-01-line-height, 1.42857);
|
|
12652
12642
|
letter-spacing: var(--cds-body-01-letter-spacing, 0.16px);
|
|
12643
|
+
padding-right: calc(20% - 2rem);
|
|
12653
12644
|
}
|
|
12654
12645
|
|
|
12655
12646
|
.cds--modal-content--with-form {
|
|
@@ -13845,7 +13836,6 @@ button.cds--dropdown-text:focus {
|
|
|
13845
13836
|
border-color: var(--cds-support-warning, #f1c21b);
|
|
13846
13837
|
}
|
|
13847
13838
|
|
|
13848
|
-
.cds--actionable-notification--warning .cds--inline-notification__icon,
|
|
13849
13839
|
.cds--actionable-notification--warning .cds--toast-notification__icon path[opacity="0"] {
|
|
13850
13840
|
fill: #000000;
|
|
13851
13841
|
opacity: 1;
|
|
@@ -13902,6 +13892,8 @@ button.cds--dropdown-text:focus {
|
|
|
13902
13892
|
display: -webkit-box;
|
|
13903
13893
|
display: -ms-flexbox;
|
|
13904
13894
|
display: flex;
|
|
13895
|
+
-ms-flex-wrap: wrap;
|
|
13896
|
+
flex-wrap: wrap;
|
|
13905
13897
|
word-break: break-word;
|
|
13906
13898
|
}
|
|
13907
13899
|
|
|
@@ -18775,6 +18767,10 @@ span.cds--pagination__text.cds--pagination__items-count {
|
|
|
18775
18767
|
}
|
|
18776
18768
|
}
|
|
18777
18769
|
|
|
18770
|
+
.cds--tab-content--interactive:focus {
|
|
18771
|
+
outline: none;
|
|
18772
|
+
}
|
|
18773
|
+
|
|
18778
18774
|
.cds--tabs.cds--skeleton {
|
|
18779
18775
|
cursor: default;
|
|
18780
18776
|
pointer-events: none;
|
|
@@ -19763,43 +19759,50 @@ span.cds--pagination__text.cds--pagination__items-count {
|
|
|
19763
19759
|
.cds--tree {
|
|
19764
19760
|
overflow: hidden;
|
|
19765
19761
|
}
|
|
19766
|
-
|
|
19762
|
+
|
|
19763
|
+
.cds--tree-node {
|
|
19767
19764
|
padding-left: 1rem;
|
|
19768
19765
|
background-color: var(--cds-layer-01, #f4f4f4);
|
|
19769
19766
|
color: var(--cds-text-secondary, #525252);
|
|
19770
19767
|
}
|
|
19771
|
-
.cds--tree
|
|
19768
|
+
.cds--tree-node:focus {
|
|
19772
19769
|
outline: none;
|
|
19773
19770
|
}
|
|
19774
|
-
|
|
19771
|
+
|
|
19772
|
+
.cds--tree-node:focus > .cds--tree-node__label {
|
|
19775
19773
|
outline: 2px solid var(--cds-focus, #0f62fe);
|
|
19776
19774
|
outline-offset: -2px;
|
|
19777
19775
|
}
|
|
19778
19776
|
@media screen and (prefers-contrast) {
|
|
19779
|
-
.cds--tree
|
|
19777
|
+
.cds--tree-node:focus > .cds--tree-node__label {
|
|
19780
19778
|
outline-style: dotted;
|
|
19781
19779
|
}
|
|
19782
19780
|
}
|
|
19783
|
-
|
|
19781
|
+
|
|
19782
|
+
.cds--tree-node--disabled:focus > .cds--tree-node__label {
|
|
19784
19783
|
outline: none;
|
|
19785
19784
|
}
|
|
19786
|
-
|
|
19787
|
-
.cds--tree
|
|
19788
|
-
.cds--tree
|
|
19785
|
+
|
|
19786
|
+
.cds--tree-node--disabled,
|
|
19787
|
+
.cds--tree-node--disabled .cds--tree-node__label:hover,
|
|
19788
|
+
.cds--tree-node--disabled .cds--tree-node__label:hover .cds--tree-node__label__details {
|
|
19789
19789
|
background-color: var(--cds-field-01, #f4f4f4);
|
|
19790
19790
|
color: var(--cds-text-disabled, rgba(22, 22, 22, 0.25));
|
|
19791
19791
|
}
|
|
19792
|
-
|
|
19793
|
-
.cds--tree
|
|
19794
|
-
.cds--tree
|
|
19795
|
-
.cds--tree
|
|
19792
|
+
|
|
19793
|
+
.cds--tree-node--disabled .cds--tree-parent-node__toggle-icon,
|
|
19794
|
+
.cds--tree-node--disabled .cds--tree-node__icon,
|
|
19795
|
+
.cds--tree-node--disabled .cds--tree-node__label:hover .cds--tree-parent-node__toggle-icon,
|
|
19796
|
+
.cds--tree-node--disabled .cds--tree-node__label:hover .cds--tree-node__icon {
|
|
19796
19797
|
fill: var(--cds-icon-disabled, rgba(22, 22, 22, 0.25));
|
|
19797
19798
|
}
|
|
19798
|
-
|
|
19799
|
-
.cds--tree
|
|
19799
|
+
|
|
19800
|
+
.cds--tree-node--disabled,
|
|
19801
|
+
.cds--tree-node--disabled .cds--tree-parent-node__toggle-icon:hover {
|
|
19800
19802
|
cursor: not-allowed;
|
|
19801
19803
|
}
|
|
19802
|
-
|
|
19804
|
+
|
|
19805
|
+
.cds--tree-node__label {
|
|
19803
19806
|
font-size: var(--cds-body-compact-01-font-size, 0.875rem);
|
|
19804
19807
|
font-weight: var(--cds-body-compact-01-font-weight, 400);
|
|
19805
19808
|
line-height: var(--cds-body-compact-01-line-height, 1.28572);
|
|
@@ -19815,27 +19818,32 @@ span.cds--pagination__text.cds--pagination__items-count {
|
|
|
19815
19818
|
-ms-flex-align: center;
|
|
19816
19819
|
align-items: center;
|
|
19817
19820
|
}
|
|
19818
|
-
.cds--tree
|
|
19821
|
+
.cds--tree-node__label:hover {
|
|
19819
19822
|
background-color: var(--cds-layer-hover-01, #e8e8e8);
|
|
19820
19823
|
color: var(--cds-text-primary, #161616);
|
|
19821
19824
|
}
|
|
19822
|
-
|
|
19825
|
+
|
|
19826
|
+
.cds--tree-node__label:hover .cds--tree-node__label__details {
|
|
19823
19827
|
color: var(--cds-text-primary, #161616);
|
|
19824
19828
|
}
|
|
19825
|
-
|
|
19826
|
-
.cds--tree
|
|
19829
|
+
|
|
19830
|
+
.cds--tree-node__label:hover .cds--tree-parent-node__toggle-icon,
|
|
19831
|
+
.cds--tree-node__label:hover .cds--tree-node__icon {
|
|
19827
19832
|
fill: var(--cds-icon-primary, #161616);
|
|
19828
19833
|
}
|
|
19829
|
-
|
|
19834
|
+
|
|
19835
|
+
.cds--tree-leaf-node {
|
|
19830
19836
|
display: -webkit-box;
|
|
19831
19837
|
display: -ms-flexbox;
|
|
19832
19838
|
display: flex;
|
|
19833
19839
|
padding-left: 2.5rem;
|
|
19834
19840
|
}
|
|
19835
|
-
|
|
19841
|
+
|
|
19842
|
+
.cds--tree-leaf-node.cds--tree-node--with-icon {
|
|
19836
19843
|
padding-left: 2rem;
|
|
19837
19844
|
}
|
|
19838
|
-
|
|
19845
|
+
|
|
19846
|
+
.cds--tree-node__label__details {
|
|
19839
19847
|
display: -webkit-box;
|
|
19840
19848
|
display: -ms-flexbox;
|
|
19841
19849
|
display: flex;
|
|
@@ -19843,52 +19851,60 @@ span.cds--pagination__text.cds--pagination__items-count {
|
|
|
19843
19851
|
-ms-flex-align: center;
|
|
19844
19852
|
align-items: center;
|
|
19845
19853
|
}
|
|
19846
|
-
|
|
19854
|
+
|
|
19855
|
+
.cds--tree-node--with-icon .cds--tree-parent-node__toggle {
|
|
19847
19856
|
margin-right: 0;
|
|
19848
19857
|
}
|
|
19849
|
-
|
|
19858
|
+
|
|
19859
|
+
.cds--tree-parent-node__toggle {
|
|
19850
19860
|
padding: 0;
|
|
19851
19861
|
border: 0;
|
|
19852
19862
|
margin-right: 0.5rem;
|
|
19853
19863
|
}
|
|
19854
|
-
.cds--tree
|
|
19864
|
+
.cds--tree-parent-node__toggle:hover {
|
|
19855
19865
|
cursor: pointer;
|
|
19856
19866
|
}
|
|
19857
|
-
.cds--tree
|
|
19867
|
+
.cds--tree-parent-node__toggle:focus {
|
|
19858
19868
|
outline: none;
|
|
19859
19869
|
}
|
|
19860
|
-
|
|
19870
|
+
|
|
19871
|
+
.cds--tree-parent-node__toggle-icon {
|
|
19861
19872
|
fill: var(--cds-icon-secondary, #525252);
|
|
19862
19873
|
-webkit-transform: rotate(-90deg);
|
|
19863
19874
|
transform: rotate(-90deg);
|
|
19864
19875
|
-webkit-transition: all 110ms cubic-bezier(0.2, 0, 0.38, 0.9);
|
|
19865
19876
|
transition: all 110ms cubic-bezier(0.2, 0, 0.38, 0.9);
|
|
19866
19877
|
}
|
|
19867
|
-
|
|
19878
|
+
|
|
19879
|
+
.cds--tree-parent-node__toggle-icon--expanded {
|
|
19868
19880
|
-webkit-transform: rotate(0);
|
|
19869
19881
|
transform: rotate(0);
|
|
19870
19882
|
}
|
|
19871
|
-
|
|
19883
|
+
|
|
19884
|
+
.cds--tree-node__icon {
|
|
19872
19885
|
min-width: 1rem;
|
|
19873
19886
|
min-height: 1rem;
|
|
19874
19887
|
margin-right: 0.5rem;
|
|
19875
19888
|
fill: var(--cds-icon-secondary, #525252);
|
|
19876
19889
|
}
|
|
19877
|
-
|
|
19890
|
+
|
|
19891
|
+
.cds--tree-node--selected > .cds--tree-node__label {
|
|
19878
19892
|
background-color: var(--cds-layer-selected-01, #e0e0e0);
|
|
19879
19893
|
color: var(--cds-text-primary, #161616);
|
|
19880
19894
|
}
|
|
19881
|
-
.cds--tree
|
|
19895
|
+
.cds--tree-node--selected > .cds--tree-node__label:hover {
|
|
19882
19896
|
background-color: var(--cds-layer-selected-hover-01, #d1d1d1);
|
|
19883
19897
|
}
|
|
19884
|
-
|
|
19885
|
-
.cds--tree
|
|
19898
|
+
|
|
19899
|
+
.cds--tree-node--selected > .cds--tree-node__label .cds--tree-parent-node__toggle-icon,
|
|
19900
|
+
.cds--tree-node--selected > .cds--tree-node__label .cds--tree-node__icon {
|
|
19886
19901
|
fill: var(--cds-icon-primary, #161616);
|
|
19887
19902
|
}
|
|
19888
|
-
|
|
19903
|
+
|
|
19904
|
+
.cds--tree-node--active > .cds--tree-node__label {
|
|
19889
19905
|
position: relative;
|
|
19890
19906
|
}
|
|
19891
|
-
.cds--tree
|
|
19907
|
+
.cds--tree-node--active > .cds--tree-node__label::before {
|
|
19892
19908
|
position: absolute;
|
|
19893
19909
|
top: 0;
|
|
19894
19910
|
left: 0;
|