fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2011-12-07 03:22 pm

[dw-free] Crossroads: explicitly set some colors

[commit: http://hg.dwscoalition.org/dw-free/rev/3db64058a3b6]

http://bugs.dwscoalition.org/show_bug.cgi?id=4097

Explicitly set some text and link colors to ensure readability

Patch by [personal profile] ninetydegrees.

Files modified:
  • bin/upgrading/s2layers/crossroads/layout.s2
--------------------------------------------------------------------------------
diff -r c44b452952a3 -r 3db64058a3b6 bin/upgrading/s2layers/crossroads/layout.s2
--- a/bin/upgrading/s2layers/crossroads/layout.s2	Wed Dec 07 23:17:08 2011 +0800
+++ b/bin/upgrading/s2layers/crossroads/layout.s2	Wed Dec 07 23:21:23 2011 +0800
@@ -378,6 +378,8 @@
     margin-top: .5em;
     margin-bottom: .5em; }
 
+.entry-management-links a { color: $*color_entry_interaction_links; }
+
 .entry-management-links a:visited,
 .entry-interaction-links a:visited { color: $*color_entry_interaction_links; }
 
@@ -467,6 +469,12 @@
     background-color: $*color_entry_border; }
 .comment .footer > .inner:first-child { padding: 1px; } /*float uneveness fix */
 
+.comment .footer a,
+.comment .footer a { color: $*color_entry_interaction_links; }
+
+.comment .footer a:visited,
+.comment .footer a:visited { color: $*color_entry_interaction_links; }
+
 .comment-management-links { float: right;
     margin-top: .5em;
     margin-bottom: .5em; }
@@ -486,13 +494,37 @@
 
 .comment-pages { text-align: center; }
 
-#qrformdiv table { margin: .5em 1%;
-    width: 98%; }
+#qrformdiv table {
+    margin: .5em 1%;
+    width: 98%;
+    }
 
-#postform { background-color: $*color_entry_background;
-    padding: .5em; } /* non-quick reply form */
-table.talkform { background-color: $*color_entry_background; }
+#postform {
+    background-color: $*color_entry_background;
+    color: $*color_entry_text;
+    padding: .5em;
+    }
 
+#postform a {
+    color: $*color_entry_link;
+    }
+
+#postform a:visited {
+    color: $*color_entry_link_visited;
+    }
+
+#postform a:hover {
+    color: $*color_entry_link_hover;
+    }
+
+#postform a:active {
+    color: $*color_entry_link_active;
+    }
+
+table.talkform {
+    background-color: $*color_entry_background;
+    color: $*color_entry_text;
+    }
 
 /* archive */
 
--------------------------------------------------------------------------------