mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Factor out collaboration code (#2313)
Co-authored-by: Lipis <lipiridis@gmail.com> Co-authored-by: dwelle <luzar.david@gmail.com>
This commit is contained in:
parent
d8a0dc3b4d
commit
e617ccc252
41 changed files with 2250 additions and 2018 deletions
29
src/components/CollabButton.scss
Normal file
29
src/components/CollabButton.scss
Normal file
|
@ -0,0 +1,29 @@
|
|||
@import "../css/_variables";
|
||||
|
||||
.excalidraw {
|
||||
.CollabButton.is-collaborating {
|
||||
background-color: var(--button-special-active-background-color);
|
||||
|
||||
.ToolIcon__icon svg {
|
||||
color: var(--icon-green-fill-color);
|
||||
}
|
||||
}
|
||||
|
||||
.CollabButton-collaborators {
|
||||
:root[dir="ltr"] & {
|
||||
right: -5px;
|
||||
}
|
||||
:root[dir="rtl"] & {
|
||||
left: -5px;
|
||||
}
|
||||
min-width: 1em;
|
||||
position: absolute;
|
||||
bottom: -5px;
|
||||
padding: 3px;
|
||||
border-radius: 50%;
|
||||
background-color: $oc-green-6;
|
||||
color: $oc-white;
|
||||
font-size: 0.7em;
|
||||
font-family: var(--ui-font);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue