From a7588651405034cf8bab8045b47a1dc7d801b505 Mon Sep 17 00:00:00 2001
From: Jonathan Wilkes <jon.w.wilkes@gmail.com>
Date: Fri, 16 Feb 2018 12:38:31 -0500
Subject: [PATCH] make the quit confirmation dialog match the current style

---
 pd/nw/css/c64.css                | 9 +++++++++
 pd/nw/css/inverted.css           | 9 +++++++++
 pd/nw/css/solarized_inverted.css | 6 +++---
 pd/nw/css/subdued.css            | 9 +++++++++
 pd/nw/css/vanilla_inverted.css   | 7 +++++++
 5 files changed, 37 insertions(+), 3 deletions(-)

diff --git a/pd/nw/css/c64.css b/pd/nw/css/c64.css
index f0f6123cf..854f4a523 100644
--- a/pd/nw/css/c64.css
+++ b/pd/nw/css/c64.css
@@ -386,6 +386,15 @@ text {
     left: 0;
 }
 
+/* Dialog to ask to save the patch before quitting */
+#save_before_quit {
+    color: white;
+    background-color: #3e32a2;
+    border:3px solid #cc9933;
+    padding: 12px;
+    margin: 12px;
+}
+
 /* Search dialog */
 
 .search_body {
diff --git a/pd/nw/css/inverted.css b/pd/nw/css/inverted.css
index 734a3e632..978908684 100644
--- a/pd/nw/css/inverted.css
+++ b/pd/nw/css/inverted.css
@@ -399,6 +399,15 @@ text {
     left: 0;
 }
 
+/* Dialog to ask to save the patch before quitting */
+#save_before_quit {
+    color: #f3f3f3;
+    background-color: #222;
+    border:1px solid #eee;
+    padding: 12px;
+    margin: 12px;
+}
+
 #canvas_find_text {
     background: black;
     border-style: solid;
diff --git a/pd/nw/css/solarized_inverted.css b/pd/nw/css/solarized_inverted.css
index 788643b40..6fc3e0571 100644
--- a/pd/nw/css/solarized_inverted.css
+++ b/pd/nw/css/solarized_inverted.css
@@ -395,11 +395,11 @@ text {
 
 /* Dialog to ask to save the patch before quitting */
 #save_before_quit {
-    background-color: #fdf6e3;
-    border:1px solid #eee8d5;
+    color: white;
+    background-color: #002b36;
+    border:1px solid #839496;
     padding: 12px;
     margin: 12px;
-    box-shadow: 7px 7px 5px grey;
 }
 
 /* Search dialog */
diff --git a/pd/nw/css/subdued.css b/pd/nw/css/subdued.css
index e8fff273e..78af8f5c9 100644
--- a/pd/nw/css/subdued.css
+++ b/pd/nw/css/subdued.css
@@ -383,6 +383,15 @@ text {
     left: 0;
 }
 
+/* Dialog to ask to save the patch before quitting */
+#save_before_quit {
+    background-color: #c0dcc0;
+    border:1px solid black;
+    padding: 12px;
+    margin: 12px;
+    box-shadow: 7px 7px 5px grey;
+}
+
 /* Search dialog */
 
 .search_body {
diff --git a/pd/nw/css/vanilla_inverted.css b/pd/nw/css/vanilla_inverted.css
index 805190c4d..710255f07 100644
--- a/pd/nw/css/vanilla_inverted.css
+++ b/pd/nw/css/vanilla_inverted.css
@@ -388,6 +388,13 @@ text {
     left: 0;
 }
 
+/* Dialog to ask to save the patch before quitting */
+#save_before_quit {
+    color: white;
+    background-color: black;
+    border:1px solid white;
+}
+
 /* Search dialog */
 
 .search_body {
-- 
GitLab