Commit ea1bd8be authored by webchick's avatar webchick

#790556 follow-up by aschiwi, bleen18, tim.plunkett, jensimmons: Various bug...

#790556 follow-up by aschiwi, bleen18, tim.plunkett, jensimmons: Various bug fixes to Bartik's maintenance page template
parent 596ec7f0
......@@ -48,8 +48,8 @@ a:active {
.region-header,
.region-header a,
.region-header li a.active,
#header #name-and-slogan,
#header #name-and-slogan a,
#name-and-slogan,
#name-and-slogan a,
#secondary-menu-links li a {
color: #fffeff;
}
......@@ -7,8 +7,9 @@ body.maintenance-page {
.maintenance-page #page-wrapper {
margin-left: auto;
margin-right: auto;
min-width: 0;
width: 800px;
border: 1px solid #cbcbcb;
border: 1px solid #ddd;
margin-top: 40px;
}
.maintenance-page #page {
......
......@@ -78,6 +78,9 @@ function bartik_process_page(&$variables) {
* Implements hook_preprocess_maintenance_page().
*/
function bartik_preprocess_maintenance_page(&$variables) {
if (!$variables['db_is_active']) {
unset($variables['site_name']);
}
drupal_add_css(drupal_get_path('theme', 'bartik') . '/css/maintenance-page.css');
}
......
......@@ -25,7 +25,7 @@
</head>
<body class="<?php print $classes; ?>" <?php print $attributes;?>>
<div id="skip-link">
<a href="#main-content"><?php print t('Skip to main content'); ?></a>
<a href="#main-content" class="element-invisible element-focusable"><?php print t('Skip to main content'); ?></a>
</div>
<?php print $page_top; ?>
......@@ -66,7 +66,6 @@
<div id="main-wrapper"><div id="main" class="clearfix">
<div id="content" class="column"><div class="section">
<?php if ($highlighted): ?><div id="highlighted"><?php print $highlighted; ?></div><?php endif; ?>
<a id="main-content"></a>
<?php if ($title): ?>
<h1 class="title" id="page-title">
......
Markdown is supported
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