Make CTA links separate from hub link styling

This commit is contained in:
summerscope
2014-09-05 12:14:55 +10:00
parent ed0f2de2f3
commit 94fbb624f5
3 changed files with 4 additions and 4 deletions

View File

@@ -4,7 +4,7 @@
Shop for
%strong {{enterprise.name}}
products at:
%a.hub{"ng-repeat" => "hub in enterprise.hubs",
%a.cta-hub{"ng-repeat" => "hub in enterprise.hubs",
"bo-href" => "hub.path",
"bo-class" => "{primary: hub.active, secondary: !hub.active}",
"ofn-empties-cart" => "hub"}

View File

@@ -2,7 +2,7 @@
.cta-container.small-12.columns
.row
.small-4.columns
%label{"active-table-hub-link" => "enterprise", change: "Change hub to:", shop: "Shop now at:"}
%label{"active-table-hub-link" => "enterprise", change: "Change shop to:", shop: "Shop now at:"}
.small-8.columns.right
%label.right{"bo-if" => "enterprise.pickup || enterprise.delivery"}
Delivery options:
@@ -14,7 +14,7 @@
Delivery
.row
.columns.small-12
%a.hub{"bo-href" => "enterprise.path",
%a.cta-hub{"bo-href" => "enterprise.path",
"ng-class" => "{primary: enterprise.active, secondary: !enterprise.active}",
"ofn-empties-cart" => "enterprise"}
%i.ofn-i_033-open-sign{"bo-if" => "enterprise.active"}

View File

@@ -100,7 +100,7 @@
span
text-transform: capitalize
.hub
.cta-hub
margin-right: 2rem
margin-top: 0rem
margin-bottom: 0.75rem