From f1c8eff0423b600711a041ab8836ee2b28d28a59 Mon Sep 17 00:00:00 2001 From: Mark Geller Date: Fri, 27 Sep 2013 13:52:17 -0700 Subject: [PATCH] Added cheeks icons to store - Updated the css for the pattern primer to point at the store edge - Added additional items to the item icons section - Renamed a few items in the item icons section so that the items show up correctly --- patterns/item-icons.html | 22 +++++++++++++--------- public/style.css | 2 +- views/index.erb | 3 ++- 3 files changed, 16 insertions(+), 11 deletions(-) diff --git a/patterns/item-icons.html b/patterns/item-icons.html index 90d8f6f..0e0dc18 100644 --- a/patterns/item-icons.html +++ b/patterns/item-icons.html @@ -14,10 +14,11 @@ iconTitle = $(this).find('div').attr('class').replace(/\-/g, ' '), iconClass = $(this).find('div').attr('class'), iconShort = $(this).find('div').attr('data-short'); - + console.log(this); $('#pattern-item-icons #icon-show').css({ 'background-position' : $(this).find('div').css('backgroundPosition') - }) + }); + console.log($(this).find('div').css('backgroundPosition')); $('#pattern-item-icons #icon-title').text( iconTitle ); $('#pattern-item-icons #icon-class').text( iconClass ); $('#pattern-item-icons #icon-short').text( iconShort ); @@ -210,14 +211,17 @@
  • -
  • -
  • -
  • +
  • +
  • +
  • -
  • -
  • -
  • +
  • +
  • +
  • -
  • +
  • +
  • +
  • +
  • \ No newline at end of file diff --git a/public/style.css b/public/style.css index 3e84068..3243fa5 100644 --- a/public/style.css +++ b/public/style.css @@ -156,7 +156,7 @@ border: 1px solid black; margin: 0 10px 0 0; float: left; - background: url(http://tera-cdn0.enmasse-game.com/assets/store-sprite.png) no-repeat 100px 100px; + background: url(//store-1.edge.enmasse-game.com/assets/store-sprite.e19892bd4a7f8f34b6929a3792d3e20e.png) no-repeat 100px 100px; } #pattern-item-icons #icon-show:after { content: ""; diff --git a/views/index.erb b/views/index.erb index 1d07aca..56f0105 100644 --- a/views/index.erb +++ b/views/index.erb @@ -5,7 +5,8 @@ - + +