aboutsummaryrefslogtreecommitdiffstats
path: root/excalidraw-app/collab/CollabError.scss
diff options
context:
space:
mode:
Diffstat (limited to 'excalidraw-app/collab/CollabError.scss')
-rw-r--r--excalidraw-app/collab/CollabError.scss35
1 files changed, 35 insertions, 0 deletions
diff --git a/excalidraw-app/collab/CollabError.scss b/excalidraw-app/collab/CollabError.scss
new file mode 100644
index 0000000..bb774d0
--- /dev/null
+++ b/excalidraw-app/collab/CollabError.scss
@@ -0,0 +1,35 @@
+@import "../../packages/excalidraw/css/variables.module.scss";
+
+.excalidraw {
+ .collab-errors-button {
+ width: 26px;
+ height: 26px;
+ margin-inline-end: 1rem;
+
+ color: var(--color-danger);
+
+ flex-shrink: 0;
+ }
+
+ .collab-errors-button-shake {
+ animation: strong-shake 0.15s 6;
+ }
+
+ @keyframes strong-shake {
+ 0% {
+ transform: rotate(0deg);
+ }
+ 25% {
+ transform: rotate(10deg);
+ }
+ 50% {
+ transform: rotate(0deg);
+ }
+ 75% {
+ transform: rotate(-10deg);
+ }
+ 100% {
+ transform: rotate(0deg);
+ }
+ }
+}