diff options
Diffstat (limited to 'themes')
-rw-r--r-- | themes/seven/maintenance-page.tpl.php | 48 | ||||
-rw-r--r-- | themes/seven/seven.info | 2 | ||||
-rw-r--r-- | themes/seven/style.css | 53 |
3 files changed, 103 insertions, 0 deletions
diff --git a/themes/seven/maintenance-page.tpl.php b/themes/seven/maintenance-page.tpl.php new file mode 100644 index 000000000..9d1662fab --- /dev/null +++ b/themes/seven/maintenance-page.tpl.php @@ -0,0 +1,48 @@ +<?php +// $Id$ +?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>"> + <head> + <title><?php print $head_title; ?></title> + <?php print $head; ?> + <?php print $styles; ?> + <?php print $scripts; ?> + </head> + <body class="<?php print $classes; ?>"> + + <?php print $page_top; ?> + + <div id="branding"> + <?php if ($title): ?><h1 class="page-title"><?php print $title; ?></h1><?php endif; ?> + </div> + + <div id="page"> + + <?php if ($sidebar_first): ?> + <div id="sidebar-first" class="sidebar"> + <?php if ($logo): ?> + <img id="logo" src="<?php print $logo ?>" alt="<?php print $site_name ?>" /> + <?php endif; ?> + <?php print $sidebar_first ?> + </div> + <?php endif; ?> + + <div id="content" class="clearfix"> + <?php if ($show_messages && $messages): ?> + <div id="console"><?php print $messages; ?></div> + <?php endif; ?> + <?php if ($help): ?> + <div id="help"> + <?php print $help; ?> + </div> + <?php endif; ?> + <?php print $content; ?> + </div> + + </div> + + <?php print $page_bottom; ?> + + </body> +</html> diff --git a/themes/seven/seven.info b/themes/seven/seven.info index cce1a5e78..2b9f687a3 100644 --- a/themes/seven/seven.info +++ b/themes/seven/seven.info @@ -12,3 +12,5 @@ regions[content] = Content regions[help] = Help regions[page_top] = Page top regions[page_bottom] = Page bottom +regions[sidebar_first] = First sidebar +regions_hidden[] = sidebar_first diff --git a/themes/seven/style.css b/themes/seven/style.css index 25c022550..c23314042 100644 --- a/themes/seven/style.css +++ b/themes/seven/style.css @@ -748,6 +748,59 @@ div.admin-options div.form-item { border: none; } +/* Maintenance theming */ +body.in-maintenance #sidebar-first { + float: right; + width: 200px; +} +body.in-maintenance #content { + width: 550px; + padding-right: 20px; +} +body.in-maintenance #page { + width: 770px; + margin: 0 auto; + padding-top: 2em; +} +body.in-maintenance #branding h1 { + width: 770px; + margin: 0 auto; + float: none; +} + +body.in-maintenance .form-type-radio { + display: inline-block; +} + +body.in-maintenance .form-submit { + display: block; +} + +body.in-maintenance #logo { + margin-bottom: 1.5em; +} + +ol.task-list { + margin-left: 0; /* LTR */ + list-style-type: none; + list-style-image: none; +} +ol.task-list li { + padding: 0.5em 1em 0.5em 0; /* LTR */ + color: #adadad; +} +ol.task-list li.active { + background: transparent url(images/task-item.png) no-repeat 3px 50%; /* LTR */ + padding: 0.5em 1em 0.5em 20px; /* LTR */ + color: #000; +} +ol.task-list li.done { + color: #393; + background: transparent url(images/task-check.png) no-repeat 0px 50%; /* LTR */ + padding: 0.5em 1em 0.5em 20px; /* LTR */ + color: green; +} + /* Overlay theming */ body.overlay { background: #fff; |