@pythia-software/query-table-ui 0.9.5 → 0.9.6

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/theme.css CHANGED
@@ -1688,9 +1688,9 @@
1688
1688
  .qt-btn,
1689
1689
  .qt-add,
1690
1690
  .qt-link-btn {
1691
- min-height: 40px;
1691
+ min-height: calc(var(--_qt-target-height, 24px) + (40px - var(--_qt-target-height, 24px)) * var(--qt-touch-target-scale, 1));
1692
1692
  height: auto;
1693
- padding: 8px 10px;
1693
+ padding: calc(0px + 8px * var(--qt-touch-target-scale, 1)) calc(var(--_qt-padding-x, 6px) + (10px - var(--_qt-padding-x, 6px)) * var(--qt-touch-target-scale, 1));
1694
1694
  touch-action: manipulation;
1695
1695
  }
1696
1696
  .qt-chip-x,
@@ -1725,9 +1725,9 @@
1725
1725
  min-width: 0;
1726
1726
  }
1727
1727
  .qt-qb-saved-star {
1728
- width: 32px;
1729
- min-width: 32px;
1730
- min-height: 32px;
1728
+ width: calc(16px + 16px * var(--qt-touch-target-scale, 1));
1729
+ min-width: calc(16px + 16px * var(--qt-touch-target-scale, 1));
1730
+ min-height: calc(16px + 16px * var(--qt-touch-target-scale, 1));
1731
1731
  font-size: 18px;
1732
1732
  }
1733
1733
  .qt-qb-saved-name {
@@ -1766,7 +1766,7 @@
1766
1766
  }
1767
1767
  .qt-chip {
1768
1768
  height: auto;
1769
- min-height: 40px;
1769
+ min-height: calc(24px + 16px * var(--qt-touch-target-scale, 1));
1770
1770
  padding: 0 8px;
1771
1771
  gap: 5px;
1772
1772
  flex-wrap: wrap;
@@ -1776,21 +1776,21 @@
1776
1776
  display: none;
1777
1777
  }
1778
1778
  .qt-chip-x {
1779
- min-width: 30px;
1780
- min-height: 30px;
1779
+ min-width: calc(var(--_qt-target-width, 0px) + (30px - var(--_qt-target-width, 0px)) * var(--qt-touch-target-scale, 1));
1780
+ min-height: calc(20px + 10px * var(--qt-touch-target-scale, 1));
1781
1781
  padding: 0 7px;
1782
1782
  justify-content: center;
1783
1783
  font-size: 13px;
1784
1784
  }
1785
1785
  .qt-chip-op,
1786
1786
  .qt-chip-val {
1787
- height: 32px;
1788
- min-height: 32px;
1787
+ height: calc(20px + 12px * var(--qt-touch-target-scale, 1));
1788
+ min-height: calc(20px + 12px * var(--qt-touch-target-scale, 1));
1789
1789
  padding: 0 6px;
1790
1790
  font-size: 16px;
1791
1791
  }
1792
1792
  .qt-chip-op-btn {
1793
- height: 32px;
1793
+ height: calc(20px + 12px * var(--qt-touch-target-scale, 1));
1794
1794
  padding: 0 8px;
1795
1795
  font-size: 13px;
1796
1796
  }
@@ -1806,12 +1806,12 @@
1806
1806
  flex: 1 0 100%;
1807
1807
  }
1808
1808
  .qt-chip-agg-group {
1809
- height: 32px;
1809
+ height: calc(20px + 12px * var(--qt-touch-target-scale, 1));
1810
1810
  font-size: 13px;
1811
1811
  }
1812
1812
  .qt-chip-agg-group .qt-chip-x {
1813
- min-width: 28px;
1814
- min-height: 28px;
1813
+ min-width: calc(var(--_qt-target-width, 0px) + (28px - var(--_qt-target-width, 0px)) * var(--qt-touch-target-scale, 1));
1814
+ min-height: calc(20px + 8px * var(--qt-touch-target-scale, 1));
1815
1815
  font-size: 12px;
1816
1816
  }
1817
1817
  .qt-qb-pagination {
@@ -1835,9 +1835,9 @@
1835
1835
  }
1836
1836
  .qt-qb-num {
1837
1837
  width: 100%;
1838
- min-height: 40px;
1838
+ min-height: calc(var(--_qt-target-height, 24px) + (40px - var(--_qt-target-height, 24px)) * var(--qt-touch-target-scale, 1));
1839
1839
  box-sizing: border-box;
1840
- padding: 6px 8px;
1840
+ padding: calc(2px + 4px * var(--qt-touch-target-scale, 1)) 8px;
1841
1841
  font-size: 16px;
1842
1842
  }
1843
1843
  .qt-qb-run-bar {
@@ -1874,8 +1874,8 @@
1874
1874
  }
1875
1875
  .qt-auto-refresh-select {
1876
1876
  width: 150px;
1877
- height: 40px;
1878
- padding: 6px 8px;
1877
+ height: calc(24px + 16px * var(--qt-touch-target-scale, 1));
1878
+ padding: calc(2px + 4px * var(--qt-touch-target-scale, 1)) 8px;
1879
1879
  font-size: 16px;
1880
1880
  }
1881
1881
  .qt-picker {
@@ -1884,9 +1884,9 @@
1884
1884
  }
1885
1885
  .qt-picker-input {
1886
1886
  width: 100%;
1887
- min-height: 42px;
1887
+ min-height: calc(var(--_qt-target-height, 24px) + (42px - var(--_qt-target-height, 24px)) * var(--qt-touch-target-scale, 1));
1888
1888
  box-sizing: border-box;
1889
- padding: 7px 9px;
1889
+ padding: calc(2px + 5px * var(--qt-touch-target-scale, 1)) 9px;
1890
1890
  font-size: 16px;
1891
1891
  }
1892
1892
  .qt-picker-list {
@@ -1898,8 +1898,8 @@
1898
1898
  padding: 7px 10px;
1899
1899
  }
1900
1900
  .qt-picker-item {
1901
- min-height: 48px;
1902
- padding: 8px 10px;
1901
+ min-height: calc(var(--_qt-target-height, 24px) + (48px - var(--_qt-target-height, 24px)) * var(--qt-touch-target-scale, 1));
1902
+ padding: calc(5px + 3px * var(--qt-touch-target-scale, 1)) 10px;
1903
1903
  font-size: 14px;
1904
1904
  }
1905
1905
  .qt-selection-toolbar {
@@ -1913,10 +1913,10 @@
1913
1913
  margin-left: 0;
1914
1914
  }
1915
1915
  .qt-selection-actions > * {
1916
- min-height: 40px;
1916
+ min-height: calc(var(--_qt-target-height, 24px) + (40px - var(--_qt-target-height, 24px)) * var(--qt-touch-target-scale, 1));
1917
1917
  }
1918
1918
  .qt-qt-section-head {
1919
- min-height: 48px;
1919
+ min-height: calc(36px + 12px * var(--qt-touch-target-scale, 1));
1920
1920
  padding: 2px 8px;
1921
1921
  }
1922
1922
  .qt-qt-section-summary {
@@ -1925,8 +1925,8 @@
1925
1925
  white-space: nowrap;
1926
1926
  }
1927
1927
  .qt-btn.qt-qt-section-toggle {
1928
- height: 44px;
1929
- min-height: 44px;
1928
+ height: calc(28px + 16px * var(--qt-touch-target-scale, 1));
1929
+ min-height: calc(28px + 16px * var(--qt-touch-target-scale, 1));
1930
1930
  padding: 0 4px;
1931
1931
  }
1932
1932
  .qt-metrics {
@@ -1992,8 +1992,8 @@
1992
1992
  background: var(--qt-row-selected-bg);
1993
1993
  }
1994
1994
  .qt-checkbox-cell input {
1995
- width: 20px;
1996
- height: 20px;
1995
+ width: calc(13px + 7px * var(--qt-touch-target-scale, 1));
1996
+ height: calc(13px + 7px * var(--qt-touch-target-scale, 1));
1997
1997
  margin: 0;
1998
1998
  }
1999
1999
  .qt-empty {
@@ -2008,10 +2008,10 @@
2008
2008
  left: 12px;
2009
2009
  width: calc(100vw - 48px);
2010
2010
  width: calc(100cqw - 24px);
2011
- min-height: 40px;
2011
+ min-height: calc(24px + 16px * var(--qt-touch-target-scale, 1));
2012
2012
  }
2013
2013
  .qt-table-summary .qt-btn {
2014
- min-width: 76px;
2014
+ min-width: calc(var(--_qt-target-width, 30px) + (76px - var(--_qt-target-width, 30px)) * var(--qt-touch-target-scale, 1));
2015
2015
  }
2016
2016
  .qt-cell-menu {
2017
2017
  inset: auto max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)) !important;
@@ -2026,8 +2026,8 @@
2026
2026
  padding: 8px 10px 10px;
2027
2027
  }
2028
2028
  .qt-cm-item {
2029
- min-height: 44px;
2030
- padding: 10px 12px;
2029
+ min-height: calc(32px + 12px * var(--qt-touch-target-scale, 1));
2030
+ padding: calc(6px + 4px * var(--qt-touch-target-scale, 1)) 12px;
2031
2031
  font-size: 15px;
2032
2032
  }
2033
2033
  .qt-modal-backdrop {
@@ -2053,7 +2053,7 @@
2053
2053
  .qt-saved-pick {
2054
2054
  flex: 1 0 100%;
2055
2055
  min-width: 0;
2056
- padding: 6px 2px;
2056
+ padding: calc(4px + 2px * var(--qt-touch-target-scale, 1)) 2px;
2057
2057
  }
2058
2058
  .qt-saved-default,
2059
2059
  .qt-saved-delete {
@@ -2061,7 +2061,7 @@
2061
2061
  justify-content: center;
2062
2062
  }
2063
2063
  .qt-modal-footer .qt-btn {
2064
- min-width: 96px;
2064
+ min-width: calc(var(--_qt-target-width, 30px) + (96px - var(--_qt-target-width, 30px)) * var(--qt-touch-target-scale, 1));
2065
2065
  justify-content: center;
2066
2066
  }
2067
2067
  }
@@ -2708,14 +2708,14 @@
2708
2708
  .qt-sheet select,
2709
2709
  .qt-sheet input:not([type=checkbox]),
2710
2710
  .qt-selection-toolbar .qt-btn {
2711
- min-height: 44px;
2711
+ min-height: calc(var(--_qt-target-height, 24px) + (44px - var(--_qt-target-height, 24px)) * var(--qt-touch-target-scale, 1));
2712
2712
  touch-action: manipulation;
2713
2713
  }
2714
2714
  .qt-qb .qt-btn,
2715
2715
  .qt-qb .qt-add,
2716
2716
  .qt-qb .qt-link-btn {
2717
- padding: 6px 10px;
2718
- min-width: 44px;
2717
+ padding: calc(0px + 6px * var(--qt-touch-target-scale, 1)) calc(var(--_qt-padding-x, 6px) + (10px - var(--_qt-padding-x, 6px)) * var(--qt-touch-target-scale, 1));
2718
+ min-width: calc(var(--_qt-target-width, 0px) + (44px - var(--_qt-target-width, 0px)) * var(--qt-touch-target-scale, 1));
2719
2719
  }
2720
2720
  .qt-qb-bar {
2721
2721
  padding: 4px 8px;
@@ -2725,14 +2725,14 @@
2725
2725
  gap: 6px;
2726
2726
  }
2727
2727
  .qt-qb-state-bar .qt-btn {
2728
- min-height: 32px;
2729
- min-width: 32px;
2728
+ min-height: calc(var(--_qt-target-height, 24px) + (32px - var(--_qt-target-height, 24px)) * var(--qt-touch-target-scale, 1));
2729
+ min-width: calc(var(--_qt-target-width, 0px) + (32px - var(--_qt-target-width, 0px)) * var(--qt-touch-target-scale, 1));
2730
2730
  padding: 0 6px;
2731
2731
  }
2732
2732
  .qt-qb-state-bar .qt-qb-collapse-btn {
2733
2733
  min-width: 0;
2734
- height: 44px;
2735
- min-height: 44px;
2734
+ height: calc(28px + 16px * var(--qt-touch-target-scale, 1));
2735
+ min-height: calc(28px + 16px * var(--qt-touch-target-scale, 1));
2736
2736
  padding: 0 4px;
2737
2737
  }
2738
2738
  .qt-qb-editor-bar {
@@ -2782,7 +2782,7 @@
2782
2782
  padding-left: 12px;
2783
2783
  }
2784
2784
  .qt-qb .qt-qb-num {
2785
- min-height: 32px;
2785
+ min-height: calc(var(--_qt-target-height, 24px) + (32px - var(--_qt-target-height, 24px)) * var(--qt-touch-target-scale, 1));
2786
2786
  padding: 0 8px;
2787
2787
  border-radius: 8px;
2788
2788
  }
@@ -2796,7 +2796,7 @@
2796
2796
  border-radius: 8px 0 0 8px;
2797
2797
  }
2798
2798
  .qt-qb-num-step {
2799
- min-width: 44px;
2799
+ min-width: calc(var(--_qt-target-width, 0px) + (44px - var(--_qt-target-width, 0px)) * var(--qt-touch-target-scale, 1));
2800
2800
  padding: 0 10px;
2801
2801
  font-size: 13px;
2802
2802
  touch-action: manipulation;
@@ -2813,19 +2813,19 @@
2813
2813
  }
2814
2814
  .qt-th,
2815
2815
  .qt-cell {
2816
- height: 44px;
2816
+ height: calc(calc(1lh + 17px) + (44px - calc(1lh + 17px)) * var(--qt-touch-target-scale, 1));
2817
2817
  padding-top: 6px;
2818
2818
  padding-bottom: 6px;
2819
2819
  }
2820
2820
  .qt-qb .qt-qb-saved-star,
2821
2821
  .qt-qb .qt-qb-saved-cancel {
2822
- min-width: 44px;
2823
- min-height: 44px;
2822
+ min-width: calc(var(--_qt-target-width, 0px) + (44px - var(--_qt-target-width, 0px)) * var(--qt-touch-target-scale, 1));
2823
+ min-height: calc(var(--_qt-target-height, 24px) + (44px - var(--_qt-target-height, 24px)) * var(--qt-touch-target-scale, 1));
2824
2824
  }
2825
2825
  .qt-qb-state-bar .qt-qb-saved-star,
2826
2826
  .qt-qb-state-bar .qt-qb-saved-cancel {
2827
- min-width: 32px;
2828
- min-height: 32px;
2827
+ min-width: calc(var(--_qt-target-width, 0px) + (32px - var(--_qt-target-width, 0px)) * var(--qt-touch-target-scale, 1));
2828
+ min-height: calc(var(--_qt-target-height, 24px) + (32px - var(--_qt-target-height, 24px)) * var(--qt-touch-target-scale, 1));
2829
2829
  }
2830
2830
  .qt-qb-collapse-caret,
2831
2831
  .qt-qt-section-toggle-caret {
@@ -2834,22 +2834,22 @@
2834
2834
  }
2835
2835
  .qt-qb .qt-chip-x,
2836
2836
  .qt-qb .qt-chip-op-btn {
2837
- min-height: 32px;
2838
- min-width: 32px;
2837
+ min-height: calc(20px + 12px * var(--qt-touch-target-scale, 1));
2838
+ min-width: calc(var(--_qt-target-width, 0px) + (32px - var(--_qt-target-width, 0px)) * var(--qt-touch-target-scale, 1));
2839
2839
  padding-top: 0;
2840
2840
  padding-bottom: 0;
2841
2841
  }
2842
2842
  .qt-qb .qt-chip-op,
2843
2843
  .qt-qb .qt-chip-val {
2844
- min-height: 32px;
2844
+ min-height: calc(20px + 12px * var(--qt-touch-target-scale, 1));
2845
2845
  font-size: 16px;
2846
2846
  max-width: 100%;
2847
2847
  }
2848
2848
  .qt-qb-editor-bar .qt-btn,
2849
2849
  .qt-qb-editor-bar .qt-add,
2850
2850
  .qt-qb-editor-bar .qt-link-btn {
2851
- min-height: 32px;
2852
- padding: 0 8px;
2851
+ min-height: calc(var(--_qt-target-height, 24px) + (32px - var(--_qt-target-height, 24px)) * var(--qt-touch-target-scale, 1));
2852
+ padding: 0 calc(var(--_qt-padding-x, 6px) + (8px - var(--_qt-padding-x, 6px)) * var(--qt-touch-target-scale, 1));
2853
2853
  }
2854
2854
  .qt-qb-editor-bar .qt-qb-row:not(.qt-qb-pagination) > .qt-qb-kw[data-mobile-label] {
2855
2855
  flex: 1 0 auto;
@@ -2892,7 +2892,7 @@
2892
2892
  width: 100%;
2893
2893
  max-width: 100%;
2894
2894
  min-width: 0;
2895
- min-height: 32px;
2895
+ min-height: calc(24px + 8px * var(--qt-touch-target-scale, 1));
2896
2896
  border-radius: 8px;
2897
2897
  background: var(--qt-bg, #fff);
2898
2898
  box-shadow: inset 0 0 0 1px var(--qt-border);
@@ -2909,7 +2909,7 @@
2909
2909
  flex: 1;
2910
2910
  gap: 6px;
2911
2911
  min-width: 0;
2912
- min-height: 32px;
2912
+ min-height: calc(24px + 8px * var(--qt-touch-target-scale, 1));
2913
2913
  padding: 0 8px;
2914
2914
  border: 0;
2915
2915
  border-radius: 0;
@@ -2990,10 +2990,10 @@
2990
2990
  padding-right: 8px;
2991
2991
  }
2992
2992
  .qt-split-btn {
2993
- height: 32px;
2993
+ height: calc(24px + 8px * var(--qt-touch-target-scale, 1));
2994
2994
  }
2995
2995
  .qt-qb .qt-split-btn > .qt-split-btn-caret {
2996
- width: 28px;
2996
+ width: calc(24px + 4px * var(--qt-touch-target-scale, 1));
2997
2997
  }
2998
2998
  .qt-qb-row--filters > .qt-qb-hint,
2999
2999
  .qt-qb-row--sort > .qt-qb-hint,
@@ -3012,7 +3012,7 @@
3012
3012
  overflow: visible;
3013
3013
  }
3014
3014
  .qt-query-reorder-list > .qt-reorder-item {
3015
- min-height: 32px;
3015
+ min-height: calc(24px + 8px * var(--qt-touch-target-scale, 1));
3016
3016
  max-width: 100%;
3017
3017
  min-width: 0;
3018
3018
  padding: 0;
@@ -3037,7 +3037,7 @@
3037
3037
  .qt-query-reorder-list .qt-reorder-handle {
3038
3038
  flex-shrink: 0;
3039
3039
  min-width: 24px;
3040
- min-height: 32px;
3040
+ min-height: calc(20px + 12px * var(--qt-touch-target-scale, 1));
3041
3041
  padding: 0;
3042
3042
  font-size: 20px;
3043
3043
  }
@@ -3117,7 +3117,7 @@
3117
3117
  padding: 8px 12px;
3118
3118
  }
3119
3119
  .qt-sheet .qt-sort-extract-footer > button {
3120
- min-height: 32px;
3120
+ min-height: calc(24px + 8px * var(--qt-touch-target-scale, 1));
3121
3121
  padding: 0 8px;
3122
3122
  }
3123
3123
  .qt-sheet .qt-reorder-hint {
@@ -3147,7 +3147,7 @@
3147
3147
  }
3148
3148
  .qt-sheet .qt-picker-input {
3149
3149
  flex-shrink: 0;
3150
- min-height: 44px;
3150
+ min-height: calc(var(--_qt-target-height, 24px) + (44px - var(--_qt-target-height, 24px)) * var(--qt-touch-target-scale, 1));
3151
3151
  padding: 6px 10px;
3152
3152
  border-radius: 10px;
3153
3153
  }
@@ -3164,7 +3164,7 @@
3164
3164
  }
3165
3165
  .qt-sheet .qt-picker-item {
3166
3166
  padding: 6px 4px;
3167
- min-height: 44px;
3167
+ min-height: calc(var(--_qt-target-height, 24px) + (44px - var(--_qt-target-height, 24px)) * var(--qt-touch-target-scale, 1));
3168
3168
  border-bottom: 1px solid var(--qt-border-subtle);
3169
3169
  }
3170
3170
  .qt-sheet .qt-picker-row {
@@ -3204,7 +3204,7 @@
3204
3204
  }
3205
3205
  .qt-sheet .qt-op-cell {
3206
3206
  padding: 6px 8px;
3207
- min-height: 44px;
3207
+ min-height: calc(32px + 12px * var(--qt-touch-target-scale, 1));
3208
3208
  font-size: 15px;
3209
3209
  }
3210
3210
  .qt-sheet .qt-auto-refresh-popover {
@@ -3229,7 +3229,7 @@
3229
3229
  flex-shrink: 0;
3230
3230
  }
3231
3231
  .qt-sheet .qt-value-picker-list button {
3232
- min-height: 44px;
3232
+ min-height: calc(var(--_qt-target-height, 24px) + (44px - var(--_qt-target-height, 24px)) * var(--qt-touch-target-scale, 1));
3233
3233
  font-size: 16px;
3234
3234
  padding: 6px 8px;
3235
3235
  }
@@ -3256,18 +3256,18 @@
3256
3256
  .qt-filter-editor .qt-chip-val {
3257
3257
  width: 100% !important;
3258
3258
  min-width: 0;
3259
- min-height: 44px;
3259
+ min-height: calc(20px + 24px * var(--qt-touch-target-scale, 1));
3260
3260
  font-size: 16px;
3261
- padding: 6px 8px;
3261
+ padding: calc(1px + 5px * var(--qt-touch-target-scale, 1)) 8px;
3262
3262
  }
3263
3263
  .qt-filter-editor .qt-chip-op-btn {
3264
- min-height: 44px;
3264
+ min-height: calc(20px + 24px * var(--qt-touch-target-scale, 1));
3265
3265
  font-size: 16px;
3266
- padding: 6px 8px;
3266
+ padding: calc(0px + 6px * var(--qt-touch-target-scale, 1)) 8px;
3267
3267
  }
3268
3268
  .qt-filter-editor .qt-chip-x {
3269
- min-width: 44px;
3270
- min-height: 44px;
3269
+ min-width: calc(var(--_qt-target-width, 0px) + (44px - var(--_qt-target-width, 0px)) * var(--qt-touch-target-scale, 1));
3270
+ min-height: calc(20px + 24px * var(--qt-touch-target-scale, 1));
3271
3271
  }
3272
3272
  .qt-filter-combine {
3273
3273
  display: flex;
@@ -3317,7 +3317,7 @@
3317
3317
  .qt-mobile-form input,
3318
3318
  .qt-mobile-form .qt-chip-val,
3319
3319
  .qt-mobile-form .qt-chip-op-btn {
3320
- min-height: 36px;
3320
+ min-height: calc(var(--_qt-target-height, 24px) + (36px - var(--_qt-target-height, 24px)) * var(--qt-touch-target-scale, 1));
3321
3321
  padding: 0 8px;
3322
3322
  font-size: 16px;
3323
3323
  border: 1px solid var(--qt-border);
@@ -3348,15 +3348,15 @@
3348
3348
  }
3349
3349
  .qt-mobile-form-inline .qt-btn {
3350
3350
  flex-shrink: 0;
3351
- min-width: 44px;
3352
- min-height: 44px;
3351
+ min-width: calc(var(--_qt-target-width, 0px) + (44px - var(--_qt-target-width, 0px)) * var(--qt-touch-target-scale, 1));
3352
+ min-height: calc(var(--_qt-target-height, 24px) + (44px - var(--_qt-target-height, 24px)) * var(--qt-touch-target-scale, 1));
3353
3353
  }
3354
3354
  .qt-mobile-form-actions {
3355
3355
  justify-content: space-between;
3356
3356
  border-top: 1px solid var(--qt-border-subtle);
3357
3357
  }
3358
3358
  .qt-mobile-form-remove {
3359
- min-height: 32px;
3359
+ min-height: calc(24px + 8px * var(--qt-touch-target-scale, 1));
3360
3360
  padding: 0 8px;
3361
3361
  border: 0;
3362
3362
  border-radius: 8px;
@@ -3368,7 +3368,7 @@
3368
3368
  touch-action: manipulation;
3369
3369
  }
3370
3370
  .qt-sheet .qt-mobile-form-remove {
3371
- min-height: 32px;
3371
+ min-height: calc(24px + 8px * var(--qt-touch-target-scale, 1));
3372
3372
  }
3373
3373
  .qt-mobile-form > .qt-mobile-form-remove {
3374
3374
  border-top: 1px solid var(--qt-border-subtle);
@@ -3390,7 +3390,7 @@
3390
3390
  .qt-mobile-form .qt-chip-agg-group {
3391
3391
  display: inline-flex;
3392
3392
  align-items: center;
3393
- min-height: 32px;
3393
+ min-height: calc(20px + 12px * var(--qt-touch-target-scale, 1));
3394
3394
  max-width: 100%;
3395
3395
  padding-left: 8px;
3396
3396
  border: 1px solid var(--qt-border);
@@ -3404,8 +3404,8 @@
3404
3404
  .qt-sheet .qt-mobile-form .qt-chip-x,
3405
3405
  .qt-sheet .qt-mobile-form .qt-chip-agg-add {
3406
3406
  flex-shrink: 0;
3407
- min-width: 32px;
3408
- min-height: 32px;
3407
+ min-width: calc(var(--_qt-target-width, 0px) + (32px - var(--_qt-target-width, 0px)) * var(--qt-touch-target-scale, 1));
3408
+ min-height: calc(20px + 12px * var(--qt-touch-target-scale, 1));
3409
3409
  padding-top: 0;
3410
3410
  padding-bottom: 0;
3411
3411
  }
@@ -3421,8 +3421,8 @@
3421
3421
  }
3422
3422
  .qt-filter-combine select {
3423
3423
  min-width: 0;
3424
- min-height: 44px;
3425
- padding: 6px 8px;
3424
+ min-height: calc(24px + 20px * var(--qt-touch-target-scale, 1));
3425
+ padding: calc(2px + 4px * var(--qt-touch-target-scale, 1)) 8px;
3426
3426
  border: 1px solid var(--qt-border);
3427
3427
  border-radius: 8px;
3428
3428
  background: var(--qt-bg, #fff);
@@ -3504,8 +3504,8 @@
3504
3504
  }
3505
3505
  .qt-sheet .qt-icon-btn,
3506
3506
  .qt-sheet .qt-column-name {
3507
- min-width: 32px;
3508
- min-height: 32px;
3507
+ min-width: calc(var(--_qt-target-width, 0px) + (32px - var(--_qt-target-width, 0px)) * var(--qt-touch-target-scale, 1));
3508
+ min-height: calc(var(--_qt-target-height, 24px) + (32px - var(--_qt-target-height, 24px)) * var(--qt-touch-target-scale, 1));
3509
3509
  padding-top: 0;
3510
3510
  padding-bottom: 0;
3511
3511
  }
@@ -3515,7 +3515,7 @@
3515
3515
  .qt-sheet .qt-preview-controls input {
3516
3516
  max-width: 100%;
3517
3517
  font-size: 16px;
3518
- padding: 6px 8px;
3518
+ padding: calc(min(6px, var(--_qt-padding-y, 1px)) + (6px - min(6px, var(--_qt-padding-y, 1px))) * var(--qt-touch-target-scale, 1)) 8px;
3519
3519
  }
3520
3520
  .qt-sheet .qt-catalogue-list {
3521
3521
  max-height: none;
@@ -3698,10 +3698,10 @@
3698
3698
  .qt-set-editor.qt-sheet select,
3699
3699
  .qt-set-editor.qt-sheet > input {
3700
3700
  font-size: 16px;
3701
- min-height: 44px;
3701
+ min-height: calc(32px + 12px * var(--qt-touch-target-scale, 1));
3702
3702
  }
3703
3703
  .qt-set-editor.qt-sheet .qt-set-option {
3704
- min-height: 44px;
3704
+ min-height: calc(calc(1lh + 12px) + (44px - calc(1lh + 12px)) * var(--qt-touch-target-scale, 1));
3705
3705
  box-sizing: border-box;
3706
3706
  }
3707
3707
  }
@@ -4061,14 +4061,14 @@
4061
4061
  }
4062
4062
  .qt-json-action {
4063
4063
  width: 28px;
4064
- height: 32px;
4064
+ height: calc(28px + 4px * var(--qt-touch-target-scale, 1));
4065
4065
  }
4066
4066
  .qt-json-search-mode {
4067
- height: 32px;
4067
+ height: calc(28px + 4px * var(--qt-touch-target-scale, 1));
4068
4068
  width: 68px;
4069
4069
  }
4070
4070
  .qt-json-search.qt-input {
4071
- height: 32px;
4071
+ height: calc(28px + 4px * var(--qt-touch-target-scale, 1));
4072
4072
  font-size: 16px;
4073
4073
  }
4074
4074
  .qt-json-content {
@@ -4080,7 +4080,7 @@
4080
4080
  .qt-json-toggle,
4081
4081
  .qt-json-toggle-space,
4082
4082
  .qt-json-copy {
4083
- height: 28px;
4083
+ height: calc(24px + 4px * var(--qt-touch-target-scale, 1));
4084
4084
  }
4085
4085
  .qt-json-copy {
4086
4086
  opacity: 1;
@@ -4089,8 +4089,8 @@
4089
4089
  @media (pointer: coarse) {
4090
4090
  .qt-json-toggle,
4091
4091
  .qt-json-copy {
4092
- min-width: 28px;
4093
- min-height: 32px;
4092
+ min-width: calc(var(--_qt-target-width, 0px) + (28px - var(--_qt-target-width, 0px)) * var(--qt-touch-target-scale, 1));
4093
+ min-height: calc(24px + 8px * var(--qt-touch-target-scale, 1));
4094
4094
  }
4095
4095
  .qt-json-copy {
4096
4096
  opacity: 1;
@@ -5546,7 +5546,7 @@
5546
5546
  display: none;
5547
5547
  }
5548
5548
  .qt-metrics-editor-header .qt-metric-close {
5549
- min-height: 34px;
5549
+ min-height: calc(30px + 4px * var(--qt-touch-target-scale, 1));
5550
5550
  order: 2;
5551
5551
  margin-inline-start: auto;
5552
5552
  }
@@ -5568,7 +5568,7 @@
5568
5568
  }
5569
5569
  .qt-metrics-editor-footer .qt-btn {
5570
5570
  font-size: 12px;
5571
- min-height: 38px;
5571
+ min-height: calc(30px + 8px * var(--qt-touch-target-scale, 1));
5572
5572
  }
5573
5573
  .qt-metric-workspace > :is(aside, section) {
5574
5574
  padding: 12px;
@@ -5765,8 +5765,8 @@
5765
5765
  }
5766
5766
  @media (pointer: coarse) {
5767
5767
  .qt-metric-card-resize {
5768
- width: 30px;
5769
- height: 30px;
5768
+ width: calc(22px + 8px * var(--qt-touch-target-scale, 1));
5769
+ height: calc(22px + 8px * var(--qt-touch-target-scale, 1));
5770
5770
  }
5771
5771
  .qt-metric-card-edit,
5772
5772
  .qt-metric-card-resize {
@@ -6212,22 +6212,22 @@
6212
6212
  .qt-property-controls .qt-btn,
6213
6213
  .qt-property-controls .qt-add,
6214
6214
  .qt-property-controls .qt-link-btn {
6215
- min-height: 36px;
6215
+ min-height: calc(24px + 12px * var(--qt-touch-target-scale, 1));
6216
6216
  }
6217
6217
  .qt-property-icon-button {
6218
- min-width: 32px;
6218
+ min-width: calc(26px + 6px * var(--qt-touch-target-scale, 1));
6219
6219
  }
6220
6220
  .qt-property-controls input,
6221
6221
  .qt-property-controls select {
6222
6222
  font-size: 16px;
6223
- height: 36px;
6223
+ height: calc(28px + 8px * var(--qt-touch-target-scale, 1));
6224
6224
  }
6225
6225
  .qt-property-controls .qt-property-view-picker select {
6226
6226
  max-width: 100%;
6227
6227
  font-size: 13px;
6228
6228
  }
6229
6229
  .qt-property-controls .qt-property-save-star {
6230
- width: 32px;
6230
+ width: calc(24px + 8px * var(--qt-touch-target-scale, 1));
6231
6231
  }
6232
6232
  .qt-property-columns,
6233
6233
  .qt-property {
@@ -6464,7 +6464,7 @@
6464
6464
  }
6465
6465
  .qt-property-editor-tabs > button {
6466
6466
  flex: 1;
6467
- min-height: 36px;
6467
+ min-height: calc(24px + 12px * var(--qt-touch-target-scale, 1));
6468
6468
  }
6469
6469
  .qt-property-editor-tabs [aria-selected=true] {
6470
6470
  color: var(--qt-accent);
@@ -6484,7 +6484,7 @@
6484
6484
  padding: 0 12px 12px;
6485
6485
  }
6486
6486
  .qt-property-editor-list .qt-reorder-item {
6487
- min-height: 44px;
6487
+ min-height: calc(40px + 4px * var(--qt-touch-target-scale, 1));
6488
6488
  }
6489
6489
  .qt-property-editor-footer {
6490
6490
  padding: 12px;
@@ -6494,17 +6494,17 @@
6494
6494
  }
6495
6495
  .qt-property-editor-footer > button {
6496
6496
  flex: 1;
6497
- min-height: 40px;
6497
+ min-height: calc(24px + 16px * var(--qt-touch-target-scale, 1));
6498
6498
  justify-content: center;
6499
6499
  }
6500
6500
  .qt-property-editor .qt-property-icon-button,
6501
6501
  .qt-property-editor .qt-reorder-handle {
6502
- min-height: 36px;
6503
- min-width: 28px;
6502
+ min-height: calc(28px + 8px * var(--qt-touch-target-scale, 1));
6503
+ min-width: calc(24px + 4px * var(--qt-touch-target-scale, 1));
6504
6504
  }
6505
6505
  .qt-property-editor :is(input, select) {
6506
6506
  font-size: 16px;
6507
- min-height: 40px;
6507
+ min-height: calc(var(--_qt-target-height, 24px) + (40px - var(--_qt-target-height, 24px)) * var(--qt-touch-target-scale, 1));
6508
6508
  }
6509
6509
  }
6510
6510
  .qt-item-detail-actions {
@@ -6692,7 +6692,7 @@
6692
6692
  gap: 0;
6693
6693
  }
6694
6694
  .qt-item-detail-button {
6695
- min-height: 36px;
6695
+ min-height: calc(28px + 8px * var(--qt-touch-target-scale, 1));
6696
6696
  }
6697
6697
  .qt-item-expanded {
6698
6698
  padding: 8px;
@@ -6975,7 +6975,7 @@
6975
6975
  }
6976
6976
  .qt-qb--compact .qt-qb-pagination .qt-qb-num {
6977
6977
  width: 54px;
6978
- min-height: 32px;
6978
+ min-height: calc(var(--_qt-target-height, 24px) + (32px - var(--_qt-target-height, 24px)) * var(--qt-touch-target-scale, 1));
6979
6979
  }
6980
6980
  .qt-qb--compact .qt-qb-body > .qt-qb-row--unused {
6981
6981
  align-self: center;
@@ -7141,17 +7141,17 @@
7141
7141
  }
7142
7142
  @media (max-width: 760px), (pointer: coarse) and (max-height: 500px) {
7143
7143
  .qt-group-op-control {
7144
- height: 28px;
7144
+ height: calc(20px + 8px * var(--qt-touch-target-scale, 1));
7145
7145
  }
7146
7146
  .qt-qb--groupable .qt-group-clauses .qt-chip {
7147
- height: 32px;
7148
- min-height: 32px;
7147
+ height: calc(24px + 8px * var(--qt-touch-target-scale, 1));
7148
+ min-height: calc(24px + 8px * var(--qt-touch-target-scale, 1));
7149
7149
  }
7150
7150
  .qt-qb--groupable .qt-query-reorder-list--columns {
7151
7151
  gap: 6px;
7152
7152
  }
7153
7153
  .qt-group-views .qt-btn {
7154
- min-height: 36px;
7154
+ min-height: calc(24px + 12px * var(--qt-touch-target-scale, 1));
7155
7155
  }
7156
7156
  }
7157
7157
  .qt-columns-editor.qt-modal {
@@ -7685,8 +7685,8 @@
7685
7685
  }
7686
7686
  .qt-sheet .qt-representative-editor > .qt-picker-heading > button {
7687
7687
  display: inline-flex;
7688
- min-height: 32px;
7689
- min-width: 32px;
7688
+ min-height: calc(24px + 8px * var(--qt-touch-target-scale, 1));
7689
+ min-width: calc(var(--_qt-target-width, 0px) + (32px - var(--_qt-target-width, 0px)) * var(--qt-touch-target-scale, 1));
7690
7690
  }
7691
7691
  .qt-sheet .qt-representative-editor {
7692
7692
  padding: 0 12px 12px;
@@ -7695,10 +7695,10 @@
7695
7695
  .qt-representative-order .qt-chip-x,
7696
7696
  .qt-representative-order .qt-reorder-handle,
7697
7697
  .qt-representative-field {
7698
- min-height: 32px;
7698
+ min-height: calc(var(--_qt-target-height, 24px) + (32px - var(--_qt-target-height, 24px)) * var(--qt-touch-target-scale, 1));
7699
7699
  }
7700
7700
  .qt-representative-order .qt-chip-x {
7701
- min-width: 28px;
7701
+ min-width: calc(var(--_qt-target-width, 0px) + (28px - var(--_qt-target-width, 0px)) * var(--qt-touch-target-scale, 1));
7702
7702
  }
7703
7703
  .qt-representative-order .qt-chip-op-btn {
7704
7704
  min-width: 0;
@@ -7706,7 +7706,7 @@
7706
7706
  font-size: 12px;
7707
7707
  }
7708
7708
  .qt-representative-order .qt-reorder-handle {
7709
- min-width: 24px;
7709
+ min-width: calc(16px + 8px * var(--qt-touch-target-scale, 1));
7710
7710
  }
7711
7711
  .qt-representative-field {
7712
7712
  font-size: 13px;
@@ -7717,7 +7717,7 @@
7717
7717
  .qt-representative-footer .qt-btn,
7718
7718
  .qt-representative-footer > .qt-link-btn,
7719
7719
  .qt-representative-body > .qt-add {
7720
- min-height: 32px;
7720
+ min-height: calc(24px + 8px * var(--qt-touch-target-scale, 1));
7721
7721
  }
7722
7722
  }
7723
7723
  .qt-group-clauses .qt-qb-row--unused {
@@ -7848,5 +7848,177 @@
7848
7848
  }
7849
7849
  }
7850
7850
 
7851
+ /* src/touchTargets.css */
7852
+ :where(.qt-btn, .qt-add, .qt-link-btn) {
7853
+ --_qt-target-height: 24px;
7854
+ }
7855
+ .qt-btn {
7856
+ --_qt-target-width: 30px;
7857
+ }
7858
+ .qt-add {
7859
+ --_qt-target-width: 26px;
7860
+ }
7861
+ .qt-link-btn {
7862
+ --_qt-target-width: 28px;
7863
+ }
7864
+ .qt-qb-collapse-btn,
7865
+ .qt-qt-section-toggle {
7866
+ --_qt-target-height: 28px;
7867
+ }
7868
+ .qt-chip-op,
7869
+ .qt-chip-val,
7870
+ .qt-chip-op-btn,
7871
+ .qt-chip-x,
7872
+ .qt-chip-agg-add {
7873
+ --_qt-target-height: 20px;
7874
+ }
7875
+ .qt-chip-x {
7876
+ --_qt-target-width: 20px;
7877
+ }
7878
+ .qt-chip-op-btn {
7879
+ --_qt-target-width: 20px;
7880
+ }
7881
+ .qt-qb-saved-star {
7882
+ --_qt-target-height: 16px;
7883
+ --_qt-target-width: 16px;
7884
+ }
7885
+ .qt-qb-saved-cancel {
7886
+ --_qt-target-height: 16px;
7887
+ --_qt-target-width: 16px;
7888
+ }
7889
+ .qt-qb-num,
7890
+ .qt-qb-saved-input {
7891
+ --_qt-target-height: calc(1lh + 6px);
7892
+ }
7893
+ .qt-qb-num-step {
7894
+ --_qt-target-height: calc(1lh + 6px);
7895
+ --_qt-target-width: calc(4ch + 13px);
7896
+ }
7897
+ .qt-cm-item,
7898
+ .qt-op-cell {
7899
+ --_qt-target-height: 32px;
7900
+ }
7901
+ .qt-picker-input {
7902
+ --_qt-target-height: calc(1lh + 6px);
7903
+ }
7904
+ .qt-popover .qt-input,
7905
+ .qt-field-picker-popover .qt-picker-input {
7906
+ --_qt-target-height: 32px;
7907
+ }
7908
+ .qt-popover .qt-input {
7909
+ --_qt-padding-y: 6px;
7910
+ }
7911
+ .qt-formula-input {
7912
+ --_qt-padding-y: 12px;
7913
+ }
7914
+ .qt-preview-controls select {
7915
+ --_qt-padding-y: 5px;
7916
+ }
7917
+ .qt-metrics-editor .qt-input {
7918
+ --_qt-padding-y: 6px;
7919
+ }
7920
+ .qt-picker-item {
7921
+ --_qt-target-height: calc(1lh + 10px);
7922
+ }
7923
+ .qt-picker-popover .qt-picker-input {
7924
+ --_qt-target-height: calc(1lh + 18px);
7925
+ }
7926
+ .qt-picker-popover .qt-picker-item {
7927
+ --_qt-target-height: calc(1lh + 18px);
7928
+ }
7929
+ .qt-saved-pick {
7930
+ --_qt-target-height: calc(2lh + 8px);
7931
+ }
7932
+ .qt-value-picker-list button {
7933
+ --_qt-target-height: calc(1lh + 16px);
7934
+ }
7935
+ .qt-sort-extract-input,
7936
+ .qt-sort-extract-direction,
7937
+ .qt-sort-extract-field {
7938
+ --_qt-target-height: 32px;
7939
+ }
7940
+ .qt-sort-direction-grid .qt-btn {
7941
+ --_qt-target-height: 34px;
7942
+ }
7943
+ .qt-icon-btn {
7944
+ --_qt-target-height: 22px;
7945
+ --_qt-target-width: 22px;
7946
+ }
7947
+ .qt-column-name {
7948
+ --_qt-target-height: 20px;
7949
+ }
7950
+ .qt-json-action {
7951
+ --_qt-target-height: 28px;
7952
+ --_qt-target-width: 28px;
7953
+ }
7954
+ .qt-json-toggle {
7955
+ --_qt-target-height: 24px;
7956
+ --_qt-target-width: 20px;
7957
+ }
7958
+ .qt-json-copy {
7959
+ --_qt-target-height: 24px;
7960
+ --_qt-target-width: 24px;
7961
+ }
7962
+ .qt-item-detail-button {
7963
+ --_qt-target-height: 28px;
7964
+ }
7965
+ .qt-property-icon-button {
7966
+ --_qt-target-width: 26px;
7967
+ --_qt-padding-x: 0px;
7968
+ }
7969
+ .qt-property-controls input,
7970
+ .qt-property-controls select {
7971
+ --_qt-target-height: 28px;
7972
+ }
7973
+ .qt-property-editor :is(input, select) {
7974
+ --_qt-target-height: calc(1lh * 5 / 6 + 4px);
7975
+ }
7976
+ .qt-property-pick {
7977
+ --_qt-target-height: calc(1.3em + 17px);
7978
+ }
7979
+ .qt-metrics-editor .qt-btn {
7980
+ --_qt-target-height: 30px;
7981
+ }
7982
+ .qt-metrics-editor :is(input, select) {
7983
+ --_qt-target-height: 34px;
7984
+ }
7985
+ .qt-metric-selection-tools select {
7986
+ --_qt-target-height: 30px;
7987
+ }
7988
+ .qt-representative-field {
7989
+ --_qt-target-height: 24px;
7990
+ }
7991
+ .qt-representative-order .qt-reorder-handle {
7992
+ --_qt-target-height: 22px;
7993
+ --_qt-target-width: 16px;
7994
+ }
7995
+ @media (max-width: 760px), (pointer: coarse) and (max-height: 500px) {
7996
+ .qt-sheet .qt-picker-input {
7997
+ --_qt-target-height: calc(1lh * 3 / 4 + 18px);
7998
+ }
7999
+ .qt-sheet .qt-picker-item {
8000
+ --_qt-target-height: calc(1lh * 6 / 7 + 18px);
8001
+ }
8002
+ .qt-qb-num {
8003
+ --_qt-target-height: calc(1lh * 13 / 16 + 6px);
8004
+ }
8005
+ .qt-sheet .qt-value-picker-list button {
8006
+ --_qt-target-height: calc(1lh * 13 / 16 + 16px);
8007
+ }
8008
+ .qt-chip-op,
8009
+ .qt-chip-val {
8010
+ height: max(calc(1lh + 4px), calc(20px + 12px * var(--qt-touch-target-scale, 1)));
8011
+ }
8012
+ .qt-chip-op-btn {
8013
+ height: max(calc(1lh + 2px), calc(20px + 12px * var(--qt-touch-target-scale, 1)));
8014
+ }
8015
+ .qt-auto-refresh-select {
8016
+ height: max(calc(1lh + 6px + 8px * var(--qt-touch-target-scale, 1)), calc(24px + 16px * var(--qt-touch-target-scale, 1)));
8017
+ }
8018
+ .qt-json-search.qt-input {
8019
+ height: max(calc(1lh + 8px), calc(28px + 4px * var(--qt-touch-target-scale, 1)));
8020
+ }
8021
+ }
8022
+
7851
8023
  /* src/theme.css */
7852
8024
  /*# sourceMappingURL=theme.css.map */