HintViewer.scss 606 B

123456789101112131415161718192021222324252627282930313233
  1. @import "../css/_variables";
  2. .excalidraw {
  3. .HintViewer {
  4. pointer-events: none;
  5. box-sizing: border-box;
  6. position: absolute;
  7. display: flex;
  8. justify-content: center;
  9. left: 0;
  10. top: 100%;
  11. max-width: 100%;
  12. width: 100%;
  13. margin-top: 6px;
  14. text-align: center;
  15. color: $oc-gray-6;
  16. font-size: 0.8rem;
  17. @media (min-width: 1200px) {
  18. white-space: pre;
  19. }
  20. @media #{$media-query} {
  21. position: static;
  22. }
  23. > span {
  24. padding: 0.2rem 0.4rem;
  25. background-color: var(--overlay-background-color);
  26. border-radius: 4px;
  27. }
  28. }
  29. }