@oslokommune/punkt-css 12.34.4 → 12.35.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/CHANGELOG.md +18 -0
- package/dist/css/components/heading.css +48 -0
- package/dist/css/components/heading.min.css +1 -0
- package/dist/css/components/textinput.css +1 -1
- package/dist/css/components/textinput.min.css +1 -1
- package/dist/css/elements/checkbox-radio.css +2 -2
- package/dist/css/elements/checkbox-radio.min.css +1 -1
- package/dist/css/elements/input.css +1 -1
- package/dist/css/elements/input.min.css +1 -1
- package/dist/css/elements/select.css +1 -1
- package/dist/css/elements/select.min.css +1 -1
- package/dist/css/pkt-base.css +111 -1
- package/dist/css/pkt-base.min.css +1 -1
- package/dist/css/pkt-components.css +50 -1
- package/dist/css/pkt-components.min.css +1 -1
- package/dist/css/pkt-docs.css +163 -4
- package/dist/css/pkt-docs.min.css +1 -1
- package/dist/css/pkt-elements.css +3 -3
- package/dist/css/pkt-elements.min.css +1 -1
- package/dist/css/pkt.css +163 -4
- package/dist/css/pkt.min.css +1 -1
- package/dist/scss/abstracts/variables/_index.scss +1 -1
- package/dist/scss/abstracts/variables/_typography.scss +14 -0
- package/dist/scss/components/_heading.scss +48 -0
- package/dist/scss/components/_index.scss +1 -0
- package/package.json +2 -2
package/dist/css/pkt-docs.css
CHANGED
|
@@ -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.
|
|
14212
|
+
--svg: url(https://punkt-cdn.oslo.kommune.no/12.35/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.
|
|
18216
|
+
--svg: url(https://punkt-cdn.oslo.kommune.no/12.35/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.
|
|
18274
|
+
--svg: url(https://punkt-cdn.oslo.kommune.no/12.35/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.
|
|
18526
|
+
--svg: url(https://punkt-cdn.oslo.kommune.no/12.35/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%;
|
|
@@ -20393,6 +20503,55 @@ pkt-combobox[fullwidth] {
|
|
|
20393
20503
|
color: var(--pkt-color-text-body-dark);
|
|
20394
20504
|
}
|
|
20395
20505
|
|
|
20506
|
+
.pkt-heading {
|
|
20507
|
+
font-size: 1.5rem;
|
|
20508
|
+
font-weight: 600;
|
|
20509
|
+
line-height: 1.2;
|
|
20510
|
+
}
|
|
20511
|
+
.pkt-heading--xlarge {
|
|
20512
|
+
letter-spacing: -0.4px;
|
|
20513
|
+
font-weight: 400;
|
|
20514
|
+
font-size: 4.375rem;
|
|
20515
|
+
line-height: 5.125rem;
|
|
20516
|
+
}
|
|
20517
|
+
.pkt-heading--large {
|
|
20518
|
+
letter-spacing: -0.2px;
|
|
20519
|
+
font-weight: 400;
|
|
20520
|
+
font-size: 3rem;
|
|
20521
|
+
line-height: 3.375rem;
|
|
20522
|
+
}
|
|
20523
|
+
.pkt-heading--medium {
|
|
20524
|
+
letter-spacing: -0.2px;
|
|
20525
|
+
font-weight: 400;
|
|
20526
|
+
font-size: 1.875rem;
|
|
20527
|
+
line-height: 2.75rem;
|
|
20528
|
+
}
|
|
20529
|
+
.pkt-heading--small {
|
|
20530
|
+
letter-spacing: -0.2px;
|
|
20531
|
+
font-weight: 400;
|
|
20532
|
+
font-size: 1.5rem;
|
|
20533
|
+
line-height: 2.25rem;
|
|
20534
|
+
}
|
|
20535
|
+
.pkt-heading--xsmall {
|
|
20536
|
+
letter-spacing: -0.2px;
|
|
20537
|
+
font-weight: 400;
|
|
20538
|
+
font-size: 1.375rem;
|
|
20539
|
+
line-height: 2.125rem;
|
|
20540
|
+
}
|
|
20541
|
+
.pkt-heading--noSpacing {
|
|
20542
|
+
margin-bottom: 0;
|
|
20543
|
+
margin-top: 0;
|
|
20544
|
+
}
|
|
20545
|
+
.pkt-heading--start {
|
|
20546
|
+
text-align: start;
|
|
20547
|
+
}
|
|
20548
|
+
.pkt-heading--end {
|
|
20549
|
+
text-align: end;
|
|
20550
|
+
}
|
|
20551
|
+
.pkt-heading--center {
|
|
20552
|
+
text-align: center;
|
|
20553
|
+
}
|
|
20554
|
+
|
|
20396
20555
|
/*
|
|
20397
20556
|
* Icons
|
|
20398
20557
|
*
|