floating left option in cologneblue, patch by thetorpedodog (bug #941620)
authorGabriel Wicke <gwicke@users.mediawiki.org>
Tue, 4 May 2004 23:42:09 +0000 (23:42 +0000)
committerGabriel Wicke <gwicke@users.mediawiki.org>
Tue, 4 May 2004 23:42:09 +0000 (23:42 +0000)
includes/SkinCologneBlue.php

index 51915d4..0933645 100644 (file)
@@ -86,9 +86,14 @@ class SkinCologneBlue extends Skin {
                if ( 2 == $qb ) { # Right
                        $s .= "#quickbar { position: absolute; right: 4px; }\n" .
                          "#article { margin-left: 4px; margin-right: 148px; }\n";
-               } else if ( 1 == $qb || 3 == $qb ) {
+               } else if ( 1 == $qb ) {
                        $s .= "#quickbar { position: absolute; left: 4px; }\n" .
                          "#article { margin-left: 148px; margin-right: 4px; }\n";
+               } else if ( 3 == $qb ) { # Floating
+                       $s .= "#quickbar { position:absolute; left:4px } \n" .
+                         "#topbar { margin-left: 148px }\n" .
+                         "#article { margin-left:148px; margin-right: 4px; } \n" .
+                         "body>#quickbar { position:fixed; left:4px; top:4px; overflow:auto ;bottom:4px;} \n"; # Hides from IE
                }
                return $s;
        }