Add two-columns-left option to Negatives layout.

        Patch by 900degrees. 

diffs (56 lines):

diff -r 7587b5545368 -r 9282f4e188f9 bin/upgrading/s2layers/negatives/layout.s2
--- a/bin/upgrading/s2layers/negatives/layout.s2        Tue Nov 10 04:29:40 
2009 +0000
+++ b/bin/upgrading/s2layers/negatives/layout.s2        Tue Nov 10 04:33:13 
2009 +0000
@@ -471,7 +471,11 @@ function Page::print_default_stylesheet(
         text-align: center;
     }
 
-   .module-navlinks ul, .module-navlinks li {
+    .module-navlinks ul {
+        display: block;
+        padding: 0;
+    }
+    .module-navlinks ul, .module-navlinks li {
         font-weight: bold;
     }
     .module-section-three .module-navlinks ul,
@@ -479,7 +483,10 @@ function Page::print_default_stylesheet(
     .module-section-two .module-navlinks ul,
     .module-section-two .module-navlinks li {
         display: inline;
-        padding: 0.2em 1em 0.2em 0.5em;
+        padding: .2em 1em .2em .5em;
+    }
+    .two-columns-left .module-section-two .module-navlinks {
+        text-align: right;
     }
     .module-section-one .module-navlinks {
         clear: both;
@@ -560,10 +567,14 @@ function Page::print_default_stylesheet(
 
     .one-column #primary {float: none;}
     .one-column #secondary {float: none;}
-    .two-columns-right #primary {float: left;}
+    .two-columns-left #primary {float: right;}
+    .two-columns-left #secondary { float: right; }
+    .two-columns-right #primary { float: left; }
     .two-columns-right #secondary {float: left;}
     .one-column #primary {left: 5%; width: 85%;}
     .one-column #secondary {left: 5%; width: 15%;}
+    .two-columns-left #primary { right: 10%; width: 70%; }
+    .two-columns-left #secondary { right: 10%; width: 15%; }
     .two-columns-right #primary {left: 10%; width: 70%;}
     .two-columns-right #secondary {left: 10%; width: 15%;}
 
diff -r 7587b5545368 -r 9282f4e188f9 cgi-bin/LJ/S2Theme/negatives.pm
--- a/cgi-bin/LJ/S2Theme/negatives.pm   Tue Nov 10 04:29:40 2009 +0000
+++ b/cgi-bin/LJ/S2Theme/negatives.pm   Tue Nov 10 04:33:13 2009 +0000
@@ -4,7 +4,7 @@ sub cats { qw() }
 sub cats { qw() }
 sub designer { "phoenix" }
 
-sub layouts { ( "1" => "one-column", "2r" => "two-columns-right" ) }
+sub layouts { ( "1" => "one-column", "2l" => "two-columns-left", "2r" => 
"two-columns-right" ) }
 sub layout_prop { "layout_type" }
 
 package LJ::S2Theme::negatives::black;
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to