@oslokommune/punkt-css 12.34.4 → 12.36.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.
@@ -14209,7 +14209,7 @@ a:active, a.pkt-link--active,
14209
14209
  .pkt-link--external::after {
14210
14210
  display: inline-block;
14211
14211
  content: " ";
14212
- --svg: url(https://punkt-cdn.oslo.kommune.no/12.34/icons/new-window-small.svg);
14212
+ --svg: url(https://punkt-cdn.oslo.kommune.no/12.36/icons/new-window-small.svg);
14213
14213
  background-image: var(--svg);
14214
14214
  background-repeat: no-repeat;
14215
14215
  background-size: 18px 18px;
@@ -14242,6 +14242,13 @@ button.pkt-link {
14242
14242
  * origo typography
14243
14243
  * prefix pkt
14244
14244
  */
14245
+ .pkt-txt-70 {
14246
+ font-size: 4.375rem;
14247
+ font-weight: 400;
14248
+ letter-spacing: -0.4px;
14249
+ line-height: 5.125rem;
14250
+ }
14251
+
14245
14252
  .pkt-txt-54 {
14246
14253
  font-size: 3.375rem;
14247
14254
  font-weight: 400;
@@ -14249,6 +14256,13 @@ button.pkt-link {
14249
14256
  line-height: 5.125rem;
14250
14257
  }
14251
14258
 
14259
+ .pkt-txt-48 {
14260
+ font-size: 3rem;
14261
+ font-weight: 400;
14262
+ letter-spacing: -0.2px;
14263
+ line-height: 3.375rem;
14264
+ }
14265
+
14252
14266
  .pkt-txt-40 {
14253
14267
  font-size: 2.5rem;
14254
14268
  font-weight: 400;
@@ -14622,6 +14636,14 @@ button.pkt-link {
14622
14636
  font-weight: 700;
14623
14637
  }
14624
14638
 
14639
+ @media screen and (min-width: 0) {
14640
+ .pkt-txt-70--mobile-up {
14641
+ font-size: 4.375rem;
14642
+ font-weight: 400;
14643
+ letter-spacing: -0.4px;
14644
+ line-height: 5.125rem;
14645
+ }
14646
+ }
14625
14647
  @media screen and (min-width: 0) {
14626
14648
  .pkt-txt-54--mobile-up {
14627
14649
  font-size: 3.375rem;
@@ -14630,6 +14652,14 @@ button.pkt-link {
14630
14652
  line-height: 5.125rem;
14631
14653
  }
14632
14654
  }
14655
+ @media screen and (min-width: 0) {
14656
+ .pkt-txt-48--mobile-up {
14657
+ font-size: 3rem;
14658
+ font-weight: 400;
14659
+ letter-spacing: -0.2px;
14660
+ line-height: 3.375rem;
14661
+ }
14662
+ }
14633
14663
  @media screen and (min-width: 0) {
14634
14664
  .pkt-txt-40--mobile-up {
14635
14665
  font-size: 2.5rem;
@@ -15058,6 +15088,14 @@ button.pkt-link {
15058
15088
  font-weight: 700;
15059
15089
  }
15060
15090
  }
15091
+ @media screen and (min-width: 36rem) {
15092
+ .pkt-txt-70--phablet-up {
15093
+ font-size: 4.375rem;
15094
+ font-weight: 400;
15095
+ letter-spacing: -0.4px;
15096
+ line-height: 5.125rem;
15097
+ }
15098
+ }
15061
15099
  @media screen and (min-width: 36rem) {
15062
15100
  .pkt-txt-54--phablet-up {
15063
15101
  font-size: 3.375rem;
@@ -15066,6 +15104,14 @@ button.pkt-link {
15066
15104
  line-height: 5.125rem;
15067
15105
  }
15068
15106
  }
15107
+ @media screen and (min-width: 36rem) {
15108
+ .pkt-txt-48--phablet-up {
15109
+ font-size: 3rem;
15110
+ font-weight: 400;
15111
+ letter-spacing: -0.2px;
15112
+ line-height: 3.375rem;
15113
+ }
15114
+ }
15069
15115
  @media screen and (min-width: 36rem) {
15070
15116
  .pkt-txt-40--phablet-up {
15071
15117
  font-size: 2.5rem;
@@ -15494,6 +15540,14 @@ button.pkt-link {
15494
15540
  font-weight: 700;
15495
15541
  }
15496
15542
  }
15543
+ @media screen and (min-width: 48rem) {
15544
+ .pkt-txt-70--tablet-up {
15545
+ font-size: 4.375rem;
15546
+ font-weight: 400;
15547
+ letter-spacing: -0.4px;
15548
+ line-height: 5.125rem;
15549
+ }
15550
+ }
15497
15551
  @media screen and (min-width: 48rem) {
15498
15552
  .pkt-txt-54--tablet-up {
15499
15553
  font-size: 3.375rem;
@@ -15502,6 +15556,14 @@ button.pkt-link {
15502
15556
  line-height: 5.125rem;
15503
15557
  }
15504
15558
  }
15559
+ @media screen and (min-width: 48rem) {
15560
+ .pkt-txt-48--tablet-up {
15561
+ font-size: 3rem;
15562
+ font-weight: 400;
15563
+ letter-spacing: -0.2px;
15564
+ line-height: 3.375rem;
15565
+ }
15566
+ }
15505
15567
  @media screen and (min-width: 48rem) {
15506
15568
  .pkt-txt-40--tablet-up {
15507
15569
  font-size: 2.5rem;
@@ -15930,6 +15992,14 @@ button.pkt-link {
15930
15992
  font-weight: 700;
15931
15993
  }
15932
15994
  }
15995
+ @media screen and (min-width: 64rem) {
15996
+ .pkt-txt-70--tablet-big-up {
15997
+ font-size: 4.375rem;
15998
+ font-weight: 400;
15999
+ letter-spacing: -0.4px;
16000
+ line-height: 5.125rem;
16001
+ }
16002
+ }
15933
16003
  @media screen and (min-width: 64rem) {
15934
16004
  .pkt-txt-54--tablet-big-up {
15935
16005
  font-size: 3.375rem;
@@ -15938,6 +16008,14 @@ button.pkt-link {
15938
16008
  line-height: 5.125rem;
15939
16009
  }
15940
16010
  }
16011
+ @media screen and (min-width: 64rem) {
16012
+ .pkt-txt-48--tablet-big-up {
16013
+ font-size: 3rem;
16014
+ font-weight: 400;
16015
+ letter-spacing: -0.2px;
16016
+ line-height: 3.375rem;
16017
+ }
16018
+ }
15941
16019
  @media screen and (min-width: 64rem) {
15942
16020
  .pkt-txt-40--tablet-big-up {
15943
16021
  font-size: 2.5rem;
@@ -16366,6 +16444,14 @@ button.pkt-link {
16366
16444
  font-weight: 700;
16367
16445
  }
16368
16446
  }
16447
+ @media screen and (min-width: 80rem) {
16448
+ .pkt-txt-70--laptop-up {
16449
+ font-size: 4.375rem;
16450
+ font-weight: 400;
16451
+ letter-spacing: -0.4px;
16452
+ line-height: 5.125rem;
16453
+ }
16454
+ }
16369
16455
  @media screen and (min-width: 80rem) {
16370
16456
  .pkt-txt-54--laptop-up {
16371
16457
  font-size: 3.375rem;
@@ -16374,6 +16460,14 @@ button.pkt-link {
16374
16460
  line-height: 5.125rem;
16375
16461
  }
16376
16462
  }
16463
+ @media screen and (min-width: 80rem) {
16464
+ .pkt-txt-48--laptop-up {
16465
+ font-size: 3rem;
16466
+ font-weight: 400;
16467
+ letter-spacing: -0.2px;
16468
+ line-height: 3.375rem;
16469
+ }
16470
+ }
16377
16471
  @media screen and (min-width: 80rem) {
16378
16472
  .pkt-txt-40--laptop-up {
16379
16473
  font-size: 2.5rem;
@@ -16802,6 +16896,14 @@ button.pkt-link {
16802
16896
  font-weight: 700;
16803
16897
  }
16804
16898
  }
16899
+ @media screen and (min-width: 100rem) {
16900
+ .pkt-txt-70--desktop-up {
16901
+ font-size: 4.375rem;
16902
+ font-weight: 400;
16903
+ letter-spacing: -0.4px;
16904
+ line-height: 5.125rem;
16905
+ }
16906
+ }
16805
16907
  @media screen and (min-width: 100rem) {
16806
16908
  .pkt-txt-54--desktop-up {
16807
16909
  font-size: 3.375rem;
@@ -16810,6 +16912,14 @@ button.pkt-link {
16810
16912
  line-height: 5.125rem;
16811
16913
  }
16812
16914
  }
16915
+ @media screen and (min-width: 100rem) {
16916
+ .pkt-txt-48--desktop-up {
16917
+ font-size: 3rem;
16918
+ font-weight: 400;
16919
+ letter-spacing: -0.2px;
16920
+ line-height: 3.375rem;
16921
+ }
16922
+ }
16813
16923
  @media screen and (min-width: 100rem) {
16814
16924
  .pkt-txt-40--desktop-up {
16815
16925
  font-size: 2.5rem;
@@ -18103,7 +18213,7 @@ div.pkt-btn:not([data-disabled]):active, .pkt-btn:enabled:active, .pkt-btn:activ
18103
18213
  outline-color: var(--pkt-color-input-border-hover);
18104
18214
  }
18105
18215
  .pkt-input-check__input-checkbox:checked[type=checkbox] {
18106
- --svg: url(https://punkt-cdn.oslo.kommune.no/12.34/icons/check-medium.svg);
18216
+ --svg: url(https://punkt-cdn.oslo.kommune.no/12.36/icons/check-medium.svg);
18107
18217
  position: relative;
18108
18218
  background-color: var(--pkt-color-input-border-normal);
18109
18219
  }
@@ -18161,7 +18271,7 @@ div.pkt-btn:not([data-disabled]):active, .pkt-btn:enabled:active, .pkt-btn:activ
18161
18271
  cursor: not-allowed;
18162
18272
  }
18163
18273
  .pkt-input-check__input-checkbox:disabled[type=checkbox][role=switch]:checked:after {
18164
- --svg: url(https://punkt-cdn.oslo.kommune.no/12.34/icons/check-medium.svg);
18274
+ --svg: url(https://punkt-cdn.oslo.kommune.no/12.36/icons/check-medium.svg);
18165
18275
  --pkt-color-input-check-border: var(--pkt-color-input-border-normal);
18166
18276
  filter: grayscale(100%) brightness(400%);
18167
18277
  }
@@ -18413,7 +18523,7 @@ pkt-select {
18413
18523
  }
18414
18524
  .pkt-input:is(select):not([multiple]), .pkt-textinput__input:is(select):not([multiple]), .pkt-select select:is(select):not([multiple]),
18415
18525
  .pkt-select:is(select):not([multiple]) {
18416
- --svg: url(https://punkt-cdn.oslo.kommune.no/12.34/icons/chevron-thin-down.svg);
18526
+ --svg: url(https://punkt-cdn.oslo.kommune.no/12.36/icons/chevron-thin-down.svg);
18417
18527
  background-image: var(--svg);
18418
18528
  background-repeat: no-repeat;
18419
18529
  background-position: right 0.7rem top 50%;
@@ -19129,9 +19239,9 @@ pkt-accordion[compact][skin=borderless] .pkt-accordion-item--compact.pkt-accordi
19129
19239
  .pkt-accordion--compact > pkt-accordion-item > .pkt-accordion-item .pkt-accordion-item__title,
19130
19240
  pkt-accordion[compact] > .pkt-accordion-item .pkt-accordion-item__title,
19131
19241
  pkt-accordion[compact] > pkt-accordion-item > .pkt-accordion-item .pkt-accordion-item__title {
19132
- font-size: 1rem;
19133
- font-weight: 500;
19134
19242
  letter-spacing: -0.2px;
19243
+ font-weight: 500;
19244
+ font-size: 1rem;
19135
19245
  line-height: 1.5rem;
19136
19246
  padding: 1rem;
19137
19247
  }
@@ -19139,10 +19249,10 @@ pkt-accordion[compact] > pkt-accordion-item > .pkt-accordion-item .pkt-accordion
19139
19249
  .pkt-accordion--compact > pkt-accordion-item > .pkt-accordion-item .pkt-accordion-item__content,
19140
19250
  pkt-accordion[compact] > .pkt-accordion-item .pkt-accordion-item__content,
19141
19251
  pkt-accordion[compact] > pkt-accordion-item > .pkt-accordion-item .pkt-accordion-item__content {
19142
- font-size: 1rem;
19143
- font-weight: 300;
19144
19252
  letter-spacing: -0.2px;
19145
- line-height: 1.5rem;
19253
+ font-weight: 300;
19254
+ font-size: 0.875rem;
19255
+ line-height: 1.375rem;
19146
19256
  }
19147
19257
 
19148
19258
  .pkt-accordion-item {
@@ -19156,9 +19266,9 @@ pkt-accordion[compact] > pkt-accordion-item > .pkt-accordion-item .pkt-accordion
19156
19266
  display: none;
19157
19267
  }
19158
19268
  .pkt-accordion-item__title {
19159
- font-size: 1.5rem;
19160
- font-weight: 500;
19161
19269
  letter-spacing: -0.2px;
19270
+ font-weight: 500;
19271
+ font-size: 1.5rem;
19162
19272
  line-height: 2.25rem;
19163
19273
  align-items: center;
19164
19274
  cursor: pointer;
@@ -19179,9 +19289,9 @@ pkt-accordion[compact] > pkt-accordion-item > .pkt-accordion-item .pkt-accordion
19179
19289
  transition: transform 0.2s;
19180
19290
  }
19181
19291
  .pkt-accordion-item__content {
19182
- font-size: 1.125rem;
19183
- font-weight: 300;
19184
19292
  letter-spacing: -0.2px;
19293
+ font-weight: 300;
19294
+ font-size: 1.125rem;
19185
19295
  line-height: 1.75rem;
19186
19296
  padding: 1.5rem;
19187
19297
  border-top: none;
@@ -19209,17 +19319,17 @@ pkt-accordion[compact] > pkt-accordion-item > .pkt-accordion-item .pkt-accordion
19209
19319
  }
19210
19320
 
19211
19321
  .pkt-accordion-item--compact .pkt-accordion-item__title {
19212
- font-size: 1rem;
19213
- font-weight: 500;
19214
19322
  letter-spacing: -0.2px;
19323
+ font-weight: 500;
19324
+ font-size: 1rem;
19215
19325
  line-height: 1.5rem;
19216
19326
  padding: 1rem;
19217
19327
  }
19218
19328
  .pkt-accordion-item--compact .pkt-accordion-item__content {
19219
- font-size: 1rem;
19220
- font-weight: 300;
19221
19329
  letter-spacing: -0.2px;
19222
- line-height: 1.5rem;
19330
+ font-weight: 300;
19331
+ font-size: 0.875rem;
19332
+ line-height: 1.375rem;
19223
19333
  }
19224
19334
 
19225
19335
  .pkt-accordion-item[open] .pkt-accordion-item__title {
@@ -19431,6 +19541,25 @@ pkt-alert {
19431
19541
  transform: translateY(-0.1em);
19432
19542
  }
19433
19543
 
19544
+ .pkt-bodytext--large {
19545
+ letter-spacing: -0.2px;
19546
+ font-weight: 300;
19547
+ font-size: 1.5rem;
19548
+ line-height: 2.25rem;
19549
+ }
19550
+ .pkt-bodytext--medium {
19551
+ letter-spacing: -0.2px;
19552
+ font-weight: 300;
19553
+ font-size: 1.125rem;
19554
+ line-height: 1.75rem;
19555
+ }
19556
+ .pkt-bodytext--small {
19557
+ letter-spacing: -0.2px;
19558
+ font-weight: 300;
19559
+ font-size: 1rem;
19560
+ line-height: 1.5rem;
19561
+ }
19562
+
19434
19563
  /*
19435
19564
  * Breadcrumbs component
19436
19565
  */
@@ -20393,6 +20522,55 @@ pkt-combobox[fullwidth] {
20393
20522
  color: var(--pkt-color-text-body-dark);
20394
20523
  }
20395
20524
 
20525
+ .pkt-heading {
20526
+ font-size: 1.5rem;
20527
+ font-weight: 600;
20528
+ line-height: 1.2;
20529
+ }
20530
+ .pkt-heading--xlarge {
20531
+ letter-spacing: -0.4px;
20532
+ font-weight: 400;
20533
+ font-size: 4.375rem;
20534
+ line-height: 5.125rem;
20535
+ }
20536
+ .pkt-heading--large {
20537
+ letter-spacing: -0.2px;
20538
+ font-weight: 400;
20539
+ font-size: 3rem;
20540
+ line-height: 3.375rem;
20541
+ }
20542
+ .pkt-heading--medium {
20543
+ letter-spacing: -0.2px;
20544
+ font-weight: 400;
20545
+ font-size: 1.875rem;
20546
+ line-height: 2.75rem;
20547
+ }
20548
+ .pkt-heading--small {
20549
+ letter-spacing: -0.2px;
20550
+ font-weight: 400;
20551
+ font-size: 1.5rem;
20552
+ line-height: 2.25rem;
20553
+ }
20554
+ .pkt-heading--xsmall {
20555
+ letter-spacing: -0.2px;
20556
+ font-weight: 400;
20557
+ font-size: 1.375rem;
20558
+ line-height: 2.125rem;
20559
+ }
20560
+ .pkt-heading--noSpacing {
20561
+ margin-bottom: 0;
20562
+ margin-top: 0;
20563
+ }
20564
+ .pkt-heading--start {
20565
+ text-align: start;
20566
+ }
20567
+ .pkt-heading--end {
20568
+ text-align: end;
20569
+ }
20570
+ .pkt-heading--center {
20571
+ text-align: center;
20572
+ }
20573
+
20396
20574
  /*
20397
20575
  * Icons
20398
20576
  *