From 3b3269935d0874c81952ee2f9d210b0f45285e66 Mon Sep 17 00:00:00 2001 From: Jonathan Wilkes <jon.w.wilkes@gmail.com> Date: Fri, 9 Feb 2018 20:40:24 -0500 Subject: [PATCH] add dashed box around Purr Data comments in css --- pd/nw/css/c64.css | 9 +++++++++ pd/nw/css/default.css | 3 ++- pd/nw/css/extended.css | 9 +++++++++ pd/nw/css/inverted.css | 9 +++++++++ pd/nw/css/solarized.css | 9 +++++++++ pd/nw/css/solarized_inverted.css | 9 +++++++++ pd/nw/css/strongbad.css | 9 +++++++++ pd/nw/css/subdued.css | 9 +++++++++ pd/nw/css/vanilla.css | 9 +++++++++ pd/nw/css/vanilla_inverted.css | 9 +++++++++ 10 files changed, 83 insertions(+), 1 deletion(-) diff --git a/pd/nw/css/c64.css b/pd/nw/css/c64.css index 208eb094f..f0f6123cf 100644 --- a/pd/nw/css/c64.css +++ b/pd/nw/css/c64.css @@ -270,6 +270,15 @@ text { stroke: #7569d7; } +.comment .border { + fill: none; +} + +#patchsvg.editmode .comment .border { + stroke: #7569d7; + stroke-dasharray: 8 4; +} + /* A little hack for special case of [cnv]. All other iemguis have a black border, but [cnv] sets its selection rectangle to the diff --git a/pd/nw/css/default.css b/pd/nw/css/default.css index 63782f35d..5be0c8a93 100644 --- a/pd/nw/css/default.css +++ b/pd/nw/css/default.css @@ -386,7 +386,8 @@ text { } #patchsvg.editmode .comment .border { - stroke: #ccc; + stroke: #aaa; + stroke-dasharray: 8 4; } /* A little hack for special case of [cnv]. diff --git a/pd/nw/css/extended.css b/pd/nw/css/extended.css index ac2db554d..d3b33791e 100644 --- a/pd/nw/css/extended.css +++ b/pd/nw/css/extended.css @@ -261,6 +261,15 @@ text { stroke: #c1c1c1; } +.comment .border { + fill: none; +} + +#patchsvg.editmode .comment .border { + stroke: #aaa; + stroke-dasharray: 8 4; +} + /* A little hack for special canvas of [cnv]. All other iemguis have a black border, but [cnv] sets its selection rectangle to the diff --git a/pd/nw/css/inverted.css b/pd/nw/css/inverted.css index 5c859d504..734a3e632 100644 --- a/pd/nw/css/inverted.css +++ b/pd/nw/css/inverted.css @@ -282,6 +282,15 @@ text { stroke: #3e3e3e; } +.comment .border { + fill: none; +} + +#patchsvg.editmode .comment .border { + stroke: #5f5f5f; + stroke-dasharray: 8 4; +} + /* A little hack for special canvas of [cnv]. All other iemguis have a black border, but [cnv] sets its selection rectangle to the diff --git a/pd/nw/css/solarized.css b/pd/nw/css/solarized.css index a6189f85b..44ddaf238 100644 --- a/pd/nw/css/solarized.css +++ b/pd/nw/css/solarized.css @@ -277,6 +277,15 @@ text { stroke: #93a1a1; } +.comment .border { + fill: none; +} + +#patchsvg.editmode .comment .border { + stroke: #94b2b2; + stroke-dasharray: 8 4; +} + /* A little hack for special canvas of [cnv]. All other iemguis have a black border, but [cnv] sets its selection rectangle to the diff --git a/pd/nw/css/solarized_inverted.css b/pd/nw/css/solarized_inverted.css index 82dd3c15d..788643b40 100644 --- a/pd/nw/css/solarized_inverted.css +++ b/pd/nw/css/solarized_inverted.css @@ -277,6 +277,15 @@ text { stroke: #586e75; } +.comment .border { + fill: none; +} + +#patchsvg.editmode .comment .border { + stroke: #475d64; + stroke-dasharray: 8 4; +} + /* A little hack for special canvas of [cnv]. All other iemguis have a black border, but [cnv] sets its selection rectangle to the diff --git a/pd/nw/css/strongbad.css b/pd/nw/css/strongbad.css index 7a7643930..45b9708c5 100644 --- a/pd/nw/css/strongbad.css +++ b/pd/nw/css/strongbad.css @@ -273,6 +273,15 @@ text { stroke: #0b560b; } +.comment .border { + fill: none; +} + +#patchsvg.editmode .comment .border { + stroke: #0b560b; + stroke-dasharray: 8 4; +} + /* A little hack for special canvas of [cnv]. All other iemguis have a black border, but [cnv] sets its selection rectangle to the diff --git a/pd/nw/css/subdued.css b/pd/nw/css/subdued.css index 924abdcdc..e8fff273e 100644 --- a/pd/nw/css/subdued.css +++ b/pd/nw/css/subdued.css @@ -267,6 +267,15 @@ text { stroke: #666666; } +.comment .border { + fill: none; +} + +#patchsvg.editmode .comment .border { + stroke: #777; + stroke-dasharray: 8 4; +} + /* A little hack for special canvas of [cnv]. All other iemguis have a black border, but [cnv] sets its selection rectangle to the diff --git a/pd/nw/css/vanilla.css b/pd/nw/css/vanilla.css index 08c8a665a..66a4323d1 100644 --- a/pd/nw/css/vanilla.css +++ b/pd/nw/css/vanilla.css @@ -261,6 +261,15 @@ text { stroke: black; } +.comment .border { + fill: none; +} + +#patchsvg.editmode .comment .border { + stroke: black; + stroke-dasharray: 8 4; +} + /* A little hack for special canvas of [cnv]. All other iemguis have a black border, but [cnv] sets its selection rectangle to the diff --git a/pd/nw/css/vanilla_inverted.css b/pd/nw/css/vanilla_inverted.css index bcb2877d9..805190c4d 100644 --- a/pd/nw/css/vanilla_inverted.css +++ b/pd/nw/css/vanilla_inverted.css @@ -278,6 +278,15 @@ text { stroke: white; } +.comment .border { + fill: none; +} + +#patchsvg.editmode .comment .border { + stroke: white; + stroke-dasharray: 8 4; +} + /* A little hack for special canvas of [cnv]. All other iemguis have a black border, but [cnv] sets its selection rectangle to the -- GitLab