@oslokommune/punkt-css 16.16.0 → 16.17.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.
@@ -1,3 +1,4 @@
1
+ @charset "UTF-8";
1
2
  /*
2
3
  * Accordion/Expandable component
3
4
  */
@@ -190,6 +191,60 @@ pkt-accordion[compact] pkt-accordion-item > .pkt-accordion-item .pkt-accordion-i
190
191
  padding: 1rem;
191
192
  }
192
193
 
194
+ .pkt-accordion--plus-minus,
195
+ pkt-accordion[skin=plus-minus] {
196
+ row-gap: 0;
197
+ }
198
+
199
+ .pkt-accordion-item--plus-minus,
200
+ pkt-accordion-item[skin=plus-minus] > .pkt-accordion-item {
201
+ background-color: transparent;
202
+ border: none;
203
+ padding: 0;
204
+ }
205
+ .pkt-accordion-item--plus-minus > .pkt-accordion-item__title,
206
+ pkt-accordion-item[skin=plus-minus] > .pkt-accordion-item > .pkt-accordion-item__title {
207
+ padding: 0.5rem 1rem;
208
+ justify-content: flex-start;
209
+ }
210
+ .pkt-accordion-item--plus-minus > .pkt-accordion-item__title:hover,
211
+ pkt-accordion-item[skin=plus-minus] > .pkt-accordion-item > .pkt-accordion-item__title:hover {
212
+ text-decoration: underline;
213
+ }
214
+ .pkt-accordion-item--plus-minus > .pkt-accordion-item__title:hover .pkt-accordion-item__icon,
215
+ pkt-accordion-item[skin=plus-minus] > .pkt-accordion-item > .pkt-accordion-item__title:hover .pkt-accordion-item__icon {
216
+ transform: none;
217
+ }
218
+ .pkt-accordion-item--plus-minus > .pkt-accordion-item__content,
219
+ pkt-accordion-item[skin=plus-minus] > .pkt-accordion-item > .pkt-accordion-item__content {
220
+ padding: 1rem;
221
+ background-color: var(--pkt-color-brand-neutrals-200);
222
+ }
223
+ .pkt-accordion-item--plus-minus .pkt-accordion-item__icon--plus,
224
+ .pkt-accordion-item--plus-minus .pkt-accordion-item__icon--minus,
225
+ pkt-accordion-item[skin=plus-minus] > .pkt-accordion-item .pkt-accordion-item__icon--plus,
226
+ pkt-accordion-item[skin=plus-minus] > .pkt-accordion-item .pkt-accordion-item__icon--minus {
227
+ transition: none;
228
+ transform: none;
229
+ }
230
+ .pkt-accordion-item--plus-minus .pkt-accordion-item__icon--minus,
231
+ pkt-accordion-item[skin=plus-minus] > .pkt-accordion-item .pkt-accordion-item__icon--minus {
232
+ display: none;
233
+ }
234
+ .pkt-accordion-item--plus-minus[open] > .pkt-accordion-item__title .pkt-accordion-item__icon--plus,
235
+ pkt-accordion-item[skin=plus-minus] > .pkt-accordion-item[open] > .pkt-accordion-item__title .pkt-accordion-item__icon--plus {
236
+ display: none;
237
+ }
238
+ .pkt-accordion-item--plus-minus[open] > .pkt-accordion-item__title .pkt-accordion-item__icon--minus,
239
+ pkt-accordion-item[skin=plus-minus] > .pkt-accordion-item[open] > .pkt-accordion-item__title .pkt-accordion-item__icon--minus {
240
+ display: inline-flex;
241
+ transform: none;
242
+ }
243
+ .pkt-accordion-item--plus-minus[open] > .pkt-accordion-item__title:hover .pkt-accordion-item__icon--minus,
244
+ pkt-accordion-item[skin=plus-minus] > .pkt-accordion-item[open] > .pkt-accordion-item__title:hover .pkt-accordion-item__icon--minus {
245
+ transform: none;
246
+ }
247
+
193
248
  @supports (interpolate-size: allow-keywords) {
194
249
  .pkt-accordion-item[open]::details-content {
195
250
  height: auto;
@@ -2655,191 +2710,395 @@ pkt-modal.pkt-fileupload__image-preview-modal .pkt-modal::backdrop {
2655
2710
  }
2656
2711
 
2657
2712
  /*
2658
- * HeaderService component
2659
- * Uses container queries with media query fallback for responsive behavior
2713
+ * Header menu (global mega menu)
2660
2714
  */
2661
- .pkt-header-service-spacer {
2662
- height: 80px;
2715
+ .pkt-header-menu {
2716
+ display: none;
2717
+ background-color: var(--pkt-color-background-default);
2718
+ color: var(--pkt-color-text-body-default);
2719
+ width: 100%;
2720
+ padding-bottom: 2rem;
2663
2721
  }
2664
- @supports not (container-type: inline-size) {
2665
- @media screen and (min-width: 48rem) {
2666
- .pkt-header-service-spacer {
2667
- height: 5.5rem;
2668
- }
2722
+ @media screen and (min-width: 48rem) {
2723
+ .pkt-header-menu {
2724
+ padding-bottom: 0;
2669
2725
  }
2670
2726
  }
2671
- @supports (container-type: inline-size) {
2672
- @container header-service (min-width: 48rem) {
2673
- .pkt-header-service-spacer {
2674
- height: 5.5rem;
2675
- }
2727
+ .pkt-header-menu--open {
2728
+ display: block;
2729
+ }
2730
+ .pkt-header-menu__services {
2731
+ max-width: 75.25rem;
2732
+ margin: 0 auto;
2733
+ padding-top: 2rem;
2734
+ padding-bottom: 1rem;
2735
+ }
2736
+ @media screen and (min-width: 48rem) {
2737
+ .pkt-header-menu__services {
2738
+ padding: 3.25rem;
2676
2739
  }
2677
2740
  }
2678
- @supports not (container-type: inline-size) {
2679
- @media screen and (min-width: 80rem) {
2680
- .pkt-header-service-spacer {
2681
- height: 6.5rem;
2682
- }
2741
+ .pkt-header-menu__services-title, .pkt-header-menu__section-title {
2742
+ letter-spacing: -0.2px;
2743
+ font-weight: 500;
2744
+ font-size: 1.25rem;
2745
+ line-height: 2rem;
2746
+ margin: 0 0 2rem;
2747
+ display: none;
2748
+ }
2749
+ @media screen and (min-width: 48rem) {
2750
+ .pkt-header-menu__services-title, .pkt-header-menu__section-title {
2751
+ display: block;
2683
2752
  }
2684
2753
  }
2685
- @supports (container-type: inline-size) {
2686
- @container header-service (min-width: 80rem) {
2687
- .pkt-header-service-spacer {
2688
- height: 6.5rem;
2689
- }
2754
+ @media screen and (min-width: 64rem) {
2755
+ .pkt-header-menu__services-title, .pkt-header-menu__section-title {
2756
+ letter-spacing: -0.2px;
2757
+ font-weight: 500;
2758
+ font-size: 1.375rem;
2759
+ line-height: 2.125rem;
2690
2760
  }
2691
2761
  }
2692
- .pkt-header-service-spacer--mobile {
2693
- height: 5rem;
2762
+ .pkt-header-menu__services-title {
2763
+ margin-bottom: 2rem;
2694
2764
  }
2695
- .pkt-header-service-spacer--has-user {
2696
- height: 7.5rem;
2765
+ .pkt-header-menu__services-list {
2766
+ list-style: none;
2767
+ margin: 0;
2768
+ padding: 0;
2769
+ display: grid;
2770
+ grid-template-columns: 1fr;
2771
+ gap: 1.25rem;
2697
2772
  }
2698
- @supports not (container-type: inline-size) {
2699
- @media screen and (min-width: 48rem) {
2700
- .pkt-header-service-spacer--has-user {
2701
- height: 5.5rem;
2702
- }
2773
+ @media screen and (min-width: 48rem) {
2774
+ .pkt-header-menu__services-list {
2775
+ grid-template-columns: repeat(4, 1fr);
2776
+ row-gap: 2.5rem;
2703
2777
  }
2704
2778
  }
2705
- @supports (container-type: inline-size) {
2706
- @container header-service (min-width: 48rem) {
2707
- .pkt-header-service-spacer--has-user {
2708
- height: 5.5rem;
2709
- }
2779
+ .pkt-header-menu__buttons {
2780
+ display: none;
2781
+ max-width: 75.25rem;
2782
+ margin: 0 auto;
2783
+ padding-top: 2rem;
2784
+ padding-bottom: 1rem;
2785
+ }
2786
+ @media screen and (min-width: 48rem) {
2787
+ .pkt-header-menu__buttons {
2788
+ padding: 3.25rem;
2710
2789
  }
2711
2790
  }
2712
- @supports not (container-type: inline-size) {
2713
- @media screen and (min-width: 80rem) {
2714
- .pkt-header-service-spacer--has-user {
2715
- height: 6.5rem;
2716
- }
2791
+ @media screen and (min-width: 48rem) {
2792
+ .pkt-header-menu__buttons {
2793
+ display: flex;
2794
+ gap: 1rem;
2795
+ flex-wrap: wrap;
2796
+ padding-top: 0;
2717
2797
  }
2718
2798
  }
2719
- @supports (container-type: inline-size) {
2720
- @container header-service (min-width: 80rem) {
2721
- .pkt-header-service-spacer--has-user {
2722
- height: 6.5rem;
2723
- }
2799
+ @media screen and (min-width: 64rem) {
2800
+ .pkt-header-menu__buttons .pkt-btn__text {
2801
+ letter-spacing: -0.2px;
2802
+ font-weight: 500;
2803
+ font-size: 1.125rem;
2804
+ line-height: 1.75rem;
2724
2805
  }
2725
2806
  }
2726
- .pkt-header-service-spacer--compact {
2727
- height: 4rem;
2807
+ .pkt-header-menu__buttons--mobile {
2808
+ padding: 0 1rem;
2809
+ display: flex;
2728
2810
  }
2729
- @supports not (container-type: inline-size) {
2730
- @media screen and (min-width: 48rem) {
2731
- .pkt-header-service-spacer--compact {
2732
- height: 4rem;
2733
- }
2811
+ @media screen and (min-width: 48rem) {
2812
+ .pkt-header-menu__buttons--mobile {
2813
+ display: none;
2734
2814
  }
2735
2815
  }
2736
- @supports (container-type: inline-size) {
2737
- @container header-service (min-width: 48rem) {
2738
- .pkt-header-service-spacer--compact {
2739
- height: 4rem;
2740
- }
2816
+ @media screen and (min-width: 48rem) {
2817
+ .pkt-header-menu__sections {
2818
+ background-color: var(--pkt-color-surface-strong-gray);
2819
+ }
2820
+ [data-mode=dark] .pkt-header-menu__sections {
2821
+ background-color: var(--pkt-color-background-default);
2741
2822
  }
2742
2823
  }
2743
- @supports not (container-type: inline-size) {
2744
- @media screen and (min-width: 80rem) {
2745
- .pkt-header-service-spacer--compact {
2746
- height: 4.5rem;
2747
- }
2824
+ .pkt-header-menu__sections-inner {
2825
+ max-width: 75.25rem;
2826
+ margin: 0 auto;
2827
+ padding-top: 2rem;
2828
+ padding-bottom: 1rem;
2829
+ }
2830
+ @media screen and (min-width: 48rem) {
2831
+ .pkt-header-menu__sections-inner {
2832
+ padding: 3.25rem;
2748
2833
  }
2749
2834
  }
2750
- @supports (container-type: inline-size) {
2751
- @container header-service (min-width: 80rem) {
2752
- .pkt-header-service-spacer--compact {
2753
- height: 4.5rem;
2754
- }
2835
+ @media screen and (min-width: 48rem) {
2836
+ .pkt-header-menu__sections-inner {
2837
+ display: grid;
2838
+ grid-template-columns: repeat(4, 1fr);
2839
+ gap: 2rem;
2755
2840
  }
2756
2841
  }
2757
- .pkt-header-service-spacer--compact.pkt-header-service-spacer--mobile {
2758
- height: 4rem;
2842
+ @media screen and (min-width: 0rem) and (max-width: 47.938rem) {
2843
+ .pkt-header-menu__section .pkt-accordion-item__title {
2844
+ letter-spacing: -0.2px;
2845
+ font-weight: 500;
2846
+ font-size: 1.125rem;
2847
+ line-height: 1.75rem;
2848
+ padding: 1rem 0;
2849
+ }
2759
2850
  }
2760
- .pkt-header-service-spacer--compact.pkt-header-service-spacer--has-user {
2761
- height: 104px;
2851
+ .pkt-header-menu__section-list {
2852
+ list-style: none;
2853
+ margin: 0;
2854
+ padding: 0;
2855
+ display: flex;
2856
+ flex-direction: column;
2857
+ gap: 1rem;
2762
2858
  }
2763
- @supports not (container-type: inline-size) {
2764
- @media screen and (min-width: 48rem) {
2765
- .pkt-header-service-spacer--compact.pkt-header-service-spacer--has-user {
2766
- height: 4rem;
2767
- }
2859
+ @media screen and (min-width: 48rem) {
2860
+ .pkt-header-menu__section-list {
2861
+ row-gap: 1rem;
2768
2862
  }
2769
2863
  }
2770
- @supports (container-type: inline-size) {
2771
- @container header-service (min-width: 48rem) {
2772
- .pkt-header-service-spacer--compact.pkt-header-service-spacer--has-user {
2773
- height: 4rem;
2774
- }
2864
+ .pkt-header-menu__section-link {
2865
+ display: block;
2866
+ letter-spacing: -0.2px;
2867
+ font-weight: 300;
2868
+ font-size: 1rem;
2869
+ line-height: 1.5rem;
2870
+ color: var(--pkt-color-text-body-default);
2871
+ text-decoration: underline;
2872
+ text-underline-position: from-font;
2873
+ line-height: 1.5;
2874
+ }
2875
+ @media screen and (min-width: 64rem) {
2876
+ .pkt-header-menu__section-link {
2877
+ letter-spacing: -0.2px;
2878
+ font-weight: 300;
2879
+ font-size: 1.125rem;
2880
+ line-height: 1.75rem;
2775
2881
  }
2776
2882
  }
2777
- @supports not (container-type: inline-size) {
2778
- @media screen and (min-width: 80rem) {
2779
- .pkt-header-service-spacer--compact.pkt-header-service-spacer--has-user {
2780
- height: 4.5rem;
2781
- }
2883
+ .pkt-header-menu__section-link:hover, .pkt-header-menu__section-link:focus-visible {
2884
+ text-decoration: underline;
2885
+ }
2886
+ .pkt-header-menu__service {
2887
+ list-style: none;
2888
+ }
2889
+ .pkt-header-menu__service-link {
2890
+ display: flex;
2891
+ align-items: center;
2892
+ gap: 0.75rem;
2893
+ color: var(--pkt-color-text-body-default);
2894
+ text-decoration: none;
2895
+ letter-spacing: -0.2px;
2896
+ font-weight: 300;
2897
+ font-size: 1rem;
2898
+ line-height: 1.5rem;
2899
+ }
2900
+ @media screen and (min-width: 64rem) {
2901
+ .pkt-header-menu__service-link {
2902
+ letter-spacing: -0.2px;
2903
+ font-weight: 300;
2904
+ font-size: 1.125rem;
2905
+ line-height: 1.75rem;
2782
2906
  }
2783
2907
  }
2784
- @supports (container-type: inline-size) {
2785
- @container header-service (min-width: 80rem) {
2786
- .pkt-header-service-spacer--compact.pkt-header-service-spacer--has-user {
2787
- height: 4.5rem;
2788
- }
2908
+ .pkt-header-menu__service-link:hover .pkt-header-menu__service-text, .pkt-header-menu__service-link:focus-visible .pkt-header-menu__service-text {
2909
+ text-decoration: underline;
2910
+ text-underline-position: from-font;
2911
+ }
2912
+ .pkt-header-menu__service-icon {
2913
+ flex: 0 0 auto;
2914
+ --fg-color: var(--pkt-color-text-body-default);
2915
+ width: 1.5rem;
2916
+ height: 1.5rem;
2917
+ }
2918
+ @media screen and (min-width: 48rem) {
2919
+ .pkt-header-menu__service-icon {
2920
+ width: 2rem;
2921
+ height: 2rem;
2789
2922
  }
2790
2923
  }
2791
- .pkt-header-service-spacer--compact.pkt-header-service-spacer--has-user.pkt-header-service-spacer--mobile {
2792
- height: 104px;
2924
+ .pkt-header-menu__service-icon svg {
2925
+ width: 100%;
2926
+ height: 100%;
2793
2927
  }
2794
-
2795
- .pkt-header-service {
2796
- --pkt-header-height: 4.5rem;
2928
+ .pkt-header-menu__service-text {
2929
+ min-width: 0;
2797
2930
  }
2798
- @supports not (container-type: inline-size) {
2799
- @media screen and (min-width: 48rem) {
2800
- .pkt-header-service {
2801
- --pkt-header-height: 5.5rem;
2802
- }
2931
+ .pkt-header-menu__footer {
2932
+ max-width: 75.25rem;
2933
+ margin: 0 auto;
2934
+ padding-top: 2rem;
2935
+ padding-bottom: 1rem;
2936
+ }
2937
+ @media screen and (min-width: 48rem) {
2938
+ .pkt-header-menu__footer {
2939
+ padding: 3.25rem;
2803
2940
  }
2804
2941
  }
2805
- @supports (container-type: inline-size) {
2806
- @container header-service (min-width: 48rem) {
2807
- .pkt-header-service {
2808
- --pkt-header-height: 5.5rem;
2809
- }
2942
+ .pkt-header-menu__footer {
2943
+ padding: 1.5rem 1rem 1rem;
2944
+ display: flex;
2945
+ flex-direction: column;
2946
+ gap: 1.5rem;
2947
+ }
2948
+ @media screen and (min-width: 48rem) {
2949
+ .pkt-header-menu__footer {
2950
+ flex-direction: row;
2951
+ justify-content: space-between;
2952
+ align-items: center;
2953
+ padding: 2rem 3.25rem;
2810
2954
  }
2811
2955
  }
2812
- @supports not (container-type: inline-size) {
2813
- @media screen and (min-width: 80rem) {
2814
- .pkt-header-service {
2815
- --pkt-header-height: 6.5rem;
2816
- }
2956
+ .pkt-header-menu__footer-list {
2957
+ list-style: none;
2958
+ margin: 0;
2959
+ padding: 0;
2960
+ display: flex;
2961
+ flex-direction: column;
2962
+ gap: 0.75rem;
2963
+ }
2964
+ @media screen and (min-width: 48rem) {
2965
+ .pkt-header-menu__footer-list {
2966
+ flex-direction: row;
2967
+ gap: 0rem;
2968
+ }
2969
+ .pkt-header-menu__footer-list:not(.pkt-header-menu__footer-list--social) {
2970
+ line-height: 1;
2971
+ }
2972
+ .pkt-header-menu__footer-list:not(.pkt-header-menu__footer-list--social) > * {
2973
+ border-right: 1px solid currentColor;
2974
+ padding: 0 2rem;
2975
+ }
2976
+ .pkt-header-menu__footer-list:not(.pkt-header-menu__footer-list--social) > *:first-child {
2977
+ padding-left: 0;
2978
+ }
2979
+ .pkt-header-menu__footer-list:not(.pkt-header-menu__footer-list--social) > *:last-child {
2980
+ border-right: none;
2981
+ padding-right: 0;
2817
2982
  }
2818
2983
  }
2819
- @supports (container-type: inline-size) {
2820
- @container header-service (min-width: 80rem) {
2821
- .pkt-header-service {
2822
- --pkt-header-height: 6.5rem;
2823
- }
2984
+ .pkt-header-menu__footer-list--social {
2985
+ flex-direction: row;
2986
+ gap: 1rem;
2987
+ }
2988
+ @media screen and (min-width: 48rem) {
2989
+ .pkt-header-menu__footer-list--social {
2990
+ gap: 2rem;
2824
2991
  }
2825
2992
  }
2826
- .pkt-header-service--compact {
2827
- --pkt-header-height: 4rem;
2993
+ .pkt-header-menu__footer-link {
2994
+ letter-spacing: -0.2px;
2995
+ font-weight: 300;
2996
+ font-size: 1rem;
2997
+ line-height: 1.5rem;
2998
+ color: var(--pkt-color-text-body-default);
2999
+ text-decoration: none;
2828
3000
  }
2829
- @supports not (container-type: inline-size) {
2830
- @media screen and (min-width: 80rem) {
2831
- .pkt-header-service--compact {
2832
- --pkt-header-height: 4.5rem;
2833
- }
3001
+ @media screen and (min-width: 64rem) {
3002
+ .pkt-header-menu__footer-link {
3003
+ letter-spacing: -0.2px;
3004
+ font-weight: 300;
3005
+ font-size: 1.125rem;
3006
+ line-height: 1.75rem;
2834
3007
  }
2835
3008
  }
2836
- @supports (container-type: inline-size) {
2837
- @container header-service (min-width: 80rem) {
2838
- .pkt-header-service--compact {
2839
- --pkt-header-height: 4.5rem;
2840
- }
3009
+ .pkt-header-menu__footer-link:hover, .pkt-header-menu__footer-link:focus-visible {
3010
+ text-decoration: underline;
3011
+ text-underline-position: from-font;
3012
+ }
3013
+ .pkt-header-menu__social-link {
3014
+ --fg-color: var(--pkt-color-text-body-default);
3015
+ color: var(--pkt-color-text-body-default);
3016
+ display: inline-flex;
3017
+ align-items: center;
3018
+ }
3019
+ .pkt-header-menu__social-link svg {
3020
+ width: 2rem;
3021
+ height: 2rem;
3022
+ }
3023
+ .pkt-header-menu__loading, .pkt-header-menu__error {
3024
+ max-width: 75.25rem;
3025
+ margin: 0 auto;
3026
+ padding-top: 2rem;
3027
+ padding-bottom: 1rem;
3028
+ }
3029
+ @media screen and (min-width: 48rem) {
3030
+ .pkt-header-menu__loading, .pkt-header-menu__error {
3031
+ padding: 3.25rem;
2841
3032
  }
2842
3033
  }
3034
+ .pkt-header-menu__loading, .pkt-header-menu__error {
3035
+ text-align: center;
3036
+ color: var(--pkt-color-text-body-default);
3037
+ }
3038
+
3039
+ /*
3040
+ * HeaderService component
3041
+ *
3042
+ * Layout breakpoints are driven by the `mobileBreakpoint` /
3043
+ * `tabletBreakpoint` props on <PktHeader>; the component measures its
3044
+ * own width via ResizeObserver and toggles `--mobile` / `--tablet`
3045
+ * modifier classes on the root accordingly. The SCSS below keys off
3046
+ * those classes — never off a fixed media/container threshold — so the
3047
+ * breakpoints follow the JS configuration.
3048
+ *
3049
+ * Class semantics (set by JS):
3050
+ * --mobile : header width < mobileBreakpoint
3051
+ * --tablet : header width < tabletBreakpoint
3052
+ * (always also true when --mobile is true)
3053
+ * neither : header width ≥ tabletBreakpoint ("laptop" state)
3054
+ *
3055
+ * The "laptop" state is the default in the SCSS; --tablet and --mobile
3056
+ * override downward. --mobile blocks come after --tablet so they win on
3057
+ * source order when both are present.
3058
+ */
3059
+ .pkt-header-service-spacer {
3060
+ height: 6.5rem;
3061
+ }
3062
+ .pkt-header-service-spacer--tablet {
3063
+ height: 5.5rem;
3064
+ }
3065
+ .pkt-header-service-spacer--mobile {
3066
+ height: 5rem;
3067
+ }
3068
+ .pkt-header-service-spacer--has-user {
3069
+ height: 6.5rem;
3070
+ }
3071
+ .pkt-header-service-spacer--has-user.pkt-header-service-spacer--tablet {
3072
+ height: 5.5rem;
3073
+ }
3074
+ .pkt-header-service-spacer--has-user.pkt-header-service-spacer--mobile {
3075
+ height: 7.5rem;
3076
+ }
3077
+ .pkt-header-service-spacer--compact {
3078
+ height: 4.5rem;
3079
+ }
3080
+ .pkt-header-service-spacer--compact.pkt-header-service-spacer--tablet {
3081
+ height: 4rem;
3082
+ }
3083
+ .pkt-header-service-spacer--compact.pkt-header-service-spacer--mobile {
3084
+ height: 4rem;
3085
+ }
3086
+ .pkt-header-service-spacer--compact.pkt-header-service-spacer--has-user {
3087
+ height: 4.5rem;
3088
+ }
3089
+ .pkt-header-service-spacer--compact.pkt-header-service-spacer--has-user.pkt-header-service-spacer--tablet {
3090
+ height: 4rem;
3091
+ }
3092
+ .pkt-header-service-spacer--compact.pkt-header-service-spacer--has-user.pkt-header-service-spacer--mobile {
3093
+ height: 104px;
3094
+ }
3095
+
3096
+ .pkt-header-service {
3097
+ --pkt-header-height: 6.5rem;
3098
+ }
3099
+ .pkt-header-service--tablet {
3100
+ --pkt-header-height: 5.5rem;
3101
+ }
2843
3102
  .pkt-header-service--mobile {
2844
3103
  --pkt-header-height: 4rem;
2845
3104
  }
@@ -2848,50 +3107,30 @@ pkt-modal.pkt-fileupload__image-preview-modal .pkt-modal::backdrop {
2848
3107
  --pkt-header-height: 4.5rem;
2849
3108
  }
2850
3109
  }
3110
+ .pkt-header-service--compact {
3111
+ --pkt-header-height: 4.5rem;
3112
+ }
3113
+ .pkt-header-service--compact.pkt-header-service--tablet {
3114
+ --pkt-header-height: 4rem;
3115
+ }
2851
3116
  .pkt-header-service {
2852
3117
  position: relative;
2853
3118
  z-index: 10;
2854
3119
  background-color: var(--pkt-color-background-default);
2855
3120
  border-bottom: 1px solid var(--pkt-color-border-subtle);
2856
- container-type: inline-size;
2857
- container-name: header-service;
2858
3121
  display: grid;
2859
3122
  align-items: center;
2860
3123
  grid-template-columns: 1fr auto auto;
2861
- grid-template-rows: 4.5rem auto;
2862
- column-gap: 0.5rem;
3124
+ grid-template-rows: 6.5rem auto;
3125
+ column-gap: 2rem;
2863
3126
  }
2864
- @supports not (container-type: inline-size) {
2865
- @media screen and (min-width: 48rem) {
2866
- .pkt-header-service {
2867
- grid-template-rows: 5.5rem auto;
2868
- column-gap: 1.5rem;
2869
- }
2870
- }
2871
- }
2872
- @supports (container-type: inline-size) {
2873
- @container header-service (min-width: 48rem) {
2874
- .pkt-header-service {
2875
- grid-template-rows: 5.5rem auto;
2876
- column-gap: 1.5rem;
2877
- }
2878
- }
3127
+ .pkt-header-service--tablet {
3128
+ grid-template-rows: 5.5rem auto;
3129
+ column-gap: 1.5rem;
2879
3130
  }
2880
- @supports not (container-type: inline-size) {
2881
- @media screen and (min-width: 80rem) {
2882
- .pkt-header-service {
2883
- grid-template-rows: 6.5rem auto;
2884
- column-gap: 2rem;
2885
- }
2886
- }
2887
- }
2888
- @supports (container-type: inline-size) {
2889
- @container header-service (min-width: 80rem) {
2890
- .pkt-header-service {
2891
- grid-template-rows: 6.5rem auto;
2892
- column-gap: 2rem;
2893
- }
2894
- }
3131
+ .pkt-header-service--mobile {
3132
+ grid-template-rows: 4.5rem auto;
3133
+ column-gap: 0.5rem;
2895
3134
  }
2896
3135
  .pkt-header-service--compact {
2897
3136
  grid-template-rows: 4.5rem auto;
@@ -2911,71 +3150,27 @@ pkt-modal.pkt-fileupload__image-preview-modal .pkt-modal::backdrop {
2911
3150
  }
2912
3151
  .pkt-header-service__logo-area, .pkt-header-service__content, .pkt-header-service__user {
2913
3152
  display: inline-flex;
2914
- column-gap: 0.25rem;
3153
+ column-gap: 2rem;
2915
3154
  min-width: 0;
2916
3155
  }
2917
- @supports not (container-type: inline-size) {
2918
- @media screen and (min-width: 48rem) {
2919
- .pkt-header-service__logo-area, .pkt-header-service__content, .pkt-header-service__user {
2920
- column-gap: 1.5rem;
2921
- }
2922
- }
2923
- }
2924
- @supports (container-type: inline-size) {
2925
- @container header-service (min-width: 48rem) {
2926
- .pkt-header-service__logo-area, .pkt-header-service__content, .pkt-header-service__user {
2927
- column-gap: 1.5rem;
2928
- }
2929
- }
2930
- }
2931
- @supports not (container-type: inline-size) {
2932
- @media screen and (min-width: 80rem) {
2933
- .pkt-header-service__logo-area, .pkt-header-service__content, .pkt-header-service__user {
2934
- column-gap: 2rem;
2935
- }
2936
- }
3156
+ .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 {
3157
+ column-gap: 1.5rem;
2937
3158
  }
2938
- @supports (container-type: inline-size) {
2939
- @container header-service (min-width: 80rem) {
2940
- .pkt-header-service__logo-area, .pkt-header-service__content, .pkt-header-service__user {
2941
- column-gap: 2rem;
2942
- }
2943
- }
3159
+ .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 {
3160
+ column-gap: 0.25rem;
2944
3161
  }
2945
3162
  .pkt-header-service__logo-area {
2946
3163
  grid-column: 1;
2947
3164
  grid-row: 1;
2948
3165
  align-items: center;
2949
3166
  display: inline-flex;
2950
- padding-left: 0.5rem;
2951
- }
2952
- @supports not (container-type: inline-size) {
2953
- @media screen and (min-width: 48rem) {
2954
- .pkt-header-service__logo-area {
2955
- padding-left: 1rem;
2956
- }
2957
- }
2958
- }
2959
- @supports (container-type: inline-size) {
2960
- @container header-service (min-width: 48rem) {
2961
- .pkt-header-service__logo-area {
2962
- padding-left: 1rem;
2963
- }
2964
- }
3167
+ padding-left: 2rem;
2965
3168
  }
2966
- @supports not (container-type: inline-size) {
2967
- @media screen and (min-width: 80rem) {
2968
- .pkt-header-service__logo-area {
2969
- padding-left: 2rem;
2970
- }
2971
- }
3169
+ .pkt-header-service--tablet .pkt-header-service__logo-area {
3170
+ padding-left: 1rem;
2972
3171
  }
2973
- @supports (container-type: inline-size) {
2974
- @container header-service (min-width: 80rem) {
2975
- .pkt-header-service__logo-area {
2976
- padding-left: 2rem;
2977
- }
2978
- }
3172
+ .pkt-header-service--mobile .pkt-header-service__logo-area {
3173
+ padding-left: 0.5rem;
2979
3174
  }
2980
3175
  .pkt-header-service__content, .pkt-header-service__user {
2981
3176
  grid-row: 1;
@@ -2999,21 +3194,10 @@ pkt-modal.pkt-fileupload__image-preview-modal .pkt-modal::backdrop {
2999
3194
  .pkt-header-service__user {
3000
3195
  grid-column: 3;
3001
3196
  justify-self: end;
3002
- padding-right: 1rem;
3003
- }
3004
- @supports not (container-type: inline-size) {
3005
- @media screen and (min-width: 80rem) {
3006
- .pkt-header-service__user {
3007
- padding-right: 2rem;
3008
- }
3009
- }
3197
+ padding-right: 2rem;
3010
3198
  }
3011
- @supports (container-type: inline-size) {
3012
- @container header-service (min-width: 80rem) {
3013
- .pkt-header-service__user {
3014
- padding-right: 2rem;
3015
- }
3016
- }
3199
+ .pkt-header-service--tablet .pkt-header-service__user {
3200
+ padding-right: 1rem;
3017
3201
  }
3018
3202
  .pkt-header-service__logo {
3019
3203
  --fg-color: var(--pkt-color-text-body-default);
@@ -5755,7 +5939,7 @@ pkt-select {
5755
5939
  padding-right: 3rem;
5756
5940
  }
5757
5941
  .pkt-input:is(select):not([multiple]), .pkt-textinput__input:is(select):not([multiple]) {
5758
- --svg: url(https://punkt-cdn.oslo.kommune.no/16.16/icons/chevron-thin-down.svg);
5942
+ --svg: url(https://punkt-cdn.oslo.kommune.no/16.17/icons/chevron-thin-down.svg);
5759
5943
  background-image: var(--svg);
5760
5944
  background-repeat: no-repeat;
5761
5945
  background-position: right 0.7rem top 50%;