From 58aa027e4759952bfd970c92dddbdcb151d2d509 Mon Sep 17 00:00:00 2001
From: John-Paul Robinson <jpr@uab.edu>
Date: Fri, 2 Dec 2011 16:44:49 -0600
Subject: [PATCH] Introduce UAB #whitebar to mw page

The #whitebar content covers the heading content that is backed by the white
area at the top of the body background image.  The space has a total height of 80px.

This space includes the UAB logo (called site logo in uab theme), the search box,
and quick links.  The current mw page has no quick links.

The UAB logo was hard coded as a reference to the brandworks site.

Removed the float: left in #p-search from the vector theme to accomidate the new
positioning on the UAB styled layout, where search is top right.
---
 skins/UabVector.php          | 21 +++++++++++++++++++--
 skins/uabvector/main-ltr.css |  3 ++-
 2 files changed, 21 insertions(+), 3 deletions(-)

diff --git a/skins/UabVector.php b/skins/UabVector.php
index 921ea91..a52e48b 100644
--- a/skins/UabVector.php
+++ b/skins/UabVector.php
@@ -469,8 +469,25 @@ class UabVectorTemplate extends QuickTemplate {
 		<div id="winston-whitebar"></div>
 		<!-- UAB global content wrapper -->
 		<div id="wrapper">
-		<div id="mw-page-base" class="noprint"></div>
-		<div id="mw-head-base" class="noprint"></div>
+                <!-- whitebar -->
+		<div id="whitebar">
+                   <!-- logo -->
+                   <div id="logo">
+                     <a href="/wiki/"><img alt="uab logo" src="http://www.uab.edu/brand/sitelogo.jpg"></a>
+                   </div>
+                   <!-- /logo -->
+                   <!-- search -->
+                   <div id="search">
+                      <?php $this->renderNavigation( array( 'SEARCH' ) ); ?>
+                   </div>
+                   <!-- /search -->
+                   <div style="clear:both"></div>
+                </div>
+                <!-- /whitebar -->
+                <div style="clear:both"></div>
+
+		<div id="hide-mw-page-base" class="noprint"></div>
+		<div id="hide-mw-head-base" class="noprint"></div>
                 <!-- whitebox-shadow -->
 		<div id="whitebox-shadow">
                 <!-- whitebox -->
diff --git a/skins/uabvector/main-ltr.css b/skins/uabvector/main-ltr.css
index 450844a..1b9f130 100644
--- a/skins/uabvector/main-ltr.css
+++ b/skins/uabvector/main-ltr.css
@@ -326,7 +326,8 @@ body {
 	}
 	/* @noflip */
 	#p-search {
-		float: left;
+		/* turn of left float to accomidate new position on uab themed page */
+                /* float: left; */
 	}
 	#p-search {
 		margin-right: 0.5em;
-- 
GitLab