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

        Patch by kareila. 

diffs (65 lines):

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; }
 
 
     """;
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to