index.scss 2.1 KB

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