From 4eae9e0aaa582242ee0570110e8936cdcb628759 Mon Sep 17 00:00:00 2001
From: "20th (Victor Nikulshin)" <20th@alahost.net>
Date: Wed, 20 Mar 2013 15:41:32 +0600
Subject: [PATCH 1/2] Style action links

Without styles action links are displayed as a normal list, which makes
it impossible to use when there are three or more links.
---
 style.css                     | 14 ++++++++++++++
 templates/page--front.tpl.php |  2 +-
 templates/page.tpl.php        |  2 +-
 3 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/style.css b/style.css
index 98a102a..466c0da 100644
--- a/style.css
+++ b/style.css
@@ -861,6 +861,20 @@ ul.inline li {
   margin: 0 0 5px 0;
 }
 
+.action-links {
+  margin: 1em 0 1.5em;
+}
+
+.action-links li {
+  float: left;
+  list-style-type: circle;
+  margin-left: 3em;
+}
+
+.action-links li:first-child {
+  margin-left: 1em;
+}
+
 ul.primary {
   border: none;
   margin: 0;
diff --git a/templates/page--front.tpl.php b/templates/page--front.tpl.php
index f2fab1c..28cf174 100644
--- a/templates/page--front.tpl.php
+++ b/templates/page--front.tpl.php
@@ -156,7 +156,7 @@
         <?php print render($title_suffix); ?>
         <?php if (!empty($tabs['#primary'])): ?><div class="tabs-wrapper clearfix"><?php print render($tabs); ?></div><?php endif; ?>
         <?php print render($page['help']); ?>
-        <?php if ($action_links): ?><ul class="action-links"><?php print render($action_links); ?></ul><?php endif; ?>
+        <?php if ($action_links): ?><ul class="action-links clearfix"><?php print render($action_links); ?></ul><?php endif; ?>
         <?php print render($page['content']); ?>
       </section> <!-- /#main -->
 
diff --git a/templates/page.tpl.php b/templates/page.tpl.php
index d189baa..4c04467 100644
--- a/templates/page.tpl.php
+++ b/templates/page.tpl.php
@@ -108,7 +108,7 @@
     <?php print render($title_suffix); ?>
     <?php if (!empty($tabs['#primary'])): ?><div class="tabs-wrapper clearfix"><?php print render($tabs); ?></div><?php endif; ?>
     <?php print render($page['help']); ?>
-    <?php if ($action_links): ?><ul class="action-links"><?php print render($action_links); ?></ul><?php endif; ?>
+    <?php if ($action_links): ?><ul class="action-links clearfix"><?php print render($action_links); ?></ul><?php endif; ?>
     <?php print render($page['content']); ?>
   </section> <!-- /#main -->
   
-- 
1.8.1

