From 803a1350fa8914c2c42dbb2240905cab633f4d63 Mon Sep 17 00:00:00 2001 From: rr- Date: Tue, 23 Aug 2016 21:02:18 +0200 Subject: [PATCH] client/css: colorize 1st note point during drawing --- client/css/colors.styl | 2 ++ client/css/notes.styl | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/client/css/colors.styl b/client/css/colors.styl index 25f8bcc7..040b77b5 100644 --- a/client/css/colors.styl +++ b/client/css/colors.styl @@ -47,4 +47,6 @@ $edited-note-border-color = rgba(0, 200, 0, 0.9) $note-text-background-color = lemonchiffon $note-text-border-color = black $note-text-text-color = black +$first-note-point-color = orangered $hovered-note-point-color = red +$hovered-first-note-point-color = red diff --git a/client/css/notes.styl b/client/css/notes.styl index 717bb163..a3bc4793 100644 --- a/client/css/notes.styl +++ b/client/css/notes.styl @@ -42,6 +42,12 @@ &.nearby fill: $hovered-note-point-color + g[data-state=drawing] + ellipse:first-of-type + fill: $first-note-point-color + &.nearby + fill: $hovered-first-note-point-color + .note-text position: absolute max-width: 22.5em