kareila: (Default)
kareila ([personal profile] kareila) wrote in [site community profile] changelog2010-09-26 07:23 pm

[dw-free] Cleaning: make all themes.s2 files look the same

[commit: http://hg.dwscoalition.org/dw-free/rev/1b939448d856]

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

Format whitespace consistently.

Patch by [personal profile] ninetydegrees.

Files modified:
  • bin/upgrading/s2layers/basicboxes/themes.s2
  • bin/upgrading/s2layers/modish/themes.s2
--------------------------------------------------------------------------------
diff -r 0fbdbabc26ca -r 1b939448d856 bin/upgrading/s2layers/basicboxes/themes.s2
--- a/bin/upgrading/s2layers/basicboxes/themes.s2	Sun Sep 26 11:55:39 2010 -0500
+++ b/bin/upgrading/s2layers/basicboxes/themes.s2	Sun Sep 26 14:23:29 2010 -0500
@@ -7,7 +7,7 @@ set theme_authors = [ { "name" => "timea
 set theme_authors = [ { "name" => "timeasmymeasure", "type" => "user" } ];
 
 ##===============================
-##Page Colors
+## Page Colors
 ##===============================
 
 set color_page_background = "#343434";
@@ -22,7 +22,7 @@ set color_footer_background = "#545454";
 set color_footer_background = "#545454";
 
 ##===============================
-##Entry Colors
+## Entry Colors
 ##===============================
 
 set color_entry_background = "#454545";
@@ -33,7 +33,7 @@ set color_comment_title_background = "#5
 set color_comment_title_background = "#545454";
 
 ##===============================
-##Module Colors
+## Module Colors
 ##===============================
 
 set color_module_background = "#454545";
@@ -218,7 +218,7 @@ set theme_authors = [ { "name" => "timea
 set theme_authors = [ { "name" => "timeasmymeasure", "type" => "user" } ];
 
 ##===============================
-##Page Colors
+## Page Colors
 ##===============================
 
 set color_page_background = "#fdfdfd";
@@ -233,7 +233,7 @@ set color_footer_background = "#efefef";
 set color_footer_background = "#efefef";
 
 ##===============================
-##Entry Colors
+## Entry Colors
 ##===============================
 
 set color_entry_background = "#fff";
@@ -243,7 +243,7 @@ set color_comment_title_background = "#e
 set color_comment_title_background = "#efefef";
 
 ##===============================
-##Module Colors
+## Module Colors
 ##===============================
 
 set color_module_background = "#fff";
@@ -385,7 +385,7 @@ set theme_authors = [ { "name" => "timea
 set theme_authors = [ { "name" => "timeasmymeasure", "type" => "user" } ];
 
 ##===============================
-##Page Colors
+## Page Colors
 ##===============================
 
 set color_page_background = "#fff8d4";
@@ -399,7 +399,7 @@ set color_footer_background = "#e9c98b";
 set color_footer_background = "#e9c98b";
 
 ##===============================
-##Entry Colors
+## Entry Colors
 ##===============================
 
 set color_entry_background = "#fff6c5";
@@ -410,7 +410,7 @@ set color_comment_title_background = "#e
 set color_comment_title_background = "#e9c98b";
 
 ##===============================
-##Module Colors
+## Module Colors
 ##===============================
 
 set color_module_background = "#fff6c5";
@@ -470,7 +470,7 @@ set theme_authors = [ { "name" => "timea
 set theme_authors = [ { "name" => "timeasmymeasure", "type" => "user" } ];
 
 ##===============================
-##Page Colors
+## Page Colors
 ##===============================
 
 set color_page_background = "#f6f6f6";
@@ -485,7 +485,7 @@ set color_header_background = "#c5c5c6";
 set color_header_background = "#c5c5c6";
 
 ##===============================
-##Entry Colors
+## Entry Colors
 ##===============================
 
 set color_entry_background = "#ececec";
@@ -496,7 +496,7 @@ set color_comment_title_background = "#c
 set color_comment_title_background = "#c5c5c6";
 
 ##===============================
-##Module Colors
+## Module Colors
 ##===============================
 
 set color_module_background = "#ececec";
@@ -514,7 +514,7 @@ set theme_authors = [ { "name" => "timea
 set theme_authors = [ { "name" => "timeasmymeasure", "type" => "user" } ];
 
 ##===============================
-##Page Colors
+## Page Colors
 ##===============================
 
 set color_page_background = "#fdfbee";
@@ -530,7 +530,7 @@ set color_header_background = "#e0dfae";
 set color_header_background = "#e0dfae";
 
 ##===============================
-##Entry Colors
+## Entry Colors
 ##===============================
 
 set color_entry_background = "#f7f7de";
@@ -541,7 +541,7 @@ set color_comment_title_background = "#e
 set color_comment_title_background = "#e0dfae";
 
 ##===============================
-##Module Colors
+## Module Colors
 ##===============================
 
 set color_module_background = "#f7f7de";
diff -r 0fbdbabc26ca -r 1b939448d856 bin/upgrading/s2layers/modish/themes.s2
--- a/bin/upgrading/s2layers/modish/themes.s2	Sun Sep 26 11:55:39 2010 -0500
+++ b/bin/upgrading/s2layers/modish/themes.s2	Sun Sep 26 14:23:29 2010 -0500
@@ -7,7 +7,7 @@ set theme_authors = [ { "name" => "sarke
 set theme_authors = [ { "name" => "sarken", "type" => "user" } ];
 
 ##===============================
-##Page Colors
+## Page Colors
 ##===============================
 
 set color_page_background = "#e2f5dc";
@@ -25,7 +25,7 @@ set color_footer_link_visited = "#fff";
 set color_footer_link_visited = "#fff";
 
 ##===============================
-##Entry Colors
+## Entry Colors
 ##===============================
 
 set color_entry_background = "#e2f5dc";
@@ -41,7 +41,7 @@ set color_comment_title_background = "#e
 set color_comment_title_background = "#e2f5dc";
 
 ##===============================
-##Module Colors
+## Module Colors
 ##===============================
 
 set color_module_background = "#e2f5dc";
@@ -51,11 +51,11 @@ set color_module_title_background = "#e2
 set color_module_title_background = "#e2f5dc";
 
 function Page::print_theme_stylesheet() {
-"""
-.comment .header .datetime { 
-    color: $*color_entry_text;
-    }
-""";
+    """
+    .comment .header .datetime {
+        color: $*color_entry_text;
+        }
+    """;
 }
 
 
@@ -68,7 +68,7 @@ set theme_authors = [ { "name" => "sarke
 set theme_authors = [ { "name" => "sarken", "type" => "user" } ];
 
 ##===============================
-##Page Colors
+## Page Colors
 ##===============================
 
 set color_page_background = "#EDEBCA";
@@ -86,7 +86,7 @@ set color_footer_link_visited = "#EDEBCA
 set color_footer_link_visited = "#EDEBCA";
 
 ##===============================
-##Entry Colors
+## Entry Colors
 ##===============================
 
 set color_entry_background = "#F2F1D5";
@@ -102,7 +102,7 @@ set color_comment_title_background = "#8
 set color_comment_title_background = "#8F5A77";
 
 ##===============================
-##Module Colors
+## Module Colors
 ##===============================
 
 set color_module_background = "#F2F1D5";
@@ -112,20 +112,20 @@ set color_module_title_background = "#D1
 set color_module_title_background = "#D1AB94";
 
 function Page::print_theme_stylesheet() {
-"""
-div.comment div.header {
-    background-color: $*color_comment_title_background;
-    }
+    """
+    div.comment div.header {
+        background-color: $*color_comment_title_background;
+        }
 
-div.module-navlinks, div.module-time, div.module-powered {
-    background-color: $*color_page_background;
-    }
+    div.module-navlinks, div.module-time, div.module-powered {
+        background-color: $*color_page_background;
+        }
 
-ul.entry-interaction-links {
-    background-color: $*color_entry_title; 
-    border-bottom: 1px solid $*color_entry_title_background;
-    }
-""";
+    ul.entry-interaction-links {
+        background-color: $*color_entry_title; 
+        border-bottom: 1px solid $*color_entry_title_background;
+        }
+    """;
 }
 
 
@@ -207,7 +207,7 @@ set theme_authors = [ { "name" => "sarke
 set theme_authors = [ { "name" => "sarken", "type" => "user" } ];
 
 ##===============================
-##Page Colors
+## Page Colors
 ##===============================
 
 set color_page_background = "#6D6D4D";
@@ -225,7 +225,7 @@ set color_footer_link_visited = "#D4D496
 set color_footer_link_visited = "#D4D496";
 
 ##===============================
-##Entry Colors
+## Entry Colors
 ##===============================
 
 set color_entry_background = "#787856";
@@ -241,7 +241,7 @@ set color_comment_title_background = "#6
 set color_comment_title_background = "#6D6D4D";
 
 ##===============================
-##Module Colors
+## Module Colors
 ##===============================
 
 set color_module_background = "#787856";
@@ -251,27 +251,27 @@ set color_module_title_background = "#78
 set color_module_title_background = "#787856";
 
 function Page::print_theme_stylesheet() {
-"""
-div.module-navlinks, div.module-time, div.module-powered {
-    background-color: $*color_page_background;
-    }
+    """
+    div.module-navlinks, div.module-time, div.module-powered {
+        background-color: $*color_page_background;
+        }
 
-.module-navlinks .module-list .module-list-item a {
-    background-color: $*color_header_background;
-    }
+    .module-navlinks .module-list .module-list-item a {
+        background-color: $*color_header_background;
+        }
 
-span.date, span.time {
-    color: $*color_page_title;
-    }
+    span.date, span.time {
+        color: $*color_page_title;
+        }
 
-ul.entry-interaction-links, ul.entry-management-links {
-    padding-top: 2px;
-    }
+    ul.entry-interaction-links, ul.entry-management-links {
+        padding-top: 2px;
+        }
 
-ul.entry-interaction-links {
-    border-top: 1px solid $*color_entry_border;
-    }
-""";
+    ul.entry-interaction-links {
+        border-top: 1px solid $*color_entry_border;
+        }
+    """;
 }
 
 
@@ -284,7 +284,7 @@ set theme_authors = [ { "name" => "sarke
 set theme_authors = [ { "name" => "sarken", "type" => "user" } ];
 
 ##===============================
-##Page Colors
+## Page Colors
 ##===============================
 
 set color_page_background = "#18002C";
@@ -302,7 +302,7 @@ set color_footer_link_visited = "#eee";
 set color_footer_link_visited = "#eee";
 
 ##===============================
-##Entry Colors
+## Entry Colors
 ##===============================
 
 set color_entry_background = "#18002C";
@@ -318,7 +318,7 @@ set color_comment_title_background = "#1
 set color_comment_title_background = "#18002C";
 
 ##===============================
-##Module Colors
+## Module Colors
 ##===============================
 
 set color_module_background = "#18002C";
@@ -328,16 +328,16 @@ set color_module_title_background = "#18
 set color_module_title_background = "#18002C";
 
 function Page::print_theme_stylesheet() {
-"""
-.module-navlinks .module-list .module-list-item a {
-    color: $*color_module_border; 
-    text-decoration: none;
-    }
+    """
+    .module-navlinks .module-list .module-list-item a {
+        color: $*color_module_border; 
+        text-decoration: none;
+        }
 
-.module-navlinks .module-list .module-list-item:hover a {
-    color: $*color_page_text;
-    }
-""";
+    .module-navlinks .module-list .module-list-item:hover a {
+        color: $*color_page_text;
+        }
+    """;
 }
 
 
@@ -406,7 +406,7 @@ set theme_authors = [ { "name" => "sarke
 set theme_authors = [ { "name" => "sarken", "type" => "user" } ];
 
 ##===============================
-##Page Colors
+## Page Colors
 ##===============================
 
 set color_page_background = "#F2F2F2";
@@ -424,7 +424,7 @@ set color_footer_link_visited = "#FFFCF7
 set color_footer_link_visited = "#FFFCF7";
 
 ##===============================
-##Entry Colors
+## Entry Colors
 ##===============================
 
 set color_entry_background = "#F2F2F2";
@@ -440,7 +440,7 @@ set color_comment_title_background = "#F
 set color_comment_title_background = "#F2F2F2";
 
 ##===============================
-##Module Colors
+## Module Colors
 ##===============================
 
 set color_module_background = "#F2F2F2";
@@ -459,7 +459,7 @@ set theme_authors = [ { "name" => "sarke
 set theme_authors = [ { "name" => "sarken", "type" => "user" } ];
 
 ##===============================
-##Page Colors
+## Page Colors
 ##===============================
 
 set color_page_background = "#efefef";
@@ -477,7 +477,7 @@ set color_footer_link_visited = "#fff";
 set color_footer_link_visited = "#fff";
 
 ##===============================
-##Entry Colors
+## Entry Colors
 ##===============================
 
 set color_entry_background = "#fff";
@@ -493,7 +493,7 @@ set color_comment_title_background = "#F
 set color_comment_title_background = "#F5AE78";
 
 ##===============================
-##Module Colors
+## Module Colors
 ##===============================
 
 set color_module_background = "#fff";
@@ -503,36 +503,36 @@ set color_module_title_background = "#9F
 set color_module_title_background = "#9FB9C2";
 
 function Page::print_theme_stylesheet() {
-"""
-div.comment div.header {
-    background-color: $*color_comment_title_background;
-    }
+    """
+    div.comment div.header {
+        background-color: $*color_comment_title_background;
+        }
 
-div.module-navlinks, div.module-time, div.module-powered {
-    background-color: $*color_page_background;
-    }
+    div.module-navlinks, div.module-time, div.module-powered {
+        background-color: $*color_page_background;
+        }
 
-div.module-navlinks ul.module-list li.module-list-item a {
-    color: $*color_footer_link_active;
-    }
+    div.module-navlinks ul.module-list li.module-list-item a {
+        color: $*color_footer_link_active;
+        }
 
-div.module-navlinks ul.module-list li.module-list-item:hover a {
-    color: $*color_module_title;
-    }
+    div.module-navlinks ul.module-list li.module-list-item:hover a {
+        color: $*color_module_title;
+        }
 
-div.topnav a, div.bottomnav a {
-    color: $*color_page_text;
-    }
+    div.topnav a, div.bottomnav a {
+        color: $*color_page_text;
+        }
 
-ul.entry-interaction-links {
-    background-color: $*color_module_title_background; 
-    border-bottom: 1px solid $*color_module_border;
-    }
+    ul.entry-interaction-links {
+        background-color: $*color_module_title_background; 
+        border-bottom: 1px solid $*color_module_border;
+        }
 
-ul.entry-interaction-links a:visited, ul.entry-interaction-links a:hover {
-    color: $*color_entry_interaction_links;
-    }
-""";
+    ul.entry-interaction-links a:visited, ul.entry-interaction-links a:hover {
+        color: $*color_entry_interaction_links;
+        }
+    """;
 }
 
 
--------------------------------------------------------------------------------