kareila: (Default)
kareila ([personal profile] kareila) wrote in [site community profile] changelog2009-09-25 05:41 pm

[dw-free] Modish & Boxes and Borders footers have hardcoded white color; Boxes and Borders does

[commit: http://hg.dwscoalition.org/dw-free/rev/099eae6312b4]

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

Add footer link properties to Modish & Boxes and Borders; also use
color_footer_background instead of color_page_title in footer.

Patch by [personal profile] kareila.

Files modified:
  • bin/upgrading/s2layers/boxesandborders/layout.s2
  • bin/upgrading/s2layers/boxesandborders/themes.s2
  • bin/upgrading/s2layers/modish/layout.s2
--------------------------------------------------------------------------------
diff -r e513e5d66d7c -r 099eae6312b4 bin/upgrading/s2layers/boxesandborders/layout.s2
--- a/bin/upgrading/s2layers/boxesandborders/layout.s2	Fri Sep 25 12:34:59 2009 -0500
+++ b/bin/upgrading/s2layers/boxesandborders/layout.s2	Fri Sep 25 12:40:53 2009 -0500
@@ -31,7 +31,7 @@ function print_stylesheet() {
     var string calendar_colors = generate_color_css( $*color_page_title, $*color_page_border, new Color );
     var string calendar_link_colors = generate_color_css( $*color_page_background, $*color_page_title, new Color );
 
-    var string footer_colors = generate_color_css( new Color, $*color_page_title, new Color );
+    var string footer_colors = generate_color_css( new Color, $*color_footer_background, new Color );
     """
 
 /* Boxes and Borders */
@@ -281,10 +281,10 @@ text-decoration: none; }
 
 /* footer */
 
-#footer { $footer_colors
-   color: #ffffff; }
-#footer a,
-#footer a:visited { color: #ffffff; }
+#footer { $footer_colors }
+#footer a { color: $*color_footer_link; }
+#footer a:visited { color: $*color_footer_link_visited; }
+#footer a:hover { color: $*color_footer_link_hover; }
 
 
     """;
@@ -293,4 +293,3 @@ text-decoration: none; }
 }
 
 
-
diff -r e513e5d66d7c -r 099eae6312b4 bin/upgrading/s2layers/boxesandborders/themes.s2
--- a/bin/upgrading/s2layers/boxesandborders/themes.s2	Fri Sep 25 12:34:59 2009 -0500
+++ b/bin/upgrading/s2layers/boxesandborders/themes.s2	Fri Sep 25 12:40:53 2009 -0500
@@ -16,6 +16,11 @@ set color_page_link_visited = "#336699";
 set color_page_link_visited = "#336699";
 set color_page_title = "#555555";
 
+set color_footer_background = "#555555";
+set color_footer_link = "#ffffff";
+set color_footer_link_hover = "#ffffff";
+set color_footer_link_visited = "#ffffff";
+
 ##===============================
 ## Entry Colors
 ##===============================
diff -r e513e5d66d7c -r 099eae6312b4 bin/upgrading/s2layers/modish/layout.s2
--- a/bin/upgrading/s2layers/modish/layout.s2	Fri Sep 25 12:34:59 2009 -0500
+++ b/bin/upgrading/s2layers/modish/layout.s2	Fri Sep 25 12:40:53 2009 -0500
@@ -224,10 +224,10 @@ text-decoration: none; }
 
 /* footer */
 
-#footer { $footer_colors 
-    color: #ffffff; }
-#footer a,
-#footer a:visited { color: #ffffff; }
+#footer { $footer_colors }
+#footer a { color: $*color_footer_link; }
+#footer a:visited { color: $*color_footer_link_visited; }
+#footer a:hover { color: $*color_footer_link_hover; }
 
 
     """;
--------------------------------------------------------------------------------