From 7b5a0b882f2bc3ff96e11ca900fcd58ebc06a973 Mon Sep 17 00:00:00 2001
From: Jonathan Wilkes <jon.w.wilkes@gmail.com>
Date: Fri, 29 Jan 2016 00:05:09 -0500
Subject: [PATCH] update styles for graph fill color when the graph is open

---
 pd/nw/css/c64.css              | 6 ++++++
 pd/nw/css/default.css          | 6 ++++++
 pd/nw/css/extended.css         | 6 ++++++
 pd/nw/css/inverted.css         | 6 ++++++
 pd/nw/css/strongbad.css        | 6 ++++++
 pd/nw/css/subdued.css          | 6 ++++++
 pd/nw/css/vanilla.css          | 6 ++++++
 pd/nw/css/vanilla_inverted.css | 6 ++++++
 8 files changed, 48 insertions(+)

diff --git a/pd/nw/css/c64.css b/pd/nw/css/c64.css
index 7141f004f..48b647a93 100644
--- a/pd/nw/css/c64.css
+++ b/pd/nw/css/c64.css
@@ -231,6 +231,12 @@ text {
     fill: none;
 }
 
+/* Graph (or subpatch) that has been opened to inspect its contents */
+.graph.has_window .border {
+    stroke: #7569d7;
+    fill: #7569d7;
+}
+
 /* border color for selected objects
       * an element with the class "border"
       * the element is contained within a parent element of class "selected"
diff --git a/pd/nw/css/default.css b/pd/nw/css/default.css
index 46336ccfc..acc1bf507 100644
--- a/pd/nw/css/default.css
+++ b/pd/nw/css/default.css
@@ -234,6 +234,12 @@ text {
     fill: none;
 }
 
+/* Graph (or subpatch) that has been opened to inspect its contents */
+.graph.has_window .border {
+    stroke: black;
+    fill: gray;
+}
+
 /* border color for selected objects
       * an element with the class "border"
       * the element is contained within a parent element of class "selected"
diff --git a/pd/nw/css/extended.css b/pd/nw/css/extended.css
index f5333d2b4..90a0fea98 100644
--- a/pd/nw/css/extended.css
+++ b/pd/nw/css/extended.css
@@ -224,6 +224,12 @@ text {
     fill: none;
 }
 
+/* Graph (or subpatch) that has been opened to inspect its contents */
+.graph.has_window .border {
+    stroke: black;
+    fill: gray;
+}
+
 /* border color for selected objects
       * an element with the class "border"
       * the element is contained within a parent element of class "selected"
diff --git a/pd/nw/css/inverted.css b/pd/nw/css/inverted.css
index c01333c92..6deba9f69 100644
--- a/pd/nw/css/inverted.css
+++ b/pd/nw/css/inverted.css
@@ -243,6 +243,12 @@ text {
     fill: none;
 }
 
+/* Graph (or subpatch) that has been opened to inspect its contents */
+.graph.has_window .border {
+    stroke: white;
+    fill: gray;
+}
+
 /* border color for selected objects
       * an element with the class "border"
       * the element is contained within a parent element of class "selected"
diff --git a/pd/nw/css/strongbad.css b/pd/nw/css/strongbad.css
index 27f0fabc9..418f5aeea 100644
--- a/pd/nw/css/strongbad.css
+++ b/pd/nw/css/strongbad.css
@@ -233,6 +233,12 @@ text {
     fill: none;
 }
 
+/* Graph (or subpatch) that has been opened to inspect its contents */
+.graph.has_window .border {
+    stroke: #0b560b;
+    fill: #0b560b;
+}
+
 /* border color for selected objects
       * an element with the class "border"
       * the element is contained within a parent element of class "selected"
diff --git a/pd/nw/css/subdued.css b/pd/nw/css/subdued.css
index 787692258..698b24a29 100644
--- a/pd/nw/css/subdued.css
+++ b/pd/nw/css/subdued.css
@@ -232,6 +232,12 @@ text {
     fill: none;
 }
 
+/* Graph (or subpatch) that has been opened to inspect its contents */
+.graph.has_window .border {
+    stroke: black;
+    fill: #bbb;
+}
+
 /* border color for selected objects
       * an element with the class "border"
       * the element is contained within a parent element of class "selected"
diff --git a/pd/nw/css/vanilla.css b/pd/nw/css/vanilla.css
index 123d624af..faaa76e76 100644
--- a/pd/nw/css/vanilla.css
+++ b/pd/nw/css/vanilla.css
@@ -231,6 +231,12 @@ text {
     fill: none;
 }
 
+/* Graph (or subpatch) that has been opened to inspect its contents */
+.graph.has_window .border {
+    stroke: black;
+    fill: none;
+}
+
 /* border color for selected objects
       * an element with the class "border"
       * the element is contained within a parent element of class "selected"
diff --git a/pd/nw/css/vanilla_inverted.css b/pd/nw/css/vanilla_inverted.css
index 0f335c124..f1ae2d7c8 100644
--- a/pd/nw/css/vanilla_inverted.css
+++ b/pd/nw/css/vanilla_inverted.css
@@ -242,6 +242,12 @@ text {
     fill: none;
 }
 
+/* Graph (or subpatch) that has been opened to inspect its contents */
+.graph.has_window .border {
+    stroke: white;
+    fill: gray;
+}
+
 /* border color for selected objects
       * an element with the class "border"
       * the element is contained within a parent element of class "selected"
-- 
GitLab