@oslokommune/punkt-css 16.16.0 → 16.17.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/dist/css/pkt.css CHANGED
@@ -14410,7 +14410,7 @@ a:active, a.pkt-link--active,
14410
14410
  .pkt-link--external::after {
14411
14411
  display: inline-block;
14412
14412
  content: " ";
14413
- --svg: url(https://punkt-cdn.oslo.kommune.no/16.16/icons/new-window-small.svg);
14413
+ --svg: url(https://punkt-cdn.oslo.kommune.no/16.17/icons/new-window-small.svg);
14414
14414
  background-image: var(--svg);
14415
14415
  background-repeat: no-repeat;
14416
14416
  background-size: 18px 18px;
@@ -18457,7 +18457,7 @@ div.pkt-btn:not([data-disabled]):active, .pkt-btn:enabled:active, .pkt-btn:activ
18457
18457
  box-shadow: 0px 0px 0px 0.125rem var(--pkt-color-input-border-active), 0px 0px 0px 0.375rem var(--pkt-color-border-states-focus);
18458
18458
  }
18459
18459
  .pkt-input-check__input-checkbox:indeterminate[type=checkbox]:not([role=switch]) {
18460
- --svg: url(https://punkt-cdn.oslo.kommune.no/16.16/icons/minus-sign.svg);
18460
+ --svg: url(https://punkt-cdn.oslo.kommune.no/16.17/icons/minus-sign.svg);
18461
18461
  position: relative;
18462
18462
  background-color: var(--pkt-color-input-border-normal);
18463
18463
  }
@@ -18483,7 +18483,7 @@ div.pkt-btn:not([data-disabled]):active, .pkt-btn:enabled:active, .pkt-btn:activ
18483
18483
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(271deg) brightness(105%) contrast(101%);
18484
18484
  }
18485
18485
  .pkt-input-check__input-checkbox:checked[type=checkbox] {
18486
- --svg: url(https://punkt-cdn.oslo.kommune.no/16.16/icons/check-medium.svg);
18486
+ --svg: url(https://punkt-cdn.oslo.kommune.no/16.17/icons/check-medium.svg);
18487
18487
  position: relative;
18488
18488
  background-color: var(--pkt-color-input-border-normal);
18489
18489
  }
@@ -18541,7 +18541,7 @@ div.pkt-btn:not([data-disabled]):active, .pkt-btn:enabled:active, .pkt-btn:activ
18541
18541
  cursor: not-allowed;
18542
18542
  }
18543
18543
  .pkt-input-check__input-checkbox:disabled[type=checkbox][role=switch]:checked:after {
18544
- --svg: url(https://punkt-cdn.oslo.kommune.no/16.16/icons/check-medium.svg);
18544
+ --svg: url(https://punkt-cdn.oslo.kommune.no/16.17/icons/check-medium.svg);
18545
18545
  --pkt-color-input-check-border: var(--pkt-color-input-border-normal);
18546
18546
  filter: grayscale(100%) brightness(400%);
18547
18547
  }
@@ -18759,7 +18759,7 @@ pkt-select {
18759
18759
  }
18760
18760
  .pkt-input:is(select):not([multiple]), .pkt-textinput__input:is(select):not([multiple]), .pkt-select select:is(select):not([multiple]),
18761
18761
  .pkt-select:is(select):not([multiple]) {
18762
- --svg: url(https://punkt-cdn.oslo.kommune.no/16.16/icons/chevron-thin-down.svg);
18762
+ --svg: url(https://punkt-cdn.oslo.kommune.no/16.17/icons/chevron-thin-down.svg);
18763
18763
  background-image: var(--svg);
18764
18764
  background-repeat: no-repeat;
18765
18765
  background-position: right 0.7rem top 50%;
@@ -19649,6 +19649,60 @@ pkt-accordion[compact] pkt-accordion-item > .pkt-accordion-item .pkt-accordion-i
19649
19649
  padding: 1rem;
19650
19650
  }
19651
19651
 
19652
+ .pkt-accordion--plus-minus,
19653
+ pkt-accordion[skin=plus-minus] {
19654
+ row-gap: 0;
19655
+ }
19656
+
19657
+ .pkt-accordion-item--plus-minus,
19658
+ pkt-accordion-item[skin=plus-minus] > .pkt-accordion-item {
19659
+ background-color: transparent;
19660
+ border: none;
19661
+ padding: 0;
19662
+ }
19663
+ .pkt-accordion-item--plus-minus > .pkt-accordion-item__title,
19664
+ pkt-accordion-item[skin=plus-minus] > .pkt-accordion-item > .pkt-accordion-item__title {
19665
+ padding: 0.5rem 1rem;
19666
+ justify-content: flex-start;
19667
+ }
19668
+ .pkt-accordion-item--plus-minus > .pkt-accordion-item__title:hover,
19669
+ pkt-accordion-item[skin=plus-minus] > .pkt-accordion-item > .pkt-accordion-item__title:hover {
19670
+ text-decoration: underline;
19671
+ }
19672
+ .pkt-accordion-item--plus-minus > .pkt-accordion-item__title:hover .pkt-accordion-item__icon,
19673
+ pkt-accordion-item[skin=plus-minus] > .pkt-accordion-item > .pkt-accordion-item__title:hover .pkt-accordion-item__icon {
19674
+ transform: none;
19675
+ }
19676
+ .pkt-accordion-item--plus-minus > .pkt-accordion-item__content,
19677
+ pkt-accordion-item[skin=plus-minus] > .pkt-accordion-item > .pkt-accordion-item__content {
19678
+ padding: 1rem;
19679
+ background-color: var(--pkt-color-brand-neutrals-200);
19680
+ }
19681
+ .pkt-accordion-item--plus-minus .pkt-accordion-item__icon--plus,
19682
+ .pkt-accordion-item--plus-minus .pkt-accordion-item__icon--minus,
19683
+ pkt-accordion-item[skin=plus-minus] > .pkt-accordion-item .pkt-accordion-item__icon--plus,
19684
+ pkt-accordion-item[skin=plus-minus] > .pkt-accordion-item .pkt-accordion-item__icon--minus {
19685
+ transition: none;
19686
+ transform: none;
19687
+ }
19688
+ .pkt-accordion-item--plus-minus .pkt-accordion-item__icon--minus,
19689
+ pkt-accordion-item[skin=plus-minus] > .pkt-accordion-item .pkt-accordion-item__icon--minus {
19690
+ display: none;
19691
+ }
19692
+ .pkt-accordion-item--plus-minus[open] > .pkt-accordion-item__title .pkt-accordion-item__icon--plus,
19693
+ pkt-accordion-item[skin=plus-minus] > .pkt-accordion-item[open] > .pkt-accordion-item__title .pkt-accordion-item__icon--plus {
19694
+ display: none;
19695
+ }
19696
+ .pkt-accordion-item--plus-minus[open] > .pkt-accordion-item__title .pkt-accordion-item__icon--minus,
19697
+ pkt-accordion-item[skin=plus-minus] > .pkt-accordion-item[open] > .pkt-accordion-item__title .pkt-accordion-item__icon--minus {
19698
+ display: inline-flex;
19699
+ transform: none;
19700
+ }
19701
+ .pkt-accordion-item--plus-minus[open] > .pkt-accordion-item__title:hover .pkt-accordion-item__icon--minus,
19702
+ pkt-accordion-item[skin=plus-minus] > .pkt-accordion-item[open] > .pkt-accordion-item__title:hover .pkt-accordion-item__icon--minus {
19703
+ transform: none;
19704
+ }
19705
+
19652
19706
  @supports (interpolate-size: allow-keywords) {
19653
19707
  .pkt-accordion-item[open]::details-content {
19654
19708
  height: auto;
@@ -22114,191 +22168,395 @@ pkt-modal.pkt-fileupload__image-preview-modal .pkt-modal::backdrop {
22114
22168
  }
22115
22169
 
22116
22170
  /*
22117
- * HeaderService component
22118
- * Uses container queries with media query fallback for responsive behavior
22171
+ * Header menu (global mega menu)
22119
22172
  */
22120
- .pkt-header-service-spacer {
22121
- height: 80px;
22173
+ .pkt-header-menu {
22174
+ display: none;
22175
+ background-color: var(--pkt-color-background-default);
22176
+ color: var(--pkt-color-text-body-default);
22177
+ width: 100%;
22178
+ padding-bottom: 2rem;
22122
22179
  }
22123
- @supports not (container-type: inline-size) {
22124
- @media screen and (min-width: 48rem) {
22125
- .pkt-header-service-spacer {
22126
- height: 5.5rem;
22127
- }
22180
+ @media screen and (min-width: 48rem) {
22181
+ .pkt-header-menu {
22182
+ padding-bottom: 0;
22128
22183
  }
22129
22184
  }
22130
- @supports (container-type: inline-size) {
22131
- @container header-service (min-width: 48rem) {
22132
- .pkt-header-service-spacer {
22133
- height: 5.5rem;
22134
- }
22185
+ .pkt-header-menu--open {
22186
+ display: block;
22187
+ }
22188
+ .pkt-header-menu__services {
22189
+ max-width: 75.25rem;
22190
+ margin: 0 auto;
22191
+ padding-top: 2rem;
22192
+ padding-bottom: 1rem;
22193
+ }
22194
+ @media screen and (min-width: 48rem) {
22195
+ .pkt-header-menu__services {
22196
+ padding: 3.25rem;
22135
22197
  }
22136
22198
  }
22137
- @supports not (container-type: inline-size) {
22138
- @media screen and (min-width: 80rem) {
22139
- .pkt-header-service-spacer {
22140
- height: 6.5rem;
22141
- }
22199
+ .pkt-header-menu__services-title, .pkt-header-menu__section-title {
22200
+ letter-spacing: -0.2px;
22201
+ font-weight: 500;
22202
+ font-size: 1.25rem;
22203
+ line-height: 2rem;
22204
+ margin: 0 0 2rem;
22205
+ display: none;
22206
+ }
22207
+ @media screen and (min-width: 48rem) {
22208
+ .pkt-header-menu__services-title, .pkt-header-menu__section-title {
22209
+ display: block;
22142
22210
  }
22143
22211
  }
22144
- @supports (container-type: inline-size) {
22145
- @container header-service (min-width: 80rem) {
22146
- .pkt-header-service-spacer {
22147
- height: 6.5rem;
22148
- }
22212
+ @media screen and (min-width: 64rem) {
22213
+ .pkt-header-menu__services-title, .pkt-header-menu__section-title {
22214
+ letter-spacing: -0.2px;
22215
+ font-weight: 500;
22216
+ font-size: 1.375rem;
22217
+ line-height: 2.125rem;
22149
22218
  }
22150
22219
  }
22151
- .pkt-header-service-spacer--mobile {
22152
- height: 5rem;
22220
+ .pkt-header-menu__services-title {
22221
+ margin-bottom: 2rem;
22153
22222
  }
22154
- .pkt-header-service-spacer--has-user {
22155
- height: 7.5rem;
22223
+ .pkt-header-menu__services-list {
22224
+ list-style: none;
22225
+ margin: 0;
22226
+ padding: 0;
22227
+ display: grid;
22228
+ grid-template-columns: 1fr;
22229
+ gap: 1.25rem;
22156
22230
  }
22157
- @supports not (container-type: inline-size) {
22158
- @media screen and (min-width: 48rem) {
22159
- .pkt-header-service-spacer--has-user {
22160
- height: 5.5rem;
22161
- }
22231
+ @media screen and (min-width: 48rem) {
22232
+ .pkt-header-menu__services-list {
22233
+ grid-template-columns: repeat(4, 1fr);
22234
+ row-gap: 2.5rem;
22162
22235
  }
22163
22236
  }
22164
- @supports (container-type: inline-size) {
22165
- @container header-service (min-width: 48rem) {
22166
- .pkt-header-service-spacer--has-user {
22167
- height: 5.5rem;
22168
- }
22237
+ .pkt-header-menu__buttons {
22238
+ display: none;
22239
+ max-width: 75.25rem;
22240
+ margin: 0 auto;
22241
+ padding-top: 2rem;
22242
+ padding-bottom: 1rem;
22243
+ }
22244
+ @media screen and (min-width: 48rem) {
22245
+ .pkt-header-menu__buttons {
22246
+ padding: 3.25rem;
22169
22247
  }
22170
22248
  }
22171
- @supports not (container-type: inline-size) {
22172
- @media screen and (min-width: 80rem) {
22173
- .pkt-header-service-spacer--has-user {
22174
- height: 6.5rem;
22175
- }
22249
+ @media screen and (min-width: 48rem) {
22250
+ .pkt-header-menu__buttons {
22251
+ display: flex;
22252
+ gap: 1rem;
22253
+ flex-wrap: wrap;
22254
+ padding-top: 0;
22176
22255
  }
22177
22256
  }
22178
- @supports (container-type: inline-size) {
22179
- @container header-service (min-width: 80rem) {
22180
- .pkt-header-service-spacer--has-user {
22181
- height: 6.5rem;
22182
- }
22257
+ @media screen and (min-width: 64rem) {
22258
+ .pkt-header-menu__buttons .pkt-btn__text {
22259
+ letter-spacing: -0.2px;
22260
+ font-weight: 500;
22261
+ font-size: 1.125rem;
22262
+ line-height: 1.75rem;
22183
22263
  }
22184
22264
  }
22185
- .pkt-header-service-spacer--compact {
22186
- height: 4rem;
22265
+ .pkt-header-menu__buttons--mobile {
22266
+ padding: 0 1rem;
22267
+ display: flex;
22187
22268
  }
22188
- @supports not (container-type: inline-size) {
22189
- @media screen and (min-width: 48rem) {
22190
- .pkt-header-service-spacer--compact {
22191
- height: 4rem;
22192
- }
22269
+ @media screen and (min-width: 48rem) {
22270
+ .pkt-header-menu__buttons--mobile {
22271
+ display: none;
22193
22272
  }
22194
22273
  }
22195
- @supports (container-type: inline-size) {
22196
- @container header-service (min-width: 48rem) {
22197
- .pkt-header-service-spacer--compact {
22198
- height: 4rem;
22199
- }
22274
+ @media screen and (min-width: 48rem) {
22275
+ .pkt-header-menu__sections {
22276
+ background-color: var(--pkt-color-surface-strong-gray);
22277
+ }
22278
+ [data-mode=dark] .pkt-header-menu__sections {
22279
+ background-color: var(--pkt-color-background-default);
22200
22280
  }
22201
22281
  }
22202
- @supports not (container-type: inline-size) {
22203
- @media screen and (min-width: 80rem) {
22204
- .pkt-header-service-spacer--compact {
22205
- height: 4.5rem;
22206
- }
22282
+ .pkt-header-menu__sections-inner {
22283
+ max-width: 75.25rem;
22284
+ margin: 0 auto;
22285
+ padding-top: 2rem;
22286
+ padding-bottom: 1rem;
22287
+ }
22288
+ @media screen and (min-width: 48rem) {
22289
+ .pkt-header-menu__sections-inner {
22290
+ padding: 3.25rem;
22207
22291
  }
22208
22292
  }
22209
- @supports (container-type: inline-size) {
22210
- @container header-service (min-width: 80rem) {
22211
- .pkt-header-service-spacer--compact {
22212
- height: 4.5rem;
22213
- }
22293
+ @media screen and (min-width: 48rem) {
22294
+ .pkt-header-menu__sections-inner {
22295
+ display: grid;
22296
+ grid-template-columns: repeat(4, 1fr);
22297
+ gap: 2rem;
22214
22298
  }
22215
22299
  }
22216
- .pkt-header-service-spacer--compact.pkt-header-service-spacer--mobile {
22217
- height: 4rem;
22300
+ @media screen and (min-width: 0rem) and (max-width: 47.938rem) {
22301
+ .pkt-header-menu__section .pkt-accordion-item__title {
22302
+ letter-spacing: -0.2px;
22303
+ font-weight: 500;
22304
+ font-size: 1.125rem;
22305
+ line-height: 1.75rem;
22306
+ padding: 1rem 0;
22307
+ }
22218
22308
  }
22219
- .pkt-header-service-spacer--compact.pkt-header-service-spacer--has-user {
22220
- height: 104px;
22309
+ .pkt-header-menu__section-list {
22310
+ list-style: none;
22311
+ margin: 0;
22312
+ padding: 0;
22313
+ display: flex;
22314
+ flex-direction: column;
22315
+ gap: 1rem;
22221
22316
  }
22222
- @supports not (container-type: inline-size) {
22223
- @media screen and (min-width: 48rem) {
22224
- .pkt-header-service-spacer--compact.pkt-header-service-spacer--has-user {
22225
- height: 4rem;
22226
- }
22317
+ @media screen and (min-width: 48rem) {
22318
+ .pkt-header-menu__section-list {
22319
+ row-gap: 1rem;
22227
22320
  }
22228
22321
  }
22229
- @supports (container-type: inline-size) {
22230
- @container header-service (min-width: 48rem) {
22231
- .pkt-header-service-spacer--compact.pkt-header-service-spacer--has-user {
22232
- height: 4rem;
22233
- }
22322
+ .pkt-header-menu__section-link {
22323
+ display: block;
22324
+ letter-spacing: -0.2px;
22325
+ font-weight: 300;
22326
+ font-size: 1rem;
22327
+ line-height: 1.5rem;
22328
+ color: var(--pkt-color-text-body-default);
22329
+ text-decoration: underline;
22330
+ text-underline-position: from-font;
22331
+ line-height: 1.5;
22332
+ }
22333
+ @media screen and (min-width: 64rem) {
22334
+ .pkt-header-menu__section-link {
22335
+ letter-spacing: -0.2px;
22336
+ font-weight: 300;
22337
+ font-size: 1.125rem;
22338
+ line-height: 1.75rem;
22234
22339
  }
22235
22340
  }
22236
- @supports not (container-type: inline-size) {
22237
- @media screen and (min-width: 80rem) {
22238
- .pkt-header-service-spacer--compact.pkt-header-service-spacer--has-user {
22239
- height: 4.5rem;
22240
- }
22341
+ .pkt-header-menu__section-link:hover, .pkt-header-menu__section-link:focus-visible {
22342
+ text-decoration: underline;
22343
+ }
22344
+ .pkt-header-menu__service {
22345
+ list-style: none;
22346
+ }
22347
+ .pkt-header-menu__service-link {
22348
+ display: flex;
22349
+ align-items: center;
22350
+ gap: 0.75rem;
22351
+ color: var(--pkt-color-text-body-default);
22352
+ text-decoration: none;
22353
+ letter-spacing: -0.2px;
22354
+ font-weight: 300;
22355
+ font-size: 1rem;
22356
+ line-height: 1.5rem;
22357
+ }
22358
+ @media screen and (min-width: 64rem) {
22359
+ .pkt-header-menu__service-link {
22360
+ letter-spacing: -0.2px;
22361
+ font-weight: 300;
22362
+ font-size: 1.125rem;
22363
+ line-height: 1.75rem;
22241
22364
  }
22242
22365
  }
22243
- @supports (container-type: inline-size) {
22244
- @container header-service (min-width: 80rem) {
22245
- .pkt-header-service-spacer--compact.pkt-header-service-spacer--has-user {
22246
- height: 4.5rem;
22247
- }
22366
+ .pkt-header-menu__service-link:hover .pkt-header-menu__service-text, .pkt-header-menu__service-link:focus-visible .pkt-header-menu__service-text {
22367
+ text-decoration: underline;
22368
+ text-underline-position: from-font;
22369
+ }
22370
+ .pkt-header-menu__service-icon {
22371
+ flex: 0 0 auto;
22372
+ --fg-color: var(--pkt-color-text-body-default);
22373
+ width: 1.5rem;
22374
+ height: 1.5rem;
22375
+ }
22376
+ @media screen and (min-width: 48rem) {
22377
+ .pkt-header-menu__service-icon {
22378
+ width: 2rem;
22379
+ height: 2rem;
22248
22380
  }
22249
22381
  }
22250
- .pkt-header-service-spacer--compact.pkt-header-service-spacer--has-user.pkt-header-service-spacer--mobile {
22251
- height: 104px;
22382
+ .pkt-header-menu__service-icon svg {
22383
+ width: 100%;
22384
+ height: 100%;
22252
22385
  }
22253
-
22254
- .pkt-header-service {
22255
- --pkt-header-height: 4.5rem;
22386
+ .pkt-header-menu__service-text {
22387
+ min-width: 0;
22256
22388
  }
22257
- @supports not (container-type: inline-size) {
22258
- @media screen and (min-width: 48rem) {
22259
- .pkt-header-service {
22260
- --pkt-header-height: 5.5rem;
22261
- }
22389
+ .pkt-header-menu__footer {
22390
+ max-width: 75.25rem;
22391
+ margin: 0 auto;
22392
+ padding-top: 2rem;
22393
+ padding-bottom: 1rem;
22394
+ }
22395
+ @media screen and (min-width: 48rem) {
22396
+ .pkt-header-menu__footer {
22397
+ padding: 3.25rem;
22262
22398
  }
22263
22399
  }
22264
- @supports (container-type: inline-size) {
22265
- @container header-service (min-width: 48rem) {
22266
- .pkt-header-service {
22267
- --pkt-header-height: 5.5rem;
22268
- }
22400
+ .pkt-header-menu__footer {
22401
+ padding: 1.5rem 1rem 1rem;
22402
+ display: flex;
22403
+ flex-direction: column;
22404
+ gap: 1.5rem;
22405
+ }
22406
+ @media screen and (min-width: 48rem) {
22407
+ .pkt-header-menu__footer {
22408
+ flex-direction: row;
22409
+ justify-content: space-between;
22410
+ align-items: center;
22411
+ padding: 2rem 3.25rem;
22269
22412
  }
22270
22413
  }
22271
- @supports not (container-type: inline-size) {
22272
- @media screen and (min-width: 80rem) {
22273
- .pkt-header-service {
22274
- --pkt-header-height: 6.5rem;
22275
- }
22414
+ .pkt-header-menu__footer-list {
22415
+ list-style: none;
22416
+ margin: 0;
22417
+ padding: 0;
22418
+ display: flex;
22419
+ flex-direction: column;
22420
+ gap: 0.75rem;
22421
+ }
22422
+ @media screen and (min-width: 48rem) {
22423
+ .pkt-header-menu__footer-list {
22424
+ flex-direction: row;
22425
+ gap: 0rem;
22426
+ }
22427
+ .pkt-header-menu__footer-list:not(.pkt-header-menu__footer-list--social) {
22428
+ line-height: 1;
22429
+ }
22430
+ .pkt-header-menu__footer-list:not(.pkt-header-menu__footer-list--social) > * {
22431
+ border-right: 1px solid currentColor;
22432
+ padding: 0 2rem;
22433
+ }
22434
+ .pkt-header-menu__footer-list:not(.pkt-header-menu__footer-list--social) > *:first-child {
22435
+ padding-left: 0;
22436
+ }
22437
+ .pkt-header-menu__footer-list:not(.pkt-header-menu__footer-list--social) > *:last-child {
22438
+ border-right: none;
22439
+ padding-right: 0;
22276
22440
  }
22277
22441
  }
22278
- @supports (container-type: inline-size) {
22279
- @container header-service (min-width: 80rem) {
22280
- .pkt-header-service {
22281
- --pkt-header-height: 6.5rem;
22282
- }
22442
+ .pkt-header-menu__footer-list--social {
22443
+ flex-direction: row;
22444
+ gap: 1rem;
22445
+ }
22446
+ @media screen and (min-width: 48rem) {
22447
+ .pkt-header-menu__footer-list--social {
22448
+ gap: 2rem;
22283
22449
  }
22284
22450
  }
22285
- .pkt-header-service--compact {
22286
- --pkt-header-height: 4rem;
22451
+ .pkt-header-menu__footer-link {
22452
+ letter-spacing: -0.2px;
22453
+ font-weight: 300;
22454
+ font-size: 1rem;
22455
+ line-height: 1.5rem;
22456
+ color: var(--pkt-color-text-body-default);
22457
+ text-decoration: none;
22287
22458
  }
22288
- @supports not (container-type: inline-size) {
22289
- @media screen and (min-width: 80rem) {
22290
- .pkt-header-service--compact {
22291
- --pkt-header-height: 4.5rem;
22292
- }
22459
+ @media screen and (min-width: 64rem) {
22460
+ .pkt-header-menu__footer-link {
22461
+ letter-spacing: -0.2px;
22462
+ font-weight: 300;
22463
+ font-size: 1.125rem;
22464
+ line-height: 1.75rem;
22293
22465
  }
22294
22466
  }
22295
- @supports (container-type: inline-size) {
22296
- @container header-service (min-width: 80rem) {
22297
- .pkt-header-service--compact {
22298
- --pkt-header-height: 4.5rem;
22299
- }
22467
+ .pkt-header-menu__footer-link:hover, .pkt-header-menu__footer-link:focus-visible {
22468
+ text-decoration: underline;
22469
+ text-underline-position: from-font;
22470
+ }
22471
+ .pkt-header-menu__social-link {
22472
+ --fg-color: var(--pkt-color-text-body-default);
22473
+ color: var(--pkt-color-text-body-default);
22474
+ display: inline-flex;
22475
+ align-items: center;
22476
+ }
22477
+ .pkt-header-menu__social-link svg {
22478
+ width: 2rem;
22479
+ height: 2rem;
22480
+ }
22481
+ .pkt-header-menu__loading, .pkt-header-menu__error {
22482
+ max-width: 75.25rem;
22483
+ margin: 0 auto;
22484
+ padding-top: 2rem;
22485
+ padding-bottom: 1rem;
22486
+ }
22487
+ @media screen and (min-width: 48rem) {
22488
+ .pkt-header-menu__loading, .pkt-header-menu__error {
22489
+ padding: 3.25rem;
22300
22490
  }
22301
22491
  }
22492
+ .pkt-header-menu__loading, .pkt-header-menu__error {
22493
+ text-align: center;
22494
+ color: var(--pkt-color-text-body-default);
22495
+ }
22496
+
22497
+ /*
22498
+ * HeaderService component
22499
+ *
22500
+ * Layout breakpoints are driven by the `mobileBreakpoint` /
22501
+ * `tabletBreakpoint` props on <PktHeader>; the component measures its
22502
+ * own width via ResizeObserver and toggles `--mobile` / `--tablet`
22503
+ * modifier classes on the root accordingly. The SCSS below keys off
22504
+ * those classes — never off a fixed media/container threshold — so the
22505
+ * breakpoints follow the JS configuration.
22506
+ *
22507
+ * Class semantics (set by JS):
22508
+ * --mobile : header width < mobileBreakpoint
22509
+ * --tablet : header width < tabletBreakpoint
22510
+ * (always also true when --mobile is true)
22511
+ * neither : header width ≥ tabletBreakpoint ("laptop" state)
22512
+ *
22513
+ * The "laptop" state is the default in the SCSS; --tablet and --mobile
22514
+ * override downward. --mobile blocks come after --tablet so they win on
22515
+ * source order when both are present.
22516
+ */
22517
+ .pkt-header-service-spacer {
22518
+ height: 6.5rem;
22519
+ }
22520
+ .pkt-header-service-spacer--tablet {
22521
+ height: 5.5rem;
22522
+ }
22523
+ .pkt-header-service-spacer--mobile {
22524
+ height: 5rem;
22525
+ }
22526
+ .pkt-header-service-spacer--has-user {
22527
+ height: 6.5rem;
22528
+ }
22529
+ .pkt-header-service-spacer--has-user.pkt-header-service-spacer--tablet {
22530
+ height: 5.5rem;
22531
+ }
22532
+ .pkt-header-service-spacer--has-user.pkt-header-service-spacer--mobile {
22533
+ height: 7.5rem;
22534
+ }
22535
+ .pkt-header-service-spacer--compact {
22536
+ height: 4.5rem;
22537
+ }
22538
+ .pkt-header-service-spacer--compact.pkt-header-service-spacer--tablet {
22539
+ height: 4rem;
22540
+ }
22541
+ .pkt-header-service-spacer--compact.pkt-header-service-spacer--mobile {
22542
+ height: 4rem;
22543
+ }
22544
+ .pkt-header-service-spacer--compact.pkt-header-service-spacer--has-user {
22545
+ height: 4.5rem;
22546
+ }
22547
+ .pkt-header-service-spacer--compact.pkt-header-service-spacer--has-user.pkt-header-service-spacer--tablet {
22548
+ height: 4rem;
22549
+ }
22550
+ .pkt-header-service-spacer--compact.pkt-header-service-spacer--has-user.pkt-header-service-spacer--mobile {
22551
+ height: 104px;
22552
+ }
22553
+
22554
+ .pkt-header-service {
22555
+ --pkt-header-height: 6.5rem;
22556
+ }
22557
+ .pkt-header-service--tablet {
22558
+ --pkt-header-height: 5.5rem;
22559
+ }
22302
22560
  .pkt-header-service--mobile {
22303
22561
  --pkt-header-height: 4rem;
22304
22562
  }
@@ -22307,50 +22565,30 @@ pkt-modal.pkt-fileupload__image-preview-modal .pkt-modal::backdrop {
22307
22565
  --pkt-header-height: 4.5rem;
22308
22566
  }
22309
22567
  }
22568
+ .pkt-header-service--compact {
22569
+ --pkt-header-height: 4.5rem;
22570
+ }
22571
+ .pkt-header-service--compact.pkt-header-service--tablet {
22572
+ --pkt-header-height: 4rem;
22573
+ }
22310
22574
  .pkt-header-service {
22311
22575
  position: relative;
22312
22576
  z-index: 10;
22313
22577
  background-color: var(--pkt-color-background-default);
22314
22578
  border-bottom: 1px solid var(--pkt-color-border-subtle);
22315
- container-type: inline-size;
22316
- container-name: header-service;
22317
22579
  display: grid;
22318
22580
  align-items: center;
22319
22581
  grid-template-columns: 1fr auto auto;
22320
- grid-template-rows: 4.5rem auto;
22321
- column-gap: 0.5rem;
22322
- }
22323
- @supports not (container-type: inline-size) {
22324
- @media screen and (min-width: 48rem) {
22325
- .pkt-header-service {
22326
- grid-template-rows: 5.5rem auto;
22327
- column-gap: 1.5rem;
22328
- }
22329
- }
22330
- }
22331
- @supports (container-type: inline-size) {
22332
- @container header-service (min-width: 48rem) {
22333
- .pkt-header-service {
22334
- grid-template-rows: 5.5rem auto;
22335
- column-gap: 1.5rem;
22336
- }
22337
- }
22582
+ grid-template-rows: 6.5rem auto;
22583
+ column-gap: 2rem;
22338
22584
  }
22339
- @supports not (container-type: inline-size) {
22340
- @media screen and (min-width: 80rem) {
22341
- .pkt-header-service {
22342
- grid-template-rows: 6.5rem auto;
22343
- column-gap: 2rem;
22344
- }
22345
- }
22585
+ .pkt-header-service--tablet {
22586
+ grid-template-rows: 5.5rem auto;
22587
+ column-gap: 1.5rem;
22346
22588
  }
22347
- @supports (container-type: inline-size) {
22348
- @container header-service (min-width: 80rem) {
22349
- .pkt-header-service {
22350
- grid-template-rows: 6.5rem auto;
22351
- column-gap: 2rem;
22352
- }
22353
- }
22589
+ .pkt-header-service--mobile {
22590
+ grid-template-rows: 4.5rem auto;
22591
+ column-gap: 0.5rem;
22354
22592
  }
22355
22593
  .pkt-header-service--compact {
22356
22594
  grid-template-rows: 4.5rem auto;
@@ -22370,71 +22608,27 @@ pkt-modal.pkt-fileupload__image-preview-modal .pkt-modal::backdrop {
22370
22608
  }
22371
22609
  .pkt-header-service__logo-area, .pkt-header-service__content, .pkt-header-service__user {
22372
22610
  display: inline-flex;
22373
- column-gap: 0.25rem;
22611
+ column-gap: 2rem;
22374
22612
  min-width: 0;
22375
22613
  }
22376
- @supports not (container-type: inline-size) {
22377
- @media screen and (min-width: 48rem) {
22378
- .pkt-header-service__logo-area, .pkt-header-service__content, .pkt-header-service__user {
22379
- column-gap: 1.5rem;
22380
- }
22381
- }
22382
- }
22383
- @supports (container-type: inline-size) {
22384
- @container header-service (min-width: 48rem) {
22385
- .pkt-header-service__logo-area, .pkt-header-service__content, .pkt-header-service__user {
22386
- column-gap: 1.5rem;
22387
- }
22388
- }
22389
- }
22390
- @supports not (container-type: inline-size) {
22391
- @media screen and (min-width: 80rem) {
22392
- .pkt-header-service__logo-area, .pkt-header-service__content, .pkt-header-service__user {
22393
- column-gap: 2rem;
22394
- }
22395
- }
22614
+ .pkt-header-service--tablet .pkt-header-service__logo-area, .pkt-header-service--tablet .pkt-header-service__content, .pkt-header-service--tablet .pkt-header-service__user {
22615
+ column-gap: 1.5rem;
22396
22616
  }
22397
- @supports (container-type: inline-size) {
22398
- @container header-service (min-width: 80rem) {
22399
- .pkt-header-service__logo-area, .pkt-header-service__content, .pkt-header-service__user {
22400
- column-gap: 2rem;
22401
- }
22402
- }
22617
+ .pkt-header-service--mobile .pkt-header-service__logo-area, .pkt-header-service--mobile .pkt-header-service__content, .pkt-header-service--mobile .pkt-header-service__user {
22618
+ column-gap: 0.25rem;
22403
22619
  }
22404
22620
  .pkt-header-service__logo-area {
22405
22621
  grid-column: 1;
22406
22622
  grid-row: 1;
22407
22623
  align-items: center;
22408
22624
  display: inline-flex;
22409
- padding-left: 0.5rem;
22410
- }
22411
- @supports not (container-type: inline-size) {
22412
- @media screen and (min-width: 48rem) {
22413
- .pkt-header-service__logo-area {
22414
- padding-left: 1rem;
22415
- }
22416
- }
22625
+ padding-left: 2rem;
22417
22626
  }
22418
- @supports (container-type: inline-size) {
22419
- @container header-service (min-width: 48rem) {
22420
- .pkt-header-service__logo-area {
22421
- padding-left: 1rem;
22422
- }
22423
- }
22424
- }
22425
- @supports not (container-type: inline-size) {
22426
- @media screen and (min-width: 80rem) {
22427
- .pkt-header-service__logo-area {
22428
- padding-left: 2rem;
22429
- }
22430
- }
22627
+ .pkt-header-service--tablet .pkt-header-service__logo-area {
22628
+ padding-left: 1rem;
22431
22629
  }
22432
- @supports (container-type: inline-size) {
22433
- @container header-service (min-width: 80rem) {
22434
- .pkt-header-service__logo-area {
22435
- padding-left: 2rem;
22436
- }
22437
- }
22630
+ .pkt-header-service--mobile .pkt-header-service__logo-area {
22631
+ padding-left: 0.5rem;
22438
22632
  }
22439
22633
  .pkt-header-service__content, .pkt-header-service__user {
22440
22634
  grid-row: 1;
@@ -22458,21 +22652,10 @@ pkt-modal.pkt-fileupload__image-preview-modal .pkt-modal::backdrop {
22458
22652
  .pkt-header-service__user {
22459
22653
  grid-column: 3;
22460
22654
  justify-self: end;
22461
- padding-right: 1rem;
22462
- }
22463
- @supports not (container-type: inline-size) {
22464
- @media screen and (min-width: 80rem) {
22465
- .pkt-header-service__user {
22466
- padding-right: 2rem;
22467
- }
22468
- }
22655
+ padding-right: 2rem;
22469
22656
  }
22470
- @supports (container-type: inline-size) {
22471
- @container header-service (min-width: 80rem) {
22472
- .pkt-header-service__user {
22473
- padding-right: 2rem;
22474
- }
22475
- }
22657
+ .pkt-header-service--tablet .pkt-header-service__user {
22658
+ padding-right: 1rem;
22476
22659
  }
22477
22660
  .pkt-header-service__logo {
22478
22661
  --fg-color: var(--pkt-color-text-body-default);