Replace use of InventoryTableController
The `InventoryTableController` had been split off from the existing `InventoryController` some time ago, but was never properly factored not to share common code. This change elimiates it altogether in favor of the newly re-vamped `InventoryController` which is now flexible enough to be used in both places.
This commit is contained in:
@@ -14,7 +14,6 @@ All rights reserved.
|
||||
@import 'full_recipe';
|
||||
@import 'home_page';
|
||||
@import 'inventory';
|
||||
@import 'inventory_table';
|
||||
@import 'item';
|
||||
@import 'item_page';
|
||||
@import 'item_selector';
|
||||
|
||||
@@ -1,60 +0,0 @@
|
||||
/*
|
||||
Crafting Guide - inventory_table.scss
|
||||
|
||||
Copyright (c) 2014-2015 by Redwood Labs
|
||||
All rights reserved.
|
||||
*/
|
||||
|
||||
.view__inventory_table {
|
||||
table {
|
||||
width: 100%;
|
||||
|
||||
td {
|
||||
height: 2.4em;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
td.name {
|
||||
text-align: left;
|
||||
padding-right: 1em;
|
||||
|
||||
input {
|
||||
width: 100%;
|
||||
border: 0;
|
||||
border-bottom: 1px dashed $color-gray-light;
|
||||
outline: 0;
|
||||
|
||||
&:focus {
|
||||
border: 1px solid $color-gray-light;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
td.action {
|
||||
width: 4em;
|
||||
}
|
||||
|
||||
.edit td {
|
||||
padding-top: 1em;
|
||||
}
|
||||
}
|
||||
|
||||
.toolbar {
|
||||
position: relative; width: 100%;
|
||||
background: $color-background-toolbar;
|
||||
border-top: 1px solid $color-gray-light;
|
||||
}
|
||||
|
||||
button:disabled {
|
||||
background: white;
|
||||
color: $color-gray-light;
|
||||
}
|
||||
|
||||
button[name="clear"] {
|
||||
position: absolute; bottom: 0.5em; right: 0.5em;
|
||||
}
|
||||
|
||||
input {
|
||||
border: 1px solid $color-gray-light;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user