summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-11-26 11:00:37 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-11-26 11:00:37 +0000
commitea1bd8becea0a4b214cba937390defaefd6db074 (patch)
tree65f6f6edc96d0bbe97f00942fad7d626501f4339 /themes
parent596ec7f0722e229c1d90246cd957da9e2f578e6b (diff)
downloadbrdo-ea1bd8becea0a4b214cba937390defaefd6db074.tar.gz
brdo-ea1bd8becea0a4b214cba937390defaefd6db074.tar.bz2
#790556 follow-up by aschiwi, bleen18, tim.plunkett, jensimmons: Various bug fixes to Bartik's maintenance page template
Diffstat (limited to 'themes')
-rw-r--r--themes/bartik/css/colors.css4
-rw-r--r--themes/bartik/css/maintenance-page.css3
-rw-r--r--themes/bartik/template.php3
-rw-r--r--themes/bartik/templates/maintenance-page.tpl.php3
4 files changed, 8 insertions, 5 deletions
diff --git a/themes/bartik/css/colors.css b/themes/bartik/css/colors.css
index 328ae1a59..d61296068 100644
--- a/themes/bartik/css/colors.css
+++ b/themes/bartik/css/colors.css
@@ -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;
}
diff --git a/themes/bartik/css/maintenance-page.css b/themes/bartik/css/maintenance-page.css
index 5d98c4695..d7e196b34 100644
--- a/themes/bartik/css/maintenance-page.css
+++ b/themes/bartik/css/maintenance-page.css
@@ -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 {
diff --git a/themes/bartik/template.php b/themes/bartik/template.php
index 9e010d300..e94782527 100644
--- a/themes/bartik/template.php
+++ b/themes/bartik/template.php
@@ -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');
}
diff --git a/themes/bartik/templates/maintenance-page.tpl.php b/themes/bartik/templates/maintenance-page.tpl.php
index 5ba63def1..7dacde462 100644
--- a/themes/bartik/templates/maintenance-page.tpl.php
+++ b/themes/bartik/templates/maintenance-page.tpl.php
@@ -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">