@oslokommune/punkt-css 16.16.1 → 16.17.1

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