123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117 |
- .excalidraw {
- --color-primary-contrast-offset: #625ee0; // to offset Chubb illusion
- &.theme--dark {
- --color-primary-contrast-offset: #726dff; // to offset Chubb illusion
- }
- .top-right-ui {
- display: flex;
- justify-content: center;
- align-items: flex-start;
- }
- .footer-center {
- justify-content: flex-end;
- margin-top: auto;
- margin-bottom: auto;
- margin-inline-start: auto;
- }
- .encrypted-icon {
- border-radius: var(--space-factor);
- color: var(--color-primary);
- margin-top: auto;
- margin-bottom: auto;
- margin-inline-start: auto;
- margin-inline-end: 0.6em;
- z-index: var(--zIndex-layerUI);
- svg {
- width: 1.2rem;
- height: 1.2rem;
- }
- }
- .dropdown-menu-container {
- .dropdown-menu-item {
- &.active-collab {
- background-color: #ecfdf5;
- color: #064e3c;
- }
- &.highlighted {
- color: var(--color-promo);
- font-weight: 700;
- .dropdown-menu-item__icon g {
- stroke-width: 2;
- }
- }
- }
- }
- &.theme--dark {
- .dropdown-menu-item {
- &.active-collab {
- background-color: #064e3c;
- color: #ecfdf5;
- }
- }
- }
- .collab-offline-warning {
- pointer-events: none;
- position: absolute;
- top: 6.5rem;
- left: 50%;
- transform: translateX(-50%);
- padding: 0.5rem 1rem;
- font-size: 0.875rem;
- text-align: center;
- line-height: 1.5;
- border-radius: var(--border-radius-md);
- background-color: var(--color-warning);
- color: var(--color-text-warning);
- z-index: 6;
- white-space: pre;
- }
- }
- .excalidraw-app.is-collaborating {
- [data-testid="clear-canvas-button"] {
- display: none;
- }
- }
- .plus-button {
- display: flex;
- justify-content: center;
- cursor: pointer;
- align-items: center;
- border: 1px solid var(--color-primary);
- padding: 0.5rem 0.75rem;
- border-radius: var(--border-radius-lg);
- background-color: var(--island-bg-color);
- color: var(--color-primary) !important;
- text-decoration: none !important;
- font-size: 0.75rem;
- box-sizing: border-box;
- height: var(--lg-button-size);
- &:hover {
- background-color: var(--color-primary);
- color: white !important;
- }
- &:active {
- background-color: var(--color-primary-darker);
- }
- }
- .theme--dark {
- .plus-button {
- &:hover {
- color: black !important;
- }
- }
- }
|