viewer.css 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. @media screen {
  2. body {
  3. caret-color: black;
  4. background-color: black;
  5. }
  6. .saving {
  7. opacity: .5;
  8. }
  9. .saving * {
  10. pointer-events: none!important;
  11. }
  12. .c {
  13. pointer-events: none;
  14. }
  15. .c .t {
  16. pointer-events: all;
  17. }
  18. img {
  19. cursor: default;
  20. pointer-events: none;
  21. }
  22. #page-container, #sidebar {
  23. padding-top: 44px;
  24. }
  25. #page-container ::selection {
  26. background-color: #08f;
  27. }
  28. .toolbar {
  29. position: fixed;
  30. top: 0px;
  31. left: 0px;
  32. right: 0px;
  33. }
  34. .btn svg {
  35. fill: currentColor;
  36. width: 1.5em;
  37. height: 1.5em;
  38. }
  39. /* Whiteout */
  40. .whiteout .pc, .whiteout .pc img {
  41. cursor: crosshair !important;
  42. }
  43. .whiteout-box {
  44. background-color: rgba(255, 255, 255, 0.75);
  45. border: dashed 1px black;
  46. position: absolute;
  47. pointer-events: none;
  48. }
  49. /* Edit Text */
  50. .pf {
  51. user-select: none;
  52. }
  53. .editText .pf {
  54. user-select: auto;
  55. }
  56. }