@oslokommune/punkt-css 13.22.0 → 14.0.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.
Files changed (34) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/dist/css/components/header-service-mobile.css +184 -0
  3. package/dist/css/components/header-service-mobile.min.css +1 -0
  4. package/dist/css/components/header-service.css +413 -0
  5. package/dist/css/components/header-service.min.css +1 -0
  6. package/dist/css/components/header-user-menu.css +128 -0
  7. package/dist/css/components/header-user-menu.min.css +1 -0
  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 +3 -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 +7 -2
  17. package/dist/css/pkt-base.min.css +1 -1
  18. package/dist/css/pkt-components.css +729 -1
  19. package/dist/css/pkt-components.min.css +1 -1
  20. package/dist/css/pkt-docs.css +739 -6
  21. package/dist/css/pkt-docs.min.css +1 -1
  22. package/dist/css/pkt-elements.css +4 -4
  23. package/dist/css/pkt-elements.min.css +1 -1
  24. package/dist/css/pkt.css +739 -6
  25. package/dist/css/pkt.min.css +1 -1
  26. package/dist/scss/abstracts/mixins/_container-queries.scss +37 -0
  27. package/dist/scss/abstracts/mixins/_index.scss +1 -0
  28. package/dist/scss/abstracts/variables/_index.scss +1 -1
  29. package/dist/scss/base/_typography.scss +4 -1
  30. package/dist/scss/components/_header-service-mobile.scss +211 -0
  31. package/dist/scss/components/_header-service.scss +378 -0
  32. package/dist/scss/components/_header-user-menu.scss +127 -0
  33. package/dist/scss/components/_index.scss +3 -0
  34. package/package.json +3 -3
package/dist/css/pkt.css CHANGED
@@ -14346,6 +14346,11 @@ a:hover, a.pkt-link--hover,
14346
14346
  color: var(--pkt-color-text-action-active);
14347
14347
  text-decoration: underline;
14348
14348
  }
14349
+ a:hover svg, a.pkt-link--hover svg,
14350
+ .pkt-link-button:hover svg,
14351
+ .pkt-link-button.pkt-link--hover svg {
14352
+ --fg-color: currentColor;
14353
+ }
14349
14354
  a:focus-visible, a.pkt-link--focus,
14350
14355
  .pkt-link-button:focus-visible,
14351
14356
  .pkt-link-button.pkt-link--focus {
@@ -14372,7 +14377,7 @@ a:active, a.pkt-link--active,
14372
14377
  }
14373
14378
 
14374
14379
  .pkt-link__icon {
14375
- --fg-color: var(--pkt-color-text-action-normal);
14380
+ --fg-color: currentColor;
14376
14381
  width: 1.5rem;
14377
14382
  height: 1.5rem;
14378
14383
  flex-shrink: 0;
@@ -14394,7 +14399,7 @@ a:active, a.pkt-link--active,
14394
14399
  .pkt-link--external::after {
14395
14400
  display: inline-block;
14396
14401
  content: " ";
14397
- --svg: url(https://punkt-cdn.oslo.kommune.no/13.22/icons/new-window-small.svg);
14402
+ --svg: url(https://punkt-cdn.oslo.kommune.no/14.0/icons/new-window-small.svg);
14398
14403
  background-image: var(--svg);
14399
14404
  background-repeat: no-repeat;
14400
14405
  background-size: 18px 18px;
@@ -18417,7 +18422,7 @@ div.pkt-btn:not([data-disabled]):active, .pkt-btn:enabled:active, .pkt-btn:activ
18417
18422
  outline-color: var(--pkt-color-input-border-hover);
18418
18423
  }
18419
18424
  .pkt-input-check__input-checkbox:indeterminate[type=checkbox]:not([role=switch]) {
18420
- --svg: url(https://punkt-cdn.oslo.kommune.no/13.22/icons/minus-sign.svg);
18425
+ --svg: url(https://punkt-cdn.oslo.kommune.no/14.0/icons/minus-sign.svg);
18421
18426
  position: relative;
18422
18427
  background-color: var(--pkt-color-input-border-normal);
18423
18428
  }
@@ -18443,7 +18448,7 @@ div.pkt-btn:not([data-disabled]):active, .pkt-btn:enabled:active, .pkt-btn:activ
18443
18448
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(271deg) brightness(105%) contrast(101%);
18444
18449
  }
18445
18450
  .pkt-input-check__input-checkbox:checked[type=checkbox] {
18446
- --svg: url(https://punkt-cdn.oslo.kommune.no/13.22/icons/check-medium.svg);
18451
+ --svg: url(https://punkt-cdn.oslo.kommune.no/14.0/icons/check-medium.svg);
18447
18452
  position: relative;
18448
18453
  background-color: var(--pkt-color-input-border-normal);
18449
18454
  }
@@ -18501,7 +18506,7 @@ div.pkt-btn:not([data-disabled]):active, .pkt-btn:enabled:active, .pkt-btn:activ
18501
18506
  cursor: not-allowed;
18502
18507
  }
18503
18508
  .pkt-input-check__input-checkbox:disabled[type=checkbox][role=switch]:checked:after {
18504
- --svg: url(https://punkt-cdn.oslo.kommune.no/13.22/icons/check-medium.svg);
18509
+ --svg: url(https://punkt-cdn.oslo.kommune.no/14.0/icons/check-medium.svg);
18505
18510
  --pkt-color-input-check-border: var(--pkt-color-input-border-normal);
18506
18511
  filter: grayscale(100%) brightness(400%);
18507
18512
  }
@@ -18716,7 +18721,7 @@ pkt-select {
18716
18721
  }
18717
18722
  .pkt-input:is(select):not([multiple]), .pkt-textinput__input:is(select):not([multiple]), .pkt-select select:is(select):not([multiple]),
18718
18723
  .pkt-select:is(select):not([multiple]) {
18719
- --svg: url(https://punkt-cdn.oslo.kommune.no/13.22/icons/chevron-thin-down.svg);
18724
+ --svg: url(https://punkt-cdn.oslo.kommune.no/14.0/icons/chevron-thin-down.svg);
18720
18725
  background-image: var(--svg);
18721
18726
  background-repeat: no-repeat;
18722
18727
  background-position: right 0.7rem top 50%;
@@ -20993,6 +20998,734 @@ pkt-combobox[fullwidth] {
20993
20998
  color: var(--pkt-color-text-body-dark);
20994
20999
  }
20995
21000
 
21001
+ /*
21002
+ * HeaderService component
21003
+ * Uses container queries with media query fallback for responsive behavior
21004
+ */
21005
+ .pkt-header-service-spacer {
21006
+ height: 80px;
21007
+ }
21008
+ @media screen and (min-width: 48rem) {
21009
+ .pkt-header-service-spacer {
21010
+ height: 5.5rem;
21011
+ }
21012
+ }
21013
+ @container header-service (min-width: 48rem) {
21014
+ .pkt-header-service-spacer {
21015
+ height: 5.5rem;
21016
+ }
21017
+ }
21018
+ @media screen and (min-width: 80rem) {
21019
+ .pkt-header-service-spacer {
21020
+ height: 6.5rem;
21021
+ }
21022
+ }
21023
+ @container header-service (min-width: 80rem) {
21024
+ .pkt-header-service-spacer {
21025
+ height: 6.5rem;
21026
+ }
21027
+ }
21028
+ .pkt-header-service-spacer--mobile {
21029
+ height: 80px;
21030
+ }
21031
+ .pkt-header-service-spacer--has-user {
21032
+ height: 128px;
21033
+ }
21034
+ @media screen and (min-width: 48rem) {
21035
+ .pkt-header-service-spacer--has-user {
21036
+ height: 5.5rem;
21037
+ }
21038
+ }
21039
+ @container header-service (min-width: 48rem) {
21040
+ .pkt-header-service-spacer--has-user {
21041
+ height: 5.5rem;
21042
+ }
21043
+ }
21044
+ @media screen and (min-width: 80rem) {
21045
+ .pkt-header-service-spacer--has-user {
21046
+ height: 6.5rem;
21047
+ }
21048
+ }
21049
+ @container header-service (min-width: 80rem) {
21050
+ .pkt-header-service-spacer--has-user {
21051
+ height: 6.5rem;
21052
+ }
21053
+ }
21054
+ .pkt-header-service-spacer--has-user.pkt-header-service-spacer--mobile {
21055
+ height: 128px;
21056
+ }
21057
+ .pkt-header-service-spacer--compact {
21058
+ height: 4rem;
21059
+ }
21060
+ @media screen and (min-width: 48rem) {
21061
+ .pkt-header-service-spacer--compact {
21062
+ height: 4rem;
21063
+ }
21064
+ }
21065
+ @container header-service (min-width: 48rem) {
21066
+ .pkt-header-service-spacer--compact {
21067
+ height: 4rem;
21068
+ }
21069
+ }
21070
+ @media screen and (min-width: 80rem) {
21071
+ .pkt-header-service-spacer--compact {
21072
+ height: 4.5rem;
21073
+ }
21074
+ }
21075
+ @container header-service (min-width: 80rem) {
21076
+ .pkt-header-service-spacer--compact {
21077
+ height: 4.5rem;
21078
+ }
21079
+ }
21080
+ .pkt-header-service-spacer--compact.pkt-header-service-spacer--mobile {
21081
+ height: 4rem;
21082
+ }
21083
+ .pkt-header-service-spacer--compact.pkt-header-service-spacer--has-user {
21084
+ height: 104px;
21085
+ }
21086
+ @media screen and (min-width: 48rem) {
21087
+ .pkt-header-service-spacer--compact.pkt-header-service-spacer--has-user {
21088
+ height: 4rem;
21089
+ }
21090
+ }
21091
+ @container header-service (min-width: 48rem) {
21092
+ .pkt-header-service-spacer--compact.pkt-header-service-spacer--has-user {
21093
+ height: 4rem;
21094
+ }
21095
+ }
21096
+ @media screen and (min-width: 80rem) {
21097
+ .pkt-header-service-spacer--compact.pkt-header-service-spacer--has-user {
21098
+ height: 4.5rem;
21099
+ }
21100
+ }
21101
+ @container header-service (min-width: 80rem) {
21102
+ .pkt-header-service-spacer--compact.pkt-header-service-spacer--has-user {
21103
+ height: 4.5rem;
21104
+ }
21105
+ }
21106
+ .pkt-header-service-spacer--compact.pkt-header-service-spacer--has-user.pkt-header-service-spacer--mobile {
21107
+ height: 104px;
21108
+ }
21109
+
21110
+ .pkt-header-service {
21111
+ --pkt-header-height: 4.5rem;
21112
+ position: relative;
21113
+ }
21114
+ @media screen and (min-width: 48rem) {
21115
+ .pkt-header-service {
21116
+ --pkt-header-height: 5.5rem;
21117
+ }
21118
+ }
21119
+ @container header-service (min-width: 48rem) {
21120
+ .pkt-header-service {
21121
+ --pkt-header-height: 5.5rem;
21122
+ }
21123
+ }
21124
+ @media screen and (min-width: 80rem) {
21125
+ .pkt-header-service {
21126
+ --pkt-header-height: 6.5rem;
21127
+ }
21128
+ }
21129
+ @container header-service (min-width: 80rem) {
21130
+ .pkt-header-service {
21131
+ --pkt-header-height: 6.5rem;
21132
+ }
21133
+ }
21134
+ .pkt-header-service--compact {
21135
+ --pkt-header-height: 4rem;
21136
+ }
21137
+ @media screen and (min-width: 80rem) {
21138
+ .pkt-header-service--compact {
21139
+ --pkt-header-height: 4.5rem;
21140
+ }
21141
+ }
21142
+ @container header-service (min-width: 80rem) {
21143
+ .pkt-header-service--compact {
21144
+ --pkt-header-height: 4.5rem;
21145
+ }
21146
+ }
21147
+ .pkt-header-service--mobile {
21148
+ --pkt-header-height: 4rem;
21149
+ }
21150
+ @media screen and (min-width: 80rem) {
21151
+ .pkt-header-service--mobile {
21152
+ --pkt-header-height: 4.5rem;
21153
+ }
21154
+ }
21155
+ .pkt-header-service {
21156
+ background-color: var(--pkt-color-background-default);
21157
+ container-type: inline-size;
21158
+ container-name: header-service;
21159
+ display: grid;
21160
+ align-items: center;
21161
+ grid-template-columns: 1fr auto auto;
21162
+ grid-template-rows: 4.5rem auto;
21163
+ column-gap: 1rem;
21164
+ }
21165
+ @media screen and (min-width: 48rem) {
21166
+ .pkt-header-service {
21167
+ grid-template-rows: 5.5rem auto;
21168
+ column-gap: 1.5rem;
21169
+ }
21170
+ }
21171
+ @container header-service (min-width: 48rem) {
21172
+ .pkt-header-service {
21173
+ grid-template-rows: 5.5rem auto;
21174
+ column-gap: 1.5rem;
21175
+ }
21176
+ }
21177
+ @media screen and (min-width: 80rem) {
21178
+ .pkt-header-service {
21179
+ grid-template-rows: 6.5rem auto;
21180
+ column-gap: 2rem;
21181
+ }
21182
+ }
21183
+ @container header-service (min-width: 80rem) {
21184
+ .pkt-header-service {
21185
+ grid-template-rows: 6.5rem auto;
21186
+ column-gap: 2rem;
21187
+ }
21188
+ }
21189
+ .pkt-header-service--compact {
21190
+ grid-template-rows: 4.5rem auto;
21191
+ }
21192
+ .pkt-header-service--fixed {
21193
+ width: 100vw;
21194
+ position: fixed;
21195
+ top: 0;
21196
+ left: 0;
21197
+ z-index: 10;
21198
+ }
21199
+ .pkt-header-service--scroll-to-hide {
21200
+ transform: translate3d(0, 0, 0);
21201
+ transition: 0.5s transform ease-in-out;
21202
+ }
21203
+ .pkt-header-service--hidden {
21204
+ transform: translate3d(0, -100%, 0);
21205
+ }
21206
+ .pkt-header-service__logo-area, .pkt-header-service__content, .pkt-header-service__user {
21207
+ display: inline-flex;
21208
+ column-gap: 1.5rem;
21209
+ min-width: 0;
21210
+ }
21211
+ @media screen and (min-width: 80rem) {
21212
+ .pkt-header-service__logo-area, .pkt-header-service__content, .pkt-header-service__user {
21213
+ column-gap: 2rem;
21214
+ }
21215
+ }
21216
+ @container header-service (min-width: 80rem) {
21217
+ .pkt-header-service__logo-area, .pkt-header-service__content, .pkt-header-service__user {
21218
+ column-gap: 2rem;
21219
+ }
21220
+ }
21221
+ .pkt-header-service__logo-area {
21222
+ grid-column: 1;
21223
+ grid-row: 1;
21224
+ align-items: center;
21225
+ display: inline-flex;
21226
+ padding-left: 1rem;
21227
+ }
21228
+ @media screen and (min-width: 80rem) {
21229
+ .pkt-header-service__logo-area {
21230
+ padding-left: 2rem;
21231
+ }
21232
+ }
21233
+ @container header-service (min-width: 80rem) {
21234
+ .pkt-header-service__logo-area {
21235
+ padding-left: 2rem;
21236
+ }
21237
+ }
21238
+ .pkt-header-service__content, .pkt-header-service__user {
21239
+ grid-row: 1;
21240
+ align-items: center;
21241
+ }
21242
+ .pkt-header-service__content .pkt-header-service__user-button .pkt-btn__text, .pkt-header-service__user .pkt-header-service__user-button .pkt-btn__text {
21243
+ min-width: 0;
21244
+ overflow: hidden;
21245
+ text-overflow: ellipsis;
21246
+ white-space: nowrap;
21247
+ }
21248
+ .pkt-header-service__content .pkt-link, .pkt-header-service__user .pkt-link {
21249
+ letter-spacing: -0.2px;
21250
+ font-weight: 500;
21251
+ font-size: 1.125rem;
21252
+ line-height: 1.75rem;
21253
+ }
21254
+ .pkt-header-service__content {
21255
+ grid-column: 2;
21256
+ }
21257
+ .pkt-header-service__user {
21258
+ grid-column: 3;
21259
+ justify-self: end;
21260
+ padding-right: 1rem;
21261
+ }
21262
+ @media screen and (min-width: 80rem) {
21263
+ .pkt-header-service__user {
21264
+ padding-right: 2rem;
21265
+ }
21266
+ }
21267
+ @container header-service (min-width: 80rem) {
21268
+ .pkt-header-service__user {
21269
+ padding-right: 2rem;
21270
+ }
21271
+ }
21272
+ .pkt-header-service__logo {
21273
+ --fg-color: var(--pkt-color-text-body-default);
21274
+ flex: 0 0 auto;
21275
+ display: flex;
21276
+ align-items: center;
21277
+ gap: 0.5rem;
21278
+ }
21279
+ .pkt-header-service__logo a,
21280
+ .pkt-header-service__logo button {
21281
+ display: flex;
21282
+ align-items: center;
21283
+ }
21284
+ .pkt-header-service__logo svg {
21285
+ height: 2.5rem;
21286
+ }
21287
+ .pkt-header-service__logo-area--without-service .pkt-header-service__logo svg {
21288
+ height: 4rem;
21289
+ }
21290
+ .pkt-header-service__service-name {
21291
+ letter-spacing: -0.2px;
21292
+ font-weight: 500;
21293
+ font-size: 1.375rem;
21294
+ line-height: 2.125rem;
21295
+ padding-top: 4px;
21296
+ white-space: normal;
21297
+ display: -webkit-box;
21298
+ -webkit-box-orient: vertical;
21299
+ -webkit-line-clamp: 2;
21300
+ overflow: hidden;
21301
+ text-overflow: ellipsis;
21302
+ min-width: 0;
21303
+ text-wrap: balance;
21304
+ }
21305
+ .pkt-header-service__service-link {
21306
+ color: var(--pkt-color-text-body-default);
21307
+ }
21308
+ .pkt-header-service__service-link .pkt-link {
21309
+ text-decoration: none;
21310
+ }
21311
+ .pkt-header-service .pkt-link {
21312
+ text-decoration: none;
21313
+ }
21314
+ .pkt-header-service .pkt-link--active {
21315
+ text-decoration: underline;
21316
+ text-underline-position: from-font;
21317
+ }
21318
+ .pkt-header-service .pkt-link:active {
21319
+ text-decoration: underline;
21320
+ text-underline-position: from-font;
21321
+ }
21322
+ .pkt-header-service .pkt-link:hover {
21323
+ text-decoration: underline;
21324
+ text-underline-position: from-font;
21325
+ }
21326
+ .pkt-header-service .pkt-link.pkt-header-service--mobile {
21327
+ letter-spacing: -0.2px;
21328
+ font-weight: 500;
21329
+ font-size: 1rem;
21330
+ line-height: 1.5rem;
21331
+ }
21332
+ .pkt-header-service__search-input {
21333
+ background-color: var(--pkt-color-background-default);
21334
+ }
21335
+ .pkt-header-service__search-input .pkt-input-icon:not(button) svg {
21336
+ margin-left: 0;
21337
+ }
21338
+ .pkt-header-service__slot-container, .pkt-header-service__search-container {
21339
+ display: flex;
21340
+ flex-direction: row;
21341
+ align-items: baseline;
21342
+ }
21343
+ .pkt-header-service__slot-container, .pkt-header-service__slot-container .pkt-contents {
21344
+ display: flex;
21345
+ flex-direction: row;
21346
+ align-items: center;
21347
+ }
21348
+ .pkt-header-service__slot-container > * + *, .pkt-header-service__slot-container .pkt-contents > * + * {
21349
+ margin-left: 2rem;
21350
+ }
21351
+ .pkt-header-service__slot-container > .pkt-link + .pkt-link,
21352
+ .pkt-header-service__slot-container > pkt-link + pkt-link,
21353
+ .pkt-header-service__slot-container > a + a, .pkt-header-service__slot-container .pkt-contents > .pkt-link + .pkt-link,
21354
+ .pkt-header-service__slot-container .pkt-contents > pkt-link + pkt-link,
21355
+ .pkt-header-service__slot-container .pkt-contents > a + a {
21356
+ margin-left: 1.5rem;
21357
+ }
21358
+ .pkt-header-service__user-container.is-open, .pkt-header-service__search-container.is-open, .pkt-header-service__slot-container.is-open, .pkt-header-service__user-menu.is-open, .pkt-header-service__mobile-menu.is-open {
21359
+ z-index: 100;
21360
+ }
21361
+ .pkt-header-service__user-container {
21362
+ position: relative;
21363
+ }
21364
+ .pkt-header-service__user-button {
21365
+ max-width: 28.5rem;
21366
+ }
21367
+ .pkt-header-service__user-button .pkt-btn__text {
21368
+ overflow: hidden;
21369
+ text-overflow: ellipsis;
21370
+ white-space: nowrap;
21371
+ min-width: 0;
21372
+ flex: 1 1 auto;
21373
+ }
21374
+ .pkt-header-service__user-menu, .pkt-header-service__slot-menu {
21375
+ position: absolute;
21376
+ right: 0;
21377
+ width: max(15.5rem, 100%);
21378
+ max-width: min(32rem, 90vw);
21379
+ }
21380
+ .pkt-header-service__logout-button {
21381
+ flex: 0 0 auto;
21382
+ }
21383
+ .pkt-header-service__mobile-menu-container {
21384
+ grid-column: 1/-1;
21385
+ grid-row: 2;
21386
+ }
21387
+ .pkt-header-service__mobile-menu {
21388
+ overflow: hidden;
21389
+ max-height: 0;
21390
+ opacity: 0;
21391
+ transform: translateY(-6px);
21392
+ transition: max-height 200ms ease, opacity 150ms ease, transform 200ms ease;
21393
+ will-change: max-height, transform;
21394
+ pointer-events: none;
21395
+ }
21396
+ .pkt-header-service__mobile-menu.is-open {
21397
+ max-height: calc(100dvh - var(--pkt-header-height) - 3.5rem);
21398
+ opacity: 1;
21399
+ overflow: visible;
21400
+ pointer-events: auto;
21401
+ transform: translateY(0);
21402
+ }
21403
+ .pkt-header-service__mobile-menu.is-open > * {
21404
+ max-height: calc(100dvh - var(--pkt-header-height) - 3.5rem);
21405
+ overflow-y: auto;
21406
+ -webkit-overflow-scrolling: touch;
21407
+ }
21408
+ @media (prefers-reduced-motion: reduce) {
21409
+ .pkt-header-service__mobile-menu {
21410
+ transition: none;
21411
+ transform: none;
21412
+ }
21413
+ }
21414
+
21415
+ .pkt-header-service.pkt-header-service--mobile {
21416
+ grid-template-rows: 4rem auto;
21417
+ grid-template-columns: 1fr auto;
21418
+ }
21419
+ @media screen and (min-width: 80rem) {
21420
+ .pkt-header-service.pkt-header-service--mobile {
21421
+ grid-template-rows: 4.5rem auto;
21422
+ }
21423
+ }
21424
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service--compact {
21425
+ grid-template-rows: 4rem auto;
21426
+ }
21427
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__logo-area, .pkt-header-service.pkt-header-service--mobile .pkt-header-service__content, .pkt-header-service.pkt-header-service--mobile .pkt-header-service__user {
21428
+ column-gap: 1rem;
21429
+ }
21430
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__logo-area {
21431
+ grid-column: 1;
21432
+ grid-row: 1;
21433
+ }
21434
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__content {
21435
+ grid-column: 2;
21436
+ grid-row: 1;
21437
+ padding-right: 1rem;
21438
+ }
21439
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__user {
21440
+ grid-column: 1/-1;
21441
+ grid-row: 2;
21442
+ justify-self: stretch;
21443
+ padding: 0;
21444
+ }
21445
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__logo svg {
21446
+ height: 2rem;
21447
+ }
21448
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__service-name {
21449
+ letter-spacing: -0.2px;
21450
+ font-weight: 500;
21451
+ font-size: 1rem;
21452
+ line-height: 1.5rem;
21453
+ }
21454
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__mobile-menu {
21455
+ background-color: var(--pkt-color-background-default);
21456
+ }
21457
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__user-container {
21458
+ background-color: var(--pkt-color-background-default);
21459
+ height: 3.5rem;
21460
+ width: 100%;
21461
+ }
21462
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__user-button:is(button), .pkt-header-service.pkt-header-service--mobile .pkt-header-service__user-button button {
21463
+ height: 100%;
21464
+ padding: 0 1.5rem;
21465
+ width: 100%;
21466
+ max-width: 100%;
21467
+ border: none;
21468
+ border-top: 1px solid var(--pkt-color-border-subtle, #f2f2f2);
21469
+ border-bottom: 1px solid var(--pkt-color-border-subtle, #f2f2f2);
21470
+ }
21471
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__user-button:not(button) {
21472
+ display: contents;
21473
+ }
21474
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__user-menu {
21475
+ max-width: 100%;
21476
+ position: unset;
21477
+ }
21478
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-content {
21479
+ display: none;
21480
+ }
21481
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content {
21482
+ position: absolute;
21483
+ top: 4rem;
21484
+ left: 0;
21485
+ right: 0;
21486
+ max-width: 100vw;
21487
+ }
21488
+ @media screen and (min-width: 80rem) {
21489
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content {
21490
+ top: 4.5rem;
21491
+ }
21492
+ }
21493
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__search-container.is-open .pkt-header-service__mobile-menu {
21494
+ position: absolute;
21495
+ top: 4rem;
21496
+ left: 0;
21497
+ right: 0;
21498
+ }
21499
+ @media screen and (min-width: 80rem) {
21500
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__search-container.is-open .pkt-header-service__mobile-menu {
21501
+ top: 4.5rem;
21502
+ }
21503
+ }
21504
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__search-input {
21505
+ padding: 1rem;
21506
+ }
21507
+
21508
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content, .pkt-header-service.pkt-header-service--mobile .pkt-header-service__search-container.is-open .pkt-header-service__mobile-menu, .pkt-header-service.pkt-header-service--mobile .pkt-header-service__mobile-menu.is-open,
21509
+ .pkt-header-service.pkt-header-service--tablet .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content,
21510
+ .pkt-header-service.pkt-header-service--tablet .pkt-header-service__search-container.is-open .pkt-header-service__mobile-menu,
21511
+ .pkt-header-service.pkt-header-service--tablet .pkt-header-service__mobile-menu.is-open {
21512
+ background-color: var(--pkt-color-background-default);
21513
+ z-index: 100;
21514
+ border-top: 1px solid var(--pkt-color-border-subtle, #f2f2f2);
21515
+ border-bottom: 1px solid var(--pkt-color-border-subtle, #f2f2f2);
21516
+ }
21517
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content::after, .pkt-header-service.pkt-header-service--mobile .pkt-header-service__search-container.is-open .pkt-header-service__mobile-menu::after, .pkt-header-service.pkt-header-service--mobile .pkt-header-service__mobile-menu.is-open::after,
21518
+ .pkt-header-service.pkt-header-service--tablet .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content::after,
21519
+ .pkt-header-service.pkt-header-service--tablet .pkt-header-service__search-container.is-open .pkt-header-service__mobile-menu::after,
21520
+ .pkt-header-service.pkt-header-service--tablet .pkt-header-service__mobile-menu.is-open::after {
21521
+ content: "";
21522
+ position: absolute;
21523
+ bottom: 0;
21524
+ left: 0;
21525
+ right: 0;
21526
+ height: 1.25rem;
21527
+ pointer-events: none;
21528
+ background: linear-gradient(to top, transparent, rgba(0, 0, 0, 0.06));
21529
+ transform: translateY(100%);
21530
+ z-index: 101;
21531
+ }
21532
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content,
21533
+ .pkt-header-service.pkt-header-service--tablet .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content {
21534
+ height: max-content;
21535
+ max-height: calc(100dvh - var(--pkt-header-height));
21536
+ overflow: visible;
21537
+ }
21538
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content, .pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content > .pkt-contents,
21539
+ .pkt-header-service.pkt-header-service--tablet .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content,
21540
+ .pkt-header-service.pkt-header-service--tablet .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content > .pkt-contents {
21541
+ display: flex;
21542
+ flex-direction: column;
21543
+ align-items: stretch;
21544
+ }
21545
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content,
21546
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content > ul, .pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content > .pkt-contents,
21547
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content > .pkt-contents > ul,
21548
+ .pkt-header-service.pkt-header-service--tablet .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content,
21549
+ .pkt-header-service.pkt-header-service--tablet .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content > ul,
21550
+ .pkt-header-service.pkt-header-service--tablet .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content > .pkt-contents,
21551
+ .pkt-header-service.pkt-header-service--tablet .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content > .pkt-contents > ul {
21552
+ margin-left: 0;
21553
+ gap: 1.5rem;
21554
+ }
21555
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content > *,
21556
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content > ul > *, .pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content > .pkt-contents > *,
21557
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content > .pkt-contents > ul > *,
21558
+ .pkt-header-service.pkt-header-service--tablet .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content > *,
21559
+ .pkt-header-service.pkt-header-service--tablet .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content > ul > *,
21560
+ .pkt-header-service.pkt-header-service--tablet .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content > .pkt-contents > *,
21561
+ .pkt-header-service.pkt-header-service--tablet .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content > .pkt-contents > ul > * {
21562
+ margin-left: 0;
21563
+ }
21564
+ .pkt-header-service.pkt-header-service--mobile .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content .pkt-contents,
21565
+ .pkt-header-service.pkt-header-service--tablet .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content .pkt-contents {
21566
+ padding: 2rem;
21567
+ overflow-y: auto;
21568
+ -webkit-overflow-scrolling: touch;
21569
+ }
21570
+
21571
+ .pkt-header-service.pkt-header-service--tablet:not(.pkt-header-service--mobile) .pkt-header-service__slot-content {
21572
+ display: none;
21573
+ }
21574
+ .pkt-header-service.pkt-header-service--tablet:not(.pkt-header-service--mobile) .pkt-header-service__slot-container, .pkt-header-service.pkt-header-service--tablet:not(.pkt-header-service--mobile) .pkt-header-service__search-container {
21575
+ position: relative;
21576
+ }
21577
+ .pkt-header-service.pkt-header-service--tablet:not(.pkt-header-service--mobile) .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content,
21578
+ .pkt-header-service.pkt-header-service--tablet:not(.pkt-header-service--mobile) .pkt-header-service__slot-container.is-open .pkt-header-service__mobile-menu, .pkt-header-service.pkt-header-service--tablet:not(.pkt-header-service--mobile) .pkt-header-service__search-container.is-open .pkt-header-service__slot-content,
21579
+ .pkt-header-service.pkt-header-service--tablet:not(.pkt-header-service--mobile) .pkt-header-service__search-container.is-open .pkt-header-service__mobile-menu {
21580
+ display: block;
21581
+ position: absolute;
21582
+ top: 100%;
21583
+ left: 0;
21584
+ min-width: 19rem;
21585
+ width: fit-content;
21586
+ max-width: 100%;
21587
+ right: auto;
21588
+ border: 2px solid var(--pkt-color-border-subtle);
21589
+ }
21590
+ .pkt-header-service.pkt-header-service--tablet:not(.pkt-header-service--mobile) .pkt-header-service__slot-container.is-open .pkt-header-service__slot-content.align-right,
21591
+ .pkt-header-service.pkt-header-service--tablet:not(.pkt-header-service--mobile) .pkt-header-service__slot-container.is-open .pkt-header-service__mobile-menu.align-right, .pkt-header-service.pkt-header-service--tablet:not(.pkt-header-service--mobile) .pkt-header-service__search-container.is-open .pkt-header-service__slot-content.align-right,
21592
+ .pkt-header-service.pkt-header-service--tablet:not(.pkt-header-service--mobile) .pkt-header-service__search-container.is-open .pkt-header-service__mobile-menu.align-right {
21593
+ left: auto;
21594
+ right: 0;
21595
+ }
21596
+ .pkt-header-service.pkt-header-service--tablet:not(.pkt-header-service--mobile) .pkt-header-service__search-input {
21597
+ padding: 1rem;
21598
+ }
21599
+
21600
+ /*
21601
+ * Header User Menu component
21602
+ */
21603
+ .pkt-header-service__user-menu::after {
21604
+ content: "";
21605
+ position: absolute;
21606
+ bottom: 0;
21607
+ left: 0;
21608
+ right: 0;
21609
+ height: 1.25rem;
21610
+ pointer-events: none;
21611
+ background: linear-gradient(to top, transparent, rgba(0, 0, 0, 0.06));
21612
+ transform: translateY(100%);
21613
+ }
21614
+
21615
+ .pkt-user-menu,
21616
+ .pkt-header-service__slot-menu {
21617
+ background-color: var(--pkt-color-background-default);
21618
+ border: 2px solid var(--pkt-color-border-subtle);
21619
+ position: relative;
21620
+ display: flex;
21621
+ flex-direction: column;
21622
+ gap: 1rem;
21623
+ }
21624
+ .pkt-user-menu .pkt-header-service__slot-list,
21625
+ .pkt-header-service__slot-menu .pkt-header-service__slot-list {
21626
+ margin: 2rem;
21627
+ list-style: none;
21628
+ display: flex;
21629
+ flex-direction: column;
21630
+ gap: 2rem;
21631
+ padding: 0;
21632
+ }
21633
+ .pkt-user-menu__list,
21634
+ .pkt-header-service__slot-menu__list {
21635
+ display: flex;
21636
+ flex-direction: column;
21637
+ list-style: none;
21638
+ margin: 0;
21639
+ padding: 0;
21640
+ }
21641
+ .pkt-user-menu__sublist,
21642
+ .pkt-header-service__slot-menu__sublist {
21643
+ display: flex;
21644
+ flex-direction: column;
21645
+ list-style: none;
21646
+ margin: 0;
21647
+ padding: 0;
21648
+ gap: 1.5rem;
21649
+ }
21650
+ .pkt-user-menu__item,
21651
+ .pkt-header-service__slot-menu__item {
21652
+ display: block;
21653
+ padding: 1.5rem 2rem;
21654
+ }
21655
+ .pkt-user-menu__item:nth-child(odd),
21656
+ .pkt-header-service__slot-menu__item:nth-child(odd) {
21657
+ background-color: var(--pkt-color-background-subtle);
21658
+ }
21659
+ [data-mode=dark] .pkt-user-menu__item:not(:last-child),
21660
+ [data-mode=dark] .pkt-header-service__slot-menu__item:not(:last-child) {
21661
+ border-bottom: 1px solid var(--pkt-color-border-gray);
21662
+ }
21663
+
21664
+ .pkt-user-menu__subitem,
21665
+ .pkt-header-service__slot-menu__subitem {
21666
+ display: block;
21667
+ }
21668
+ .pkt-user-menu__subitem:nth-child(odd),
21669
+ .pkt-header-service__slot-menu__subitem:nth-child(odd) {
21670
+ background-color: transparent;
21671
+ }
21672
+ .pkt-user-menu__label,
21673
+ .pkt-header-service__slot-menu__label {
21674
+ letter-spacing: -0.2px;
21675
+ font-weight: 500;
21676
+ font-size: 0.875rem;
21677
+ line-height: 1.375rem;
21678
+ color: var(--pkt-color-text-placeholder);
21679
+ margin-bottom: 0.5rem;
21680
+ }
21681
+ .pkt-user-menu__name,
21682
+ .pkt-header-service__slot-menu__name {
21683
+ letter-spacing: -0.2px;
21684
+ font-weight: 500;
21685
+ font-size: 1.125rem;
21686
+ line-height: 1.75rem;
21687
+ }
21688
+ .pkt-user-menu__description,
21689
+ .pkt-header-service__slot-menu__description {
21690
+ letter-spacing: -0.2px;
21691
+ font-weight: 300;
21692
+ font-size: 1rem;
21693
+ line-height: 1.5rem;
21694
+ }
21695
+ .pkt-user-menu__action,
21696
+ .pkt-header-service__slot-menu__action {
21697
+ margin-top: 1rem;
21698
+ }
21699
+ .pkt-user-menu__button,
21700
+ .pkt-header-service__slot-menu__button {
21701
+ font-weight: normal;
21702
+ }
21703
+ .pkt-user-menu__button:hover,
21704
+ .pkt-header-service__slot-menu__button:hover {
21705
+ background-color: none;
21706
+ }
21707
+ .pkt-user-menu__link,
21708
+ .pkt-header-service__slot-menu__link {
21709
+ letter-spacing: -0.2px;
21710
+ font-weight: 300;
21711
+ font-size: 1.125rem;
21712
+ line-height: 1.75rem;
21713
+ width: 100%;
21714
+ display: flex;
21715
+ align-items: center;
21716
+ text-decoration: none;
21717
+ transition: color 0.2s ease;
21718
+ }
21719
+ .pkt-user-menu__link .pkt-link span,
21720
+ .pkt-header-service__slot-menu__link .pkt-link span {
21721
+ align-self: anchor-center;
21722
+ }
21723
+ .pkt-user-menu__link .pkt-link__icon,
21724
+ .pkt-header-service__slot-menu__link .pkt-link__icon {
21725
+ margin-right: 0.5rem;
21726
+ align-self: baseline;
21727
+ }
21728
+
20996
21729
  pkt-heading {
20997
21730
  display: block;
20998
21731
  }