HintViewer.scss 658 B

12345678910111213141516171819202122232425262728293031323334353637
  1. @import "../css/variables.module";
  2. // this is loosely based on the longest hint text
  3. $wide-viewport-width: 1000px;
  4. .excalidraw {
  5. .HintViewer {
  6. pointer-events: none;
  7. box-sizing: border-box;
  8. position: absolute;
  9. display: flex;
  10. justify-content: center;
  11. left: 0;
  12. top: 100%;
  13. max-width: 100%;
  14. width: 100%;
  15. margin-top: 0.5rem;
  16. text-align: center;
  17. color: var(--color-gray-40);
  18. font-size: 0.75rem;
  19. @include isMobile {
  20. position: static;
  21. padding-right: 2rem;
  22. }
  23. > span {
  24. padding: 0.25rem;
  25. }
  26. }
  27. &.theme--dark {
  28. .HintViewer {
  29. color: var(--color-gray-60);
  30. }
  31. }
  32. }