Add "remove" button to inventory view

This commit is contained in:
Andrew Miner
2015-01-31 20:53:09 -08:00
parent e0c642e787
commit 8d7fd5d25c
9 changed files with 637 additions and 10 deletions
-4
View File
@@ -95,9 +95,5 @@ All rights reserved.
td.action {
width: 4em;
button {
width: 4em;
}
}
}
+22
View File
@@ -24,4 +24,26 @@ All rights reserved.
display: inline;
font-size: $font-size-normal;
}
.action {
text-align: right;
button.remove {
opacity: 0;
position: relative; width: 1.8em; height: 1.8em;
background: url('/images/remove.png') no-repeat center;
border: 0;
outline: none;
&:hover {
background: url('/images/remove-hover.png') no-repeat center;
}
}
}
&:hover {
button.remove {
opacity: 1;
}
}
}