2
0

index.scss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. .excalidraw {
  2. --color-primary-contrast-offset: #625ee0; // to offset Chubb illusion
  3. &.theme--dark {
  4. --color-primary-contrast-offset: #726dff; // to offset Chubb illusion
  5. }
  6. .top-right-ui {
  7. display: flex;
  8. justify-content: center;
  9. align-items: flex-start;
  10. }
  11. .footer-center {
  12. justify-content: flex-end;
  13. margin-top: auto;
  14. margin-bottom: auto;
  15. margin-inline-start: auto;
  16. }
  17. .encrypted-icon {
  18. border-radius: var(--space-factor);
  19. color: var(--color-primary);
  20. margin-top: auto;
  21. margin-bottom: auto;
  22. margin-inline-start: auto;
  23. margin-inline-end: 0.6em;
  24. svg {
  25. width: 1.2rem;
  26. height: 1.2rem;
  27. }
  28. }
  29. .dropdown-menu-container {
  30. .dropdown-menu-item {
  31. &.active-collab {
  32. background-color: #ecfdf5;
  33. color: #064e3c;
  34. }
  35. &.highlighted {
  36. color: var(--color-promo);
  37. }
  38. }
  39. }
  40. &.theme--dark {
  41. .dropdown-menu-item {
  42. &.active-collab {
  43. background-color: #064e3c;
  44. color: #ecfdf5;
  45. }
  46. }
  47. }
  48. .collab-offline-warning {
  49. pointer-events: none;
  50. position: absolute;
  51. top: 6.5rem;
  52. left: 50%;
  53. transform: translateX(-50%);
  54. padding: 0.5rem 1rem;
  55. font-size: 0.875rem;
  56. text-align: center;
  57. line-height: 1.5;
  58. border-radius: var(--border-radius-md);
  59. background-color: var(--color-warning);
  60. color: var(--color-text-warning);
  61. z-index: 6;
  62. white-space: pre;
  63. }
  64. }
  65. .excalidraw-app.is-collaborating {
  66. [data-testid="clear-canvas-button"] {
  67. display: none;
  68. }
  69. }
  70. .plus-button {
  71. display: flex;
  72. justify-content: center;
  73. cursor: pointer;
  74. align-items: center;
  75. border: 1px solid var(--color-primary);
  76. padding: 0.5rem 0.75rem;
  77. border-radius: var(--border-radius-lg);
  78. background-color: var(--island-bg-color);
  79. color: var(--color-primary) !important;
  80. text-decoration: none !important;
  81. font-size: 0.75rem;
  82. box-sizing: border-box;
  83. height: var(--lg-button-size);
  84. &:hover {
  85. background-color: var(--color-primary);
  86. color: white !important;
  87. }
  88. &:active {
  89. background-color: var(--color-primary-darker);
  90. }
  91. }
  92. .theme--dark {
  93. .plus-button {
  94. &:hover {
  95. color: black !important;
  96. }
  97. }
  98. }