@cirthcss/cirth 0.9.0 → 0.10.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/dist/cirth.css CHANGED
@@ -1681,6 +1681,50 @@ button[aria-busy="true"], [type="submit"][aria-busy="true"], [type="button"][ari
1681
1681
  pointer-events: none;
1682
1682
  }
1683
1683
 
1684
+ meter {
1685
+ appearance: none;
1686
+ width: 100%;
1687
+ height: var(--cirth-size-2);
1688
+ margin-bottom: calc(var(--cirth-spacing) * .5);
1689
+ border: var(--cirth-border-width-1) solid var(--cirth-meter-border-color);
1690
+ border-radius: var(--cirth-border-radius);
1691
+ background: var(--cirth-meter-background-color);
1692
+ display: inline-block;
1693
+ overflow: hidden;
1694
+ }
1695
+
1696
+ meter::-webkit-meter-bar {
1697
+ background: none;
1698
+ }
1699
+
1700
+ meter::-webkit-meter-inner-element {
1701
+ display: flex;
1702
+ }
1703
+
1704
+ meter::-webkit-meter-optimum-value {
1705
+ background: var(--cirth-meter-optimum-color);
1706
+ }
1707
+
1708
+ meter::-webkit-meter-suboptimum-value {
1709
+ background: var(--cirth-meter-suboptimum-color);
1710
+ }
1711
+
1712
+ meter::-webkit-meter-even-less-good-value {
1713
+ background: var(--cirth-meter-even-less-good-color);
1714
+ }
1715
+
1716
+ meter::-moz-meter-bar {
1717
+ background: var(--cirth-meter-optimum-color);
1718
+ }
1719
+
1720
+ meter:-moz-meter-sub-optimum::-moz-meter-bar {
1721
+ background: var(--cirth-meter-suboptimum-color);
1722
+ }
1723
+
1724
+ meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
1725
+ background: var(--cirth-meter-even-less-good-color);
1726
+ }
1727
+
1684
1728
  :root, :host {
1685
1729
  --cirth-scrollbar-width: 0px;
1686
1730
  }
@@ -2327,6 +2371,8 @@ progress::-moz-progress-bar {
2327
2371
  var(--cirth-primary-focus);
2328
2372
  --cirth-group-box-shadow-focus-with-input: 0 0 0 var(--cirth-border-width-1)
2329
2373
  var(--cirth-form-element-border-color);
2374
+ --cirth-meter-background-color: var(--cirth-progress-background-color);
2375
+ --cirth-meter-border-color: var(--cirth-progress-border-color);
2330
2376
  --cirth-modal-overlay-backdrop-filter: blur(.375rem);
2331
2377
  --cirth-nav-element-spacing-vertical: var(--cirth-space-4);
2332
2378
  --cirth-nav-element-spacing-horizontal: var(--cirth-space-2);
@@ -2493,7 +2539,7 @@ details summary[role="button"]:not(.outline):after {
2493
2539
  filter: brightness(0) invert();
2494
2540
  }
2495
2541
 
2496
- [data-theme="light"], :root:not([data-theme="dark"]), :host(:not([data-theme="dark"])) {
2542
+ :where([data-theme="light"]), :root:where(:not([data-theme="dark"])), :host(:where(:not([data-theme="dark"]))) {
2497
2543
  --lightningcss-light: initial;
2498
2544
  --lightningcss-dark: ;
2499
2545
  color-scheme: light;
@@ -2593,6 +2639,9 @@ details summary[role="button"]:not(.outline):after {
2593
2639
  --cirth-dropdown-hover-background-color: oklch(96% 0 264);
2594
2640
  --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
2595
2641
  --cirth-modal-overlay-background-color: oklch(93.85% .003 264deg / var(--cirth-opacity-overlay));
2642
+ --cirth-meter-optimum-color: oklch(52.7% .1 160.59);
2643
+ --cirth-meter-suboptimum-color: oklch(48.3% .086 78);
2644
+ --cirth-meter-even-less-good-color: oklch(44% .151 29.73);
2596
2645
  --cirth-progress-background-color: oklch(91.7% .006 264);
2597
2646
  --cirth-progress-border-color: oklch(61.3% .032 264);
2598
2647
  --cirth-progress-color: var(--cirth-primary-background);
@@ -2602,12 +2651,12 @@ details summary[role="button"]:not(.outline):after {
2602
2651
  --cirth-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(189, 47, 33)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
2603
2652
  }
2604
2653
 
2605
- [data-theme="light"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), :root:not([data-theme="dark"]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), :host(:not([data-theme="dark"])) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
2654
+ :where([data-theme="light"]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), :root:where(:not([data-theme="dark"])) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), :host(:where(:not([data-theme="dark"]))) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
2606
2655
  --cirth-form-element-focus-color: var(--cirth-primary-focus);
2607
2656
  }
2608
2657
 
2609
2658
  @media only screen and (prefers-color-scheme: dark) {
2610
- :root:not([data-theme]), :host(:not([data-theme])) {
2659
+ :root:where(:not([data-theme])), :host(:where(:not([data-theme]))) {
2611
2660
  --lightningcss-light: ;
2612
2661
  --lightningcss-dark: initial;
2613
2662
  color-scheme: dark;
@@ -2707,6 +2756,9 @@ details summary[role="button"]:not(.outline):after {
2707
2756
  --cirth-dropdown-hover-background-color: oklch(26.7% .011 264);
2708
2757
  --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
2709
2758
  --cirth-modal-overlay-background-color: oklch(9% 0 312deg / var(--cirth-opacity-overlay));
2759
+ --cirth-meter-optimum-color: oklch(65.7% .125 160.59);
2760
+ --cirth-meter-suboptimum-color: oklch(70% .124 78);
2761
+ --cirth-meter-even-less-good-color: oklch(74.3% .133 29.73);
2710
2762
  --cirth-progress-background-color: oklch(26.7% .011 264);
2711
2763
  --cirth-progress-border-color: oklch(52.7% .032 264);
2712
2764
  --cirth-progress-color: oklch(61.3% .113 69.35);
@@ -2716,16 +2768,16 @@ details summary[role="button"]:not(.outline):after {
2716
2768
  --cirth-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(246, 160, 145)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
2717
2769
  }
2718
2770
 
2719
- :root:not([data-theme]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), :host(:not([data-theme])) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
2771
+ :root:where(:not([data-theme])) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]), :host(:where(:not([data-theme]))) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
2720
2772
  --cirth-form-element-focus-color: var(--cirth-primary-focus);
2721
2773
  }
2722
2774
 
2723
- :root:not([data-theme]) details summary[role="button"].contrast:not(.outline):after, :host(:not([data-theme])) details summary[role="button"].contrast:not(.outline):after, :root:not([data-theme]) [aria-busy="true"]:not(input, select, textarea).contrast:is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):not(.outline):before, :host(:not([data-theme])) [aria-busy="true"]:not(input, select, textarea).contrast:is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):not(.outline):before {
2775
+ :root:where(:not([data-theme])) details summary[role="button"].contrast:not(.outline):after, :host(:where(:not([data-theme]))) details summary[role="button"].contrast:not(.outline):after, :root:where(:not([data-theme])) [aria-busy="true"]:not(input, select, textarea).contrast:is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):not(.outline):before, :host(:where(:not([data-theme]))) [aria-busy="true"]:not(input, select, textarea).contrast:is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):not(.outline):before {
2724
2776
  filter: brightness(0);
2725
2777
  }
2726
2778
  }
2727
2779
 
2728
- [data-theme="dark"] {
2780
+ :where([data-theme="dark"]) {
2729
2781
  --lightningcss-light: ;
2730
2782
  --lightningcss-dark: initial;
2731
2783
  color-scheme: dark;
@@ -2825,6 +2877,9 @@ details summary[role="button"]:not(.outline):after {
2825
2877
  --cirth-dropdown-hover-background-color: oklch(26.7% .011 264);
2826
2878
  --cirth-loading-spinner-opacity: var(--cirth-opacity-disabled);
2827
2879
  --cirth-modal-overlay-background-color: oklch(9% 0 312deg / var(--cirth-opacity-overlay));
2880
+ --cirth-meter-optimum-color: oklch(65.7% .125 160.59);
2881
+ --cirth-meter-suboptimum-color: oklch(70% .124 78);
2882
+ --cirth-meter-even-less-good-color: oklch(74.3% .133 29.73);
2828
2883
  --cirth-progress-background-color: oklch(26.7% .011 264);
2829
2884
  --cirth-progress-border-color: oklch(52.7% .032 264);
2830
2885
  --cirth-progress-color: oklch(61.3% .113 69.35);
@@ -2834,14 +2889,257 @@ details summary[role="button"]:not(.outline):after {
2834
2889
  --cirth-icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(246, 160, 145)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
2835
2890
  }
2836
2891
 
2837
- [data-theme="dark"] input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
2892
+ :where([data-theme="dark"]) input:is([type="submit"], [type="button"], [type="reset"], [type="checkbox"], [type="radio"], [type="file"]) {
2838
2893
  --cirth-form-element-focus-color: var(--cirth-primary-focus);
2839
2894
  }
2840
2895
 
2841
- [data-theme="dark"] details summary[role="button"].contrast:not(.outline):after, [data-theme="dark"] [aria-busy="true"]:not(input, select, textarea).contrast:is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):not(.outline):before {
2896
+ :where([data-theme="dark"]) details summary[role="button"].contrast:not(.outline):after, :where([data-theme="dark"]) [aria-busy="true"]:not(input, select, textarea).contrast:is(button, [type="submit"], [type="button"], [type="reset"], [role="button"]):not(.outline):before {
2842
2897
  filter: brightness(0);
2843
2898
  }
2844
2899
 
2845
2900
  progress, [type="checkbox"], [type="radio"], [type="range"] {
2846
2901
  accent-color: var(--cirth-primary);
2847
2902
  }
2903
+
2904
+ @media (prefers-contrast: more) {
2905
+ :where([data-theme="light"]), :root:where(:not([data-theme="dark"])), :host(:where(:not([data-theme="dark"]))) {
2906
+ --cirth-color: oklch(22.3% .006 264);
2907
+ --cirth-h1-color: var(--cirth-color);
2908
+ --cirth-h2-color: var(--cirth-color);
2909
+ --cirth-h3-color: var(--cirth-color);
2910
+ --cirth-h4-color: var(--cirth-color);
2911
+ --cirth-h5-color: var(--cirth-color);
2912
+ --cirth-h6-color: var(--cirth-color);
2913
+ --cirth-muted-color: oklch(39.7% .025 264);
2914
+ --cirth-secondary: oklch(39.7% .025 264);
2915
+ --cirth-code-color: oklch(35.3% .021 264);
2916
+ --cirth-link-visited-color: oklch(35.3% .021 264);
2917
+ --cirth-muted-border-color: oklch(57% .032 264);
2918
+ --cirth-form-element-border-color: oklch(39.7% .025 264);
2919
+ --cirth-form-element-invalid-border-color: oklch(48.3% .166 29.73);
2920
+ --cirth-form-element-valid-border-color: oklch(48.3% .092 160.59);
2921
+ --cirth-primary: oklch(39.7% .073 69.35);
2922
+ --cirth-primary-hover: oklch(31% .057 69.35);
2923
+ --cirth-primary-underline: var(--cirth-primary);
2924
+ --cirth-secondary-underline: var(--cirth-secondary);
2925
+ --cirth-contrast-underline: var(--cirth-contrast);
2926
+ --cirth-primary-focus: oklch(48.3% .089 69.35);
2927
+ --cirth-secondary-focus: oklch(48.3% .03 264);
2928
+ --cirth-contrast-focus: oklch(48.3% .03 264);
2929
+ --cirth-switch-background-color: oklch(48.3% .03 264);
2930
+ --cirth-progress-border-color: oklch(48.3% .03 264);
2931
+ --cirth-meter-optimum-color: oklch(44% .084 160.59);
2932
+ --cirth-meter-suboptimum-color: oklch(39.7% .07 78);
2933
+ --cirth-meter-even-less-good-color: oklch(35.3% .122 29.73);
2934
+ --cirth-dropdown-border-color: var(--cirth-muted-border-color);
2935
+ }
2936
+ }
2937
+
2938
+ @media only screen and (prefers-contrast: more) and (prefers-color-scheme: dark) {
2939
+ :root:where(:not([data-theme])), :host(:where(:not([data-theme]))) {
2940
+ --cirth-color: oklch(96% 0 264);
2941
+ --cirth-h1-color: var(--cirth-color);
2942
+ --cirth-h2-color: var(--cirth-color);
2943
+ --cirth-h3-color: var(--cirth-color);
2944
+ --cirth-h4-color: var(--cirth-color);
2945
+ --cirth-h5-color: var(--cirth-color);
2946
+ --cirth-h6-color: var(--cirth-color);
2947
+ --cirth-muted-color: oklch(78.7% .021 264);
2948
+ --cirth-secondary: oklch(78.7% .021 264);
2949
+ --cirth-code-color: oklch(83% .016 264);
2950
+ --cirth-link-visited-color: oklch(78.7% .021 264);
2951
+ --cirth-muted-border-color: oklch(57% .032 264);
2952
+ --cirth-card-border-color: var(--cirth-muted-border-color);
2953
+ --cirth-form-element-border-color: oklch(70% .028 264);
2954
+ --cirth-form-element-invalid-border-color: oklch(78.7% .106 29.73);
2955
+ --cirth-form-element-valid-border-color: oklch(78.7% .15 160.59);
2956
+ --cirth-primary: oklch(78.7% .146 69.35);
2957
+ --cirth-primary-hover: oklch(87.3% .082 69.35);
2958
+ --cirth-primary-underline: var(--cirth-primary);
2959
+ --cirth-secondary-underline: var(--cirth-secondary);
2960
+ --cirth-contrast-underline: var(--cirth-contrast);
2961
+ --cirth-primary-focus: oklch(70% .129 69.35);
2962
+ --cirth-secondary-focus: oklch(70% .028 264);
2963
+ --cirth-contrast-focus: oklch(87.3% .011 264);
2964
+ --cirth-switch-background-color: oklch(65.7% .03 264);
2965
+ --cirth-progress-border-color: oklch(70% .028 264);
2966
+ --cirth-meter-optimum-color: oklch(74.3% .142 160.59);
2967
+ --cirth-meter-suboptimum-color: oklch(78.7% .139 78);
2968
+ --cirth-meter-even-less-good-color: oklch(83% .081 29.73);
2969
+ --cirth-dropdown-border-color: var(--cirth-muted-border-color);
2970
+ }
2971
+ }
2972
+
2973
+ @media (prefers-contrast: more) {
2974
+ :where([data-theme="dark"]) {
2975
+ --cirth-color: oklch(96% 0 264);
2976
+ --cirth-h1-color: var(--cirth-color);
2977
+ --cirth-h2-color: var(--cirth-color);
2978
+ --cirth-h3-color: var(--cirth-color);
2979
+ --cirth-h4-color: var(--cirth-color);
2980
+ --cirth-h5-color: var(--cirth-color);
2981
+ --cirth-h6-color: var(--cirth-color);
2982
+ --cirth-muted-color: oklch(78.7% .021 264);
2983
+ --cirth-secondary: oklch(78.7% .021 264);
2984
+ --cirth-code-color: oklch(83% .016 264);
2985
+ --cirth-link-visited-color: oklch(78.7% .021 264);
2986
+ --cirth-muted-border-color: oklch(57% .032 264);
2987
+ --cirth-card-border-color: var(--cirth-muted-border-color);
2988
+ --cirth-form-element-border-color: oklch(70% .028 264);
2989
+ --cirth-form-element-invalid-border-color: oklch(78.7% .106 29.73);
2990
+ --cirth-form-element-valid-border-color: oklch(78.7% .15 160.59);
2991
+ --cirth-primary: oklch(78.7% .146 69.35);
2992
+ --cirth-primary-hover: oklch(87.3% .082 69.35);
2993
+ --cirth-primary-underline: var(--cirth-primary);
2994
+ --cirth-secondary-underline: var(--cirth-secondary);
2995
+ --cirth-contrast-underline: var(--cirth-contrast);
2996
+ --cirth-primary-focus: oklch(70% .129 69.35);
2997
+ --cirth-secondary-focus: oklch(70% .028 264);
2998
+ --cirth-contrast-focus: oklch(87.3% .011 264);
2999
+ --cirth-switch-background-color: oklch(65.7% .03 264);
3000
+ --cirth-progress-border-color: oklch(70% .028 264);
3001
+ --cirth-meter-optimum-color: oklch(74.3% .142 160.59);
3002
+ --cirth-meter-suboptimum-color: oklch(78.7% .139 78);
3003
+ --cirth-meter-even-less-good-color: oklch(83% .081 29.73);
3004
+ --cirth-dropdown-border-color: var(--cirth-muted-border-color);
3005
+ }
3006
+ }
3007
+
3008
+ @media print {
3009
+ :root, :host {
3010
+ --cirth-print-color: oklch(0% 0 0);
3011
+ --cirth-print-muted-color: oklch(48.3% .03 264);
3012
+ --cirth-print-border-color: oklch(61.3% .032 264);
3013
+ }
3014
+
3015
+ html {
3016
+ --lightningcss-light: initial;
3017
+ --lightningcss-dark: ;
3018
+ color-scheme: light;
3019
+ background: none;
3020
+ }
3021
+
3022
+ body {
3023
+ color: var(--cirth-print-color);
3024
+ --lightningcss-light: initial;
3025
+ --lightningcss-dark: ;
3026
+ color-scheme: light;
3027
+ --cirth-color: var(--cirth-print-color);
3028
+ --cirth-h1-color: var(--cirth-print-color);
3029
+ --cirth-h2-color: var(--cirth-print-color);
3030
+ --cirth-h3-color: var(--cirth-print-color);
3031
+ --cirth-h4-color: var(--cirth-print-color);
3032
+ --cirth-h5-color: var(--cirth-print-color);
3033
+ --cirth-h6-color: var(--cirth-print-color);
3034
+ --cirth-code-color: var(--cirth-print-color);
3035
+ --cirth-code-kbd-color: var(--cirth-print-color);
3036
+ --cirth-form-element-color: var(--cirth-print-color);
3037
+ --cirth-muted-color: var(--cirth-print-muted-color);
3038
+ --cirth-form-element-placeholder-color: var(--cirth-print-muted-color);
3039
+ --cirth-primary: var(--cirth-print-color);
3040
+ --cirth-primary-hover: var(--cirth-print-color);
3041
+ --cirth-primary-underline: var(--cirth-print-color);
3042
+ --cirth-secondary: var(--cirth-print-color);
3043
+ --cirth-secondary-underline: var(--cirth-print-color);
3044
+ --cirth-contrast: var(--cirth-print-color);
3045
+ --cirth-contrast-underline: var(--cirth-print-color);
3046
+ --cirth-link-visited-color: var(--cirth-print-color);
3047
+ --cirth-muted-border-color: var(--cirth-print-border-color);
3048
+ --cirth-form-element-border-color: var(--cirth-print-border-color);
3049
+ --cirth-box-shadow: none;
3050
+ --cirth-card-box-shadow: none;
3051
+ --cirth-card-background-color: transparent;
3052
+ --cirth-card-sectioning-background-color: transparent;
3053
+ --cirth-code-background-color: transparent;
3054
+ --cirth-code-kbd-background-color: transparent;
3055
+ --cirth-form-element-background-color: transparent;
3056
+ --cirth-form-element-active-background-color: transparent;
3057
+ --cirth-table-row-stripped-background-color: transparent;
3058
+ --cirth-modal-overlay-background-color: transparent;
3059
+ --cirth-dropdown-background-color: transparent;
3060
+ --cirth-dropdown-box-shadow: none;
3061
+ --cirth-ins-color: oklch(35.3% .067 160.59);
3062
+ --cirth-del-color: oklch(35.3% .122 29.73);
3063
+ --cirth-meter-optimum-color: oklch(52.7% .1 160.59);
3064
+ --cirth-meter-suboptimum-color: oklch(48.3% .086 78);
3065
+ --cirth-meter-even-less-good-color: oklch(44% .151 29.73);
3066
+ background: none;
3067
+ }
3068
+
3069
+ kbd {
3070
+ border: var(--cirth-border-width) solid var(--cirth-print-border-color);
3071
+ }
3072
+
3073
+ :is(button, [type="submit"], [type="reset"], [type="button"], [role="button"]) {
3074
+ border-color: var(--cirth-print-border-color);
3075
+ box-shadow: none;
3076
+ color: var(--cirth-print-color);
3077
+ background: none;
3078
+ }
3079
+
3080
+ [type="file"]::file-selector-button {
3081
+ border-color: var(--cirth-print-border-color);
3082
+ box-shadow: none;
3083
+ color: var(--cirth-print-color);
3084
+ background: none;
3085
+ }
3086
+
3087
+ :is(mark, meter, progress, [type="checkbox"], [type="radio"]) {
3088
+ -webkit-print-color-adjust: exact;
3089
+ print-color-adjust: exact;
3090
+ }
3091
+
3092
+ a[href^="http"]:not([role="button"], nav a):after {
3093
+ content: " (" attr(href) ")";
3094
+ color: var(--cirth-print-muted-color);
3095
+ font-size: var(--cirth-font-size-sm);
3096
+ word-break: break-all;
3097
+ }
3098
+
3099
+ thead {
3100
+ display: table-header-group;
3101
+ }
3102
+
3103
+ tfoot {
3104
+ display: table-footer-group;
3105
+ }
3106
+
3107
+ tr {
3108
+ break-inside: avoid;
3109
+ }
3110
+
3111
+ pre {
3112
+ white-space: pre-wrap;
3113
+ overflow: visible;
3114
+ }
3115
+
3116
+ .overflow-auto {
3117
+ overflow: visible;
3118
+ }
3119
+
3120
+ dialog {
3121
+ -webkit-backdrop-filter: none;
3122
+ backdrop-filter: none;
3123
+ min-width: 0;
3124
+ min-height: 0;
3125
+ position: static;
3126
+ }
3127
+
3128
+ dialog > article {
3129
+ max-height: none;
3130
+ overflow: visible;
3131
+ }
3132
+
3133
+ :is(h1, h2, h3, h4, h5, h6) {
3134
+ break-after: avoid;
3135
+ }
3136
+
3137
+ :is(figure, img) {
3138
+ break-inside: avoid;
3139
+ }
3140
+
3141
+ :is(blockquote, li, p) {
3142
+ orphans: 3;
3143
+ widows: 3;
3144
+ }
3145
+ }