Commit 026d071e authored by Nigel McNie's avatar Nigel McNie
Browse files

Move the 'site closed' message to being at the top of the page, where it...

Move the 'site closed' message to being at the top of the page, where it doesn't interfere with the menus in the admin section.

Reuse the same styling that the 'masquerade' stuff has.
parent c6513978
......@@ -39,12 +39,12 @@ body {
padding: 5px 10px;
#masquerading-message {
.sitemessage {
background-color: #f99;
font-weight: bold;
padding: .5em;
#masquerading-message img {
.sitemessage img {
float: left;
margin-top: -1px;
padding-right: .5em;
......@@ -566,10 +566,7 @@ tr.required th,
#logo {
padding: 0;
.sitemessage {
text-align: center;
color: #cc0000;
/* search box in header */
.searchbox {
font-size: 11px;
......@@ -31,7 +31,8 @@
<link rel="shortcut icon" href="{$WWWROOT}favicon.ico" type="image/">
{if $USERMASQUERADING}<div id="masquerading-message"><img src="{theme_path location='images/icon_problem.gif'}" alt="">{$masqueradedetails} {$becomeyouagain}</div>{/if}
{if $USERMASQUERADING}<div class="sitemessage"><img src="{theme_path location='images/icon_problem.gif'}" alt="">{$masqueradedetails} {$becomeyouagain}</div>{/if}
{if $SITECLOSED}<div class="sitemessage center">{str tag=siteclosed}</div>{/if}
<div id="container">
<div id="loading_box" class="hidden"></div>
<div id="topwrapper">
......@@ -59,7 +60,6 @@
<div id="logo"><a href="{$WWWROOT}"><img src="{theme_path location='images/logo.gif'}" border="0" alt=""></a></div>
{if $SITECLOSED}<div class="sitemessage">{str tag=siteclosed}</div>{/if}
<h1 class="hidden"><a href="{$WWWROOT}">{$hiddenheading|default:"Mahara"|escape}</a></h1>
<div id="mainnav">
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment