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