background-color: #448;
}
+#header div#search {
+ position: relative;
+ top: -5px;
+ float: right;
+ margin:0.2em 0 1em;
+ padding:0 0.2em 0 0.5em;
+ color: #ccc;
+}
+
#brandheader { background-color: white; padding: 8; }
#header a { color: #fff; font-weight: bold; }
#tabbar li { display: inline; }
#tabbar li a { padding: 18 18 4 18; background-color: #ddf; color: black; text-decoration: none; }
#tabbar li a:hover { background-color: #fc8; }
+
/*
#tabbar li.active a { background-color: #fa6; font-weight: bold; }
*/
.metalinks { padding-left: 12; color: gray; }
.metalinks a { color: navy; }
-.metalinks { position: absolute; left: 300; }
\ No newline at end of file
+.metalinks { position: absolute; left: 300; }
</div>
<img src="/static/institution-logo.png" style="height: 50;"/>
</div>
+ <!--
<div id="header" py:if="user.is_authenticated()">
+ trying to keep the search box consistent for now
+ -->
+ <div id="header">
+ <div id="search">
+ <form method="get" action="search">
+ <input id="q" name="q" maxlength="100" size="25" type="text"
+ value="search..." onblur="if(this.value=='') this.value='search...';"
+ onfocus="if(this.value=='search...') this.value='';"/>
+ </form>
+ </div>
+ <span py:if="user.is_authenticated()">
<strong style="padding-right: 18;">Welcome, ${user.first_name or user.username}!</strong>
<a href="/accounts/logout">Log Out</a>
• <a href="/user/prefs">Preferences</a>
• <a href="/admin/">Admin UI</a>
- </div>
- <div id="header" py:if="not user.is_authenticated()">
+ </span>
+ <span py:if="not user.is_authenticated()">
<strong style="padding-right: 18;">Welcome!</strong>
- </div>
+ </span>
+ </div>
<xi:include py:if="user.is_authenticated()" href="tabbar.xhtml"/>
<div id="mainpanel">
${select('*|text()')}