From 5b85a65e48cee0a21d250b5c2e7dd606ba7b01af Mon Sep 17 00:00:00 2001
From: Chris Hallberg <crhallberg@gmail.com>
Date: Mon, 26 Jun 2017 14:03:08 -0400
Subject: [PATCH] Minor record style improvements.

---
 .../templates/RecordDriver/SolrDefault/toolbar.phtml   |  2 +-
 themes/bootstrap3/templates/record/cart-buttons.phtml  | 10 ++++++++--
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/themes/bootstrap3/templates/RecordDriver/SolrDefault/toolbar.phtml b/themes/bootstrap3/templates/RecordDriver/SolrDefault/toolbar.phtml
index 3f5f8a1c1b2..6445ed461f2 100644
--- a/themes/bootstrap3/templates/RecordDriver/SolrDefault/toolbar.phtml
+++ b/themes/bootstrap3/templates/RecordDriver/SolrDefault/toolbar.phtml
@@ -4,7 +4,7 @@
     $this->headScript()->appendFile('https://s7.addthis.com/js/250/addthis_widget.js?pub=' . urlencode($addThis));
   }
 ?>
-<ul class="nav nav-pills hidden-print">
+<ul class="record-nav nav nav-pills hidden-print">
   <? if (count($this->driver->getCitationFormats()) > 0): ?>
     <li><a class="cite-record" data-lightbox href="<?=$this->recordLink()->getActionUrl($this->driver, 'Cite')?>" rel="nofollow"><i class="fa fa-asterisk" aria-hidden="true"></i> <?=$this->transEsc('Cite this')?></a></li>
   <? endif; ?>
diff --git a/themes/bootstrap3/templates/record/cart-buttons.phtml b/themes/bootstrap3/templates/record/cart-buttons.phtml
index 688044303a5..7bbedfa1179 100644
--- a/themes/bootstrap3/templates/record/cart-buttons.phtml
+++ b/themes/bootstrap3/templates/record/cart-buttons.phtml
@@ -2,8 +2,14 @@
 <? if ($cart->isActive()): ?>
   <? $cartId = $this->source . '|' . $this->id; ?>
   <span class="btn-bookbag-toggle" data-cart-id="<?=$this->escapeHtmlAttr($this->id)?>" data-cart-source="<?=$this->escapeHtmlAttr($this->source)?>">
-    <a class="cart-add hidden<? if(!$cart->contains($cartId)): ?> correct<? endif ?>"><i class="fa fa-plus" aria-hidden="true"></i> <?=$this->transEsc('Add to Book Bag') ?></a>
-    <a class="cart-remove hidden<? if($cart->contains($cartId)): ?> correct<? endif ?>"><i class="fa fa-minus-circle" aria-hidden="true"></i> <?=$this->transEsc('Remove from Book Bag') ?></a>
+    <a class="cart-add hidden<? if(!$cart->contains($cartId)): ?> correct<? endif ?>">
+      <i class="cart-link-icon fa fa-plus" title="<?=$this->transEsc('Add to Book Bag') ?>"></i><!--
+   --><span class="cart-link-label"><?=$this->transEsc('Add to Book Bag') ?></span>
+    </a>
+    <a class="cart-remove hidden<? if($cart->contains($cartId)): ?> correct<? endif ?>">
+      <i class="cart-link-icon fa fa-minus-circle" title="<?=$this->transEsc('Remove from Book Bag') ?>"></i><!--
+   --><span class="cart-link-label"><?=$this->transEsc('Remove from Book Bag') ?></span>
+    </a>
     <noscript>
       <form method="post" name="addForm" action="<?=$this->url('cart-processor')?>">
         <input type="hidden" name="ids[]" value="<?=$this->escapeHtmlAttr($cartId)?>" />
-- 
GitLab