@carbon/styles 1.78.0-rc.0 → 1.79.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/css/styles.css CHANGED
@@ -21276,6 +21276,103 @@ optgroup.cds--select-optgroup:disabled,
21276
21276
  }
21277
21277
  }
21278
21278
 
21279
+ .cds--page-header {
21280
+ border: 1px solid rebeccapurple; /* stylelint-disable-line */
21281
+ }
21282
+
21283
+ .cds--page-header__breadcrumb-bar {
21284
+ border: 1px solid blue; /* stylelint-disable-line */
21285
+ }
21286
+
21287
+ .cds--page-header__content {
21288
+ margin: 1.5rem 0;
21289
+ border: 1px solid red; /* stylelint-disable-line */
21290
+ }
21291
+
21292
+ .cds--page-header__content__title-wrapper {
21293
+ display: flex;
21294
+ justify-content: space-between;
21295
+ gap: 1rem;
21296
+ }
21297
+ @media (max-width: 41.98rem) {
21298
+ .cds--page-header__content__title-wrapper {
21299
+ flex-direction: column;
21300
+ }
21301
+ }
21302
+
21303
+ .cds--page-header__content__start {
21304
+ display: flex;
21305
+ flex-wrap: wrap;
21306
+ gap: 1rem;
21307
+ }
21308
+
21309
+ .cds--page-header__content__title-container {
21310
+ display: flex;
21311
+ }
21312
+
21313
+ .cds--page-header__content__contextual-actions {
21314
+ display: flex;
21315
+ }
21316
+
21317
+ .cds--page-header__content__title {
21318
+ font-size: var(--cds-productive-heading-04-font-size, 1.75rem);
21319
+ font-weight: var(--cds-productive-heading-04-font-weight, 400);
21320
+ line-height: var(--cds-productive-heading-04-line-height, 1.28572);
21321
+ letter-spacing: var(--cds-productive-heading-04-letter-spacing, 0);
21322
+ display: -webkit-box;
21323
+ overflow: hidden;
21324
+ -webkit-box-orient: vertical;
21325
+ -webkit-line-clamp: 2;
21326
+ max-inline-size: 40rem;
21327
+ text-overflow: ellipsis;
21328
+ white-space: normal;
21329
+ }
21330
+
21331
+ .cds--page-header__content:has(.cds--page-header__content__contextual-actions) .cds--page-header__content__title {
21332
+ -webkit-line-clamp: 1;
21333
+ }
21334
+
21335
+ .cds--page-header__content__icon {
21336
+ margin-inline-end: 1rem;
21337
+ }
21338
+
21339
+ .cds--page-header__content__page-actions {
21340
+ display: flex;
21341
+ gap: 1rem;
21342
+ }
21343
+
21344
+ .cds--page-header__content__subtitle {
21345
+ font-size: var(--cds-productive-heading-03-font-size, 1.25rem);
21346
+ font-weight: var(--cds-productive-heading-03-font-weight, 400);
21347
+ line-height: var(--cds-productive-heading-03-line-height, 1.4);
21348
+ letter-spacing: var(--cds-productive-heading-03-letter-spacing, 0);
21349
+ margin-block-start: 1rem;
21350
+ }
21351
+
21352
+ .cds--page-header__content__body {
21353
+ font-size: var(--cds-body-01-font-size, 0.875rem);
21354
+ font-weight: var(--cds-body-01-font-weight, 400);
21355
+ line-height: var(--cds-body-01-line-height, 1.42857);
21356
+ letter-spacing: var(--cds-body-01-letter-spacing, 0.16px);
21357
+ margin-block-start: 0.5rem;
21358
+ max-inline-size: 40rem;
21359
+ }
21360
+
21361
+ .cds--page-header__content:not(:has(.cds--page-header__content__sub-title)) .cds--page-header__content__body {
21362
+ margin-block-start: 1rem;
21363
+ }
21364
+
21365
+ .cds--page-header__hero-image {
21366
+ display: flex;
21367
+ overflow: hidden;
21368
+ align-items: center;
21369
+ block-size: 100%;
21370
+ }
21371
+
21372
+ .cds--page-header__tab-bar {
21373
+ border: 1px solid green; /* stylelint-disable-line */
21374
+ }
21375
+
21279
21376
  .cds--data-table-container + .cds--pagination {
21280
21377
  border-block-start: 0;
21281
21378
  }