Initial implementation of the InventoryController

This commit is contained in:
Andrew Miner
2015-01-06 10:25:05 -08:00
parent d499e8e9cf
commit a1a7ee5dc9
13 changed files with 330 additions and 23 deletions
+12 -11
View File
@@ -25,21 +25,25 @@ $color-brick-dark: #7A7A7A;
$color-brick-light: #D9D9D9;
$color-content: rgba(230, 230, 230, 0.90);
$color-dirt: #906647;
$color-error-new: #CD0000;
$color-error: #F3C2C2;
$color-ice: #8AA7E6;
$color-footer: #3D1D09;
$color-footer-text: white;
$color-gray-faint: #F2F2F2;
$color-gray-light: #CCCCCC;
$color-table-background: white;
$color-toolbar-background: rgba(255, 255, 255, 0.75);
$font-family-header: 'PressStart';
$font-family-normal: sans-serif;
$font-family-input: monospace;
$font-size-small: 1.1em;
$font-size-normal: 1.3em;
$font-size-large: 2.0em;
$font-size-x-large: 3.0em;
$font-size-small: 1.1em;
$font-size-normal: 1.3em;
$font-size-large: 1.6em;
$font-size-x-large: 2.0em;
$font-size-xx-large: 3.0em;
// Common //////////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -61,7 +65,7 @@ h1 {
p {
font-family: $font-family-header;
font-size: $font-size-x-large;
font-size: $font-size-xx-large;
position: relative; top: -0.5em;
}
}
@@ -79,7 +83,7 @@ h2 {
p {
font-family: $font-family-header;
font-size: $font-size-large;
font-size: $font-size-x-large;
position: relative; top: -0.25em;
}
}
@@ -119,12 +123,9 @@ label {
width: 100%;
}
.page > div {
position: relative; width: 100%;
padding: 2em 2em 0 2em;
.error { background: $color-error; }
&:first-child { padding-top: 0; }
}
.error-new { background: $color-error-new; }
// Views ///////////////////////////////////////////////////////////////////////////////////////////////////////////////