afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
afuna ([personal profile] afuna) wrote in [site community profile] changelog2009-04-14 05:03 pm

[dw-free] Print navlinks at the bottom of the page, too (Negatives)

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

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

Back out addition of bottom navlinks module; positioning is causing problems
with longer sidebars

Patch by [personal profile] afuna.

Files modified:
  • bin/upgrading/s2layers/negatives/layout.s2
--------------------------------------------------------------------------------
diff -r 3d7288997533 -r 0dce51041e9f bin/upgrading/s2layers/negatives/layout.s2
--- a/bin/upgrading/s2layers/negatives/layout.s2	Tue Apr 14 16:18:33 2009 +0000
+++ b/bin/upgrading/s2layers/negatives/layout.s2	Wed Apr 15 01:02:50 2009 +0800
@@ -178,12 +178,12 @@ function print_stylesheet()
         font-size: 0.85em;
         color: #ffffff;
         }
-    #secondary a, #secondary a:visited, #page-navigation-bottom a, #page-navigation-bottom a:visited {
+    #secondary a, #secondary a:visited {
         color:$*linklist_link;
         font-weight:normal;
         padding-bottom:1px;
     }
-    #secondary a:hover, #secondary a:active, #page-navigation-bottom a:hover, #page-navigation-bottom a:active {
+    #secondary a:hover, #secondary a:active {
         color:$*linklist_link_hover;
         background-color:$*linklist_hover_background;
         padding-bottom: 0px;
@@ -327,19 +327,6 @@ function print_stylesheet()
     q{
         font-style: italic;
     }
-
-    #page-navigation-bottom {
-        position: absolute;
-        right: 0px;
-        bottom: 50px;
-        margin: 0px;
-        padding: 10px;
-        border: 0px;
-        padding-bottom: 10px;
-        width: 15%;
-        font-size: 0.85em;
-        color: #ffffff;
-    }
     
     .entry h3 { display: inline; }
     """;
@@ -635,12 +622,6 @@ function Page::print()
             $this->print_module_section("one");
         println "</div>";
 
-        if ($this.view != "archive" and $this.view != "month"){
-            "<div id='page-navigation-bottom' class='page-navigation'>";
-                $this->print_navigation();
-            "</div>";
-        }
-
         $this->print_module_section("three");
 
     println "</body>";
--------------------------------------------------------------------------------