diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-08-22 19:58:28 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-08-22 19:58:28 +0000 |
commit | a2694498f141f24ba4860f73a2c3ec238f65eab0 (patch) | |
tree | e0b63f70d10fc492ad02a40666a350e7bd184813 /themes | |
parent | d71ffc5aba6ee0e40ded64906b3bc430b7428e4f (diff) | |
download | brdo-a2694498f141f24ba4860f73a2c3ec238f65eab0.tar.gz brdo-a2694498f141f24ba4860f73a2c3ec238f65eab0.tar.bz2 |
#542658 by Gábor Hojtsy, sun, pwolanin: Move action 'tabs' out of local tasks.
Diffstat (limited to 'themes')
-rw-r--r-- | themes/garland/page.tpl.php | 1 | ||||
-rw-r--r-- | themes/seven/page.tpl.php | 1 | ||||
-rw-r--r-- | themes/seven/style.css | 10 |
3 files changed, 12 insertions, 0 deletions
diff --git a/themes/garland/page.tpl.php b/themes/garland/page.tpl.php index 0bf43da70..acca29d9b 100644 --- a/themes/garland/page.tpl.php +++ b/themes/garland/page.tpl.php @@ -54,6 +54,7 @@ <?php if ($tabs2): ?><ul class="tabs secondary"><?php print $tabs2 ?></ul><?php endif; ?> <?php if ($show_messages && $messages): print $messages; endif; ?> <?php print $help; ?> + <?php if ($action_links): ?><ul class="action-links"><?php print $action_links; ?></ul><?php endif; ?> <div class="clearfix"> <?php print $content ?> </div> diff --git a/themes/seven/page.tpl.php b/themes/seven/page.tpl.php index cdef22120..e47ccc334 100644 --- a/themes/seven/page.tpl.php +++ b/themes/seven/page.tpl.php @@ -33,6 +33,7 @@ <?php print $help; ?> </div> <?php endif; ?> + <?php if ($action_links): ?><ul class="action-links"><?php print $action_links; ?></ul><?php endif; ?> <?php print $content; ?> </div> diff --git a/themes/seven/style.css b/themes/seven/style.css index 36005a7d0..314064231 100644 --- a/themes/seven/style.css +++ b/themes/seven/style.css @@ -608,6 +608,16 @@ html.js input.throbbing { background-position: 100% -16px; } +ul.action-links { + margin: 1em 0; + overflow: hidden; +} + +ul.action-links li { + float: left; + margin: 0 1em 0 0; +} + /* Exceptions */ #diff-inline-form select, #block-system-main div.filter-options select { |