Commit 24fd7290 authored by Dries's avatar Dries

- Patch #850682 by bleen18: why is the maintenance page stylesheet loaded on all regular pages?

parent 486157dc
......@@ -11,7 +11,6 @@ stylesheets[all][] = css/layout.css
stylesheets[all][] = css/style.css
stylesheets[all][] = css/colors.css
stylesheets[print][] = css/print.css
stylesheets[all][] = css/maintenance-page.css
scripts[] = scripts/search.js
......
......@@ -74,6 +74,13 @@ function bartik_process_page(&$variables) {
}
}
/**
* Implements hook_preprocess_maintenance_page().
*/
function bartik_preprocess_maintenance_page(&$variables) {
drupal_add_css(drupal_get_path('theme', 'bartik') . '/css/maintenance-page.css');
}
/**
* Override or insert variables into the maintenance page template.
*/
......
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