@carbon/styles 1.92.0-rc.0 → 1.92.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
|
@@ -4148,8 +4148,8 @@ li.cds--accordion__item--disabled:last-of-type {
|
|
|
4148
4148
|
--cds-popover-text-color: var(--cds-text-inverse, #ffffff);
|
|
4149
4149
|
}
|
|
4150
4150
|
|
|
4151
|
-
.cds--popover--drop-shadow .cds--popover
|
|
4152
|
-
filter: drop-shadow(0
|
|
4151
|
+
.cds--popover--drop-shadow .cds--popover {
|
|
4152
|
+
filter: var(--cds-popover-drop-shadow, drop-shadow(0 0.125rem 0.125rem rgba(0, 0, 0, 0.2)));
|
|
4153
4153
|
}
|
|
4154
4154
|
|
|
4155
4155
|
.cds--popover--caret {
|
|
@@ -4159,7 +4159,6 @@ li.cds--accordion__item--disabled:last-of-type {
|
|
|
4159
4159
|
.cds--popover {
|
|
4160
4160
|
position: absolute;
|
|
4161
4161
|
z-index: 6000;
|
|
4162
|
-
filter: var(--cds-popover-drop-shadow, none);
|
|
4163
4162
|
inset: 0;
|
|
4164
4163
|
pointer-events: none;
|
|
4165
4164
|
}
|
|
@@ -4249,20 +4248,20 @@ li.cds--accordion__item--disabled:last-of-type {
|
|
|
4249
4248
|
.cds--popover--bottom-left:not(.cds--popover--auto-align) > .cds--popover > .cds--popover-content,
|
|
4250
4249
|
.cds--popover--bottom-start:not(.cds--popover--auto-align) > .cds--popover > .cds--popover-content {
|
|
4251
4250
|
inset-block-end: 0;
|
|
4252
|
-
inset-inline-start:
|
|
4251
|
+
inset-inline-start: calc(50% - var(--cds-popover-offset, 0rem));
|
|
4253
4252
|
transform: translate(calc(-1 * var(--cds-popover-offset, 0rem)), calc(100% + var(--cds-popover-offset, 0rem)));
|
|
4254
4253
|
}
|
|
4255
4254
|
|
|
4256
4255
|
[dir=rtl] .cds--popover--bottom-left:not(.cds--popover--auto-align) > .cds--popover > .cds--popover-content,
|
|
4257
4256
|
[dir=rtl] .cds--popover--bottom-start:not(.cds--popover--auto-align) > .cds--popover > .cds--popover-content {
|
|
4258
|
-
inset-inline-end:
|
|
4257
|
+
inset-inline-end: calc(50% - var(--cds-popover-offset, 0rem));
|
|
4259
4258
|
inset-inline-start: initial;
|
|
4260
4259
|
}
|
|
4261
4260
|
|
|
4262
4261
|
.cds--popover--bottom-right:not(.cds--popover--auto-align) > .cds--popover > .cds--popover-content,
|
|
4263
4262
|
.cds--popover--bottom-end:not(.cds--popover--auto-align) > .cds--popover > .cds--popover-content {
|
|
4264
4263
|
inset-block-end: 0;
|
|
4265
|
-
inset-inline-end:
|
|
4264
|
+
inset-inline-end: calc(50% - var(--cds-popover-offset, 0rem));
|
|
4266
4265
|
transform: translate(var(--cds-popover-offset, 0rem), calc(100% + var(--cds-popover-offset, 0rem)));
|
|
4267
4266
|
}
|
|
4268
4267
|
|
|
@@ -4270,26 +4269,21 @@ li.cds--accordion__item--disabled:last-of-type {
|
|
|
4270
4269
|
.cds--popover--top-end:not(.cds--popover--auto-align) > .cds--popover > .cds--popover-caret {
|
|
4271
4270
|
inset-block-end: 0;
|
|
4272
4271
|
inset-inline-end: 0;
|
|
4273
|
-
inset-inline-start: auto;
|
|
4274
4272
|
}
|
|
4275
4273
|
|
|
4276
4274
|
.cds--popover--bottom-start:not(.cds--popover--auto-align) > .cds--popover > .cds--popover-caret {
|
|
4277
4275
|
inset-block-end: 0;
|
|
4278
4276
|
inset-inline-end: auto;
|
|
4279
|
-
inset-inline-start: 0;
|
|
4280
|
-
transform: translate(50%, calc(var(--cds-popover-offset, 0rem)));
|
|
4281
4277
|
}
|
|
4282
4278
|
|
|
4283
4279
|
.cds--popover--top-start:not(.cds--popover--auto-align) > .cds--popover > .cds--popover-caret {
|
|
4284
4280
|
inset-block-end: 0;
|
|
4285
|
-
inset-inline-end:
|
|
4286
|
-
inset-inline-start: 0;
|
|
4287
|
-
transform: translate(50%, calc(-1 * var(--cds-popover-offset, 0rem)));
|
|
4281
|
+
inset-inline-end: 0;
|
|
4288
4282
|
}
|
|
4289
4283
|
|
|
4290
4284
|
[dir=rtl] .cds--popover--bottom-right:not(.cds--popover--auto-align) > .cds--popover > .cds--popover-content,
|
|
4291
4285
|
[dir=rtl] .cds--popover--bottom-end:not(.cds--popover--auto-align) > .cds--popover > .cds--popover-content {
|
|
4292
|
-
inset-inline-start:
|
|
4286
|
+
inset-inline-start: calc(50% - var(--cds-popover-offset, 0rem));
|
|
4293
4287
|
}
|
|
4294
4288
|
|
|
4295
4289
|
.cds--popover--bottom > .cds--popover > .cds--popover-content::before,
|
|
@@ -4347,26 +4341,26 @@ li.cds--accordion__item--disabled:last-of-type {
|
|
|
4347
4341
|
.cds--popover--top-left:not(.cds--popover--auto-align) > .cds--popover > .cds--popover-content,
|
|
4348
4342
|
.cds--popover--top-start:not(.cds--popover--auto-align) > .cds--popover > .cds--popover-content {
|
|
4349
4343
|
inset-block-start: 0;
|
|
4350
|
-
inset-inline-start:
|
|
4344
|
+
inset-inline-start: calc(50% - var(--cds-popover-offset, 0rem));
|
|
4351
4345
|
transform: translate(calc(-1 * var(--cds-popover-offset, 0rem)), calc(-100% - var(--cds-popover-offset, 0rem)));
|
|
4352
4346
|
}
|
|
4353
4347
|
|
|
4354
4348
|
[dir=rtl] .cds--popover--top-left:not(.cds--popover--auto-align) > .cds--popover > .cds--popover-content,
|
|
4355
4349
|
[dir=rtl] .cds--popover--top-start:not(.cds--popover--auto-align) > .cds--popover > .cds--popover-content {
|
|
4356
|
-
inset-inline-end:
|
|
4350
|
+
inset-inline-end: calc(50% - var(--cds-popover-offset, 0rem));
|
|
4357
4351
|
inset-inline-start: initial;
|
|
4358
4352
|
}
|
|
4359
4353
|
|
|
4360
4354
|
.cds--popover--top-right:not(.cds--popover--auto-align) > .cds--popover > .cds--popover-content,
|
|
4361
4355
|
.cds--popover--top-end:not(.cds--popover--auto-align) > .cds--popover > .cds--popover-content {
|
|
4362
4356
|
inset-block-start: 0;
|
|
4363
|
-
inset-inline-end:
|
|
4357
|
+
inset-inline-end: calc(50% - var(--cds-popover-offset, 0rem));
|
|
4364
4358
|
transform: translate(var(--cds-popover-offset, 0rem), calc(-100% - var(--cds-popover-offset, 0rem)));
|
|
4365
4359
|
}
|
|
4366
4360
|
|
|
4367
4361
|
[dir=rtl] .cds--popover--top-right:not(.cds--popover--auto-align) > .cds--popover > .cds--popover-content,
|
|
4368
4362
|
[dir=rtl] .cds--popover--top-end:not(.cds--popover--auto-align) > .cds--popover > .cds--popover-content {
|
|
4369
|
-
inset-inline-start:
|
|
4363
|
+
inset-inline-start: calc(50% - var(--cds-popover-offset, 0rem));
|
|
4370
4364
|
}
|
|
4371
4365
|
|
|
4372
4366
|
.cds--popover--top > .cds--popover > .cds--popover-content::before,
|
|
@@ -4559,6 +4553,21 @@ li.cds--accordion__item--disabled:last-of-type {
|
|
|
4559
4553
|
border-radius: 0;
|
|
4560
4554
|
}
|
|
4561
4555
|
|
|
4556
|
+
.cds--popover--tab-tip.cds--popover--top-start:not(.cds--popover--auto-align) > .cds--popover > .cds--popover-content,
|
|
4557
|
+
.cds--popover--tab-tip.cds--popover--bottom-start:not(.cds--popover--auto-align) > .cds--popover > .cds--popover-content,
|
|
4558
|
+
[dir=rtl] .cds--popover--tab-tip.cds--popover--top-end:not(.cds--popover--auto-align) > .cds--popover > .cds--popover-content,
|
|
4559
|
+
[dir=rtl] .cds--popover--tab-tip.cds--popover--bottom-end:not(.cds--popover--auto-align) > .cds--popover > .cds--popover-content {
|
|
4560
|
+
inset-inline-start: 0;
|
|
4561
|
+
}
|
|
4562
|
+
|
|
4563
|
+
.cds--popover--tab-tip.cds--popover--top-end:not(.cds--popover--auto-align) > .cds--popover > .cds--popover-content,
|
|
4564
|
+
.cds--popover--tab-tip.cds--popover--bottom-end:not(.cds--popover--auto-align) > .cds--popover > .cds--popover-content,
|
|
4565
|
+
[dir=rtl] .cds--popover--tab-tip.cds--popover--top-start:not(.cds--popover--auto-align) > .cds--popover > .cds--popover-content,
|
|
4566
|
+
[dir=rtl] .cds--popover--tab-tip.cds--popover--bottom-start:not(.cds--popover--auto-align) > .cds--popover > .cds--popover-content {
|
|
4567
|
+
inset-inline-end: 0;
|
|
4568
|
+
inset-inline-start: initial;
|
|
4569
|
+
}
|
|
4570
|
+
|
|
4562
4571
|
.cds--popover--tab-tip .cds--popover {
|
|
4563
4572
|
will-change: filter;
|
|
4564
4573
|
}
|
|
@@ -8082,7 +8091,7 @@ fieldset[disabled] .cds--form__helper-text {
|
|
|
8082
8091
|
font-weight: var(--cds-code-01-font-weight, 400);
|
|
8083
8092
|
line-height: var(--cds-code-01-line-height, 1.33333);
|
|
8084
8093
|
letter-spacing: var(--cds-code-01-letter-spacing, 0.32px);
|
|
8085
|
-
padding-inline-end:
|
|
8094
|
+
padding-inline-end: 2rem;
|
|
8086
8095
|
}
|
|
8087
8096
|
|
|
8088
8097
|
.cds--snippet--single pre,
|
|
@@ -8134,23 +8143,15 @@ fieldset[disabled] .cds--form__helper-text {
|
|
|
8134
8143
|
}
|
|
8135
8144
|
|
|
8136
8145
|
.cds--snippet--multi .cds--snippet-container pre {
|
|
8137
|
-
|
|
8146
|
+
overflow: auto;
|
|
8147
|
+
padding-block-end: 1.5rem;
|
|
8148
|
+
padding-inline-end: 1.5rem;
|
|
8138
8149
|
}
|
|
8139
8150
|
|
|
8140
8151
|
.cds--snippet--multi.cds--snippet--no-copy .cds--snippet-container pre {
|
|
8141
8152
|
padding-inline-end: 0;
|
|
8142
8153
|
}
|
|
8143
8154
|
|
|
8144
|
-
.cds--snippet--multi.cds--snippet--has-right-overflow::after {
|
|
8145
|
-
position: absolute;
|
|
8146
|
-
background-image: linear-gradient(to right, transparent, var(--cds-layer));
|
|
8147
|
-
block-size: 100%;
|
|
8148
|
-
content: "";
|
|
8149
|
-
inline-size: 1rem;
|
|
8150
|
-
inset-block-start: 0;
|
|
8151
|
-
inset-inline-end: 1rem;
|
|
8152
|
-
}
|
|
8153
|
-
|
|
8154
8155
|
[dir=rtl] .cds--snippet--multi.cds--snippet--has-right-overflow::after {
|
|
8155
8156
|
background-image: linear-gradient(to left, transparent, var(--cds-layer));
|
|
8156
8157
|
}
|
|
@@ -8317,11 +8318,6 @@ fieldset[disabled] .cds--form__helper-text {
|
|
|
8317
8318
|
background-color: var(--cds-layer-active);
|
|
8318
8319
|
}
|
|
8319
8320
|
|
|
8320
|
-
.cds--snippet--light.cds--snippet--single::after,
|
|
8321
|
-
.cds--snippet--light.cds--snippet--multi::after {
|
|
8322
|
-
background-image: linear-gradient(to right, rgba(var(--cds-layer), 0), var(--cds-layer));
|
|
8323
|
-
}
|
|
8324
|
-
|
|
8325
8321
|
.cds--snippet.cds--skeleton .cds--snippet-container {
|
|
8326
8322
|
block-size: 100%;
|
|
8327
8323
|
inline-size: 100%;
|
|
@@ -8347,72 +8343,41 @@ fieldset[disabled] .cds--form__helper-text {
|
|
|
8347
8343
|
inset-inline: 50% auto;
|
|
8348
8344
|
}
|
|
8349
8345
|
|
|
8350
|
-
.cds--
|
|
8351
|
-
|
|
8352
|
-
|
|
8353
|
-
|
|
8354
|
-
inline-size: 1rem;
|
|
8355
|
-
}
|
|
8356
|
-
|
|
8357
|
-
.cds--snippet__overflow-indicator--left {
|
|
8358
|
-
order: 0;
|
|
8359
|
-
background-image: linear-gradient(to left, transparent, var(--cds-layer));
|
|
8360
|
-
margin-inline-end: -1rem;
|
|
8361
|
-
}
|
|
8362
|
-
|
|
8363
|
-
.cds--snippet__overflow-indicator--right {
|
|
8364
|
-
order: 2;
|
|
8365
|
-
background-image: linear-gradient(to right, transparent, var(--cds-layer));
|
|
8366
|
-
margin-inline-start: -1rem;
|
|
8367
|
-
}
|
|
8368
|
-
|
|
8369
|
-
[dir=rtl] .cds--snippet__overflow-indicator--left {
|
|
8370
|
-
background-image: linear-gradient(to right, transparent, var(--cds-layer));
|
|
8371
|
-
}
|
|
8372
|
-
|
|
8373
|
-
[dir=rtl] .cds--snippet__overflow-indicator--right {
|
|
8374
|
-
background-image: linear-gradient(to left, transparent, var(--cds-layer));
|
|
8375
|
-
}
|
|
8376
|
-
|
|
8377
|
-
.cds--snippet--single .cds--snippet__overflow-indicator--right,
|
|
8378
|
-
.cds--snippet--single .cds--snippet__overflow-indicator--left {
|
|
8379
|
-
position: absolute;
|
|
8380
|
-
block-size: calc(100% - 0.25rem);
|
|
8381
|
-
inline-size: 2rem;
|
|
8382
|
-
}
|
|
8383
|
-
|
|
8384
|
-
.cds--snippet--single .cds--snippet__overflow-indicator--right {
|
|
8385
|
-
inset-inline-end: 2.5rem;
|
|
8346
|
+
.cds--snippet--single .cds--snippet-container {
|
|
8347
|
+
-webkit-mask-image: linear-gradient(to right, #000000 calc(100% - 2rem), transparent 100%);
|
|
8348
|
+
mask-image: linear-gradient(to right, #000000 calc(100% - 2rem), transparent 100%);
|
|
8349
|
+
pointer-events: auto;
|
|
8386
8350
|
}
|
|
8387
8351
|
|
|
8388
|
-
.cds--snippet--
|
|
8389
|
-
|
|
8352
|
+
.cds--snippet--multi {
|
|
8353
|
+
position: relative;
|
|
8390
8354
|
}
|
|
8391
8355
|
|
|
8392
|
-
.cds--snippet--
|
|
8393
|
-
|
|
8356
|
+
.cds--snippet--multi .cds--snippet-container {
|
|
8357
|
+
inline-size: 100%;
|
|
8358
|
+
-webkit-mask-composite: source-in, xor;
|
|
8359
|
+
mask-composite: intersect;
|
|
8360
|
+
-webkit-mask-image: linear-gradient(to right, #000000 calc(100% - 2rem), transparent 100%), linear-gradient(to bottom, #000000 calc(100% - 1rem), transparent 100%);
|
|
8361
|
+
mask-image: linear-gradient(to right, #000000 calc(100% - 2rem), transparent 100%), linear-gradient(to bottom, #000000 calc(100% - 1rem), transparent 100%);
|
|
8362
|
+
pointer-events: auto;
|
|
8394
8363
|
}
|
|
8395
8364
|
|
|
8396
|
-
.cds--snippet--single .cds--snippet-container
|
|
8397
|
-
|
|
8365
|
+
[dir=rtl] .cds--snippet--single .cds--snippet-container {
|
|
8366
|
+
-webkit-mask-image: linear-gradient(to left, #000000 calc(100% - 2rem), transparent 100%);
|
|
8367
|
+
mask-image: linear-gradient(to left, #000000 calc(100% - 2rem), transparent 100%);
|
|
8398
8368
|
}
|
|
8399
8369
|
|
|
8400
|
-
.cds--snippet--
|
|
8401
|
-
|
|
8370
|
+
[dir=rtl] .cds--snippet--multi .cds--snippet-container {
|
|
8371
|
+
-webkit-mask-image: linear-gradient(to left, #000000 calc(100% - 2rem), transparent 100%), linear-gradient(to bottom, #000000 calc(100% - 1rem), transparent 100%);
|
|
8372
|
+
mask-image: linear-gradient(to left, #000000 calc(100% - 2rem), transparent 100%), linear-gradient(to bottom, #000000 calc(100% - 1rem), transparent 100%);
|
|
8402
8373
|
}
|
|
8403
8374
|
|
|
8404
|
-
.cds--snippet--
|
|
8405
|
-
|
|
8375
|
+
.cds--snippet--single:focus-within .cds--snippet-container,
|
|
8376
|
+
.cds--snippet--multi:focus-within .cds--snippet-container {
|
|
8377
|
+
-webkit-mask-image: none;
|
|
8378
|
+
mask-image: none;
|
|
8406
8379
|
}
|
|
8407
8380
|
|
|
8408
|
-
@supports (hanging-punctuation: first) and (font: -apple-system-body) and (-webkit-appearance: none) {
|
|
8409
|
-
.cds--snippet__overflow-indicator--left {
|
|
8410
|
-
background-image: linear-gradient(to left, rgba(var(--cds-layer), 0), var(--cds-layer));
|
|
8411
|
-
}
|
|
8412
|
-
.cds--snippet__overflow-indicator--right {
|
|
8413
|
-
background-image: linear-gradient(to right, rgba(var(--cds-layer), 0), var(--cds-layer));
|
|
8414
|
-
}
|
|
8415
|
-
}
|
|
8416
8381
|
.cds--snippet--multi.cds--skeleton {
|
|
8417
8382
|
block-size: 6.125rem;
|
|
8418
8383
|
}
|
|
@@ -26456,15 +26421,6 @@ div:has(.cds--header) ~ .cds--content {
|
|
|
26456
26421
|
z-index: 8001;
|
|
26457
26422
|
}
|
|
26458
26423
|
|
|
26459
|
-
.cds--header .cds--popover--bottom-start:not(.cds--popover--auto-align) > .cds--popover > .cds--popover-caret,
|
|
26460
|
-
.cds--header .cds--popover--bottom-start:not(.cds--popover--auto-align) > .cds--popover > .cds--popover-content {
|
|
26461
|
-
inset-inline-start: 1rem;
|
|
26462
|
-
}
|
|
26463
|
-
.cds--header .cds--popover--bottom-end:not(.cds--popover--auto-align) > .cds--popover > .cds--popover-caret,
|
|
26464
|
-
.cds--header .cds--popover--bottom-end:not(.cds--popover--auto-align) > .cds--popover > .cds--popover-content {
|
|
26465
|
-
inset-inline-end: 1rem;
|
|
26466
|
-
}
|
|
26467
|
-
|
|
26468
26424
|
.cds--header__action > :first-child {
|
|
26469
26425
|
margin-block-start: 0;
|
|
26470
26426
|
}
|
|
@@ -27481,15 +27437,6 @@ div:has(.cds--header) ~ .cds--content {
|
|
|
27481
27437
|
z-index: 8001;
|
|
27482
27438
|
}
|
|
27483
27439
|
|
|
27484
|
-
.cds--header .cds--popover--bottom-start:not(.cds--popover--auto-align) > .cds--popover > .cds--popover-caret,
|
|
27485
|
-
.cds--header .cds--popover--bottom-start:not(.cds--popover--auto-align) > .cds--popover > .cds--popover-content {
|
|
27486
|
-
inset-inline-start: 1rem;
|
|
27487
|
-
}
|
|
27488
|
-
.cds--header .cds--popover--bottom-end:not(.cds--popover--auto-align) > .cds--popover > .cds--popover-caret,
|
|
27489
|
-
.cds--header .cds--popover--bottom-end:not(.cds--popover--auto-align) > .cds--popover > .cds--popover-content {
|
|
27490
|
-
inset-inline-end: 1rem;
|
|
27491
|
-
}
|
|
27492
|
-
|
|
27493
27440
|
.cds--header__action > :first-child {
|
|
27494
27441
|
margin-block-start: 0;
|
|
27495
27442
|
}
|