@oslokommune/punkt-css 17.0.8 → 17.0.10
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/combobox.css +12 -18
- package/dist/css/components/combobox.min.css +1 -1
- package/dist/css/pkt-base.css +106 -107
- package/dist/css/pkt-base.min.css +1 -1
- package/dist/css/pkt-components.css +12 -18
- package/dist/css/pkt-components.min.css +1 -1
- package/dist/css/pkt-docs.css +118 -125
- package/dist/css/pkt-docs.min.css +1 -1
- package/dist/css/pkt.css +118 -125
- package/dist/css/pkt.layer.css +113 -117
- package/dist/css/pkt.layer.min.css +1 -1
- package/dist/css/pkt.min.css +1 -1
- package/dist/scss/base/_defaults.scss +5 -0
- package/dist/scss/base/_index.scss +1 -0
- package/dist/scss/base/_link.scss +136 -0
- package/dist/scss/base/_typography.scss +0 -139
- package/dist/scss/components/_combobox.scss +40 -41
- package/package.json +2 -2
package/dist/css/pkt.css
CHANGED
|
@@ -555,6 +555,10 @@ body {
|
|
|
555
555
|
scroll-behavior: smooth;
|
|
556
556
|
}
|
|
557
557
|
|
|
558
|
+
.pkt-contents {
|
|
559
|
+
display: contents;
|
|
560
|
+
}
|
|
561
|
+
|
|
558
562
|
/*
|
|
559
563
|
* Typografi
|
|
560
564
|
*
|
|
@@ -587,109 +591,6 @@ strong {
|
|
|
587
591
|
font-weight: 500;
|
|
588
592
|
}
|
|
589
593
|
|
|
590
|
-
a,
|
|
591
|
-
.pkt-link-button {
|
|
592
|
-
color: var(--pkt-color-text-action-normal);
|
|
593
|
-
text-decoration: underline;
|
|
594
|
-
word-wrap: break-word;
|
|
595
|
-
cursor: pointer;
|
|
596
|
-
}
|
|
597
|
-
a span,
|
|
598
|
-
.pkt-link-button span {
|
|
599
|
-
color: inherit;
|
|
600
|
-
text-decoration: inherit;
|
|
601
|
-
}
|
|
602
|
-
a:visited:not(.pkt-linkcard, .pkt-btn, .pkt-tabs__link):not(:hover),
|
|
603
|
-
.pkt-link-button:visited:not(.pkt-linkcard, .pkt-btn, .pkt-tabs__link):not(:hover) {
|
|
604
|
-
color: inherit;
|
|
605
|
-
}
|
|
606
|
-
a:hover, a.pkt-link--hover,
|
|
607
|
-
.pkt-link-button:hover,
|
|
608
|
-
.pkt-link-button.pkt-link--hover {
|
|
609
|
-
color: var(--pkt-color-text-action-active);
|
|
610
|
-
text-decoration: underline;
|
|
611
|
-
}
|
|
612
|
-
a:hover svg, a.pkt-link--hover svg,
|
|
613
|
-
.pkt-link-button:hover svg,
|
|
614
|
-
.pkt-link-button.pkt-link--hover svg {
|
|
615
|
-
--fg-color: currentColor;
|
|
616
|
-
}
|
|
617
|
-
a:focus-visible, a.pkt-link--focus,
|
|
618
|
-
.pkt-link-button:focus-visible,
|
|
619
|
-
.pkt-link-button.pkt-link--focus {
|
|
620
|
-
box-shadow: 0px 0px 0px 0.125rem var(--pkt-color-text-action-active), 0px 0px 0px 0.375rem var(--pkt-color-border-states-focus);
|
|
621
|
-
outline: none;
|
|
622
|
-
color: var(--pkt-color-text-action-active);
|
|
623
|
-
}
|
|
624
|
-
a:focus:not(:focus-visible),
|
|
625
|
-
.pkt-link-button:focus:not(:focus-visible) {
|
|
626
|
-
box-shadow: none;
|
|
627
|
-
outline: 0.125rem solid var(--pkt-color-text-action-active);
|
|
628
|
-
color: var(--pkt-color-text-action-active);
|
|
629
|
-
}
|
|
630
|
-
a:active, a.pkt-link--active,
|
|
631
|
-
.pkt-link-button:active,
|
|
632
|
-
.pkt-link-button.pkt-link--active {
|
|
633
|
-
color: var(--pkt-color-text-action-active);
|
|
634
|
-
}
|
|
635
|
-
|
|
636
|
-
.pkt-link {
|
|
637
|
-
display: inline;
|
|
638
|
-
text-align: left;
|
|
639
|
-
align-items: baseline;
|
|
640
|
-
}
|
|
641
|
-
|
|
642
|
-
.pkt-link__icon {
|
|
643
|
-
--fg-color: currentColor;
|
|
644
|
-
width: 1.5rem;
|
|
645
|
-
height: 1.5rem;
|
|
646
|
-
flex-shrink: 0;
|
|
647
|
-
margin-inline: 0.25rem;
|
|
648
|
-
align-self: center;
|
|
649
|
-
}
|
|
650
|
-
.pkt-link--icon-left, .pkt-link--icon-right {
|
|
651
|
-
display: inline-flex;
|
|
652
|
-
text-decoration: none;
|
|
653
|
-
align-items: baseline;
|
|
654
|
-
}
|
|
655
|
-
.pkt-link--icon-left {
|
|
656
|
-
flex-direction: row;
|
|
657
|
-
}
|
|
658
|
-
.pkt-link--icon-right {
|
|
659
|
-
flex-direction: row-reverse;
|
|
660
|
-
}
|
|
661
|
-
.pkt-link--external::after {
|
|
662
|
-
display: inline-block;
|
|
663
|
-
content: " ";
|
|
664
|
-
--svg: url(https://punkt-cdn.oslo.kommune.no/17.0/icons/new-window-small.svg);
|
|
665
|
-
background-image: var(--svg);
|
|
666
|
-
background-repeat: no-repeat;
|
|
667
|
-
background-size: 18px 18px;
|
|
668
|
-
width: 1.125rem;
|
|
669
|
-
height: 1.125rem;
|
|
670
|
-
vertical-align: middle;
|
|
671
|
-
align-self: center;
|
|
672
|
-
}
|
|
673
|
-
.pkt-link--external:hover::after {
|
|
674
|
-
filter: brightness(0) saturate(100%) invert(16%) sepia(99%) saturate(2420%) hue-rotate(222deg) brightness(93%) contrast(90%);
|
|
675
|
-
}
|
|
676
|
-
|
|
677
|
-
button.pkt-link {
|
|
678
|
-
background: none;
|
|
679
|
-
border: none;
|
|
680
|
-
padding: 0;
|
|
681
|
-
font-family: inherit;
|
|
682
|
-
cursor: pointer;
|
|
683
|
-
font-weight: inherit;
|
|
684
|
-
}
|
|
685
|
-
|
|
686
|
-
[data-mode=dark] .pkt-link--external::after {
|
|
687
|
-
filter: brightness(0) saturate(100%) invert(100%);
|
|
688
|
-
}
|
|
689
|
-
[data-mode=dark] .pkt-link--external:hover::after, [data-mode=dark] .pkt-link:hover:not(.pkt-btn) pkt-icon, [data-mode=dark] .pkt-link:hover:not(.pkt-btn) .pkt-icon {
|
|
690
|
-
filter: brightness(0) saturate(100%) invert(80%) sepia(54%) saturate(502%) hue-rotate(173deg) brightness(109%) contrast(105%);
|
|
691
|
-
}
|
|
692
|
-
|
|
693
594
|
/*
|
|
694
595
|
* origo typography
|
|
695
596
|
* prefix pkt
|
|
@@ -3142,11 +3043,109 @@ button.pkt-link {
|
|
|
3142
3043
|
}
|
|
3143
3044
|
|
|
3144
3045
|
/*
|
|
3145
|
-
*
|
|
3046
|
+
* Link
|
|
3146
3047
|
*/
|
|
3147
|
-
|
|
3148
|
-
.pkt-
|
|
3149
|
-
|
|
3048
|
+
a,
|
|
3049
|
+
.pkt-link-button {
|
|
3050
|
+
color: var(--pkt-color-text-action-normal);
|
|
3051
|
+
text-decoration: underline;
|
|
3052
|
+
word-wrap: break-word;
|
|
3053
|
+
cursor: pointer;
|
|
3054
|
+
}
|
|
3055
|
+
a span,
|
|
3056
|
+
.pkt-link-button span {
|
|
3057
|
+
color: inherit;
|
|
3058
|
+
text-decoration: inherit;
|
|
3059
|
+
}
|
|
3060
|
+
a:visited:not(.pkt-linkcard, .pkt-btn, .pkt-tabs__link):not(:hover),
|
|
3061
|
+
.pkt-link-button:visited:not(.pkt-linkcard, .pkt-btn, .pkt-tabs__link):not(:hover) {
|
|
3062
|
+
color: inherit;
|
|
3063
|
+
}
|
|
3064
|
+
a:hover, a.pkt-link--hover,
|
|
3065
|
+
.pkt-link-button:hover,
|
|
3066
|
+
.pkt-link-button.pkt-link--hover {
|
|
3067
|
+
color: var(--pkt-color-text-action-active);
|
|
3068
|
+
text-decoration: underline;
|
|
3069
|
+
}
|
|
3070
|
+
a:hover svg, a.pkt-link--hover svg,
|
|
3071
|
+
.pkt-link-button:hover svg,
|
|
3072
|
+
.pkt-link-button.pkt-link--hover svg {
|
|
3073
|
+
--fg-color: currentColor;
|
|
3074
|
+
}
|
|
3075
|
+
a:focus-visible, a.pkt-link--focus,
|
|
3076
|
+
.pkt-link-button:focus-visible,
|
|
3077
|
+
.pkt-link-button.pkt-link--focus {
|
|
3078
|
+
box-shadow: 0px 0px 0px 0.125rem var(--pkt-color-text-action-active), 0px 0px 0px 0.375rem var(--pkt-color-border-states-focus);
|
|
3079
|
+
outline: none;
|
|
3080
|
+
color: var(--pkt-color-text-action-active);
|
|
3081
|
+
}
|
|
3082
|
+
a:focus:not(:focus-visible),
|
|
3083
|
+
.pkt-link-button:focus:not(:focus-visible) {
|
|
3084
|
+
box-shadow: none;
|
|
3085
|
+
outline: 0.125rem solid var(--pkt-color-text-action-active);
|
|
3086
|
+
color: var(--pkt-color-text-action-active);
|
|
3087
|
+
}
|
|
3088
|
+
a:active, a.pkt-link--active,
|
|
3089
|
+
.pkt-link-button:active,
|
|
3090
|
+
.pkt-link-button.pkt-link--active {
|
|
3091
|
+
color: var(--pkt-color-text-action-active);
|
|
3092
|
+
}
|
|
3093
|
+
|
|
3094
|
+
.pkt-link {
|
|
3095
|
+
display: inline;
|
|
3096
|
+
text-align: left;
|
|
3097
|
+
align-items: baseline;
|
|
3098
|
+
}
|
|
3099
|
+
|
|
3100
|
+
.pkt-link__icon {
|
|
3101
|
+
--fg-color: currentColor;
|
|
3102
|
+
width: 1.5rem;
|
|
3103
|
+
height: 1.5rem;
|
|
3104
|
+
flex-shrink: 0;
|
|
3105
|
+
margin-inline: 0.25rem;
|
|
3106
|
+
align-self: center;
|
|
3107
|
+
}
|
|
3108
|
+
.pkt-link--icon-left, .pkt-link--icon-right {
|
|
3109
|
+
display: inline-flex;
|
|
3110
|
+
text-decoration: none;
|
|
3111
|
+
align-items: baseline;
|
|
3112
|
+
}
|
|
3113
|
+
.pkt-link--icon-left {
|
|
3114
|
+
flex-direction: row;
|
|
3115
|
+
}
|
|
3116
|
+
.pkt-link--icon-right {
|
|
3117
|
+
flex-direction: row-reverse;
|
|
3118
|
+
}
|
|
3119
|
+
.pkt-link--external::after {
|
|
3120
|
+
display: inline-block;
|
|
3121
|
+
content: " ";
|
|
3122
|
+
--svg: url(https://punkt-cdn.oslo.kommune.no/17.0/icons/new-window-small.svg);
|
|
3123
|
+
background-image: var(--svg);
|
|
3124
|
+
background-repeat: no-repeat;
|
|
3125
|
+
background-size: 18px 18px;
|
|
3126
|
+
width: 1.125rem;
|
|
3127
|
+
height: 1.125rem;
|
|
3128
|
+
vertical-align: middle;
|
|
3129
|
+
align-self: center;
|
|
3130
|
+
}
|
|
3131
|
+
.pkt-link--external:hover::after {
|
|
3132
|
+
filter: brightness(0) saturate(100%) invert(16%) sepia(99%) saturate(2420%) hue-rotate(222deg) brightness(93%) contrast(90%);
|
|
3133
|
+
}
|
|
3134
|
+
|
|
3135
|
+
button.pkt-link {
|
|
3136
|
+
background: none;
|
|
3137
|
+
border: none;
|
|
3138
|
+
padding: 0;
|
|
3139
|
+
font-family: inherit;
|
|
3140
|
+
cursor: pointer;
|
|
3141
|
+
font-weight: inherit;
|
|
3142
|
+
}
|
|
3143
|
+
|
|
3144
|
+
[data-mode=dark] .pkt-link--external::after {
|
|
3145
|
+
filter: brightness(0) saturate(100%) invert(100%);
|
|
3146
|
+
}
|
|
3147
|
+
[data-mode=dark] .pkt-link--external:hover::after, [data-mode=dark] .pkt-link:hover:not(.pkt-btn) pkt-icon, [data-mode=dark] .pkt-link:hover:not(.pkt-btn) .pkt-icon {
|
|
3148
|
+
filter: brightness(0) saturate(100%) invert(80%) sepia(54%) saturate(502%) hue-rotate(173deg) brightness(109%) contrast(105%);
|
|
3150
3149
|
}
|
|
3151
3150
|
|
|
3152
3151
|
/*
|
|
@@ -19830,59 +19829,53 @@ pkt-combobox[fullwidth], pkt-combobox--fullwidth,
|
|
|
19830
19829
|
.pkt-combobox__wrapper .pkt-listbox__open {
|
|
19831
19830
|
margin-block-start: 0.5rem;
|
|
19832
19831
|
}
|
|
19833
|
-
|
|
19834
|
-
.pkt-inputwrapper:not([data-navtype=pointer]) .pkt-combobox__input:focus-within {
|
|
19832
|
+
.pkt-combobox__wrapper.pkt-inputwrapper:not([data-navtype=pointer]) .pkt-combobox__input:focus-within {
|
|
19835
19833
|
outline: 4px solid var(--pkt-color-border-states-focus);
|
|
19836
19834
|
}
|
|
19837
|
-
|
|
19838
|
-
.pkt-inputwrapper--small .pkt-listbox .pkt-listbox__option:not(.pkt-listbox__search),
|
|
19839
|
-
.pkt-inputwrapper--xsmall .pkt-listbox .pkt-listbox__option:not(.pkt-listbox__search) {
|
|
19835
|
+
.pkt-combobox__wrapper.pkt-inputwrapper--small .pkt-listbox .pkt-listbox__option:not(.pkt-listbox__search), .pkt-combobox__wrapper.pkt-inputwrapper--xsmall .pkt-listbox .pkt-listbox__option:not(.pkt-listbox__search) {
|
|
19840
19836
|
padding: 0.5rem 1rem;
|
|
19841
19837
|
letter-spacing: -0.2px;
|
|
19842
19838
|
font-weight: 300;
|
|
19843
19839
|
font-size: 1rem;
|
|
19844
19840
|
line-height: 1.5rem;
|
|
19845
19841
|
}
|
|
19846
|
-
.pkt-inputwrapper--small .pkt-listbox .pkt-listbox__empty,
|
|
19847
|
-
.pkt-inputwrapper--small .pkt-listbox .pkt-listbox__banner,
|
|
19848
|
-
.pkt-inputwrapper--xsmall .pkt-listbox .pkt-
|
|
19849
|
-
.pkt-inputwrapper--xsmall .pkt-listbox .pkt-listbox__banner {
|
|
19842
|
+
.pkt-combobox__wrapper.pkt-inputwrapper--small .pkt-listbox .pkt-listbox__empty,
|
|
19843
|
+
.pkt-combobox__wrapper.pkt-inputwrapper--small .pkt-listbox .pkt-listbox__banner, .pkt-combobox__wrapper.pkt-inputwrapper--xsmall .pkt-listbox .pkt-listbox__empty,
|
|
19844
|
+
.pkt-combobox__wrapper.pkt-inputwrapper--xsmall .pkt-listbox .pkt-listbox__banner {
|
|
19850
19845
|
padding: 0.5rem 1rem;
|
|
19851
19846
|
letter-spacing: -0.2px;
|
|
19852
19847
|
font-weight: 300;
|
|
19853
19848
|
font-size: 1rem;
|
|
19854
19849
|
line-height: 1.5rem;
|
|
19855
19850
|
}
|
|
19856
|
-
.pkt-inputwrapper--small .pkt-listbox .pkt-listbox__search input,
|
|
19857
|
-
.pkt-inputwrapper--xsmall .pkt-listbox .pkt-listbox__search input {
|
|
19851
|
+
.pkt-combobox__wrapper.pkt-inputwrapper--small .pkt-listbox .pkt-listbox__search input, .pkt-combobox__wrapper.pkt-inputwrapper--xsmall .pkt-listbox .pkt-listbox__search input {
|
|
19858
19852
|
padding: 0.5rem 0.75rem;
|
|
19859
19853
|
letter-spacing: -0.2px;
|
|
19860
19854
|
font-weight: 300;
|
|
19861
19855
|
font-size: 1rem;
|
|
19862
19856
|
line-height: 1.5rem;
|
|
19863
19857
|
}
|
|
19864
|
-
|
|
19865
|
-
.pkt-inputwrapper--xsmall .pkt-listbox .pkt-listbox__option:not(.pkt-listbox__search) {
|
|
19858
|
+
.pkt-combobox__wrapper.pkt-inputwrapper--xsmall .pkt-listbox .pkt-listbox__option:not(.pkt-listbox__search) {
|
|
19866
19859
|
padding: 0.375rem 0.75rem;
|
|
19867
19860
|
letter-spacing: -0.2px;
|
|
19868
19861
|
font-weight: 300;
|
|
19869
19862
|
font-size: 0.875rem;
|
|
19870
19863
|
line-height: 1.375rem;
|
|
19871
19864
|
}
|
|
19872
|
-
.pkt-inputwrapper--xsmall .pkt-listbox .pkt-listbox__empty,
|
|
19873
|
-
.pkt-inputwrapper--xsmall .pkt-listbox .pkt-listbox__banner {
|
|
19865
|
+
.pkt-combobox__wrapper.pkt-inputwrapper--xsmall .pkt-listbox .pkt-listbox__empty,
|
|
19866
|
+
.pkt-combobox__wrapper.pkt-inputwrapper--xsmall .pkt-listbox .pkt-listbox__banner {
|
|
19874
19867
|
padding: 0.375rem 0.75rem;
|
|
19875
19868
|
letter-spacing: -0.2px;
|
|
19876
19869
|
font-weight: 300;
|
|
19877
19870
|
font-size: 0.875rem;
|
|
19878
19871
|
line-height: 1.375rem;
|
|
19879
19872
|
}
|
|
19880
|
-
.pkt-inputwrapper--xsmall .pkt-listbox .pkt-listbox__banner-icon,
|
|
19881
|
-
.pkt-inputwrapper--xsmall .pkt-listbox .pkt-listbox__search-icon .pkt-icon {
|
|
19873
|
+
.pkt-combobox__wrapper.pkt-inputwrapper--xsmall .pkt-listbox .pkt-listbox__banner-icon,
|
|
19874
|
+
.pkt-combobox__wrapper.pkt-inputwrapper--xsmall .pkt-listbox .pkt-listbox__search-icon .pkt-icon {
|
|
19882
19875
|
width: 1.125rem;
|
|
19883
19876
|
height: 1.125rem;
|
|
19884
19877
|
}
|
|
19885
|
-
.pkt-inputwrapper--xsmall .pkt-listbox .pkt-listbox__search input {
|
|
19878
|
+
.pkt-combobox__wrapper.pkt-inputwrapper--xsmall .pkt-listbox .pkt-listbox__search input {
|
|
19886
19879
|
padding: 0.375rem 0.5rem;
|
|
19887
19880
|
letter-spacing: -0.2px;
|
|
19888
19881
|
font-weight: 300;
|
package/dist/css/pkt.layer.css
CHANGED
|
@@ -525,6 +525,9 @@
|
|
|
525
525
|
text-rendering: optimizeSpeed;
|
|
526
526
|
scroll-behavior: smooth;
|
|
527
527
|
}
|
|
528
|
+
.pkt-contents {
|
|
529
|
+
display: contents;
|
|
530
|
+
}
|
|
528
531
|
/*
|
|
529
532
|
* Typografi
|
|
530
533
|
*
|
|
@@ -552,104 +555,6 @@
|
|
|
552
555
|
strong {
|
|
553
556
|
font-weight: 500;
|
|
554
557
|
}
|
|
555
|
-
a,
|
|
556
|
-
.pkt-link-button {
|
|
557
|
-
color: var(--pkt-color-text-action-normal);
|
|
558
|
-
text-decoration: underline;
|
|
559
|
-
word-wrap: break-word;
|
|
560
|
-
cursor: pointer;
|
|
561
|
-
}
|
|
562
|
-
a span,
|
|
563
|
-
.pkt-link-button span {
|
|
564
|
-
color: inherit;
|
|
565
|
-
text-decoration: inherit;
|
|
566
|
-
}
|
|
567
|
-
a:visited:not(.pkt-linkcard, .pkt-btn, .pkt-tabs__link):not(:hover),
|
|
568
|
-
.pkt-link-button:visited:not(.pkt-linkcard, .pkt-btn, .pkt-tabs__link):not(:hover) {
|
|
569
|
-
color: inherit;
|
|
570
|
-
}
|
|
571
|
-
a:hover, a.pkt-link--hover,
|
|
572
|
-
.pkt-link-button:hover,
|
|
573
|
-
.pkt-link-button.pkt-link--hover {
|
|
574
|
-
color: var(--pkt-color-text-action-active);
|
|
575
|
-
text-decoration: underline;
|
|
576
|
-
}
|
|
577
|
-
a:hover svg, a.pkt-link--hover svg,
|
|
578
|
-
.pkt-link-button:hover svg,
|
|
579
|
-
.pkt-link-button.pkt-link--hover svg {
|
|
580
|
-
--fg-color: currentColor;
|
|
581
|
-
}
|
|
582
|
-
a:focus-visible, a.pkt-link--focus,
|
|
583
|
-
.pkt-link-button:focus-visible,
|
|
584
|
-
.pkt-link-button.pkt-link--focus {
|
|
585
|
-
box-shadow: 0px 0px 0px 0.125rem var(--pkt-color-text-action-active), 0px 0px 0px 0.375rem var(--pkt-color-border-states-focus);
|
|
586
|
-
outline: none;
|
|
587
|
-
color: var(--pkt-color-text-action-active);
|
|
588
|
-
}
|
|
589
|
-
a:focus:not(:focus-visible),
|
|
590
|
-
.pkt-link-button:focus:not(:focus-visible) {
|
|
591
|
-
box-shadow: none;
|
|
592
|
-
outline: 0.125rem solid var(--pkt-color-text-action-active);
|
|
593
|
-
color: var(--pkt-color-text-action-active);
|
|
594
|
-
}
|
|
595
|
-
a:active, a.pkt-link--active,
|
|
596
|
-
.pkt-link-button:active,
|
|
597
|
-
.pkt-link-button.pkt-link--active {
|
|
598
|
-
color: var(--pkt-color-text-action-active);
|
|
599
|
-
}
|
|
600
|
-
.pkt-link {
|
|
601
|
-
display: inline;
|
|
602
|
-
text-align: left;
|
|
603
|
-
align-items: baseline;
|
|
604
|
-
}
|
|
605
|
-
.pkt-link__icon {
|
|
606
|
-
--fg-color: currentColor;
|
|
607
|
-
width: 1.5rem;
|
|
608
|
-
height: 1.5rem;
|
|
609
|
-
flex-shrink: 0;
|
|
610
|
-
margin-inline: 0.25rem;
|
|
611
|
-
align-self: center;
|
|
612
|
-
}
|
|
613
|
-
.pkt-link--icon-left, .pkt-link--icon-right {
|
|
614
|
-
display: inline-flex;
|
|
615
|
-
text-decoration: none;
|
|
616
|
-
align-items: baseline;
|
|
617
|
-
}
|
|
618
|
-
.pkt-link--icon-left {
|
|
619
|
-
flex-direction: row;
|
|
620
|
-
}
|
|
621
|
-
.pkt-link--icon-right {
|
|
622
|
-
flex-direction: row-reverse;
|
|
623
|
-
}
|
|
624
|
-
.pkt-link--external::after {
|
|
625
|
-
display: inline-block;
|
|
626
|
-
content: " ";
|
|
627
|
-
--svg: url(https://punkt-cdn.oslo.kommune.no/17.0/icons/new-window-small.svg);
|
|
628
|
-
background-image: var(--svg);
|
|
629
|
-
background-repeat: no-repeat;
|
|
630
|
-
background-size: 18px 18px;
|
|
631
|
-
width: 1.125rem;
|
|
632
|
-
height: 1.125rem;
|
|
633
|
-
vertical-align: middle;
|
|
634
|
-
align-self: center;
|
|
635
|
-
}
|
|
636
|
-
.pkt-link--external:hover::after {
|
|
637
|
-
filter: brightness(0) saturate(100%) invert(16%) sepia(99%) saturate(2420%) hue-rotate(222deg) brightness(93%) contrast(90%);
|
|
638
|
-
}
|
|
639
|
-
button.pkt-link {
|
|
640
|
-
background: none;
|
|
641
|
-
border: none;
|
|
642
|
-
padding: 0;
|
|
643
|
-
font-family: inherit;
|
|
644
|
-
cursor: pointer;
|
|
645
|
-
font-weight: inherit;
|
|
646
|
-
}
|
|
647
|
-
[data-mode=dark] .pkt-link--external::after {
|
|
648
|
-
filter: brightness(0) saturate(100%) invert(100%);
|
|
649
|
-
}
|
|
650
|
-
[data-mode=dark] .pkt-link--external:hover::after, [data-mode=dark] .pkt-link:hover:not(.pkt-btn) pkt-icon, [data-mode=dark] .pkt-link:hover:not(.pkt-btn) .pkt-icon {
|
|
651
|
-
filter: brightness(0) saturate(100%) invert(80%) sepia(54%) saturate(502%) hue-rotate(173deg) brightness(109%) contrast(105%);
|
|
652
|
-
}
|
|
653
558
|
/*
|
|
654
559
|
* origo typography
|
|
655
560
|
* prefix pkt
|
|
@@ -3040,11 +2945,105 @@
|
|
|
3040
2945
|
white-space: nowrap;
|
|
3041
2946
|
}
|
|
3042
2947
|
/*
|
|
3043
|
-
*
|
|
2948
|
+
* Link
|
|
3044
2949
|
*/
|
|
3045
|
-
|
|
3046
|
-
.pkt-
|
|
3047
|
-
|
|
2950
|
+
a,
|
|
2951
|
+
.pkt-link-button {
|
|
2952
|
+
color: var(--pkt-color-text-action-normal);
|
|
2953
|
+
text-decoration: underline;
|
|
2954
|
+
word-wrap: break-word;
|
|
2955
|
+
cursor: pointer;
|
|
2956
|
+
}
|
|
2957
|
+
a span,
|
|
2958
|
+
.pkt-link-button span {
|
|
2959
|
+
color: inherit;
|
|
2960
|
+
text-decoration: inherit;
|
|
2961
|
+
}
|
|
2962
|
+
a:visited:not(.pkt-linkcard, .pkt-btn, .pkt-tabs__link):not(:hover),
|
|
2963
|
+
.pkt-link-button:visited:not(.pkt-linkcard, .pkt-btn, .pkt-tabs__link):not(:hover) {
|
|
2964
|
+
color: inherit;
|
|
2965
|
+
}
|
|
2966
|
+
a:hover, a.pkt-link--hover,
|
|
2967
|
+
.pkt-link-button:hover,
|
|
2968
|
+
.pkt-link-button.pkt-link--hover {
|
|
2969
|
+
color: var(--pkt-color-text-action-active);
|
|
2970
|
+
text-decoration: underline;
|
|
2971
|
+
}
|
|
2972
|
+
a:hover svg, a.pkt-link--hover svg,
|
|
2973
|
+
.pkt-link-button:hover svg,
|
|
2974
|
+
.pkt-link-button.pkt-link--hover svg {
|
|
2975
|
+
--fg-color: currentColor;
|
|
2976
|
+
}
|
|
2977
|
+
a:focus-visible, a.pkt-link--focus,
|
|
2978
|
+
.pkt-link-button:focus-visible,
|
|
2979
|
+
.pkt-link-button.pkt-link--focus {
|
|
2980
|
+
box-shadow: 0px 0px 0px 0.125rem var(--pkt-color-text-action-active), 0px 0px 0px 0.375rem var(--pkt-color-border-states-focus);
|
|
2981
|
+
outline: none;
|
|
2982
|
+
color: var(--pkt-color-text-action-active);
|
|
2983
|
+
}
|
|
2984
|
+
a:focus:not(:focus-visible),
|
|
2985
|
+
.pkt-link-button:focus:not(:focus-visible) {
|
|
2986
|
+
box-shadow: none;
|
|
2987
|
+
outline: 0.125rem solid var(--pkt-color-text-action-active);
|
|
2988
|
+
color: var(--pkt-color-text-action-active);
|
|
2989
|
+
}
|
|
2990
|
+
a:active, a.pkt-link--active,
|
|
2991
|
+
.pkt-link-button:active,
|
|
2992
|
+
.pkt-link-button.pkt-link--active {
|
|
2993
|
+
color: var(--pkt-color-text-action-active);
|
|
2994
|
+
}
|
|
2995
|
+
.pkt-link {
|
|
2996
|
+
display: inline;
|
|
2997
|
+
text-align: left;
|
|
2998
|
+
align-items: baseline;
|
|
2999
|
+
}
|
|
3000
|
+
.pkt-link__icon {
|
|
3001
|
+
--fg-color: currentColor;
|
|
3002
|
+
width: 1.5rem;
|
|
3003
|
+
height: 1.5rem;
|
|
3004
|
+
flex-shrink: 0;
|
|
3005
|
+
margin-inline: 0.25rem;
|
|
3006
|
+
align-self: center;
|
|
3007
|
+
}
|
|
3008
|
+
.pkt-link--icon-left, .pkt-link--icon-right {
|
|
3009
|
+
display: inline-flex;
|
|
3010
|
+
text-decoration: none;
|
|
3011
|
+
align-items: baseline;
|
|
3012
|
+
}
|
|
3013
|
+
.pkt-link--icon-left {
|
|
3014
|
+
flex-direction: row;
|
|
3015
|
+
}
|
|
3016
|
+
.pkt-link--icon-right {
|
|
3017
|
+
flex-direction: row-reverse;
|
|
3018
|
+
}
|
|
3019
|
+
.pkt-link--external::after {
|
|
3020
|
+
display: inline-block;
|
|
3021
|
+
content: " ";
|
|
3022
|
+
--svg: url(https://punkt-cdn.oslo.kommune.no/17.0/icons/new-window-small.svg);
|
|
3023
|
+
background-image: var(--svg);
|
|
3024
|
+
background-repeat: no-repeat;
|
|
3025
|
+
background-size: 18px 18px;
|
|
3026
|
+
width: 1.125rem;
|
|
3027
|
+
height: 1.125rem;
|
|
3028
|
+
vertical-align: middle;
|
|
3029
|
+
align-self: center;
|
|
3030
|
+
}
|
|
3031
|
+
.pkt-link--external:hover::after {
|
|
3032
|
+
filter: brightness(0) saturate(100%) invert(16%) sepia(99%) saturate(2420%) hue-rotate(222deg) brightness(93%) contrast(90%);
|
|
3033
|
+
}
|
|
3034
|
+
button.pkt-link {
|
|
3035
|
+
background: none;
|
|
3036
|
+
border: none;
|
|
3037
|
+
padding: 0;
|
|
3038
|
+
font-family: inherit;
|
|
3039
|
+
cursor: pointer;
|
|
3040
|
+
font-weight: inherit;
|
|
3041
|
+
}
|
|
3042
|
+
[data-mode=dark] .pkt-link--external::after {
|
|
3043
|
+
filter: brightness(0) saturate(100%) invert(100%);
|
|
3044
|
+
}
|
|
3045
|
+
[data-mode=dark] .pkt-link--external:hover::after, [data-mode=dark] .pkt-link:hover:not(.pkt-btn) pkt-icon, [data-mode=dark] .pkt-link:hover:not(.pkt-btn) .pkt-icon {
|
|
3046
|
+
filter: brightness(0) saturate(100%) invert(80%) sepia(54%) saturate(502%) hue-rotate(173deg) brightness(109%) contrast(105%);
|
|
3048
3047
|
}
|
|
3049
3048
|
/*
|
|
3050
3049
|
* Containers
|
|
@@ -18785,56 +18784,53 @@
|
|
|
18785
18784
|
.pkt-combobox__wrapper .pkt-listbox__open {
|
|
18786
18785
|
margin-block-start: 0.5rem;
|
|
18787
18786
|
}
|
|
18788
|
-
.pkt-inputwrapper:not([data-navtype=pointer]) .pkt-combobox__input:focus-within {
|
|
18787
|
+
.pkt-combobox__wrapper.pkt-inputwrapper:not([data-navtype=pointer]) .pkt-combobox__input:focus-within {
|
|
18789
18788
|
outline: 4px solid var(--pkt-color-border-states-focus);
|
|
18790
18789
|
}
|
|
18791
|
-
.pkt-inputwrapper--small .pkt-listbox .pkt-listbox__option:not(.pkt-listbox__search),
|
|
18792
|
-
.pkt-inputwrapper--xsmall .pkt-listbox .pkt-listbox__option:not(.pkt-listbox__search) {
|
|
18790
|
+
.pkt-combobox__wrapper.pkt-inputwrapper--small .pkt-listbox .pkt-listbox__option:not(.pkt-listbox__search), .pkt-combobox__wrapper.pkt-inputwrapper--xsmall .pkt-listbox .pkt-listbox__option:not(.pkt-listbox__search) {
|
|
18793
18791
|
padding: 0.5rem 1rem;
|
|
18794
18792
|
letter-spacing: -0.2px;
|
|
18795
18793
|
font-weight: 300;
|
|
18796
18794
|
font-size: 1rem;
|
|
18797
18795
|
line-height: 1.5rem;
|
|
18798
18796
|
}
|
|
18799
|
-
.pkt-inputwrapper--small .pkt-listbox .pkt-listbox__empty,
|
|
18800
|
-
.pkt-inputwrapper--small .pkt-listbox .pkt-listbox__banner,
|
|
18801
|
-
.pkt-inputwrapper--xsmall .pkt-listbox .pkt-
|
|
18802
|
-
.pkt-inputwrapper--xsmall .pkt-listbox .pkt-listbox__banner {
|
|
18797
|
+
.pkt-combobox__wrapper.pkt-inputwrapper--small .pkt-listbox .pkt-listbox__empty,
|
|
18798
|
+
.pkt-combobox__wrapper.pkt-inputwrapper--small .pkt-listbox .pkt-listbox__banner, .pkt-combobox__wrapper.pkt-inputwrapper--xsmall .pkt-listbox .pkt-listbox__empty,
|
|
18799
|
+
.pkt-combobox__wrapper.pkt-inputwrapper--xsmall .pkt-listbox .pkt-listbox__banner {
|
|
18803
18800
|
padding: 0.5rem 1rem;
|
|
18804
18801
|
letter-spacing: -0.2px;
|
|
18805
18802
|
font-weight: 300;
|
|
18806
18803
|
font-size: 1rem;
|
|
18807
18804
|
line-height: 1.5rem;
|
|
18808
18805
|
}
|
|
18809
|
-
.pkt-inputwrapper--small .pkt-listbox .pkt-listbox__search input,
|
|
18810
|
-
.pkt-inputwrapper--xsmall .pkt-listbox .pkt-listbox__search input {
|
|
18806
|
+
.pkt-combobox__wrapper.pkt-inputwrapper--small .pkt-listbox .pkt-listbox__search input, .pkt-combobox__wrapper.pkt-inputwrapper--xsmall .pkt-listbox .pkt-listbox__search input {
|
|
18811
18807
|
padding: 0.5rem 0.75rem;
|
|
18812
18808
|
letter-spacing: -0.2px;
|
|
18813
18809
|
font-weight: 300;
|
|
18814
18810
|
font-size: 1rem;
|
|
18815
18811
|
line-height: 1.5rem;
|
|
18816
18812
|
}
|
|
18817
|
-
.pkt-inputwrapper--xsmall .pkt-listbox .pkt-listbox__option:not(.pkt-listbox__search) {
|
|
18813
|
+
.pkt-combobox__wrapper.pkt-inputwrapper--xsmall .pkt-listbox .pkt-listbox__option:not(.pkt-listbox__search) {
|
|
18818
18814
|
padding: 0.375rem 0.75rem;
|
|
18819
18815
|
letter-spacing: -0.2px;
|
|
18820
18816
|
font-weight: 300;
|
|
18821
18817
|
font-size: 0.875rem;
|
|
18822
18818
|
line-height: 1.375rem;
|
|
18823
18819
|
}
|
|
18824
|
-
.pkt-inputwrapper--xsmall .pkt-listbox .pkt-listbox__empty,
|
|
18825
|
-
.pkt-inputwrapper--xsmall .pkt-listbox .pkt-listbox__banner {
|
|
18820
|
+
.pkt-combobox__wrapper.pkt-inputwrapper--xsmall .pkt-listbox .pkt-listbox__empty,
|
|
18821
|
+
.pkt-combobox__wrapper.pkt-inputwrapper--xsmall .pkt-listbox .pkt-listbox__banner {
|
|
18826
18822
|
padding: 0.375rem 0.75rem;
|
|
18827
18823
|
letter-spacing: -0.2px;
|
|
18828
18824
|
font-weight: 300;
|
|
18829
18825
|
font-size: 0.875rem;
|
|
18830
18826
|
line-height: 1.375rem;
|
|
18831
18827
|
}
|
|
18832
|
-
.pkt-inputwrapper--xsmall .pkt-listbox .pkt-listbox__banner-icon,
|
|
18833
|
-
.pkt-inputwrapper--xsmall .pkt-listbox .pkt-listbox__search-icon .pkt-icon {
|
|
18828
|
+
.pkt-combobox__wrapper.pkt-inputwrapper--xsmall .pkt-listbox .pkt-listbox__banner-icon,
|
|
18829
|
+
.pkt-combobox__wrapper.pkt-inputwrapper--xsmall .pkt-listbox .pkt-listbox__search-icon .pkt-icon {
|
|
18834
18830
|
width: 1.125rem;
|
|
18835
18831
|
height: 1.125rem;
|
|
18836
18832
|
}
|
|
18837
|
-
.pkt-inputwrapper--xsmall .pkt-listbox .pkt-listbox__search input {
|
|
18833
|
+
.pkt-combobox__wrapper.pkt-inputwrapper--xsmall .pkt-listbox .pkt-listbox__search input {
|
|
18838
18834
|
padding: 0.375rem 0.5rem;
|
|
18839
18835
|
letter-spacing: -0.2px;
|
|
18840
18836
|
font-weight: 300;
|