From 222422cac5386c3e804104fc73690cf6b4d2c163 Mon Sep 17 00:00:00 2001
From: Jonathan Wilkes <jon.w.wilkes@gmail.com>
Date: Sun, 24 Jan 2016 22:49:21 -0500
Subject: [PATCH] add link style to other css files (still needs some work to
 differentiate between selected and normal colors)

---
 pd/nw/css/c64.css              | 12 ++++++++++++
 pd/nw/css/extended.css         | 18 ++++++++++++++++++
 pd/nw/css/inverted.css         | 13 +++++++++++++
 pd/nw/css/strongbad.css        | 15 ++++++++++++++-
 pd/nw/css/subdued.css          | 18 ++++++++++++++++++
 pd/nw/css/vanilla.css          | 19 +++++++++++++++++++
 pd/nw/css/vanilla_inverted.css | 13 +++++++++++++
 7 files changed, 107 insertions(+), 1 deletion(-)

diff --git a/pd/nw/css/c64.css b/pd/nw/css/c64.css
index 3cd09b94b..c6fb71302 100644
--- a/pd/nw/css/c64.css
+++ b/pd/nw/css/c64.css
@@ -101,6 +101,18 @@
     fill: #a49aea;
 }
 
+/* hyperlinks: for now, just pddplink and helplink */
+.pd_link text {
+}
+
+.pd_link text:hover {
+    fill: red;
+}
+
+.pd_link.selected text {
+    fill: #e87216 !important;
+}
+
 #new_object_textentry {
     /* max-width: 10ch; */
     min-width: 3ch;
diff --git a/pd/nw/css/extended.css b/pd/nw/css/extended.css
index c3d22a156..41a9edfa5 100644
--- a/pd/nw/css/extended.css
+++ b/pd/nw/css/extended.css
@@ -95,6 +95,24 @@
     fill: #e87216;
 }
 
+/* text inside boxes: message boxes, object boxes, graphs, comments, etc. */
+.box_text {
+    fill: black;
+}
+
+/* hyperlinks: for now, just pddplink and helplink */
+.pd_link text {
+    fill: blue;
+}
+
+.pd_link text:hover {
+    fill: red;
+}
+
+.pd_link.selected text {
+    fill: #e87216 !important;
+}
+
 #new_object_textentry {
     /* max-width: 10ch; */
     min-width: 3ch;
diff --git a/pd/nw/css/inverted.css b/pd/nw/css/inverted.css
index 7362a778e..793b5db93 100644
--- a/pd/nw/css/inverted.css
+++ b/pd/nw/css/inverted.css
@@ -104,6 +104,19 @@
     fill: white;
 }
 
+/* hyperlinks: for now, just pddplink and helplink */
+.pd_link text {
+    fill: yellow;
+}
+
+.pd_link text:hover {
+    fill: red;
+}
+
+.pd_link.selected text {
+    fill: white;
+}
+
 #new_object_textentry {
     /* max-width: 10ch; */
     min-width: 3ch;
diff --git a/pd/nw/css/strongbad.css b/pd/nw/css/strongbad.css
index 9bf3186d9..9d546e9a6 100644
--- a/pd/nw/css/strongbad.css
+++ b/pd/nw/css/strongbad.css
@@ -99,7 +99,20 @@
 
 /* text inside boxes: message boxes, object boxes, graphs, comments, etc. */
 .box_text {
-    fill: #4bd046
+    fill: #4bd046;
+}
+
+/* hyperlinks: for now, just pddplink and helplink */
+.pd_link text {
+    fill: #4bd046;
+}
+
+.pd_link text:hover {
+    fill: red;
+}
+
+.pd_link.selected text {
+    fill: white;
 }
 
 #new_object_textentry {
diff --git a/pd/nw/css/subdued.css b/pd/nw/css/subdued.css
index 8f6ebe42d..69a95925c 100644
--- a/pd/nw/css/subdued.css
+++ b/pd/nw/css/subdued.css
@@ -97,6 +97,24 @@
     fill: #e87216;
 }
 
+/* text inside boxes: message boxes, object boxes, graphs, comments, etc. */
+.box_text {
+    fill: black;
+}
+
+/* hyperlinks: for now, just pddplink and helplink */
+.pd_link text {
+    fill: blue;
+}
+
+.pd_link text:hover {
+    fill: red;
+}
+
+.pd_link.selected text {
+    fill: white;
+}
+
 #new_object_textentry {
     /* max-width: 10ch; */
     min-width: 3ch;
diff --git a/pd/nw/css/vanilla.css b/pd/nw/css/vanilla.css
index 97e55fcf2..b6bba2042 100644
--- a/pd/nw/css/vanilla.css
+++ b/pd/nw/css/vanilla.css
@@ -96,6 +96,25 @@
     fill: #e87216;
 }
 
+/* text inside boxes: message boxes, object boxes, graphs, comments, etc. */
+.box_text {
+    fill: black;
+}
+
+/* hyperlinks: for now, just pddplink and helplink */
+.pd_link text {
+    fill: blue;
+}
+
+.pd_link text:hover {
+    fill: red;
+}
+
+.pd_link.selected text {
+    fill: #e87216 !important;
+}
+
+
 #new_object_textentry {
     /* max-width: 10ch; */
     min-width: 3ch;
diff --git a/pd/nw/css/vanilla_inverted.css b/pd/nw/css/vanilla_inverted.css
index 033f60d34..981ba3f3e 100644
--- a/pd/nw/css/vanilla_inverted.css
+++ b/pd/nw/css/vanilla_inverted.css
@@ -102,6 +102,19 @@
     fill: white;
 }
 
+/* hyperlinks: for now, just pddplink and helplink */
+.pd_link text {
+    fill: white;
+}
+
+.pd_link text:hover {
+    fill: red;
+}
+
+.pd_link.selected text {
+    fill: yellow;
+}
+
 #bubbles {
     stroke: red;
 }
-- 
GitLab