@100mslive/roomkit-react 0.3.10-alpha.0 → 0.3.10-alpha.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. package/dist/{HLSView-5GXP76IN.js → HLSView-KRJMDNAF.js} +2 -2
  2. package/dist/Prebuilt/common/constants.d.ts +1 -0
  3. package/dist/Prebuilt/components/AppData/useSidepaneResetOnLayoutUpdate.d.ts +3 -0
  4. package/dist/Prebuilt/components/Chat/Chat.d.ts +1 -1
  5. package/dist/Prebuilt/components/RoleChangeModal.d.ts +5 -0
  6. package/dist/Prebuilt/components/TileMenu/TileMenuContent.d.ts +2 -1
  7. package/dist/Prebuilt/components/VideoLayouts/WhiteboardLayout.d.ts +0 -1
  8. package/dist/{chunk-WSDBUVSZ.js → chunk-AFSI3LBT.js} +618 -564
  9. package/dist/chunk-AFSI3LBT.js.map +7 -0
  10. package/dist/index.cjs.js +1953 -1896
  11. package/dist/index.cjs.js.map +4 -4
  12. package/dist/index.js +1 -1
  13. package/dist/meta.cjs.json +125 -204
  14. package/dist/meta.esbuild.json +131 -280
  15. package/package.json +7 -9
  16. package/src/Modal/DialogContent.tsx +1 -1
  17. package/src/Prebuilt/common/constants.ts +2 -0
  18. package/src/Prebuilt/components/AppData/useSidepaneResetOnLayoutUpdate.tsx +22 -0
  19. package/src/Prebuilt/components/AudioVideoToggle.tsx +1 -1
  20. package/src/Prebuilt/components/Chat/Chat.tsx +3 -4
  21. package/src/Prebuilt/components/Footer/ParticipantList.tsx +56 -37
  22. package/src/Prebuilt/components/RoleChangeModal.tsx +187 -0
  23. package/src/Prebuilt/components/TileMenu/TileMenu.tsx +5 -0
  24. package/src/Prebuilt/components/TileMenu/TileMenuContent.tsx +23 -1
  25. package/src/Prebuilt/components/VideoLayouts/WhiteboardLayout.tsx +13 -7
  26. package/src/Prebuilt/components/VirtualBackground/VBPicker.tsx +3 -0
  27. package/src/Prebuilt/layouts/SidePane.tsx +9 -9
  28. package/dist/HLSView-FBGVUTA5.css +0 -2767
  29. package/dist/HLSView-FBGVUTA5.css.map +0 -7
  30. package/dist/chunk-WSDBUVSZ.js.map +0 -7
  31. package/dist/index.cjs.css +0 -2767
  32. package/dist/index.cjs.css.map +0 -7
  33. package/dist/index.css +0 -2767
  34. package/dist/index.css.map +0 -7
  35. package/src/Prebuilt/components/RoleChangeModal.jsx +0 -185
  36. /package/dist/{HLSView-5GXP76IN.js.map → HLSView-KRJMDNAF.js.map} +0 -0
package/dist/index.css DELETED
@@ -1,2767 +0,0 @@
1
- @import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap";
2
-
3
- /* ../../../../../../../tmp/tmp-2823-ROYhAo4ujDGM/18f2eeedc9b3/tldraw.css */
4
- .tl-container {
5
- width: 100%;
6
- height: 100%;
7
- font-size: 12px;
8
- --space-1: 2px;
9
- --space-2: 4px;
10
- --space-3: 8px;
11
- --space-4: 12px;
12
- --space-5: 16px;
13
- --space-6: 20px;
14
- --space-7: 28px;
15
- --space-8: 32px;
16
- --space-9: 64px;
17
- --space-10: 72px;
18
- --radius-0: 2px;
19
- --radius-1: 4px;
20
- --radius-2: 6px;
21
- --radius-3: 9px;
22
- --radius-4: 13px;
23
- --layer-background: 100;
24
- --layer-grid: 150;
25
- --layer-canvas: 200;
26
- --layer-shapes: 300;
27
- --layer-overlays: 400;
28
- --layer-following-indicator: 1000;
29
- --tl-zoom: 1;
30
- --tl-dpr-multiple: 100;
31
- --tl-dpr-multiple-px: calc(var(--tl-dpr-multiple) * 1px);
32
- --tl-cursor-none: none;
33
- --tl-cursor-default: url("data:image/svg+xml,<svg height='32' width='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg' style='color: black;'><defs><filter id='shadow' y='-40%' x='-40%' width='180px' height='180%' color-interpolation-filters='sRGB'><feDropShadow dx='1' dy='1' stdDeviation='1.2' flood-opacity='.5'/></filter></defs><g fill='none' transform='rotate(0 16 16)' filter='url(%23shadow)'><path d='m12 24.4219v-16.015l11.591 11.619h-6.781l-.411.124z' fill='white'/><path d='m21.0845 25.0962-3.605 1.535-4.682-11.089 3.686-1.553z' fill='white'/><path d='m19.751 24.4155-1.844.774-3.1-7.374 1.841-.775z' fill='black'/><path d='m13 10.814v11.188l2.969-2.866.428-.139h4.768z' fill='black'/></g></svg>") 12 8, default;
34
- --tl-cursor-pointer: url("data:image/svg+xml,<svg height='32' width='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg' style='color: black;'><defs><filter id='shadow' y='-40%' x='-40%' width='180px' height='180%' color-interpolation-filters='sRGB'><feDropShadow dx='1' dy='1' stdDeviation='1.2' flood-opacity='.5'/></filter></defs><g fill='none' transform='rotate(0 16 16)' filter='url(%23shadow)'><path d='m13.3315 21.3799c-.284-.359-.629-1.093-1.243-1.984-.348-.504-1.211-1.453-1.468-1.935-.223-.426-.199-.617-.146-.97.094-.628.738-1.117 1.425-1.051.519.049.959.392 1.355.716.239.195.533.574.71.788.163.196.203.277.377.509.23.307.302.459.214.121-.071-.496-.187-1.343-.355-2.092-.128-.568-.159-.657-.281-1.093-.129-.464-.195-.789-.316-1.281-.084-.348-.235-1.059-.276-1.459-.057-.547-.087-1.439.264-1.849.275-.321.906-.418 1.297-.22.512.259.803 1.003.936 1.3.239.534.387 1.151.516 1.961.164 1.031.466 2.462.476 2.763.024-.369-.068-1.146-.004-1.5.058-.321.328-.694.666-.795.286-.085.621-.116.916-.055.313.064.643.288.766.499.362.624.369 1.899.384 1.831.086-.376.071-1.229.284-1.584.14-.234.497-.445.687-.479.294-.052.655-.068.964-.008.249.049.586.345.677.487.218.344.342 1.317.379 1.658.015.141.074-.392.293-.736.406-.639 1.843-.763 1.898.639.025.654.02.624.02 1.064 0 .517-.012.828-.04 1.202-.031.4-.117 1.304-.242 1.742-.086.301-.371.978-.652 1.384 0 0-1.074 1.25-1.191 1.813-.118.562-.079.566-.102.965-.023.398.121.922.121.922s-.802.104-1.234.035c-.391-.063-.875-.841-1-1.079-.172-.328-.539-.265-.682-.023-.225.383-.709 1.07-1.051 1.113-.668.084-2.054.031-3.139.02 0 0 .185-1.011-.227-1.358-.305-.259-.83-.784-1.144-1.06z' fill='white'/><g stroke='black' stroke-linecap='round' stroke-width='.75'><path d='m13.3315 21.3799c-.284-.359-.629-1.093-1.243-1.984-.348-.504-1.211-1.453-1.468-1.935-.223-.426-.199-.617-.146-.97.094-.628.738-1.117 1.425-1.051.519.049.959.392 1.355.716.239.195.533.574.71.788.163.196.203.277.377.509.23.307.302.459.214.121-.071-.496-.187-1.343-.355-2.092-.128-.568-.159-.657-.281-1.093-.129-.464-.195-.789-.316-1.281-.084-.348-.235-1.059-.276-1.459-.057-.547-.087-1.439.264-1.849.275-.321.906-.418 1.297-.22.512.259.803 1.003.936 1.3.239.534.387 1.151.516 1.961.164 1.031.466 2.462.476 2.763.024-.369-.068-1.146-.004-1.5.058-.321.328-.694.666-.795.286-.085.621-.116.916-.055.313.064.643.288.766.499.362.624.369 1.899.384 1.831.086-.376.071-1.229.284-1.584.14-.234.497-.445.687-.479.294-.052.655-.068.964-.008.249.049.586.345.677.487.218.344.342 1.317.379 1.658.015.141.074-.392.293-.736.406-.639 1.843-.763 1.898.639.025.654.02.624.02 1.064 0 .517-.012.828-.04 1.202-.031.4-.117 1.304-.242 1.742-.086.301-.371.978-.652 1.384 0 0-1.074 1.25-1.191 1.813-.118.562-.079.566-.102.965-.023.398.121.922.121.922s-.802.104-1.234.035c-.391-.063-.875-.841-1-1.079-.172-.328-.539-.265-.682-.023-.225.383-.709 1.07-1.051 1.113-.668.084-2.054.031-3.139.02 0 0 .185-1.011-.227-1.358-.305-.259-.83-.784-1.144-1.06z' stroke-linejoin='round'/><path d='m21.5664 21.7344v-3.459'/><path d='m19.5508 21.7461-.016-3.473'/><path d='m17.5547 18.3047.021 3.426'/></g></g></svg>") 14 10, pointer;
35
- --tl-cursor-cross: url("data:image/svg+xml,<svg height='32' width='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg' style='color: black;'><defs><filter id='shadow' y='-40%' x='-40%' width='180px' height='180%' color-interpolation-filters='sRGB'><feDropShadow dx='1' dy='1' stdDeviation='1.2' flood-opacity='.5'/></filter></defs><g fill='none' transform='rotate(0 16 16)' filter='url(%23shadow)'><path d='m25 16h-6.01v-6h-2.98v6h-6.01v3h6.01v6h2.98v-6h6.01z' fill='white'/><path d='m23.9902 17.0103h-6v-6.01h-.98v6.01h-6v.98h6v6.01h.98v-6.01h6z' fill='%23231f1f'/></g></svg>") 16 16, crosshair;
36
- --tl-cursor-move: url("data:image/svg+xml,<svg height='32' width='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg' style='color: black;'><defs><filter id='shadow' y='-40%' x='-40%' width='180px' height='180%' color-interpolation-filters='sRGB'><feDropShadow dx='1' dy='1' stdDeviation='1.2' flood-opacity='.5'/></filter></defs><g fill='none' transform='rotate(0 16 16)' filter='url(%23shadow)'><path d='m19 14h1v1h-1zm1 6h-1v-1h1zm-5-5h-1v-1h1zm0 5h-1v-1h1zm2-10.987-7.985 7.988 5.222 5.221 2.763 2.763 7.984-7.985z' fill='white'/><g fill='black'><path d='m23.5664 16.9971-2.557-2.809v1.829h-4.009-4.001v-1.829l-2.571 2.809 2.572 2.808-.001-1.808h4.001 4.009l-.001 1.808z'/><path d='m17.9873 17h.013v-4.001l1.807.001-2.807-2.571-2.809 2.57h1.809v4.001h.008v4.002l-1.828-.001 2.807 2.577 2.805-2.576h-1.805z'/></g></g></svg>") 16 16, move;
37
- --tl-cursor-grab: url("data:image/svg+xml,<svg height='32' width='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg' style='color: black;'><defs><filter id='shadow' y='-40%' x='-40%' width='180px' height='180%' color-interpolation-filters='sRGB'><feDropShadow dx='1' dy='1' stdDeviation='1.2' flood-opacity='.5'/></filter></defs><g fill='none' transform='rotate(0 16 16)' filter='url(%23shadow)'><path d='m13.5557 17.5742c-.098-.375-.196-.847-.406-1.552-.167-.557-.342-.859-.47-1.233-.155-.455-.303-.721-.496-1.181-.139-.329-.364-1.048-.457-1.44-.119-.509.033-.924.244-1.206.253-.339.962-.49 1.357-.351.371.13.744.512.916.788.288.46.357.632.717 1.542.393.992.564 1.918.611 2.231l.085.452c-.001-.04-.043-1.122-.044-1.162-.035-1.029-.06-1.823-.038-2.939.002-.126.064-.587.084-.715.078-.5.305-.8.673-.979.412-.201.926-.215 1.401-.017.423.173.626.55.687 1.022.014.109.094.987.093 1.107-.013 1.025.006 1.641.015 2.174.004.231.003 1.625.017 1.469.061-.656.094-3.189.344-3.942.144-.433.405-.746.794-.929.431-.203 1.113-.07 1.404.243.285.305.446.692.482 1.153.032.405-.019.897-.02 1.245 0 .867-.021 1.324-.037 2.121-.001.038-.015.298.023.182.094-.28.188-.542.266-.745.049-.125.241-.614.359-.859.114-.234.211-.369.415-.688.2-.313.415-.448.668-.561.54-.235 1.109.112 1.301.591.086.215.009.713-.028 1.105-.061.647-.254 1.306-.352 1.648-.128.447-.274 1.235-.34 1.601-.072.394-.234 1.382-.359 1.82-.086.301-.371.978-.652 1.384 0 0-1.074 1.25-1.192 1.812-.117.563-.078.567-.101.965-.024.399.121.923.121.923s-.802.104-1.234.034c-.391-.062-.875-.841-1-1.078-.172-.328-.539-.265-.682-.023-.225.383-.709 1.07-1.051 1.113-.668.084-2.054.03-3.139.02 0 0 .185-1.011-.227-1.358-.305-.26-.83-.784-1.144-1.06l-.832-.921c-.284-.36-.629-1.093-1.243-1.985-.348-.504-1.027-1.085-1.284-1.579-.223-.425-.331-.954-.19-1.325.225-.594.675-.897 1.362-.832.519.05.848.206 1.238.537.225.19.573.534.75.748.163.195.203.276.377.509.23.307.302.459.214.121' fill='white'/><g stroke='black' stroke-linecap='round' stroke-width='.75'><path d='m13.5557 17.5742c-.098-.375-.196-.847-.406-1.552-.167-.557-.342-.859-.47-1.233-.155-.455-.303-.721-.496-1.181-.139-.329-.364-1.048-.457-1.44-.119-.509.033-.924.244-1.206.253-.339.962-.49 1.357-.351.371.13.744.512.916.788.288.46.357.632.717 1.542.393.992.564 1.918.611 2.231l.085.452c-.001-.04-.043-1.122-.044-1.162-.035-1.029-.06-1.823-.038-2.939.002-.126.064-.587.084-.715.078-.5.305-.8.673-.979.412-.201.926-.215 1.401-.017.423.173.626.55.687 1.022.014.109.094.987.093 1.107-.013 1.025.006 1.641.015 2.174.004.231.003 1.625.017 1.469.061-.656.094-3.189.344-3.942.144-.433.405-.746.794-.929.431-.203 1.113-.07 1.404.243.285.305.446.692.482 1.153.032.405-.019.897-.02 1.245 0 .867-.021 1.324-.037 2.121-.001.038-.015.298.023.182.094-.28.188-.542.266-.745.049-.125.241-.614.359-.859.114-.234.211-.369.415-.688.2-.313.415-.448.668-.561.54-.235 1.109.112 1.301.591.086.215.009.713-.028 1.105-.061.647-.254 1.306-.352 1.648-.128.447-.274 1.235-.34 1.601-.072.394-.234 1.382-.359 1.82-.086.301-.371.978-.652 1.384 0 0-1.074 1.25-1.192 1.812-.117.563-.078.567-.101.965-.024.399.121.923.121.923s-.802.104-1.234.034c-.391-.062-.875-.841-1-1.078-.172-.328-.539-.265-.682-.023-.225.383-.709 1.07-1.051 1.113-.668.084-2.054.03-3.139.02 0 0 .185-1.011-.227-1.358-.305-.26-.83-.784-1.144-1.06l-.832-.921c-.284-.36-.629-1.093-1.243-1.985-.348-.504-1.027-1.085-1.284-1.579-.223-.425-.331-.954-.19-1.325.225-.594.675-.897 1.362-.832.519.05.848.206 1.238.537.225.19.573.534.75.748.163.195.203.276.377.509.23.307.302.459.214.121' stroke-linejoin='round'/><path d='m20.5664 21.7344v-3.459'/><path d='m18.5508 21.7461-.016-3.473'/><path d='m16.5547 18.3047.021 3.426'/></g></g></svg>") 16 16, grab;
38
- --tl-cursor-grabbing: url("data:image/svg+xml,<svg height='32' width='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg' style='color: black;'><defs><filter id='shadow' y='-40%' x='-40%' width='180px' height='180%' color-interpolation-filters='sRGB'><feDropShadow dx='1' dy='1' stdDeviation='1.2' flood-opacity='.5'/></filter></defs><g fill='none' transform='rotate(0 16 16)' filter='url(%23shadow)'><path d='m13.5732 12.0361c.48-.178 1.427-.069 1.677.473.213.462.396 1.241.406 1.075.024-.369-.024-1.167.137-1.584.117-.304.347-.59.686-.691.285-.086.62-.116.916-.055.313.064.642.287.765.499.362.623.368 1.899.385 1.831.064-.272.07-1.229.283-1.584.141-.235.497-.445.687-.479.294-.052.656-.068.964-.008.249.049.586.344.677.487.219.344.342 1.316.379 1.658.016.141.074-.393.293-.736.406-.639 1.844-.763 1.898.639.026.654.02.624.02 1.064 0 .516-.012.828-.04 1.202-.03.399-.116 1.304-.241 1.742-.086.301-.371.978-.653 1.384 0 0-1.074 1.25-1.191 1.812-.117.563-.078.567-.102.965-.023.399.121.923.121.923s-.801.104-1.234.034c-.391-.062-.875-.84-1-1.078-.172-.328-.539-.265-.682-.023-.224.383-.709 1.07-1.05 1.113-.669.084-2.055.03-3.14.02 0 0 .185-1.011-.227-1.358-.305-.26-.83-.784-1.144-1.06l-.832-.921c-.283-.36-1.002-.929-1.243-1.985-.213-.936-.192-1.395.037-1.77.232-.381.67-.589.854-.625.208-.042.692-.039.875.062.223.123.313.159.488.391.23.307.312.456.213.121-.076-.262-.322-.595-.434-.97-.109-.361-.401-.943-.38-1.526.008-.221.103-.771.832-1.042' fill='white'/><g stroke='black' stroke-width='.75'><path d='m13.5732 12.0361c.48-.178 1.427-.069 1.677.473.213.462.396 1.241.406 1.075.024-.369-.024-1.167.137-1.584.117-.304.347-.59.686-.691.285-.086.62-.116.916-.055.313.064.642.287.765.499.362.623.368 1.899.385 1.831.064-.272.07-1.229.283-1.584.141-.235.497-.445.687-.479.294-.052.656-.068.964-.008.249.049.586.344.677.487.219.344.342 1.316.379 1.658.016.141.074-.393.293-.736.406-.639 1.844-.763 1.898.639.026.654.02.624.02 1.064 0 .516-.012.828-.04 1.202-.03.399-.116 1.304-.241 1.742-.086.301-.371.978-.653 1.384 0 0-1.074 1.25-1.191 1.812-.117.563-.078.567-.102.965-.023.399.121.923.121.923s-.801.104-1.234.034c-.391-.062-.875-.84-1-1.078-.172-.328-.539-.265-.682-.023-.224.383-.709 1.07-1.05 1.113-.669.084-2.055.03-3.14.02 0 0 .185-1.011-.227-1.358-.305-.26-.83-.784-1.144-1.06l-.832-.921c-.283-.36-1.002-.929-1.243-1.985-.213-.936-.192-1.395.037-1.77.232-.381.67-.589.854-.625.208-.042.692-.039.875.062.223.123.313.159.488.391.23.307.312.456.213.121-.076-.262-.322-.595-.434-.97-.109-.361-.401-.943-.38-1.526.008-.221.103-.771.832-1.042z' stroke-linejoin='round'/><path d='m20.5664 19.7344v-3.459' stroke-linecap='round'/><path d='m18.5508 19.7461-.016-3.473' stroke-linecap='round'/><path d='m16.5547 16.3047.021 3.426' stroke-linecap='round'/></g></g></svg>") 16 16, grabbing;
39
- --tl-cursor-text: url("data:image/svg+xml,<svg height='32' width='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg' style='color: black;'><defs><filter id='shadow' y='-40%' x='-40%' width='180px' height='180%' color-interpolation-filters='sRGB'><feDropShadow dx='1' dy='1' stdDeviation='1.2' flood-opacity='.5'/></filter></defs><g fill='none' transform='rotate(0 16 16)' filter='url(%23shadow)'><path fill='white' d='M7.94 0a5.25 5.25 0 0 0-3.47 1.17A5.27 5.27 0 0 0 1 0H0v3h1c1.41 0 1.85.7 2 1v3.94H2v3h1v3c-.13.3-.57 1-2 1H0v3h1a5.27 5.27 0 0 0 3.47-1.17c.98.8 2.21 1.21 3.47 1.17h1v-3h-1c-1.41 0-1.85-.7-2-1v-3H7v-3H6V4c.13-.3.57-1 2-1h1V0H7.94z'/><path fill='black' d='M7.94 2V1a4 4 0 0 0-3.47 1.64A4 4 0 0 0 1 1v1c1.3-.17 2.56.6 3 1.84v5.1H3v1h1v4.16c-.45 1.24-1.7 2-3 1.84v1a4.05 4.05 0 0 0 3.47-1.63 4.05 4.05 0 0 0 3.47 1.63v-1A2.82 2.82 0 0 1 5 14.1V9.93h1v-1H5V3.85A2.81 2.81 0 0 1 7.94 2z'/></g></svg>") 4 10, text;
40
- --tl-cursor-zoom-in: url("data:image/svg+xml,<svg height='32' width='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg' style='color: black;'><defs><filter id='shadow' y='-40%' x='-40%' width='180px' height='180%' color-interpolation-filters='sRGB'><feDropShadow dx='1' dy='1' stdDeviation='1.2' flood-opacity='.5'/></filter></defs><g fill='none' transform='rotate(0 16 16)' filter='url(%23shadow)'><path d='m20.5 15c0 3.038-2.462 5.5-5.5 5.5s-5.5-2.462-5.5-5.5 2.462-5.5 5.5-5.5 5.5 2.462 5.5 5.5' fill='white'/><path d='m20.5 15c0 3.038-2.462 5.5-5.5 5.5s-5.5-2.462-5.5-5.5 2.462-5.5 5.5-5.5 5.5 2.462 5.5 5.5z' stroke='black'/><g fill='black'><path d='m18 14h-2v-2h-2v2h-2v1.98h2v2.02h2v-2.02h2z'/><path d='m23.5859 25 1.414-1.414-5.449-5.449-1.414 1.414z'/></g></g></svg>") 16 16, zoom-in;
41
- --tl-cursor-zoom-out: url("data:image/svg+xml,<svg height='32' width='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg' style='color: black;'><defs><filter id='shadow' y='-40%' x='-40%' width='180px' height='180%' color-interpolation-filters='sRGB'><feDropShadow dx='1' dy='1' stdDeviation='1.2' flood-opacity='.5'/></filter></defs><g fill='none' transform='rotate(0 16 16)' filter='url(%23shadow)'><path d='m20.5 15c0 3.038-2.462 5.5-5.5 5.5s-5.5-2.462-5.5-5.5 2.462-5.5 5.5-5.5 5.5 2.462 5.5 5.5' fill='white'/><path d='m20.5 15c0 3.038-2.462 5.5-5.5 5.5s-5.5-2.462-5.5-5.5 2.462-5.5 5.5-5.5 5.5 2.462 5.5 5.5z' stroke='black'/><g fill='black'><path d='m18 16h-5.98v-1.98h5.98z'/><path d='m23.5859 25 1.414-1.414-5.449-5.449-1.414 1.414z'/></g></g></svg>") 16 16, zoom-out;
42
- --tl-cursor: var(--tl-cursor-default);
43
- --tl-cursor-resize-edge: ew-resize;
44
- --tl-cursor-resize-corner: nesw-resize;
45
- --tl-cursor-ew-resize: ew-resize;
46
- --tl-cursor-ns-resize: ns-resize;
47
- --tl-cursor-nesw-resize: nesw-resize;
48
- --tl-cursor-nwse-resize: nwse-resize;
49
- --tl-cursor-rotate: pointer;
50
- --tl-cursor-nwse-rotate: pointer;
51
- --tl-cursor-nesw-rotate: pointer;
52
- --tl-cursor-senw-rotate: pointer;
53
- --tl-cursor-swne-rotate: pointer;
54
- --tl-scale: calc(1 / var(--tl-zoom));
55
- --tl-font-draw: "tldraw_draw", sans-serif;
56
- --tl-font-sans: "tldraw_sans", sans-serif;
57
- --tl-font-serif: "tldraw_serif", serif;
58
- --tl-font-mono: "tldraw_mono", monospace;
59
- --a: calc(min(0.5, 1 / var(--tl-zoom)) * 2px);
60
- --b: calc(min(0.5, 1 / var(--tl-zoom)) * -2px);
61
- --tl-text-outline:
62
- 0 var(--b) 0 var(--color-background),
63
- 0 var(--a) 0 var(--color-background),
64
- var(--b) var(--b) 0 var(--color-background),
65
- var(--a) var(--b) 0 var(--color-background),
66
- var(--a) var(--a) 0 var(--color-background),
67
- var(--b) var(--a) 0 var(--color-background);
68
- position: relative;
69
- top: 0px;
70
- left: 0px;
71
- width: 100%;
72
- height: 100%;
73
- overflow: clip;
74
- }
75
- .tl-theme__light {
76
- --color-accent: #e64a4a;
77
- --color-background: rgb(249, 250, 251);
78
- --color-brush-fill: rgba(144, 144, 144, 0.102);
79
- --color-brush-stroke: rgba(144, 144, 144, 0.251);
80
- --color-grid: rgb(109, 109, 109);
81
- --color-low: hsl(204, 16%, 94%);
82
- --color-low-border: hsl(204, 16%, 92%);
83
- --color-culled: rgb(235, 238, 240);
84
- --color-muted-none: rgba(0, 0, 0, 0);
85
- --color-muted-0: rgba(0, 0, 0, 0.02);
86
- --color-muted-1: rgba(0, 0, 0, 0.1);
87
- --color-muted-2: rgba(0, 0, 0, 0.042);
88
- --color-hint: rgba(0, 0, 0, 0.055);
89
- --color-overlay: rgba(0, 0, 0, 0.2);
90
- --color-divider: #e8e8e8;
91
- --color-panel-contrast: #ffffff;
92
- --color-panel-overlay: rgba(255, 255, 255, 0.82);
93
- --color-panel: #fdfdfd;
94
- --color-focus: #004094;
95
- --color-selected: #2f80ed;
96
- --color-selected-contrast: #ffffff;
97
- --color-selection-fill: #1e90ff06;
98
- --color-selection-stroke: #2f80ed;
99
- --color-text-0: #1d1d1d;
100
- --color-text-1: #2d2d2d;
101
- --color-text-3: #a4a5a7;
102
- --color-text-shadow: #ffffff;
103
- --color-primary: #2f80ed;
104
- --color-warn: #d10b0b;
105
- --color-text: #000000;
106
- --color-laser: #ff0000;
107
- --shadow-1: 0px 1px 2px rgba(0, 0, 0, 0.25), 0px 1px 3px rgba(0, 0, 0, 0.09);
108
- --shadow-2:
109
- 0px 0px 2px rgba(0, 0, 0, 0.16),
110
- 0px 2px 3px rgba(0, 0, 0, 0.24),
111
- 0px 2px 6px rgba(0, 0, 0, 0.1),
112
- inset 0px 0px 0px 1px var(--color-panel-contrast);
113
- --shadow-3:
114
- 0px 1px 2px rgba(0, 0, 0, 0.28),
115
- 0px 2px 6px rgba(0, 0, 0, 0.14),
116
- inset 0px 0px 0px 1px var(--color-panel-contrast);
117
- --shadow-4:
118
- 0px 0px 3px rgba(0, 0, 0, 0.19),
119
- 0px 5px 4px rgba(0, 0, 0, 0.16),
120
- 0px 2px 16px rgba(0, 0, 0, 0.06),
121
- inset 0px 0px 0px 1px var(--color-panel-contrast);
122
- }
123
- .tl-theme__dark {
124
- --color-accent: #e64a4a;
125
- --color-background: #212529;
126
- --color-brush-fill: rgba(180, 180, 180, 0.05);
127
- --color-brush-stroke: rgba(180, 180, 180, 0.25);
128
- --color-grid: #909090;
129
- --color-low: #2c3136;
130
- --color-low-border: #30363b;
131
- --color-culled: rgb(47, 52, 57);
132
- --color-muted-none: rgba(255, 255, 255, 0);
133
- --color-muted-0: rgba(255, 255, 255, 0.02);
134
- --color-muted-1: rgba(255, 255, 255, 0.1);
135
- --color-muted-2: rgba(255, 255, 255, 0.05);
136
- --color-hint: rgba(255, 255, 255, 0.1);
137
- --color-overlay: rgba(0, 0, 0, 0.35);
138
- --color-divider: #49555f;
139
- --color-panel-contrast: #49555f;
140
- --color-panel: #363d44;
141
- --color-panel-overlay: rgba(54, 61, 68, 0.82);
142
- --color-focus: #a5c3f3;
143
- --color-selected: #4285f4;
144
- --color-selected-contrast: #ffffff;
145
- --color-selection-fill: rgba(38, 150, 255, 0.05);
146
- --color-selection-stroke: #2f80ed;
147
- --color-text-0: #f0eded;
148
- --color-text-1: #d9d9d9;
149
- --color-text-3: #6d747b;
150
- --color-text-shadow: #292f35;
151
- --color-primary: #2f80ed;
152
- --color-warn: #ef6464;
153
- --color-text: #f8f9fa;
154
- --color-laser: #ff0000;
155
- --shadow-1:
156
- 0px 1px 2px #00000029,
157
- 0px 1px 3px #00000038,
158
- inset 0px 0px 0px 1px var(--color-panel-contrast);
159
- --shadow-2:
160
- 0px 1px 3px #00000077,
161
- 0px 2px 6px #00000055,
162
- inset 0px 0px 0px 1px var(--color-panel-contrast);
163
- --shadow-3:
164
- 0px 1px 3px #00000077,
165
- 0px 2px 12px rgba(0, 0, 0, 0.22),
166
- inset 0px 0px 0px 1px var(--color-panel-contrast);
167
- }
168
- .tl-counter-scaled {
169
- transform: scale(var(--tl-scale));
170
- transform-origin: top left;
171
- width: calc(100% * var(--tl-zoom));
172
- height: calc(100% * var(--tl-zoom));
173
- }
174
- .tl-container,
175
- .tl-container * {
176
- -webkit-touch-callout: none;
177
- -webkit-tap-highlight-color: transparent;
178
- scrollbar-highlight-color: transparent;
179
- -webkit-user-select: none;
180
- -moz-user-select: none;
181
- user-select: none;
182
- box-sizing: border-box;
183
- outline: none;
184
- }
185
- .tl-container a {
186
- -webkit-touch-callout: initial;
187
- }
188
- .tl-container:focus-within {
189
- outline: 1px solid var(--color-low);
190
- }
191
- input,
192
- *[contenteditable],
193
- *[contenteditable] * {
194
- -webkit-user-select: text;
195
- }
196
- .tl-canvas {
197
- position: absolute;
198
- top: 0px;
199
- left: 0px;
200
- width: 100%;
201
- height: 100%;
202
- color: var(--color-text);
203
- z-index: var(--layer-canvas);
204
- cursor: var(--tl-cursor);
205
- overflow: clip;
206
- content-visibility: auto;
207
- touch-action: none;
208
- contain: strict;
209
- }
210
- .tl-fixed-layer {
211
- position: absolute;
212
- top: 0px;
213
- left: 0px;
214
- width: 100%;
215
- height: 100%;
216
- contain: strict;
217
- pointer-events: none;
218
- }
219
- .tl-shapes {
220
- position: relative;
221
- z-index: var(--layer-shapes);
222
- }
223
- .tl-overlays {
224
- position: relative;
225
- z-index: var(--layer-overlays);
226
- }
227
- .tl-overlays__item {
228
- position: absolute;
229
- top: 0px;
230
- left: 0px;
231
- height: var(--tl-dpr-multiple-px);
232
- width: var(--tl-dpr-multiple-px);
233
- overflow: visible;
234
- pointer-events: none;
235
- transform-origin: top left;
236
- }
237
- .tl-svg-context {
238
- position: absolute;
239
- top: 0px;
240
- left: 0px;
241
- height: var(--tl-dpr-multiple-px);
242
- width: var(--tl-dpr-multiple-px);
243
- pointer-events: none;
244
- }
245
- .tl-positioned {
246
- position: absolute;
247
- top: 0px;
248
- left: 0px;
249
- transform-origin: top left;
250
- }
251
- .tl-background {
252
- position: absolute;
253
- background-color: var(--color-background);
254
- inset: 0px;
255
- z-index: var(--layer-background);
256
- }
257
- .tl-grid {
258
- position: absolute;
259
- top: 0px;
260
- left: 0px;
261
- width: 100%;
262
- height: 100%;
263
- touch-action: none;
264
- pointer-events: none;
265
- z-index: var(--layer-grid);
266
- contain: strict;
267
- }
268
- .tl-grid-dot {
269
- fill: var(--color-grid);
270
- }
271
- .tl-html-layer {
272
- position: absolute;
273
- top: 0px;
274
- left: 0px;
275
- width: 1px;
276
- height: 1px;
277
- contain: layout style size;
278
- }
279
- .tl-brush {
280
- stroke-width: calc(var(--tl-scale) * 1px);
281
- contain: size layout;
282
- }
283
- .tl-brush__default {
284
- stroke: var(--color-brush-stroke);
285
- fill: var(--color-brush-fill);
286
- }
287
- .tl-screenshot-brush {
288
- stroke: var(--color-text-0);
289
- fill: none;
290
- }
291
- .tl-scribble {
292
- stroke-linejoin: round;
293
- stroke-linecap: round;
294
- pointer-events: none;
295
- contain: size layout;
296
- }
297
- .tl-shape {
298
- position: absolute;
299
- pointer-events: none;
300
- overflow: visible;
301
- transform-origin: top left;
302
- contain: size layout;
303
- }
304
- .tl-shape__culled {
305
- position: relative;
306
- background-color: var(--color-culled);
307
- }
308
- .tl-svg-container {
309
- position: absolute;
310
- top: 0px;
311
- left: 0px;
312
- width: 100%;
313
- height: 100%;
314
- pointer-events: none;
315
- stroke-linecap: round;
316
- stroke-linejoin: round;
317
- transform-origin: top left;
318
- overflow: visible;
319
- }
320
- .tl-html-container {
321
- position: absolute;
322
- top: 0px;
323
- left: 0px;
324
- width: 100%;
325
- height: 100%;
326
- pointer-events: none;
327
- stroke-linecap: round;
328
- stroke-linejoin: round;
329
- transform-origin: top left;
330
- color: inherit;
331
- }
332
- .tl-collaborator__scribble {
333
- z-index: 10;
334
- }
335
- .tl-collaborator__brush {
336
- z-index: 20;
337
- }
338
- .tl-collaborator__shape-indicator {
339
- z-index: 30;
340
- }
341
- .tl-user-scribble {
342
- z-index: 40;
343
- }
344
- .tl-user-brush {
345
- z-index: 50;
346
- }
347
- .tl-user-indicator__selected {
348
- z-index: 60;
349
- }
350
- .tl-user-indicator__hovered {
351
- z-index: 70;
352
- }
353
- .tl-user-handles {
354
- z-index: 80;
355
- }
356
- .tl-user-snapline {
357
- z-index: 90;
358
- }
359
- .tl-selection__fg {
360
- pointer-events: none;
361
- z-index: 100;
362
- }
363
- .tl-user-indicator__hint {
364
- z-index: 110;
365
- stroke-width: calc(2.5px * var(--tl-scale));
366
- }
367
- .tl-collaborator__cursor-hint {
368
- z-index: 120;
369
- }
370
- .tl-collaborator__cursor {
371
- z-index: 130;
372
- }
373
- .tl-cursor {
374
- overflow: visible;
375
- }
376
- .tl-shape-indicator {
377
- transform-origin: top left;
378
- fill: none;
379
- stroke-width: calc(1.5px * var(--tl-scale));
380
- contain: size;
381
- }
382
- .tl-selection__bg {
383
- position: absolute;
384
- top: 0px;
385
- left: 0px;
386
- transform-origin: top left;
387
- background-color: transparent;
388
- pointer-events: all;
389
- }
390
- .tl-selection__fg__outline {
391
- fill: none;
392
- pointer-events: none;
393
- stroke: var(--color-selection-stroke);
394
- stroke-width: calc(1.5px * var(--tl-scale));
395
- }
396
- .tl-corner-handle {
397
- pointer-events: none;
398
- stroke: var(--color-selection-stroke);
399
- fill: var(--color-background);
400
- stroke-width: calc(1.5px * var(--tl-scale));
401
- }
402
- .tl-text-handle {
403
- pointer-events: none;
404
- fill: var(--color-selection-stroke);
405
- }
406
- .tl-corner-crop-handle {
407
- pointer-events: none;
408
- fill: none;
409
- stroke: var(--color-selection-stroke);
410
- }
411
- .tl-corner-crop-edge-handle {
412
- pointer-events: none;
413
- fill: none;
414
- stroke: var(--color-selection-stroke);
415
- }
416
- .tl-rotate-handle {
417
- stroke: var(--color-selection-stroke);
418
- fill: var(--color-background);
419
- stroke-width: calc(1.5px * var(--tl-scale));
420
- pointer-events: all;
421
- }
422
- .tl-mobile-rotate__bg {
423
- pointer-events: all;
424
- cursor: var(--tl-cursor-grab);
425
- }
426
- .tl-mobile-rotate__fg {
427
- pointer-events: none;
428
- stroke: var(--color-selection-stroke);
429
- fill: var(--color-background);
430
- stroke-width: calc(1.5px * var(--tl-scale));
431
- }
432
- .tl-transparent {
433
- fill: transparent;
434
- stroke: transparent;
435
- }
436
- .tl-handle {
437
- pointer-events: all;
438
- }
439
- .tl-handle__bg {
440
- fill: transparent;
441
- stroke: transparent;
442
- pointer-events: all;
443
- cursor: var(--tl-cursor-grabbing);
444
- }
445
- .tl-handle__fg {
446
- fill: var(--color-background);
447
- stroke: var(--color-selection-stroke);
448
- stroke-width: calc(1.5px * var(--tl-scale));
449
- pointer-events: none;
450
- }
451
- .tl-handle__create {
452
- opacity: 0;
453
- }
454
- .tl-handle__create:hover {
455
- opacity: 1;
456
- }
457
- .tl-handle__bg:active {
458
- fill: none;
459
- }
460
- .tl-handle__bg:hover {
461
- cursor: var(--tl-cursor-grab);
462
- fill: var(--color-selection-fill);
463
- }
464
- @media (pointer: coarse) {
465
- .tl-handle__bg:active {
466
- fill: var(--color-selection-fill);
467
- }
468
- .tl-handle__create {
469
- opacity: 1;
470
- }
471
- }
472
- .tl-image,
473
- .tl-video {
474
- -o-object-fit: cover;
475
- object-fit: cover;
476
- background-size: cover;
477
- width: 100%;
478
- height: 100%;
479
- }
480
- .tl-image-container,
481
- .tl-video-container,
482
- .tl-embed-container {
483
- width: 100%;
484
- height: 100%;
485
- pointer-events: all;
486
- display: flex;
487
- justify-content: center;
488
- align-items: center;
489
- }
490
- .tl-image__tg {
491
- --scale: calc(min(2, var(--tl-scale)));
492
- position: absolute;
493
- top: calc(var(--scale) * 8px);
494
- right: calc(var(--scale) * 8px);
495
- font-size: 10px;
496
- transform-origin: top right;
497
- background-color: var(--color-background);
498
- padding: 2px 4px;
499
- border-radius: var(--radius-1);
500
- }
501
- .tl-collaborator-cursor {
502
- position: absolute;
503
- }
504
- .tl-nametag {
505
- position: absolute;
506
- top: 16px;
507
- left: 13px;
508
- width: -moz-fit-content;
509
- width: fit-content;
510
- height: -moz-fit-content;
511
- height: fit-content;
512
- max-width: 120px;
513
- padding: 3px 6px;
514
- white-space: nowrap;
515
- position: absolute;
516
- overflow: hidden;
517
- text-overflow: ellipsis;
518
- font-size: 12px;
519
- font-family: var(--font-body);
520
- border-radius: var(--radius-2);
521
- color: var(--color-selected-contrast);
522
- }
523
- .tl-nametag-title {
524
- position: absolute;
525
- top: -2px;
526
- left: 13px;
527
- width: -moz-fit-content;
528
- width: fit-content;
529
- height: -moz-fit-content;
530
- height: fit-content;
531
- padding: 0px 6px;
532
- max-width: 120px;
533
- white-space: nowrap;
534
- position: absolute;
535
- overflow: hidden;
536
- text-overflow: ellipsis;
537
- font-size: 12px;
538
- font-family: var(--font-body);
539
- text-shadow: var(--tl-text-outline);
540
- color: var(--color-selected-contrast);
541
- }
542
- .tl-nametag-chat {
543
- position: absolute;
544
- top: 16px;
545
- left: 13px;
546
- width: -moz-fit-content;
547
- width: fit-content;
548
- height: -moz-fit-content;
549
- height: fit-content;
550
- color: var(--color-selected-contrast);
551
- white-space: nowrap;
552
- position: absolute;
553
- padding: 3px 6px;
554
- font-size: 12px;
555
- font-family: var(--font-body);
556
- opacity: 1;
557
- border-radius: var(--radius-2);
558
- }
559
- .tl-cursor-chat {
560
- position: absolute;
561
- color: var(--color-selected-contrast);
562
- white-space: nowrap;
563
- padding: 3px 6px;
564
- font-size: 12px;
565
- font-family: var(--font-body);
566
- pointer-events: none;
567
- z-index: var(--layer-cursor);
568
- margin-top: 16px;
569
- margin-left: 13px;
570
- opacity: 1;
571
- border: none;
572
- -webkit-user-select: text;
573
- -moz-user-select: text;
574
- user-select: text;
575
- border-radius: var(--radius-2);
576
- }
577
- .tl-cursor-chat .tl-cursor-chat__bubble {
578
- padding-right: 12px;
579
- }
580
- .tl-cursor-chat::-moz-selection {
581
- background: var(--color-selected);
582
- color: var(--color-selected-contrast);
583
- text-shadow: none;
584
- }
585
- .tl-cursor-chat::selection {
586
- background: var(--color-selected);
587
- color: var(--color-selected-contrast);
588
- text-shadow: none;
589
- }
590
- .tl-cursor-chat-fade {
591
- opacity: 0.0001;
592
- transition: opacity 5s ease-in-out;
593
- }
594
- .tl-cursor-chat::-moz-placeholder {
595
- color: var(--color-selected-contrast);
596
- opacity: 0.7;
597
- }
598
- .tl-cursor-chat::placeholder {
599
- color: var(--color-selected-contrast);
600
- opacity: 0.7;
601
- }
602
- @keyframes spinner {
603
- to {
604
- transform: rotate(360deg);
605
- }
606
- }
607
- .tl-spinner::after {
608
- content: "";
609
- box-sizing: border-box;
610
- position: absolute;
611
- top: 50%;
612
- left: 50%;
613
- width: 20px;
614
- height: 20px;
615
- margin-top: -10px;
616
- margin-left: -10px;
617
- border-radius: 50%;
618
- border: 2px solid #ccc;
619
- border-top-color: #000;
620
- animation: spinner 0.6s linear infinite;
621
- pointer-events: none;
622
- }
623
- .tl-iconshape__icon {
624
- pointer-events: all;
625
- width: 100%;
626
- height: 100%;
627
- }
628
- .tl-icon-preview {
629
- width: 14px;
630
- height: 14px;
631
- }
632
- .tl-text-shape__wrapper {
633
- position: relative;
634
- font-weight: normal;
635
- min-width: 1px;
636
- padding: 0px;
637
- margin: 0px;
638
- border: none;
639
- height: 100%;
640
- font-variant: normal;
641
- font-style: normal;
642
- pointer-events: all;
643
- white-space: pre-wrap;
644
- overflow-wrap: break-word;
645
- text-shadow: var(--tl-text-outline);
646
- }
647
- .tl-text-shape__wrapper[data-align=start] {
648
- text-align: left;
649
- }
650
- .tl-text-shape__wrapper[data-align=middle] {
651
- text-align: center;
652
- }
653
- .tl-text-shape__wrapper[data-align=end] {
654
- text-align: right;
655
- }
656
- .tl-text-shape__wrapper[data-font=draw] {
657
- font-family: var(--tl-font-draw);
658
- }
659
- .tl-text-shape__wrapper[data-font=sans] {
660
- font-family: var(--tl-font-sans);
661
- }
662
- .tl-text-shape__wrapper[data-font=serif] {
663
- font-family: var(--tl-font-serif);
664
- }
665
- .tl-text-shape__wrapper[data-font=mono] {
666
- font-family: var(--tl-font-mono);
667
- }
668
- .tl-text-shape__wrapper[data-isediting=true] .tl-text-content {
669
- opacity: 0;
670
- }
671
- .tl-text {
672
- margin: 0px;
673
- padding: 0px;
674
- border: 0px;
675
- color: inherit;
676
- caret-color: var(--color-text);
677
- background: none;
678
- -o-border-image: none;
679
- border-image: none;
680
- font-size: inherit;
681
- font-family: inherit;
682
- font-weight: inherit;
683
- line-height: inherit;
684
- font-variant: inherit;
685
- font-style: inherit;
686
- text-align: inherit;
687
- letter-spacing: inherit;
688
- text-shadow: inherit;
689
- outline: none;
690
- white-space: pre-wrap;
691
- word-wrap: break-word;
692
- overflow-wrap: break-word;
693
- pointer-events: all;
694
- text-rendering: auto;
695
- text-transform: none;
696
- text-indent: 0px;
697
- display: inline-block;
698
- -webkit-appearance: auto;
699
- -moz-appearance: auto;
700
- appearance: auto;
701
- -moz-column-count: initial !important;
702
- column-count: initial !important;
703
- writing-mode: horizontal-tb !important;
704
- word-spacing: 0px;
705
- }
706
- .tl-text-measure {
707
- position: absolute;
708
- z-index: 999999;
709
- top: -9999px;
710
- right: -9999px;
711
- opacity: 0;
712
- width: -moz-max-content;
713
- width: max-content;
714
- box-sizing: border-box;
715
- pointer-events: none;
716
- line-break: normal;
717
- white-space: pre-wrap;
718
- word-wrap: break-word;
719
- overflow-wrap: break-word;
720
- resize: none;
721
- border: none;
722
- -moz-user-select: none;
723
- user-select: none;
724
- contain: style paint;
725
- -webkit-user-select: none;
726
- }
727
- .tl-text-edit-container {
728
- position: relative;
729
- width: 100%;
730
- height: 100%;
731
- }
732
- .tl-text-input,
733
- .tl-text-content {
734
- position: absolute;
735
- top: 0px;
736
- left: 0px;
737
- width: 100%;
738
- height: 100%;
739
- min-width: 1px;
740
- min-height: 1px;
741
- overflow: visible;
742
- outline: none;
743
- }
744
- .tl-text-content {
745
- pointer-events: none;
746
- }
747
- .tl-text-input {
748
- resize: none;
749
- -moz-user-select: all;
750
- user-select: all;
751
- -webkit-user-select: text;
752
- overflow: hidden;
753
- cursor: var(--tl-cursor-text);
754
- }
755
- .tl-text-input::-moz-selection {
756
- background: var(--color-selected);
757
- color: var(--color-selected-contrast);
758
- text-shadow: none;
759
- }
760
- .tl-text-input::selection {
761
- background: var(--color-selected);
762
- color: var(--color-selected-contrast);
763
- text-shadow: none;
764
- }
765
- .tl-snap-line {
766
- stroke: var(--color-accent);
767
- stroke-width: calc(1px * var(--tl-scale));
768
- fill: none;
769
- }
770
- .tl-snap-point {
771
- stroke: var(--color-accent);
772
- stroke-width: calc(1px * var(--tl-scale));
773
- fill: none;
774
- }
775
- .tl-group {
776
- stroke: var(--color-text);
777
- stroke-width: calc(1px * var(--tl-scale));
778
- opacity: 0.5;
779
- }
780
- .tl-bookmark__container {
781
- width: 100%;
782
- height: 100%;
783
- position: relative;
784
- border: 1px solid var(--color-panel-contrast);
785
- background-color: var(--color-panel);
786
- border-radius: var(--radius-2);
787
- display: flex;
788
- flex-direction: column;
789
- overflow: hidden;
790
- }
791
- .tl-bookmark__image_container {
792
- flex: 1;
793
- overflow: hidden;
794
- border-top-left-radius: var(--radius-1);
795
- border-top-right-radius: var(--radius-1);
796
- width: 100%;
797
- height: 100%;
798
- display: flex;
799
- justify-content: flex-end;
800
- align-items: flex-start;
801
- }
802
- .tl-bookmark__image_container > .tl-hyperlink-button::after {
803
- background-color: var(--color-panel);
804
- }
805
- .tl-bookmark__placeholder {
806
- width: 100%;
807
- height: 100%;
808
- background-color: var(--color-muted-2);
809
- border-bottom: 1px solid var(--color-muted-2);
810
- }
811
- .tl-bookmark__image {
812
- width: 100%;
813
- height: 100%;
814
- -o-object-fit: cover;
815
- object-fit: cover;
816
- -o-object-position: center;
817
- object-position: center;
818
- }
819
- .tl-bookmark__copy_container {
820
- background-color: var(--color-muted);
821
- padding: var(--space-4);
822
- pointer-events: all;
823
- }
824
- .tl-bookmark__heading,
825
- .tl-bookmark__description,
826
- .tl-bookmark__link {
827
- margin: 0px;
828
- width: 100%;
829
- font-family: inherit;
830
- }
831
- .tl-bookmark__heading {
832
- font-size: 16px;
833
- font-weight: bold;
834
- padding-bottom: var(--space-2);
835
- margin: 8px 0px;
836
- }
837
- .tl-bookmark__description {
838
- font-size: 12px;
839
- padding-bottom: var(--space-4);
840
- }
841
- .tl-bookmark__link {
842
- font-size: 14px;
843
- pointer-events: all;
844
- z-index: 999;
845
- overflow: hidden;
846
- display: block;
847
- color: var(--color-text);
848
- text-overflow: ellipsis;
849
- text-decoration: none;
850
- color: var(--color-text-1);
851
- cursor: var(--tl-cursor-pointer);
852
- }
853
- .tl-bookmark__link:hover {
854
- color: var(--color-selected);
855
- }
856
- .tl-hyperlink-button {
857
- background: none;
858
- margin: 0px;
859
- position: absolute;
860
- top: 0px;
861
- right: 0px;
862
- height: 44px;
863
- width: 44px;
864
- display: flex;
865
- align-items: center;
866
- justify-content: center;
867
- z-index: 200;
868
- font-size: 12px;
869
- font-weight: 400;
870
- color: var(--color-text-1);
871
- padding: 13px;
872
- cursor: var(--tl-cursor-pointer);
873
- border: none;
874
- outline: none;
875
- pointer-events: all;
876
- }
877
- .tl-hyperlink-button::after {
878
- content: "";
879
- z-index: -1;
880
- position: absolute;
881
- right: 6px;
882
- bottom: 6px;
883
- display: block;
884
- width: calc(100% - 12px);
885
- height: calc(100% - 12px);
886
- border-radius: var(--radius-1);
887
- background-color: var(--color-background);
888
- pointer-events: none;
889
- }
890
- .tl-hyperlink-button:hover {
891
- color: var(--color-selected);
892
- }
893
- .tl-hyperlink-button:focus-visible {
894
- color: var(--color-selected);
895
- }
896
- .tl-hyperlink-button__icon {
897
- width: 18px;
898
- height: 18px;
899
- background-color: currentColor;
900
- pointer-events: none;
901
- }
902
- .tl-hyperlink-button__hidden {
903
- display: none;
904
- }
905
- .tl-text-label {
906
- display: flex;
907
- justify-content: center;
908
- align-items: center;
909
- color: var(--color-text);
910
- text-shadow: var(--tl-text-outline);
911
- line-height: inherit;
912
- position: absolute;
913
- inset: 0px;
914
- z-index: 10;
915
- }
916
- .tl-text-label[data-isediting=true] .tl-text-content {
917
- opacity: 0;
918
- }
919
- .tl-text-label[data-hastext=false][data-isediting=false] > .tl-text-label__inner {
920
- width: 40px;
921
- height: 40px;
922
- }
923
- .tl-text-label[data-hastext=true][data-isediting=false] .tl-text-content {
924
- pointer-events: all;
925
- }
926
- .tl-text-label__inner {
927
- position: relative;
928
- width: -moz-fit-content;
929
- width: fit-content;
930
- height: -moz-fit-content;
931
- height: fit-content;
932
- display: flex;
933
- align-items: center;
934
- justify-content: center;
935
- pointer-events: all;
936
- min-height: auto;
937
- }
938
- .tl-text-label__inner > .tl-text {
939
- position: relative;
940
- top: 0px;
941
- left: 0px;
942
- padding: 16px;
943
- height: -moz-fit-content;
944
- height: fit-content;
945
- width: -moz-fit-content;
946
- width: fit-content;
947
- border-radius: var(--radius-1);
948
- max-width: 100%;
949
- z-index: 3;
950
- }
951
- .tl-text-label__inner > .tl-text-input {
952
- position: absolute;
953
- top: 0px;
954
- left: 0px;
955
- width: 100%;
956
- height: 100%;
957
- padding: 16px;
958
- z-index: 4;
959
- }
960
- .tl-text-label[data-textwrap=true] > .tl-text-label__inner {
961
- max-width: 100%;
962
- }
963
- .tl-text-label[data-isediting=true] {
964
- background-color: transparent;
965
- min-height: auto;
966
- }
967
- .tl-text-label[data-isediting=true] p {
968
- opacity: 0;
969
- }
970
- .tl-text-label[data-align=start],
971
- .tl-text-label[data-align=start-legacy] {
972
- text-align: left;
973
- }
974
- .tl-text-label[data-align=middle],
975
- .tl-text-label[data-align=middle-legacy] {
976
- text-align: center;
977
- }
978
- .tl-text-label[data-align=end],
979
- .tl-text-label[data-align=end-legacy] {
980
- text-align: right;
981
- }
982
- .tl-arrow-hint {
983
- stroke: var(--color-text-1);
984
- fill: none;
985
- stroke-linecap: round;
986
- overflow: visible;
987
- }
988
- .tl-arrow-label[data-font=draw],
989
- .tl-text-label[data-font=draw] {
990
- font-family: var(--tl-font-draw);
991
- }
992
- .tl-arrow-label[data-font=sans],
993
- .tl-text-label[data-font=sans] {
994
- font-family: var(--tl-font-sans);
995
- }
996
- .tl-arrow-label[data-font=serif],
997
- .tl-text-label[data-font=serif] {
998
- font-family: var(--tl-font-serif);
999
- }
1000
- .tl-arrow-label[data-font=mono],
1001
- .tl-text-label[data-font=mono] {
1002
- font-family: var(--tl-font-mono);
1003
- }
1004
- .tl-arrow-label {
1005
- position: absolute;
1006
- top: -1px;
1007
- left: -1px;
1008
- width: 2px;
1009
- height: 2px;
1010
- padding: 0px;
1011
- display: flex;
1012
- justify-content: center;
1013
- align-items: center;
1014
- color: var(--color-text);
1015
- text-shadow: var(--tl-text-outline);
1016
- }
1017
- .tl-arrow-label[data-isediting=true] p {
1018
- opacity: 0;
1019
- }
1020
- .tl-arrow-label[data-isediting=true] > .tl-arrow-label__inner {
1021
- background-color: var(--color-background);
1022
- }
1023
- .tl-arrow-label__inner {
1024
- border-radius: var(--radius-1);
1025
- box-sizing: content-box;
1026
- position: relative;
1027
- height: -moz-max-content;
1028
- height: max-content;
1029
- width: -moz-max-content;
1030
- width: max-content;
1031
- pointer-events: all;
1032
- display: flex;
1033
- justify-content: center;
1034
- align-items: center;
1035
- }
1036
- .tl-arrow-label p,
1037
- .tl-arrow-label textarea {
1038
- margin: 0px;
1039
- padding: 0px;
1040
- border: 0px;
1041
- color: inherit;
1042
- caret-color: var(--color-text);
1043
- background: none;
1044
- -o-border-image: none;
1045
- border-image: none;
1046
- font-size: inherit;
1047
- font-family: inherit;
1048
- font-weight: inherit;
1049
- line-height: inherit;
1050
- font-variant: inherit;
1051
- font-style: inherit;
1052
- text-align: inherit;
1053
- letter-spacing: inherit;
1054
- text-shadow: inherit;
1055
- outline: none;
1056
- white-space: pre-wrap;
1057
- word-wrap: break-word;
1058
- overflow-wrap: break-word;
1059
- pointer-events: all;
1060
- text-rendering: auto;
1061
- text-transform: none;
1062
- text-indent: 0px;
1063
- display: inline-block;
1064
- -webkit-appearance: auto;
1065
- -moz-appearance: auto;
1066
- appearance: auto;
1067
- -moz-column-count: initial !important;
1068
- column-count: initial !important;
1069
- writing-mode: horizontal-tb !important;
1070
- word-spacing: 0px;
1071
- }
1072
- .tl-arrow-label p {
1073
- position: relative;
1074
- height: -moz-max-content;
1075
- height: max-content;
1076
- z-index: 2;
1077
- padding: 4px;
1078
- overflow: visible;
1079
- }
1080
- .tl-arrow-label textarea {
1081
- z-index: 3;
1082
- margin: 0px;
1083
- padding: 4px;
1084
- height: 100%;
1085
- width: 100%;
1086
- position: absolute;
1087
- resize: none;
1088
- border: 0px;
1089
- -moz-user-select: all;
1090
- user-select: all;
1091
- -webkit-user-select: text;
1092
- caret-color: var(--color-text);
1093
- -o-border-image: none;
1094
- border-image: none;
1095
- min-width: 4px;
1096
- }
1097
- .tl-note__container {
1098
- position: relative;
1099
- width: 100%;
1100
- height: 100%;
1101
- border-radius: var(--radius-2);
1102
- box-shadow: var(--shadow-1);
1103
- overflow: hidden;
1104
- border-color: currentColor;
1105
- border-style: solid;
1106
- border-width: 1px;
1107
- }
1108
- .tl-note__container .tl-text-label {
1109
- text-shadow: none;
1110
- }
1111
- .tl-note__scrim {
1112
- position: absolute;
1113
- z-index: 1;
1114
- top: 0px;
1115
- left: 0px;
1116
- width: 100%;
1117
- height: 100%;
1118
- background-color: var(--color-background);
1119
- opacity: 0.28;
1120
- }
1121
- .tl-loading {
1122
- background-color: var(--color-background);
1123
- color: var(--color-text-1);
1124
- height: 100%;
1125
- width: 100%;
1126
- display: flex;
1127
- flex-direction: column;
1128
- justify-content: center;
1129
- align-items: center;
1130
- gap: var(--space-2);
1131
- font-size: 14px;
1132
- font-weight: 500;
1133
- opacity: 0;
1134
- animation: fade-in 0.2s ease-in-out forwards;
1135
- animation-delay: 0.2s;
1136
- }
1137
- @keyframes fade-in {
1138
- 0% {
1139
- opacity: 0;
1140
- }
1141
- 100% {
1142
- opacity: 1;
1143
- }
1144
- }
1145
- .tl-frame__body {
1146
- stroke-width: calc(1px * var(--tl-scale));
1147
- }
1148
- .tl-frame__creating {
1149
- stroke: var(--color-selected);
1150
- fill: none;
1151
- }
1152
- .tl-frame__hitarea {
1153
- border-style: solid;
1154
- border-width: calc(8px * var(--tl-scale));
1155
- border-color: transparent;
1156
- background: none;
1157
- pointer-events: stroke;
1158
- box-sizing: border-box;
1159
- top: calc(-8px * var(--tl-scale));
1160
- left: calc(-8px * var(--tl-scale));
1161
- width: calc(100% + calc(16px * var(--tl-scale)));
1162
- height: calc(100% + calc(16px * var(--tl-scale)));
1163
- z-index: 1;
1164
- position: absolute;
1165
- }
1166
- .tl-frame-heading {
1167
- display: flex;
1168
- align-items: center;
1169
- position: absolute;
1170
- transform-origin: 0% 100%;
1171
- overflow: hidden;
1172
- max-width: 100%;
1173
- min-width: 32px;
1174
- height: auto;
1175
- font-size: 12px;
1176
- padding-bottom: 4px;
1177
- pointer-events: all;
1178
- }
1179
- .tl-frame-heading-hit-area {
1180
- pointer-events: all;
1181
- transform-origin: 0% 100%;
1182
- display: flex;
1183
- height: 100%;
1184
- width: 100%;
1185
- align-items: center;
1186
- border-radius: var(--radius-1);
1187
- background-color: var(--color-background);
1188
- }
1189
- .tl-frame-label {
1190
- pointer-events: all;
1191
- overflow: hidden;
1192
- text-overflow: ellipsis;
1193
- padding: var(--space-3) var(--space-3);
1194
- position: relative;
1195
- font-size: inherit;
1196
- white-space: pre;
1197
- border: 1px solid transparent;
1198
- }
1199
- .tl-frame-label__editing {
1200
- color: transparent;
1201
- white-space: pre;
1202
- width: auto;
1203
- overflow: visible;
1204
- background-color: var(--color-panel);
1205
- border-radius: var(--radius-1);
1206
- border-color: var(--color-selected);
1207
- }
1208
- .tl-frame-name-input {
1209
- position: absolute;
1210
- top: 0px;
1211
- left: 0px;
1212
- border: none;
1213
- background: none;
1214
- outline: none;
1215
- padding: var(--space-3) var(--space-3);
1216
- inset: 0px;
1217
- font-size: inherit;
1218
- font-family: inherit;
1219
- font-weight: inherit;
1220
- width: 100%;
1221
- color: var(--color-text-1);
1222
- border-radius: var(--radius-1);
1223
- -moz-user-select: all;
1224
- user-select: all;
1225
- -webkit-user-select: text;
1226
- white-space: pre;
1227
- cursor: var(--tl-cursor-text);
1228
- }
1229
- @media (max-width: 600px) {
1230
- .tl-frame-heading {
1231
- font-size: 16px;
1232
- }
1233
- }
1234
- .tl-embed {
1235
- border: none;
1236
- border-radius: var(--radius-2);
1237
- }
1238
- .tl-image__button {
1239
- padding: 4px 8px;
1240
- color: var(--color-text);
1241
- background-color: var(--color-panel);
1242
- border-radius: var(--radius-2);
1243
- box-shadow: var(--shadow-1);
1244
- pointer-events: all;
1245
- cursor: var(--tl-cursor-pointer);
1246
- outline: none;
1247
- display: flex;
1248
- }
1249
- .tl-image__button:disabled {
1250
- opacity: 0.5;
1251
- pointer-events: none;
1252
- }
1253
- .tl-image__toolbox {
1254
- position: absolute;
1255
- top: 0px;
1256
- left: 0px;
1257
- display: flex;
1258
- justify-content: flex-end;
1259
- align-items: flex-end;
1260
- padding: 10px;
1261
- }
1262
- .tl-image__toolbox__hidden {
1263
- display: none;
1264
- }
1265
- .tl-shape-error-boundary {
1266
- width: 100%;
1267
- height: 100%;
1268
- background-color: var(--color-muted-1);
1269
- border-width: calc(1px * var(--tl-scale));
1270
- border-color: var(--color-muted-1);
1271
- border-style: solid;
1272
- border-radius: calc(var(--radius-1) * var(--tl-scale));
1273
- display: flex;
1274
- flex-direction: column;
1275
- align-items: center;
1276
- justify-content: center;
1277
- text-align: left;
1278
- position: relative;
1279
- pointer-events: all;
1280
- overflow: hidden;
1281
- padding: var(--space-2);
1282
- }
1283
- .tl-shape-error-boundary::before {
1284
- transform: scale(var(--tl-scale));
1285
- content: "Error";
1286
- font-size: 12px;
1287
- font-family: inherit;
1288
- color: var(--color-text-0);
1289
- }
1290
- .tl-error-boundary {
1291
- width: 100%;
1292
- height: 100%;
1293
- display: flex;
1294
- align-items: center;
1295
- justify-content: center;
1296
- padding: var(--space-4);
1297
- background-color: var(--color-background);
1298
- color: var(--color-text-1);
1299
- position: absolute;
1300
- z-index: 600;
1301
- }
1302
- .tl-error-boundary__overlay {
1303
- position: absolute;
1304
- inset: 0px;
1305
- z-index: 500;
1306
- background-color: var(--color-overlay);
1307
- }
1308
- .tl-error-boundary__content * {
1309
- -moz-user-select: all;
1310
- user-select: all;
1311
- -webkit-user-select: text;
1312
- pointer-events: all;
1313
- }
1314
- .tl-error-boundary__canvas {
1315
- pointer-events: none;
1316
- position: absolute;
1317
- inset: 0px;
1318
- z-index: -1;
1319
- }
1320
- .tl-error-boundary__canvas::after {
1321
- content: " ";
1322
- display: block;
1323
- position: absolute;
1324
- inset: 0px;
1325
- z-index: 600;
1326
- pointer-events: all;
1327
- }
1328
- .tl-error-boundary__content {
1329
- width: -moz-fit-content;
1330
- width: fit-content;
1331
- height: -moz-fit-content;
1332
- height: fit-content;
1333
- max-width: 100%;
1334
- width: 400px;
1335
- max-height: 100%;
1336
- background-color: var(--color-panel);
1337
- padding: 16px;
1338
- border-radius: 16px;
1339
- box-shadow: var(--shadow-2);
1340
- font-size: 14px;
1341
- font-weight: 400;
1342
- display: flex;
1343
- flex-direction: column;
1344
- overflow: auto;
1345
- z-index: 600;
1346
- gap: 12px;
1347
- }
1348
- .tl-error-boundary__content__expanded {
1349
- width: 600px;
1350
- }
1351
- .tl-error-boundary__content h2 {
1352
- font-size: 16px;
1353
- margin: 0px;
1354
- font-weight: 500;
1355
- }
1356
- .tl-error-boundary__content p {
1357
- line-height: 1.5;
1358
- margin: 0px;
1359
- }
1360
- .tl-error-boundary__content pre {
1361
- background-color: var(--color-muted-2);
1362
- padding: var(--space-5);
1363
- border-radius: var(--radius-2);
1364
- overflow: auto;
1365
- font-size: 12px;
1366
- max-height: 320px;
1367
- }
1368
- .tl-error-boundary__content button {
1369
- background: none;
1370
- border: none;
1371
- font-family: inherit;
1372
- font-size: 14px;
1373
- font-weight: 500;
1374
- padding: var(--space-4);
1375
- border-radius: var(--radius-3);
1376
- cursor: var(--tl-cursor-pointer);
1377
- color: inherit;
1378
- background-color: transparent;
1379
- }
1380
- .tl-error-boundary__content button:hover {
1381
- background-color: var(--color-low);
1382
- }
1383
- .tl-error-boundary__content a {
1384
- color: var(--color-text-1);
1385
- font-weight: 500;
1386
- text-decoration: none;
1387
- }
1388
- .tl-error-boundary__content a:hover {
1389
- color: var(--color-text-1);
1390
- }
1391
- .tl-error-boundary__content__error {
1392
- position: relative;
1393
- }
1394
- .tl-error-boundary__content__error button {
1395
- position: absolute;
1396
- top: var(--space-2);
1397
- right: var(--space-2);
1398
- font-size: 12px;
1399
- padding: var(--space-2) var(--space-3);
1400
- background-color: var(--color-panel);
1401
- border-radius: var(--radius-1);
1402
- }
1403
- .tl-error-boundary__content__actions {
1404
- display: flex;
1405
- justify-content: space-between;
1406
- gap: var(--space-4);
1407
- margin: 0px;
1408
- margin-left: -4px;
1409
- }
1410
- .tl-error-boundary__content__actions__group {
1411
- display: flex;
1412
- gap: var(--space-4);
1413
- }
1414
- .tl-error-boundary__content .tl-error-boundary__reset {
1415
- color: var(--color-warn);
1416
- }
1417
- .tl-error-boundary__content .tl-error-boundary__refresh {
1418
- background-color: var(--color-primary);
1419
- color: var(--color-selected-contrast);
1420
- }
1421
- .tl-error-boundary__content .tl-error-boundary__refresh:hover {
1422
- background-color: var(--color-primary);
1423
- opacity: 0.9;
1424
- }
1425
- @media screen and (pointer: coarse) {
1426
- .tl-canvas__mobile .tl-handle__hint {
1427
- opacity: 1;
1428
- }
1429
- }
1430
- .tl-hidden {
1431
- opacity: 0;
1432
- pointer-events: none;
1433
- }
1434
- .debug__ui-logger {
1435
- position: absolute;
1436
- top: 62px;
1437
- left: 16px;
1438
- color: #555;
1439
- font-size: 12px;
1440
- font-family: monospace;
1441
- }
1442
- .tl-container {
1443
- --layer-panels: 300;
1444
- --layer-menus: 400;
1445
- --layer-overlays: 500;
1446
- --layer-toasts: 650;
1447
- --layer-cursor: 700;
1448
- }
1449
- .tlui-button {
1450
- position: relative;
1451
- height: 40px;
1452
- min-width: 40px;
1453
- padding: 0px 12px;
1454
- display: flex;
1455
- align-items: center;
1456
- justify-content: center;
1457
- background-color: transparent;
1458
- border: transparent;
1459
- color: currentColor;
1460
- cursor: pointer;
1461
- pointer-events: all;
1462
- font-weight: inherit;
1463
- font-family: inherit;
1464
- text-rendering: optimizeLegibility;
1465
- font-size: 12px;
1466
- gap: 0px;
1467
- color: var(--color-text-1);
1468
- text-shadow: 1px 1px var(--color-text-shadow);
1469
- }
1470
- .tlui-button:disabled {
1471
- color: var(--color-text-3);
1472
- text-shadow: none;
1473
- }
1474
- .tlui-button:disabled .tlui-kbd {
1475
- color: var(--color-text-3);
1476
- }
1477
- .tlui-button > * {
1478
- position: relative;
1479
- z-index: 1;
1480
- }
1481
- .tlui-button__label {
1482
- flex-grow: 2;
1483
- text-align: left;
1484
- }
1485
- .tlui-button:focus-visible:not(:hover) {
1486
- outline: 1px solid var(--color-selected);
1487
- outline-offset: -4px;
1488
- border-radius: var(--radius-3);
1489
- }
1490
- .tlui-button::after {
1491
- display: block;
1492
- content: "";
1493
- position: absolute;
1494
- inset: 4px;
1495
- background-color: transparent;
1496
- border-radius: var(--radius-2);
1497
- }
1498
- .tlui-button[aria-expanded=true]::after {
1499
- background-color: var(--color-muted-0);
1500
- opacity: 1;
1501
- }
1502
- @media (hover: hover) {
1503
- .tlui-button::after {
1504
- background-color: var(--color-muted-2);
1505
- opacity: 0;
1506
- }
1507
- .tlui-button:not(:disabled):hover::after {
1508
- opacity: 1;
1509
- }
1510
- }
1511
- .tlui-button__low {
1512
- border-radius: var(--radius-3);
1513
- background-color: var(--color-low);
1514
- }
1515
- @media (hover: hover) {
1516
- .tlui-button__low::after {
1517
- background-color: var(--color-muted-2);
1518
- }
1519
- }
1520
- .tlui-button__primary {
1521
- color: var(--color-primary);
1522
- }
1523
- .tlui-button__danger {
1524
- color: var(--color-warn);
1525
- text-shadow: none;
1526
- }
1527
- @media (hover: hover) {
1528
- .tlui-button__primary:not(:disabled, :focus-visible):hover {
1529
- color: var(--color-primary);
1530
- }
1531
- .tlui-button__danger:not(:disabled, :focus-visible):hover {
1532
- color: var(--color-warn);
1533
- text-shadow: none;
1534
- }
1535
- }
1536
- .tlui-button__panel {
1537
- position: relative;
1538
- }
1539
- .tlui-button__icon {
1540
- height: 40px;
1541
- width: 40px;
1542
- min-height: 40px;
1543
- min-width: 40px;
1544
- padding: 0px;
1545
- }
1546
- .tlui-button__icon[data-state=hinted]::after {
1547
- background: var(--color-hint);
1548
- opacity: 1;
1549
- }
1550
- .tlui-button__icon[data-state=hinted]:not(:disabled, :focus-visible):active::after {
1551
- background: var(--color-hint);
1552
- opacity: 1;
1553
- }
1554
- @media (hover: hover) {
1555
- .tlui-button__icon::after {
1556
- inset: 4px;
1557
- border-radius: var(--radius-2);
1558
- }
1559
- .tlui-button__icon[data-state=hinted]:not(:disabled, :focus-visible):hover::after {
1560
- background: var(--color-hint);
1561
- }
1562
- }
1563
- .tlui-button__menu {
1564
- height: 40px;
1565
- min-height: 40px;
1566
- min-width: 128px;
1567
- width: 100%;
1568
- gap: 8px;
1569
- margin: -4px 0px;
1570
- }
1571
- .tlui-button__menu:nth-child(1) {
1572
- margin-top: 0px;
1573
- }
1574
- .tlui-button__menu:nth-last-child(1) {
1575
- margin-bottom: 0px;
1576
- }
1577
- @media (hover: hover) {
1578
- .tlui-button__menu::after {
1579
- inset: 4px;
1580
- border-radius: var(--radius-2);
1581
- }
1582
- }
1583
- .tlui-button__checkbox {
1584
- padding-left: 8px;
1585
- }
1586
- .tlui-button__checkbox__indicator {
1587
- width: 15px;
1588
- height: 15px;
1589
- }
1590
- .tlui-toolbar__lock-button {
1591
- position: absolute;
1592
- top: 4px;
1593
- right: 0px;
1594
- pointer-events: all;
1595
- height: 40px;
1596
- width: 40px;
1597
- min-width: 0px;
1598
- border-radius: var(--radius-2);
1599
- }
1600
- .tlui-toolbar__lock-button::after {
1601
- top: 4px;
1602
- left: 8px;
1603
- inset: 4px;
1604
- }
1605
- .tlui-button__tool {
1606
- position: relative;
1607
- height: 48px;
1608
- width: 48px;
1609
- margin-left: -2px;
1610
- margin-right: -2px;
1611
- }
1612
- .tlui-button__tool:nth-of-type(1) {
1613
- margin-left: 0px;
1614
- }
1615
- .tlui-button__tool:nth-last-of-type(1) {
1616
- margin-right: 0px;
1617
- }
1618
- @media (hover: hover) {
1619
- .tlui-button__tool::after {
1620
- inset: 4px;
1621
- border-radius: 8px;
1622
- }
1623
- .tlui-button__tool[data-state=selected]:not(:disabled, :focus-visible):hover {
1624
- color: var(--color-selected-contrast);
1625
- }
1626
- }
1627
- .tlui-button__tool[data-state=selected] {
1628
- color: var(--color-selected-contrast);
1629
- }
1630
- .tlui-button__tool[data-state=selected]:not(:disabled, :focus-visible):active {
1631
- color: var(--color-selected-contrast);
1632
- }
1633
- .tlui-button__tool[data-state=selected]:not(:disabled)::after {
1634
- background: var(--color-selected);
1635
- opacity: 1;
1636
- }
1637
- .tlui-button__help {
1638
- height: 32px;
1639
- width: 32px;
1640
- padding: 0px;
1641
- min-width: 32px;
1642
- border-radius: 100%;
1643
- background-color: var(--color-low);
1644
- border: 1px solid var(--color-low-border);
1645
- }
1646
- @media (hover: hover) {
1647
- .tlui-button__help::after {
1648
- background-color: var(--color-muted-2);
1649
- border-radius: 100%;
1650
- inset: 4px;
1651
- }
1652
- }
1653
- .tlui-buttons__horizontal {
1654
- display: flex;
1655
- flex-direction: row;
1656
- }
1657
- .tlui-buttons__horizontal > * {
1658
- margin-left: -2px;
1659
- margin-right: -2px;
1660
- }
1661
- .tlui-buttons__horizontal > *:nth-child(1) {
1662
- margin-left: 0px;
1663
- }
1664
- .tlui-buttons__horizontal > *:nth-last-child(1) {
1665
- margin-right: 0px;
1666
- }
1667
- .tlui-buttons__grid {
1668
- display: grid;
1669
- grid-template-columns: repeat(4, auto);
1670
- grid-auto-flow: row;
1671
- overflow: hidden;
1672
- }
1673
- .tlui-buttons__grid > .tlui-button {
1674
- margin: -2px;
1675
- }
1676
- .tlui-buttons__grid > .tlui-button:nth-of-type(4n) {
1677
- margin-right: 0px;
1678
- }
1679
- .tlui-buttons__grid > .tlui-button:nth-of-type(4n-3) {
1680
- margin-left: 0px;
1681
- }
1682
- .tlui-buttons__grid > .tlui-button:nth-of-type(-n+4) {
1683
- margin-top: 0px;
1684
- }
1685
- .tlui-buttons__grid > .tlui-button:nth-last-of-type(-n+4) {
1686
- margin-bottom: 0px;
1687
- }
1688
- .tlui-zoom-menu__button__pct {
1689
- width: 60px;
1690
- min-width: 60px;
1691
- text-align: center;
1692
- }
1693
- @media (max-width: 640px) {
1694
- .tlui-button__tool {
1695
- height: 48px;
1696
- width: 44px;
1697
- }
1698
- .tlui-button__tool > .tlui-icon {
1699
- height: 16px;
1700
- width: 16px;
1701
- }
1702
- .tlui-kbd {
1703
- visibility: hidden;
1704
- }
1705
- .tlui-menu__group .tlui-button__icon-left {
1706
- display: none;
1707
- }
1708
- }
1709
- .tlui-layout {
1710
- position: relative;
1711
- display: grid;
1712
- grid-template-columns: 1fr;
1713
- grid-template-rows: minmax(0px, 1fr) auto;
1714
- grid-auto-rows: auto;
1715
- height: 100%;
1716
- max-height: 100%;
1717
- overflow: clip;
1718
- pointer-events: none;
1719
- -webkit-user-select: none;
1720
- -moz-user-select: none;
1721
- user-select: none;
1722
- contain: strict;
1723
- z-index: var(--layer-panels);
1724
- -webkit-transform: translate3d(0, 0, 0);
1725
- --sab: env(safe-area-inset-bottom);
1726
- }
1727
- .tlui-layout__top {
1728
- grid-column: 1;
1729
- grid-row: 1;
1730
- display: flex;
1731
- min-width: 0px;
1732
- justify-content: space-between;
1733
- }
1734
- .tlui-layout__top__left {
1735
- display: flex;
1736
- flex-direction: column;
1737
- align-items: flex-start;
1738
- justify-content: flex-start;
1739
- width: 100%;
1740
- height: 100%;
1741
- flex: 0 1 0;
1742
- }
1743
- .tlui-layout__top__right {
1744
- display: flex;
1745
- flex-direction: column;
1746
- align-items: flex-end;
1747
- justify-content: flex-start;
1748
- height: 100%;
1749
- flex: 0 0 auto;
1750
- min-width: 0px;
1751
- }
1752
- .scrollable,
1753
- .scrollable * {
1754
- pointer-events: all;
1755
- touch-action: auto;
1756
- overscroll-behavior: none;
1757
- }
1758
- .tlui-helper-buttons {
1759
- position: relative;
1760
- display: flex;
1761
- flex-direction: column;
1762
- justify-content: flex-start;
1763
- align-items: flex-start;
1764
- width: -moz-min-content;
1765
- width: min-content;
1766
- gap: var(--space-3);
1767
- margin: var(--space-2) var(--space-3);
1768
- white-space: nowrap;
1769
- pointer-events: none;
1770
- z-index: var(--layer-panels);
1771
- }
1772
- .tlui-icon {
1773
- flex-shrink: 0;
1774
- width: 18px;
1775
- height: 18px;
1776
- background-color: currentColor;
1777
- }
1778
- .tlui-icon__small {
1779
- width: 15px;
1780
- height: 15px;
1781
- }
1782
- .tlui-slider {
1783
- position: relative;
1784
- display: flex;
1785
- align-items: center;
1786
- -webkit-user-select: none;
1787
- -moz-user-select: none;
1788
- user-select: none;
1789
- touch-action: none;
1790
- }
1791
- .tlui-slider__container {
1792
- width: 100%;
1793
- padding: 0px var(--space-4);
1794
- }
1795
- .tlui-slider__track {
1796
- position: relative;
1797
- flex-grow: 1;
1798
- height: 44px;
1799
- cursor: pointer;
1800
- }
1801
- .tlui-slider__track::after {
1802
- display: block;
1803
- position: absolute;
1804
- top: calc(50% - 2px);
1805
- content: "";
1806
- height: 3px;
1807
- width: 100%;
1808
- background-color: var(--color-muted-1);
1809
- border-radius: 14px;
1810
- }
1811
- .tlui-slider__range {
1812
- position: absolute;
1813
- top: calc(50% - 2px);
1814
- left: 0px;
1815
- height: 3px;
1816
- background-color: var(--color-selected);
1817
- border-radius: 14px;
1818
- }
1819
- .tlui-slider__thumb {
1820
- all: unset;
1821
- cursor: grab;
1822
- display: block;
1823
- width: 18px;
1824
- height: 18px;
1825
- position: relative;
1826
- top: -1px;
1827
- background-color: var(--color-panel);
1828
- border-radius: 999px;
1829
- box-shadow: inset 0px 0px 0px 2px var(--color-text-1);
1830
- }
1831
- .tlui-slider__thumb:active {
1832
- cursor: grabbing;
1833
- box-shadow: inset 0px 0px 0px 2px var(--color-text-1), var(--shadow-1);
1834
- }
1835
- .tlui-slider__thumb:focus-visible {
1836
- box-shadow: inset 0 0 0 2px var(--color-focus);
1837
- }
1838
- .tlui-kbd {
1839
- font-family: inherit;
1840
- font-size: 11px;
1841
- line-height: 11px;
1842
- display: grid;
1843
- justify-items: center;
1844
- grid-auto-flow: column;
1845
- grid-template-columns: auto;
1846
- grid-auto-columns: minmax(1em, auto);
1847
- gap: 1px;
1848
- align-self: bottom;
1849
- color: var(--color-text-1);
1850
- margin-left: var(--space-4);
1851
- }
1852
- .tlui-kbd > span {
1853
- width: 100%;
1854
- text-align: center;
1855
- display: inline;
1856
- margin: 0px;
1857
- padding: 2px;
1858
- border-radius: 2px;
1859
- }
1860
- .tlui-kbd:not(:last-child) {
1861
- margin-right: var(--space-2);
1862
- }
1863
- .tlui-focus-button {
1864
- z-index: var(--layer-panels);
1865
- pointer-events: all;
1866
- }
1867
- .tlui-popover {
1868
- position: relative;
1869
- display: flex;
1870
- align-content: stretch;
1871
- }
1872
- .tlui-popover__content {
1873
- position: relative;
1874
- max-height: 75vh;
1875
- margin: 0px;
1876
- border: none;
1877
- border-radius: var(--radius-3);
1878
- background-color: var(--color-panel);
1879
- box-shadow: var(--shadow-3);
1880
- z-index: var(--layer-menus);
1881
- overflow: hidden;
1882
- overflow-y: auto;
1883
- touch-action: auto;
1884
- overscroll-behavior: none;
1885
- scrollbar-width: none;
1886
- -ms-overflow-style: none;
1887
- }
1888
- .tlui-debug-panel {
1889
- background-color: var(--color-low);
1890
- width: 100%;
1891
- display: grid;
1892
- align-items: center;
1893
- grid-template-columns: 1fr auto auto;
1894
- justify-content: space-between;
1895
- padding-left: var(--space-4);
1896
- border-top: 1px solid var(--color-background);
1897
- font-size: 12px;
1898
- color: var(--color-text-1);
1899
- z-index: var(--layer-panels);
1900
- pointer-events: all;
1901
- }
1902
- .tlui-debug-panel__current-state {
1903
- white-space: nowrap;
1904
- }
1905
- .tlui-menu-zone {
1906
- position: relative;
1907
- z-index: var(--layer-panels);
1908
- width: -moz-fit-content;
1909
- width: fit-content;
1910
- border-right: 4px solid var(--color-background);
1911
- border-bottom: 4px solid var(--color-background);
1912
- border-bottom-right-radius: var(--radius-4);
1913
- background-color: var(--color-low);
1914
- }
1915
- .tlui-menu-zone *[data-state=open]::after {
1916
- background: linear-gradient(180deg, rgba(144, 144, 144, 0) 0%, var(--color-muted-2) 100%);
1917
- }
1918
- .tlui-style-panel__wrapper {
1919
- box-shadow: var(--shadow-2);
1920
- border-radius: var(--radius-3);
1921
- pointer-events: all;
1922
- background-color: var(--color-panel);
1923
- height: -moz-fit-content;
1924
- height: fit-content;
1925
- max-height: 100%;
1926
- margin: 4px 8px;
1927
- touch-action: auto;
1928
- overscroll-behavior: none;
1929
- overflow-y: auto;
1930
- overflow-x: hidden;
1931
- color: var(--color-text);
1932
- }
1933
- .tlui-style-panel {
1934
- position: relative;
1935
- z-index: var(--layer-panels);
1936
- pointer-events: all;
1937
- width: 148px;
1938
- max-width: 148px;
1939
- }
1940
- .tlui-style-panel::-webkit-scrollbar {
1941
- display: none;
1942
- }
1943
- .tlui-style-panel .tlui-button.select {
1944
- width: 100%;
1945
- }
1946
- .tlui-style-panel__section {
1947
- display: flex;
1948
- position: relative;
1949
- flex-direction: column;
1950
- }
1951
- .tlui-style-panel__section:nth-of-type(n+2):not(:last-child) {
1952
- border-bottom: 1px solid var(--color-divider);
1953
- }
1954
- .tlui-style-panel__section:empty {
1955
- display: none;
1956
- }
1957
- .tlui-style-panel__section__common:not(:only-child) {
1958
- margin-bottom: 7px;
1959
- border-bottom: 1px solid var(--color-divider);
1960
- }
1961
- .tlui-style-panel__row {
1962
- display: flex;
1963
- }
1964
- .tlui-style-panel__row__extra-button {
1965
- margin-left: -2px;
1966
- }
1967
- .tlui-style-panel__double-select-picker__wrapper {
1968
- width: 100%;
1969
- max-width: 100%;
1970
- }
1971
- .tlui-style-panel__double-select-picker {
1972
- display: flex;
1973
- grid-template-columns: 1fr auto;
1974
- align-items: center;
1975
- padding-left: var(--space-4);
1976
- color: var(--color-text-1);
1977
- font-size: 12px;
1978
- }
1979
- .tlui-style-panel__double-select-picker-label {
1980
- text-overflow: ellipsis;
1981
- overflow: hidden;
1982
- white-space: nowrap;
1983
- flex-grow: 2;
1984
- max-width: 100%;
1985
- }
1986
- .tlui-style-panel__section *[data-state=open]::after {
1987
- background: var(--color-muted-0);
1988
- }
1989
- .tlui-input {
1990
- background: none;
1991
- margin: 0px;
1992
- position: relative;
1993
- z-index: 1;
1994
- height: 40px;
1995
- max-height: 40px;
1996
- display: flex;
1997
- align-items: center;
1998
- justify-content: center;
1999
- font-family: inherit;
2000
- font-size: 12px;
2001
- font-weight: inherit;
2002
- color: var(--color-text-1);
2003
- padding: var(--space-4);
2004
- padding-left: 0px;
2005
- border: none;
2006
- outline: none;
2007
- text-overflow: ellipsis;
2008
- width: 100%;
2009
- -webkit-user-select: all;
2010
- -moz-user-select: all;
2011
- user-select: all;
2012
- text-rendering: optimizeLegibility;
2013
- -webkit-user-select: auto !important;
2014
- }
2015
- .tlui-input__wrapper {
2016
- width: 100%;
2017
- height: 44px;
2018
- display: flex;
2019
- align-items: center;
2020
- gap: var(--space-4);
2021
- color: var(--color-text);
2022
- }
2023
- .tlui-input__wrapper > .tlui-icon {
2024
- flex-shrink: 0;
2025
- }
2026
- @media (max-width: 600px) {
2027
- @supports (-webkit-touch-callout: none) {
2028
- .tlui-input {
2029
- font-size: 16px;
2030
- }
2031
- }
2032
- }
2033
- .tlui-prompt__overlay {
2034
- background: var(--color-overlay);
2035
- position: fixed;
2036
- top: 0px;
2037
- left: 0px;
2038
- right: 0px;
2039
- bottom: 0px;
2040
- display: grid;
2041
- place-items: center;
2042
- overflow-y: auto;
2043
- z-index: var(--layer-overlays);
2044
- }
2045
- .tlui-prompt__content {
2046
- cursor: default;
2047
- background-color: var(--color-panel);
2048
- box-shadow: var(--shadow-3);
2049
- border-radius: var(--radius-4);
2050
- padding: var(--space-5);
2051
- font-size: 12px;
2052
- overflow-y: auto;
2053
- min-width: 300px;
2054
- max-width: 80vw;
2055
- max-height: 80vh;
2056
- }
2057
- .tlui-prompt__actions {
2058
- border: none;
2059
- padding: 0px;
2060
- margin: 0px;
2061
- display: flex;
2062
- justify-content: flex-end;
2063
- margin-right: calc(-1 * var(--space-3));
2064
- margin-bottom: calc(-1 * var(--space-3));
2065
- }
2066
- .tlui-prompt__title {
2067
- margin: 0px;
2068
- font-size: 12px;
2069
- }
2070
- .tlui-prompt__error {
2071
- color: #d10b0b;
2072
- display: flex;
2073
- gap: var(--space-2);
2074
- align-items: center;
2075
- }
2076
- .tlui-dialog__overlay {
2077
- position: absolute;
2078
- top: 0px;
2079
- left: 0px;
2080
- width: 100%;
2081
- height: 100%;
2082
- z-index: var(--layer-overlays);
2083
- background-color: var(--color-overlay);
2084
- pointer-events: all;
2085
- animation: fadeIn 0.12s ease-out;
2086
- display: grid;
2087
- place-items: center;
2088
- overflow-y: auto;
2089
- }
2090
- .tlui-dialog__content {
2091
- display: flex;
2092
- flex-direction: column;
2093
- position: relative;
2094
- cursor: default;
2095
- background-color: var(--color-panel);
2096
- box-shadow: var(--shadow-3);
2097
- border-radius: var(--radius-3);
2098
- font-size: 12px;
2099
- overflow: hidden;
2100
- min-width: 300px;
2101
- max-width: 80vw;
2102
- max-height: 80vh;
2103
- }
2104
- .tlui-dialog__header {
2105
- position: relative;
2106
- display: flex;
2107
- align-items: center;
2108
- flex: 0;
2109
- z-index: 999;
2110
- padding-left: var(--space-4);
2111
- color: var(--color-text);
2112
- height: 44px;
2113
- }
2114
- .tlui-dialog__header__title {
2115
- flex: 1;
2116
- font-weight: inherit;
2117
- font-size: 12px;
2118
- margin: 0px;
2119
- color: var(--color-text-1);
2120
- }
2121
- .tlui-dialog__header__close {
2122
- justify-self: flex-end;
2123
- }
2124
- .tlui-dialog__body {
2125
- padding: var(--space-4) var(--space-4);
2126
- flex: 0 1;
2127
- overflow-y: auto;
2128
- overflow-x: hidden;
2129
- color: var(--color-text-1);
2130
- -moz-user-select: all;
2131
- user-select: all;
2132
- -webkit-user-select: text;
2133
- }
2134
- .tlui-dialog__footer {
2135
- position: relative;
2136
- z-index: 999;
2137
- }
2138
- .tlui-dialog__footer__actions {
2139
- display: flex;
2140
- align-items: center;
2141
- justify-content: flex-end;
2142
- }
2143
- .tlui-dialog__footer__actions > .tlui-button:nth-last-child(n+2) {
2144
- margin-right: -4px;
2145
- }
2146
- .tlui-toolbar {
2147
- grid-column: 1 / span 3;
2148
- grid-row: 1;
2149
- display: flex;
2150
- align-items: center;
2151
- justify-content: center;
2152
- flex-grow: 2;
2153
- padding-bottom: calc(var(--space-3) + var(--sab));
2154
- }
2155
- .tlui-toolbar__inner {
2156
- position: relative;
2157
- width: -moz-fit-content;
2158
- width: fit-content;
2159
- display: flex;
2160
- gap: var(--space-3);
2161
- align-items: flex-end;
2162
- }
2163
- .tlui-toolbar__left {
2164
- width: -moz-fit-content;
2165
- width: fit-content;
2166
- }
2167
- .tlui-toolbar__extras {
2168
- position: relative;
2169
- z-index: 1;
2170
- width: 100%;
2171
- pointer-events: none;
2172
- top: 4px;
2173
- height: 48px;
2174
- }
2175
- .tlui-toolbar__extras__controls {
2176
- display: flex;
2177
- position: relative;
2178
- flex-direction: row;
2179
- z-index: 1;
2180
- background-color: var(--color-low);
2181
- border-top-left-radius: var(--radius-4);
2182
- border-top-right-radius: var(--radius-4);
2183
- border: 4px solid var(--color-background);
2184
- margin-left: 8px;
2185
- margin-right: 0px;
2186
- pointer-events: all;
2187
- width: -moz-fit-content;
2188
- width: fit-content;
2189
- }
2190
- .tlui-toolbar__tools {
2191
- display: flex;
2192
- flex-direction: row;
2193
- background-color: var(--color-low);
2194
- border-radius: 11px;
2195
- z-index: var(--layer-panels);
2196
- pointer-events: all;
2197
- position: relative;
2198
- align-items: center;
2199
- background: var(--color-panel);
2200
- box-shadow: var(--shadow-2);
2201
- }
2202
- .tlui-toolbar__overflow {
2203
- width: 40px;
2204
- }
2205
- @media (max-width: 640px) {
2206
- .tlui-toolbar__overflow {
2207
- width: 32px;
2208
- padding: 0px;
2209
- }
2210
- .tlui-toolbar *[data-state=open]::after {
2211
- background: linear-gradient(0deg, rgba(144, 144, 144, 0) 0%, var(--color-muted-2) 100%);
2212
- }
2213
- }
2214
- .tlui-help-menu {
2215
- pointer-events: all;
2216
- position: absolute;
2217
- bottom: var(--space-2);
2218
- right: var(--space-2);
2219
- z-index: var(--layer-panels);
2220
- border: 4px solid var(--color-background);
2221
- border-radius: 100%;
2222
- }
2223
- .tlui-context-menu__move-to-page__name {
2224
- max-width: calc(min(300px, 35vw));
2225
- overflow: hidden;
2226
- text-overflow: ellipsis;
2227
- }
2228
- .tlui-context-menu__move-to-page__name[data-disabled] {
2229
- color: var(--color-text-3);
2230
- pointer-events: none;
2231
- }
2232
- .tlui-menu {
2233
- z-index: var(--layer-menus);
2234
- height: -moz-fit-content;
2235
- height: fit-content;
2236
- width: -moz-fit-content;
2237
- width: fit-content;
2238
- max-height: 80vh;
2239
- border-radius: var(--radius-3);
2240
- pointer-events: all;
2241
- touch-action: auto;
2242
- overflow-y: auto;
2243
- overscroll-behavior: none;
2244
- background-color: var(--color-panel);
2245
- box-shadow: var(--shadow-3);
2246
- }
2247
- .tlui-menu::-webkit-scrollbar {
2248
- display: none;
2249
- }
2250
- .tlui-menu__arrow {
2251
- position: relative;
2252
- top: -1px;
2253
- fill: var(--color-panel);
2254
- stroke: var(--color-panel-contrast);
2255
- stroke-width: 1px;
2256
- }
2257
- .tlui-menu__group[data-size=large] {
2258
- min-width: initial;
2259
- }
2260
- .tlui-menu__group[data-size=medium] {
2261
- min-width: 144px;
2262
- }
2263
- .tlui-menu__group[data-size=small] {
2264
- min-width: 96px;
2265
- }
2266
- .tlui-menu__group[data-size=tiny] {
2267
- min-width: 0px;
2268
- }
2269
- .tlui-menu__group + .tlui-menu__group {
2270
- border-top: 1px solid var(--color-divider);
2271
- }
2272
- .tlui-menu__submenu__trigger[data-state=open]:not(:hover)::after {
2273
- border-radius: var(--radius-1);
2274
- background: linear-gradient(90deg, rgba(144, 144, 144, 0) 0%, var(--color-muted-2) 100%);
2275
- }
2276
- .tlui-menu__submenu__trigger[data-direction=left][data-state=open]:not(:hover)::after {
2277
- border-radius: var(--radius-1);
2278
- background: linear-gradient(270deg, rgba(144, 144, 144, 0) 0%, var(--color-muted-2) 100%);
2279
- }
2280
- .tlui-actions-menu {
2281
- max-height: calc(100vh - 150px);
2282
- }
2283
- .tlui-toast__viewport {
2284
- position: absolute;
2285
- inset: 0px;
2286
- margin: 0px;
2287
- display: flex;
2288
- align-items: flex-end;
2289
- justify-content: flex-end;
2290
- flex-direction: column;
2291
- gap: var(--space-3);
2292
- pointer-events: none;
2293
- padding: 0px var(--space-3) 64px 0px;
2294
- z-index: var(--layer-toasts);
2295
- }
2296
- .tlui-toast__viewport > * {
2297
- pointer-events: all;
2298
- }
2299
- .tlui-toast__icon {
2300
- padding-top: var(--space-4);
2301
- padding-left: var(--space-4);
2302
- color: var(--color-text-1);
2303
- }
2304
- .tlui-toast__container {
2305
- min-width: 200px;
2306
- display: flex;
2307
- flex-direction: row;
2308
- background-color: var(--color-panel);
2309
- box-shadow: var(--shadow-2);
2310
- border-radius: var(--radius-3);
2311
- font-size: 12px;
2312
- }
2313
- .tlui-toast__main {
2314
- flex-grow: 2;
2315
- max-width: 280px;
2316
- }
2317
- .tlui-toast__content {
2318
- padding: var(--space-4);
2319
- display: flex;
2320
- flex-direction: column;
2321
- gap: var(--space-3);
2322
- }
2323
- .tlui-toast__title {
2324
- font-weight: bold;
2325
- color: var(--color-text-1);
2326
- }
2327
- .tlui-toast__description {
2328
- color: var(--color-text-1);
2329
- padding: var(--space-3);
2330
- margin: 0px;
2331
- padding: 0px;
2332
- }
2333
- .tlui-toast__icon + .tlui-toast__main > .tlui-toast__actions {
2334
- padding-left: 0px;
2335
- }
2336
- .tlui-toast__actions {
2337
- display: flex;
2338
- flex-direction: row;
2339
- justify-content: flex-start;
2340
- margin-left: 0;
2341
- }
2342
- .tlui-toast__close {
2343
- align-self: flex-end;
2344
- flex-shrink: 0;
2345
- }
2346
- @media (prefers-reduced-motion: no-preference) {
2347
- .tlui-toast__container[data-state=open] {
2348
- animation: slide-in 200ms cubic-bezier(0.785, 0.135, 0.15, 0.86);
2349
- }
2350
- .tlui-toast__container[data-state=closed] {
2351
- animation: hide 100ms ease-in;
2352
- }
2353
- .tlui-toast__container[data-swipe=move] {
2354
- transform: translateX(var(--radix-toast-swipe-move-x));
2355
- }
2356
- .tlui-toast__container[data-swipe=cancel] {
2357
- transform: translateX(0);
2358
- transition: transform 200ms ease-out;
2359
- }
2360
- .tlui-toast__container[data-swipe=end] {
2361
- animation: swipe-out 100ms ease-out;
2362
- }
2363
- }
2364
- .tlui-layout__bottom {
2365
- grid-row: 2;
2366
- }
2367
- .tlui-layout__bottom__main {
2368
- width: 100%;
2369
- position: relative;
2370
- display: flex;
2371
- align-items: flex-end;
2372
- justify-content: center;
2373
- }
2374
- .tlui-navigation-zone {
2375
- display: flex;
2376
- width: -moz-min-content;
2377
- width: min-content;
2378
- flex-direction: column;
2379
- z-index: var(--layer-panels);
2380
- pointer-events: all;
2381
- position: absolute;
2382
- left: 0px;
2383
- bottom: 0px;
2384
- }
2385
- .tlui-navigation-zone::before {
2386
- content: "";
2387
- display: block;
2388
- position: absolute;
2389
- z-index: -1;
2390
- inset: -4px -4px 0px 0px;
2391
- border-radius: 0;
2392
- border-top: 4px solid var(--color-background);
2393
- border-right: 4px solid var(--color-background);
2394
- border-top-right-radius: var(--radius-4);
2395
- background-color: var(--color-low);
2396
- }
2397
- .tlui-navigation-zone__toggle .tlui-icon {
2398
- opacity: 0.24;
2399
- }
2400
- .tlui-navigation-zone__toggle:active .tlui-icon {
2401
- opacity: 1;
2402
- }
2403
- @media (hover: hover) {
2404
- .tlui-navigation-zone__toggle:hover .tlui-icon {
2405
- opacity: 1;
2406
- }
2407
- }
2408
- .tlui-minimap {
2409
- width: 100%;
2410
- height: 96px;
2411
- min-height: 96px;
2412
- overflow: hidden;
2413
- padding: var(--space-3);
2414
- padding-top: 0px;
2415
- }
2416
- .tlui-minimap__canvas {
2417
- position: relative;
2418
- width: 100%;
2419
- height: 100%;
2420
- }
2421
- @keyframes hide {
2422
- 0% {
2423
- opacity: 1;
2424
- }
2425
- 100% {
2426
- opacity: 0;
2427
- }
2428
- }
2429
- @keyframes slide-in {
2430
- from {
2431
- transform: translateX(calc(100% + var(--space-3)));
2432
- }
2433
- to {
2434
- transform: translateX(0px);
2435
- }
2436
- }
2437
- @keyframes swipe-out {
2438
- from {
2439
- transform: translateX(var(--radix-toast-swipe-end-x));
2440
- }
2441
- to {
2442
- transform: translateX(calc(100% + var(--space-3)));
2443
- }
2444
- }
2445
- .tlui-page-menu__wrapper {
2446
- position: relative;
2447
- display: flex;
2448
- flex-direction: column;
2449
- width: 220px;
2450
- height: -moz-fit-content;
2451
- height: fit-content;
2452
- max-height: 50vh;
2453
- }
2454
- .tlui-page-menu__trigger {
2455
- width: 128px;
2456
- }
2457
- .tlui-page-menu__trigger > span {
2458
- flex-grow: 2;
2459
- margin-right: var(--space-4);
2460
- }
2461
- .tlui-page-menu__header {
2462
- display: flex;
2463
- flex-direction: row;
2464
- align-items: center;
2465
- width: 100%;
2466
- padding-left: var(--space-4);
2467
- border-bottom: 1px solid var(--color-divider);
2468
- }
2469
- .tlui-page-menu__header > .tlui-button:nth-of-type(1) {
2470
- margin-right: -4px;
2471
- }
2472
- .tlui-page-menu__header__title {
2473
- color: var(--color-text);
2474
- font-size: 12px;
2475
- flex-grow: 2;
2476
- }
2477
- .tlui-page-menu__name {
2478
- flex-grow: 2;
2479
- text-align: left;
2480
- overflow: hidden;
2481
- text-overflow: ellipsis;
2482
- white-space: nowrap;
2483
- }
2484
- .tlui-page-menu__list {
2485
- position: relative;
2486
- touch-action: auto;
2487
- flex-direction: column;
2488
- max-height: 100%;
2489
- overflow-x: hidden;
2490
- overflow-y: auto;
2491
- touch-action: auto;
2492
- }
2493
- .tlui-page-menu__item {
2494
- display: flex;
2495
- flex-direction: row;
2496
- align-items: center;
2497
- justify-content: space-between;
2498
- gap: 0px;
2499
- }
2500
- .tlui-page-menu__item:nth-of-type(n+2) {
2501
- margin-top: -4px;
2502
- }
2503
- .tlui-page-menu__item__button:not(:only-child) {
2504
- flex-grow: 2;
2505
- margin-right: -2px;
2506
- }
2507
- .tlui-page-menu__item__button > span {
2508
- display: block;
2509
- flex-grow: 2;
2510
- text-align: left;
2511
- overflow: hidden;
2512
- text-overflow: ellipsis;
2513
- white-space: nowrap;
2514
- }
2515
- .tlui-page-menu__item__button__checkbox {
2516
- padding-left: 35px;
2517
- }
2518
- .tlui-page-menu__item__button__check {
2519
- position: absolute;
2520
- left: 0px;
2521
- width: 24px;
2522
- padding-left: 10px;
2523
- display: inline-flex;
2524
- align-items: center;
2525
- justify-content: center;
2526
- color: var(--color-text);
2527
- }
2528
- .tlui-page_menu__item__sortable {
2529
- position: absolute;
2530
- top: 0px;
2531
- left: 0px;
2532
- width: 100%;
2533
- height: -moz-fit-content;
2534
- height: fit-content;
2535
- display: flex;
2536
- flex-direction: row;
2537
- align-items: center;
2538
- overflow: hidden;
2539
- z-index: 1;
2540
- }
2541
- .tlui-page_menu__item__sortable__title {
2542
- flex: 1;
2543
- }
2544
- .tlui-page_menu__item__sortable__title > .tlui-input__wrapper {
2545
- height: 100%;
2546
- }
2547
- .tlui-page_menu__item__sortable:focus-within {
2548
- z-index: 10;
2549
- }
2550
- .tlui-page_menu__item__sortable__handle {
2551
- touch-action: none;
2552
- width: 32px;
2553
- min-width: 0px;
2554
- height: 40px;
2555
- cursor: grab;
2556
- color: var(--color-text-3);
2557
- flex-shrink: 0;
2558
- margin-right: -9px;
2559
- }
2560
- .tlui-page_menu__item__sortable__handle:active {
2561
- cursor: grabbing;
2562
- }
2563
- .tlui-page-menu__item__input {
2564
- margin-left: 12px;
2565
- height: 100%;
2566
- }
2567
- .tlui-page_menu__item__submenu {
2568
- pointer-events: all;
2569
- flex: 0;
2570
- cursor: pointer;
2571
- margin: 0px;
2572
- display: none;
2573
- margin-left: -2px;
2574
- }
2575
- .tlui-page_menu__item__submenu[data-isediting=true] {
2576
- display: block;
2577
- }
2578
- @media (hover: hover) {
2579
- .tlui-page_menu__item__submenu {
2580
- opacity: 0;
2581
- display: block;
2582
- }
2583
- .tlui-page_menu__item__submenu:hover,
2584
- .tlui-page-menu__item:focus-within > .tlui-page_menu__item__submenu,
2585
- .tlui-page_menu__item__sortable:focus-within > .tlui-page_menu__item__submenu {
2586
- opacity: 1;
2587
- }
2588
- }
2589
- .tlui-edit-link-dialog {
2590
- display: flex;
2591
- flex-direction: column;
2592
- gap: var(--space-4);
2593
- color: var(--color-text);
2594
- }
2595
- .tlui-edit-link-dialog__input {
2596
- background-color: var(--color-muted-2);
2597
- flex-grow: 2;
2598
- border-radius: var(--radius-2);
2599
- padding: 0px var(--space-4);
2600
- }
2601
- .tlui-embed__spacer {
2602
- flex-grow: 2;
2603
- min-height: 0px;
2604
- margin-left: calc(-1 * var(--space-4));
2605
- margin-top: calc(-1 * var(--space-4));
2606
- pointer-events: none;
2607
- }
2608
- .tlui-embed-dialog__list {
2609
- display: flex;
2610
- flex-direction: column;
2611
- padding-bottom: var(--space-5);
2612
- }
2613
- .tlui-embed-dialog__item {
2614
- position: relative;
2615
- border: none;
2616
- background: none;
2617
- font-family: inherit;
2618
- display: flex;
2619
- text-align: left;
2620
- gap: var(--space-3);
2621
- margin: 0px -8px;
2622
- cursor: pointer;
2623
- padding: 0px 4px;
2624
- align-items: center;
2625
- color: var(--color-text);
2626
- font-size: var(--font-size-1);
2627
- height: 44px;
2628
- }
2629
- @media (hover: hover) {
2630
- .tlui-embed-dialog__item:not(:disabled, :focus-visible):hover::after {
2631
- display: block;
2632
- content: "";
2633
- position: absolute;
2634
- inset: 4px;
2635
- background-color: var(--color-muted-2);
2636
- border-radius: var(--radius-1);
2637
- }
2638
- }
2639
- .tlui-embed-dialog__item__image {
2640
- width: 24px;
2641
- height: 24px;
2642
- display: flex;
2643
- align-items: center;
2644
- justify-content: center;
2645
- background-size: contain;
2646
- background-repeat: no-repeat;
2647
- background-position: center center;
2648
- }
2649
- .tlui-embed-dialog__enter {
2650
- display: flex;
2651
- flex-direction: column;
2652
- gap: var(--space-4);
2653
- color: var(--color-text-1);
2654
- }
2655
- .tlui-embed-dialog__input {
2656
- background-color: var(--color-muted-2);
2657
- flex-grow: 2;
2658
- border-radius: var(--radius-2);
2659
- padding: 0px var(--space-4);
2660
- }
2661
- .tlui-embed-dialog__warning {
2662
- color: var(--color-warn);
2663
- text-shadow: none;
2664
- }
2665
- .tlui-embed-dialog__instruction__link {
2666
- display: flex;
2667
- gap: var(--space-1);
2668
- margin-top: var(--space-4);
2669
- }
2670
- .tlui-embed-dialog__enter a {
2671
- color: var(--color-text-1);
2672
- }
2673
- .tlui-following-indicator {
2674
- display: block;
2675
- position: absolute;
2676
- inset: 0px;
2677
- border-width: 2px;
2678
- border-style: solid;
2679
- z-index: var(--layer-following-indicator);
2680
- pointer-events: none;
2681
- }
2682
- .tlui-offline-indicator {
2683
- display: flex;
2684
- flex-direction: row;
2685
- gap: var(--space-3);
2686
- color: var(--color-text);
2687
- background-color: var(--color-low);
2688
- border: 3px solid var(--color-background);
2689
- padding: 0px var(--space-5);
2690
- height: 42px;
2691
- align-items: center;
2692
- justify-content: center;
2693
- border-radius: 99px;
2694
- opacity: 0;
2695
- animation: fade-in;
2696
- animation-duration: 0.12s;
2697
- animation-delay: 2s;
2698
- animation-fill-mode: forwards;
2699
- }
2700
- .tlui-shortcuts-dialog__header {
2701
- border-bottom: 1px solid var(--color-divider);
2702
- }
2703
- .tlui-shortcuts-dialog__body {
2704
- position: relative;
2705
- -moz-columns: 1;
2706
- columns: 1;
2707
- -moz-column-gap: var(--space-9);
2708
- column-gap: var(--space-9);
2709
- pointer-events: all;
2710
- touch-action: auto;
2711
- }
2712
- @media (min-width: 475px) {
2713
- .tlui-shortcuts-dialog__body {
2714
- -moz-columns: 2;
2715
- columns: 2;
2716
- -moz-column-gap: var(--space-9);
2717
- column-gap: var(--space-9);
2718
- }
2719
- }
2720
- @media (min-width: 960px) {
2721
- .tlui-shortcuts-dialog__body {
2722
- -moz-columns: 3;
2723
- columns: 3;
2724
- -moz-column-gap: var(--space-9);
2725
- column-gap: var(--space-9);
2726
- }
2727
- }
2728
- .tlui-shortcuts-dialog__group {
2729
- -moz-column-break-inside: avoid;
2730
- break-inside: avoid-column;
2731
- padding-bottom: var(--space-6);
2732
- }
2733
- .tlui-shortcuts-dialog__group__title {
2734
- font-size: inherit;
2735
- font-weight: inherit;
2736
- margin: 0px;
2737
- color: var(--color-text-3);
2738
- height: 32px;
2739
- display: flex;
2740
- align-items: center;
2741
- }
2742
- .tlui-shortcuts-dialog__group__content {
2743
- display: flex;
2744
- flex-direction: column;
2745
- color: var(--color-text-1);
2746
- }
2747
- .tlui-shortcuts-dialog__key-pair {
2748
- display: flex;
2749
- gap: var(--space-4);
2750
- align-items: center;
2751
- justify-content: space-between;
2752
- height: 32px;
2753
- }
2754
- .tlui-shortcuts-dialog__key-pair__key {
2755
- flex: 1;
2756
- font-size: 12px;
2757
- }
2758
-
2759
- /* ../../../../../../../tmp/tmp-2823-ROYhAo4ujDGM/18f2eeedc0d1/index.css */
2760
- .tlui-navigation-zone,
2761
- .tlui-navigation-panel {
2762
- display: none;
2763
- }
2764
- .transparent-canvas {
2765
- --color-background: rgba(0, 0, 0, 0);
2766
- }
2767
- /*# sourceMappingURL=index.css.map */