@carbon/styles 1.45.0 → 1.46.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/css/styles.css
CHANGED
|
@@ -3717,6 +3717,8 @@ li.cds--accordion__item--disabled:last-of-type {
|
|
|
3717
3717
|
overflow: visible;
|
|
3718
3718
|
}
|
|
3719
3719
|
.cds--accordion__item--active .cds--accordion__wrapper {
|
|
3720
|
+
max-block-size: -moz-fit-content;
|
|
3721
|
+
max-block-size: fit-content;
|
|
3720
3722
|
opacity: 1;
|
|
3721
3723
|
padding-block: 0.5rem;
|
|
3722
3724
|
padding-block-end: 1.5rem;
|
|
@@ -17160,7 +17162,6 @@ optgroup.cds--select-optgroup:disabled,
|
|
|
17160
17162
|
.cds--modal-container {
|
|
17161
17163
|
position: fixed;
|
|
17162
17164
|
display: grid;
|
|
17163
|
-
overflow: hidden;
|
|
17164
17165
|
background-color: var(--cds-layer);
|
|
17165
17166
|
block-size: 100%;
|
|
17166
17167
|
grid-template-columns: 100%;
|
|
@@ -17477,6 +17478,28 @@ optgroup.cds--select-optgroup:disabled,
|
|
|
17477
17478
|
margin: 0;
|
|
17478
17479
|
}
|
|
17479
17480
|
|
|
17481
|
+
.cds--modal--slug .cds--modal-container {
|
|
17482
|
+
background: linear-gradient(0deg, var(--cds-slug-callout-aura-start, rgba(237, 245, 255, 0.6)) 0%, var(--cds-slug-callout-aura-end, rgba(255, 255, 255, 0)) 50%, transparent 50%), linear-gradient(180deg, var(--cds-slug-callout-gradient-top, rgba(244, 244, 244, 0.85)) 0%, var(--cds-slug-callout-gradient-bottom, rgba(224, 224, 224, 0.85)) 100%) rgba(0, 0, 0, 0.01);
|
|
17483
|
+
background-color: var(--cds-layer);
|
|
17484
|
+
}
|
|
17485
|
+
|
|
17486
|
+
.cds--modal--slug .cds--modal-container:has(.cds--btn-set:not(.cds--modal-footer--three-button) > button:not(:only-child)) {
|
|
17487
|
+
background: linear-gradient(0deg, var(--cds-slug-callout-aura-start, rgba(237, 245, 255, 0.6)) calc(0% + 64px), var(--cds-slug-callout-aura-end, rgba(255, 255, 255, 0)) 50%, transparent 50%), linear-gradient(180deg, var(--cds-slug-callout-gradient-top, rgba(244, 244, 244, 0.85)) calc(0% + 64px), var(--cds-slug-callout-gradient-bottom, rgba(224, 224, 224, 0.85)) 100%) rgba(0, 0, 0, 0.01);
|
|
17488
|
+
background-color: var(--cds-layer);
|
|
17489
|
+
}
|
|
17490
|
+
|
|
17491
|
+
.cds--modal--slug .cds--slug {
|
|
17492
|
+
position: absolute;
|
|
17493
|
+
inset-block-start: 0;
|
|
17494
|
+
inset-inline-end: 0;
|
|
17495
|
+
}
|
|
17496
|
+
|
|
17497
|
+
.cds--modal-header > .cds--slug:has(+ .cds--modal-close),
|
|
17498
|
+
.cds--modal-header > .cds--modal-close ~ .cds--slug,
|
|
17499
|
+
.cds--modal--slug .cds--modal-container-body > .cds--slug {
|
|
17500
|
+
inset-inline-end: 3rem;
|
|
17501
|
+
}
|
|
17502
|
+
|
|
17480
17503
|
/* stylelint-disable */
|
|
17481
17504
|
@media screen and (-ms-high-contrast: active), (forced-colors: active) {
|
|
17482
17505
|
.cds--modal-close__icon {
|
|
@@ -20297,6 +20320,97 @@ span.cds--pagination__text.cds--pagination__items-count {
|
|
|
20297
20320
|
}
|
|
20298
20321
|
|
|
20299
20322
|
/* stylelint-enable */
|
|
20323
|
+
.cds--toggletip-label {
|
|
20324
|
+
font-size: var(--cds-body-01-font-size, 0.875rem);
|
|
20325
|
+
font-weight: var(--cds-body-01-font-weight, 400);
|
|
20326
|
+
line-height: var(--cds-body-01-line-height, 1.42857);
|
|
20327
|
+
letter-spacing: var(--cds-body-01-letter-spacing, 0.16px);
|
|
20328
|
+
color: var(--cds-text-secondary, #525252);
|
|
20329
|
+
margin-inline-end: 0.5rem;
|
|
20330
|
+
}
|
|
20331
|
+
|
|
20332
|
+
.cds--toggletip-button {
|
|
20333
|
+
box-sizing: border-box;
|
|
20334
|
+
padding: 0;
|
|
20335
|
+
border: 0;
|
|
20336
|
+
margin: 0;
|
|
20337
|
+
font-family: inherit;
|
|
20338
|
+
font-size: 100%;
|
|
20339
|
+
vertical-align: baseline;
|
|
20340
|
+
display: inline-block;
|
|
20341
|
+
padding: 0;
|
|
20342
|
+
border: 0;
|
|
20343
|
+
-webkit-appearance: none;
|
|
20344
|
+
-moz-appearance: none;
|
|
20345
|
+
appearance: none;
|
|
20346
|
+
background: none;
|
|
20347
|
+
cursor: pointer;
|
|
20348
|
+
text-align: start;
|
|
20349
|
+
inline-size: 100%;
|
|
20350
|
+
display: flex;
|
|
20351
|
+
align-items: center;
|
|
20352
|
+
}
|
|
20353
|
+
.cds--toggletip-button *,
|
|
20354
|
+
.cds--toggletip-button *::before,
|
|
20355
|
+
.cds--toggletip-button *::after {
|
|
20356
|
+
box-sizing: inherit;
|
|
20357
|
+
}
|
|
20358
|
+
.cds--toggletip-button::-moz-focus-inner {
|
|
20359
|
+
border: 0;
|
|
20360
|
+
}
|
|
20361
|
+
|
|
20362
|
+
.cds--toggletip-button svg {
|
|
20363
|
+
fill: var(--cds-icon-secondary, #525252);
|
|
20364
|
+
}
|
|
20365
|
+
|
|
20366
|
+
.cds--toggletip-button:hover svg,
|
|
20367
|
+
.cds--toggletip--open .cds--toggletip-button svg {
|
|
20368
|
+
fill: var(--cds-icon-primary, #161616);
|
|
20369
|
+
}
|
|
20370
|
+
|
|
20371
|
+
.cds--toggletip-button:focus {
|
|
20372
|
+
outline: 1px solid var(--cds-focus, #0f62fe);
|
|
20373
|
+
}
|
|
20374
|
+
@media screen and (prefers-contrast) {
|
|
20375
|
+
.cds--toggletip-button:focus {
|
|
20376
|
+
outline-style: dotted;
|
|
20377
|
+
}
|
|
20378
|
+
}
|
|
20379
|
+
|
|
20380
|
+
.cds--toggletip {
|
|
20381
|
+
--cds-popover-offset: 0.8125rem;
|
|
20382
|
+
}
|
|
20383
|
+
|
|
20384
|
+
.cds--toggletip-content {
|
|
20385
|
+
--cds-button-focus-color: var(--cds-focus-inverse, #ffffff);
|
|
20386
|
+
--cds-link-text-color: var(--cds-link-inverse, #78a9ff);
|
|
20387
|
+
--cds-link-hover-text-color: var(--cds-link-inverse, #78a9ff);
|
|
20388
|
+
--cds-link-focus-text-color: var(--cds-focus-inverse, #ffffff);
|
|
20389
|
+
font-size: var(--cds-body-01-font-size, 0.875rem);
|
|
20390
|
+
font-weight: var(--cds-body-01-font-weight, 400);
|
|
20391
|
+
line-height: var(--cds-body-01-line-height, 1.42857);
|
|
20392
|
+
letter-spacing: var(--cds-body-01-letter-spacing, 0.16px);
|
|
20393
|
+
display: grid;
|
|
20394
|
+
padding: 1rem;
|
|
20395
|
+
max-inline-size: 18rem;
|
|
20396
|
+
row-gap: 1rem;
|
|
20397
|
+
}
|
|
20398
|
+
|
|
20399
|
+
.cds--toggletip-content p {
|
|
20400
|
+
font-size: var(--cds-body-01-font-size, 0.875rem);
|
|
20401
|
+
font-weight: var(--cds-body-01-font-weight, 400);
|
|
20402
|
+
line-height: var(--cds-body-01-line-height, 1.42857);
|
|
20403
|
+
letter-spacing: var(--cds-body-01-letter-spacing, 0.16px);
|
|
20404
|
+
}
|
|
20405
|
+
|
|
20406
|
+
.cds--toggletip-actions {
|
|
20407
|
+
display: flex;
|
|
20408
|
+
align-items: center;
|
|
20409
|
+
justify-content: space-between;
|
|
20410
|
+
-moz-column-gap: 1rem;
|
|
20411
|
+
column-gap: 1rem;
|
|
20412
|
+
}
|
|
20413
|
+
|
|
20300
20414
|
.cds--slug {
|
|
20301
20415
|
display: flex;
|
|
20302
20416
|
}
|
|
@@ -22021,97 +22135,6 @@ span.cds--pagination__text.cds--pagination__items-count {
|
|
|
22021
22135
|
fill: var(--cds-icon-disabled, rgba(22, 22, 22, 0.25));
|
|
22022
22136
|
}
|
|
22023
22137
|
|
|
22024
|
-
.cds--toggletip-label {
|
|
22025
|
-
font-size: var(--cds-body-01-font-size, 0.875rem);
|
|
22026
|
-
font-weight: var(--cds-body-01-font-weight, 400);
|
|
22027
|
-
line-height: var(--cds-body-01-line-height, 1.42857);
|
|
22028
|
-
letter-spacing: var(--cds-body-01-letter-spacing, 0.16px);
|
|
22029
|
-
color: var(--cds-text-secondary, #525252);
|
|
22030
|
-
margin-inline-end: 0.5rem;
|
|
22031
|
-
}
|
|
22032
|
-
|
|
22033
|
-
.cds--toggletip-button {
|
|
22034
|
-
box-sizing: border-box;
|
|
22035
|
-
padding: 0;
|
|
22036
|
-
border: 0;
|
|
22037
|
-
margin: 0;
|
|
22038
|
-
font-family: inherit;
|
|
22039
|
-
font-size: 100%;
|
|
22040
|
-
vertical-align: baseline;
|
|
22041
|
-
display: inline-block;
|
|
22042
|
-
padding: 0;
|
|
22043
|
-
border: 0;
|
|
22044
|
-
-webkit-appearance: none;
|
|
22045
|
-
-moz-appearance: none;
|
|
22046
|
-
appearance: none;
|
|
22047
|
-
background: none;
|
|
22048
|
-
cursor: pointer;
|
|
22049
|
-
text-align: start;
|
|
22050
|
-
inline-size: 100%;
|
|
22051
|
-
display: flex;
|
|
22052
|
-
align-items: center;
|
|
22053
|
-
}
|
|
22054
|
-
.cds--toggletip-button *,
|
|
22055
|
-
.cds--toggletip-button *::before,
|
|
22056
|
-
.cds--toggletip-button *::after {
|
|
22057
|
-
box-sizing: inherit;
|
|
22058
|
-
}
|
|
22059
|
-
.cds--toggletip-button::-moz-focus-inner {
|
|
22060
|
-
border: 0;
|
|
22061
|
-
}
|
|
22062
|
-
|
|
22063
|
-
.cds--toggletip-button svg {
|
|
22064
|
-
fill: var(--cds-icon-secondary, #525252);
|
|
22065
|
-
}
|
|
22066
|
-
|
|
22067
|
-
.cds--toggletip-button:hover svg,
|
|
22068
|
-
.cds--toggletip--open .cds--toggletip-button svg {
|
|
22069
|
-
fill: var(--cds-icon-primary, #161616);
|
|
22070
|
-
}
|
|
22071
|
-
|
|
22072
|
-
.cds--toggletip-button:focus {
|
|
22073
|
-
outline: 1px solid var(--cds-focus, #0f62fe);
|
|
22074
|
-
}
|
|
22075
|
-
@media screen and (prefers-contrast) {
|
|
22076
|
-
.cds--toggletip-button:focus {
|
|
22077
|
-
outline-style: dotted;
|
|
22078
|
-
}
|
|
22079
|
-
}
|
|
22080
|
-
|
|
22081
|
-
.cds--toggletip {
|
|
22082
|
-
--cds-popover-offset: 0.8125rem;
|
|
22083
|
-
}
|
|
22084
|
-
|
|
22085
|
-
.cds--toggletip-content {
|
|
22086
|
-
--cds-button-focus-color: var(--cds-focus-inverse, #ffffff);
|
|
22087
|
-
--cds-link-text-color: var(--cds-link-inverse, #78a9ff);
|
|
22088
|
-
--cds-link-hover-text-color: var(--cds-link-inverse, #78a9ff);
|
|
22089
|
-
--cds-link-focus-text-color: var(--cds-focus-inverse, #ffffff);
|
|
22090
|
-
font-size: var(--cds-body-01-font-size, 0.875rem);
|
|
22091
|
-
font-weight: var(--cds-body-01-font-weight, 400);
|
|
22092
|
-
line-height: var(--cds-body-01-line-height, 1.42857);
|
|
22093
|
-
letter-spacing: var(--cds-body-01-letter-spacing, 0.16px);
|
|
22094
|
-
display: grid;
|
|
22095
|
-
padding: 1rem;
|
|
22096
|
-
max-inline-size: 18rem;
|
|
22097
|
-
row-gap: 1rem;
|
|
22098
|
-
}
|
|
22099
|
-
|
|
22100
|
-
.cds--toggletip-content p {
|
|
22101
|
-
font-size: var(--cds-body-01-font-size, 0.875rem);
|
|
22102
|
-
font-weight: var(--cds-body-01-font-weight, 400);
|
|
22103
|
-
line-height: var(--cds-body-01-line-height, 1.42857);
|
|
22104
|
-
letter-spacing: var(--cds-body-01-letter-spacing, 0.16px);
|
|
22105
|
-
}
|
|
22106
|
-
|
|
22107
|
-
.cds--toggletip-actions {
|
|
22108
|
-
display: flex;
|
|
22109
|
-
align-items: center;
|
|
22110
|
-
justify-content: space-between;
|
|
22111
|
-
-moz-column-gap: 1rem;
|
|
22112
|
-
column-gap: 1rem;
|
|
22113
|
-
}
|
|
22114
|
-
|
|
22115
22138
|
.cds--toggle {
|
|
22116
22139
|
display: inline-block;
|
|
22117
22140
|
-webkit-user-select: none;
|