diff --git a/rpg-docs/client/views/character/inventory/inventory.css b/rpg-docs/client/views/character/inventory/inventory.css index cfbe11c4..cf635cd0 100644 --- a/rpg-docs/client/views/character/inventory/inventory.css +++ b/rpg-docs/client/views/character/inventory/inventory.css @@ -18,11 +18,32 @@ padding: 16px; } -.containerBottom { - margin: 0 -16px -16px -16px; +.equipmentTop { + margin: -16px -16px 0 -16px; padding: 16px; } +.containerMain { + margin: 0 -16px -16px -16px; + padding-bottom: 16px; +} + +.equipmentMain { + margin: 0 -16px -16px -16px; + padding-bottom: 16px; +} + .inventoryItem { background: white; + transition: box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1); + margin: 1px 0 1px 0; +} + +.inventoryItem[hero] { + box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.37); +} + +.itemSlot { + background-color: rgb(232, 232, 232); + background-color: rgba(0, 0, 0, 0.1); } diff --git a/rpg-docs/client/views/character/inventory/inventory.html b/rpg-docs/client/views/character/inventory/inventory.html index 0d384077..44e9ed57 100644 --- a/rpg-docs/client/views/character/inventory/inventory.html +++ b/rpg-docs/client/views/character/inventory/inventory.html @@ -1,23 +1,32 @@ \ No newline at end of file diff --git a/rpg-docs/client/views/character/inventory/inventory.js b/rpg-docs/client/views/character/inventory/inventory.js index e2f45b74..5cf28a2b 100644 --- a/rpg-docs/client/views/character/inventory/inventory.js +++ b/rpg-docs/client/views/character/inventory/inventory.js @@ -18,8 +18,8 @@ Template.inventory.helpers({ showAddButtons: function(){ return Template.instance().showAddButtons.get(); }, - gt1: function(num){ - return num > 1; + ne1: function(num){ + return num !== 1; } });