fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2010-09-14 07:17 am

[dw-free] Basic Boxes: bottomcomment text is unreadable in several themes

[commit: http://hg.dwscoalition.org/dw-free/rev/0a757ac04285]

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

Make bottomcomment text color match the module title colors. Fixes Eggplant,
Peach, Manila Envelope. Ecru changes slightly from white to eggshell.

Patch by [personal profile] ninetydegrees.

Files modified:
  • bin/upgrading/s2layers/basicboxes/layout.s2
--------------------------------------------------------------------------------
diff -r 288e249b8de4 -r 0a757ac04285 bin/upgrading/s2layers/basicboxes/layout.s2
--- a/bin/upgrading/s2layers/basicboxes/layout.s2	Tue Sep 14 15:14:00 2010 +0800
+++ b/bin/upgrading/s2layers/basicboxes/layout.s2	Tue Sep 14 15:17:47 2010 +0800
@@ -20,7 +20,6 @@ function print_stylesheet () {
     var string entry_title_colors = generate_color_css( $*color_entry_title, new Color, new Color );
     var string comment_header_colors = generate_color_css( $*color_page_title, $*color_header_background, $*color_entry_border );
     var string comment_title_colors = generate_color_css( $*color_page_title, new Color, new Color );
-    var string bottomcomment_colors = generate_color_css( new Color, $*color_page_title, $*color_header_background );
 
     var string module_colors = generate_color_css( $*color_module_text, $*color_module_background, $*color_module_border );
     var string module_header_colors = generate_color_css( $*color_module_title, $*color_module_title_background, $*color_module_border );
@@ -199,9 +198,11 @@ ul.entry-interaction-links { text-align:
 .comment-management-links { float: right; }
 .comment-interaction-links { text-align: left; }
 
-.bottomcomment, .comments-message { $bottomcomment_colors
-    padding: .25em; }
-    
+.bottomcomment, .comments-message {
+    $module_header_colors
+    padding: .25em;
+    }
+
 .bottomcomment .entry-management-links,
 .bottomcomment .entry-interaction-links { margin: .25em 0 .5em 0; }
 
--------------------------------------------------------------------------------