Skip to content
Snippets Groups Projects
Commit ccc90067 authored by Chris Hallberg's avatar Chris Hallberg Committed by Demian Katz
Browse files

Improved cart button styling.

parent 44a71ad4
No related merge requests found
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -159,13 +159,14 @@ header .container.navbar { margin-bottom: 0; } ...@@ -159,13 +159,14 @@ header .container.navbar { margin-bottom: 0; }
.result-formats { margin-bottom: .5rem; } .result-formats { margin-bottom: .5rem; }
.btn-bookbag-toggle form { display: inline; } .btn-bookbag-toggle form { display: inline; }
.btn-bookbag-toggle .fa { margin-right: .3rem; } .cart-link-icon.fa { margin-right: .3rem; }
.result .btn-bookbag-toggle .fa { .result .cart-link-icon {
color: @text-color; color: @text-color;
/* .fa-fw */ /* .fa-fw */
width: 1.28571429em; width: 1.28571429em;
text-align: center; text-align: center;
} }
@media (min-width: 768px) { @media (min-width: 768px) {
.result-body { .result-body {
float: left; float: left;
......
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
<span class="btn-bookbag-toggle" data-cart-id="<?=$this->escapeHtmlAttr($this->id)?>" data-cart-source="<?=$this->escapeHtmlAttr($this->source)?>"> <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 ?>"> <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><!-- <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> --><span class="cart-link-label"><?=$this->transEsc('Add to Book Bag') ?></span><!--
</a> --></a>
<a class="cart-remove hidden<? if($cart->contains($cartId)): ?> correct<? endif ?>"> <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><!-- <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> --><span class="cart-link-label"><?=$this->transEsc('Remove from Book Bag') ?></span>
......
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