-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
235 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
html,body{ | ||
height:100%; | ||
margin:0; | ||
padding: 0; | ||
} | ||
|
||
* { | ||
box-sizing: border-box; | ||
} | ||
|
||
body{ | ||
font-family: 'Source Sans Pro', sans-serif; | ||
} | ||
|
||
.hidden{ | ||
display: none; | ||
} | ||
|
||
.section-search{ | ||
height:56px; | ||
position: absolute; | ||
top:0; | ||
right:0; | ||
left: 0; | ||
border-bottom:2px solid #ccc; | ||
z-index: 10; | ||
} | ||
|
||
.section-search .form-control{ | ||
display: block; | ||
width:100%; | ||
font-size: 18px; | ||
border:none; | ||
padding:16px; | ||
} | ||
|
||
.section-result{ | ||
background-color:#eee; | ||
position: absolute; | ||
top:56px; | ||
right:0; | ||
left: 0; | ||
bottom:0; | ||
z-index:5; | ||
} | ||
|
||
.list-group{ | ||
|
||
} | ||
|
||
.list-group-item{ | ||
padding: 8px 16px; | ||
display: block; | ||
border-bottom: 1px solid #ddd; | ||
text-decoration: none; | ||
} | ||
|
||
.list-group-item:hover{ | ||
background-color: #f5f5f5; | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,128 @@ | ||
[ | ||
{ | ||
"size": "S", | ||
"number": "1", | ||
"color":"clear", | ||
"content": [ | ||
{ | ||
"id": "3005", | ||
"type":"brick", | ||
"size": "1x1", | ||
"label": "Brick 1 x 1", | ||
"color":["various"] | ||
}, | ||
{ | ||
"id": "3024", | ||
"type":"plate", | ||
"size": "1x1", | ||
"label": "Plate 1 x 1", | ||
"color":["various"] | ||
} | ||
] | ||
}, | ||
{ | ||
"size": "S", | ||
"number": "2", | ||
"color":"clear", | ||
"content": [ | ||
{ | ||
"id": "3062", | ||
"label": "Brick, Round 1 x 1 Open Stud", | ||
"type":"brick", | ||
"size": "1x1", | ||
"color":["various"] | ||
}, | ||
{ | ||
"id": "98138", | ||
"label": "Tile, Round 1 x 1", | ||
"type":"tile", | ||
"size": "1x1", | ||
"color":["various"] | ||
} | ||
] | ||
}, | ||
{ | ||
"size": "S", | ||
"number": "3", | ||
"color":"clear", | ||
"content": [ | ||
{ | ||
"id": "3003", | ||
"label": "Brick 2 x 2", | ||
"type":"brick", | ||
"size": "2x2", | ||
"color":["various"] | ||
}, | ||
{ | ||
"id": "3022", | ||
"label": "Plate 2 x 2", | ||
"type":"plate", | ||
"size": "2x2", | ||
"color":["various"] | ||
} | ||
] | ||
}, | ||
{ | ||
"size": "S", | ||
"number": "4", | ||
"color":"clear", | ||
"content": [ | ||
{ | ||
"id": "3003", | ||
"label": "Brick 2 x 2", | ||
"type":"brick", | ||
"size": "2x2", | ||
"color":["black"] | ||
}, | ||
{ | ||
"id": "3022", | ||
"label": "Plate 2 x 2", | ||
"type":"plate", | ||
"size": "2x2", | ||
"color":["red"] | ||
} | ||
] | ||
}, | ||
{ | ||
"size": "S", | ||
"number": "5", | ||
"color":"clear", | ||
"content": [ | ||
{ | ||
"id": "3001", | ||
"label": "Brick 2 x 4", | ||
"type":"brick", | ||
"size": "2x4", | ||
"color":["various"] | ||
}, | ||
{ | ||
"id": "3020", | ||
"label": "Plate 2 x 4", | ||
"type":"plate", | ||
"size": "2x4", | ||
"color":["various"] | ||
} | ||
] | ||
}, | ||
{ | ||
"size": "S", | ||
"number": "6", | ||
"color":"clear", | ||
"content": [ | ||
{ | ||
"id": "3008", | ||
"label": "Brick 1 x 8", | ||
"type": "brick", | ||
"size": "1x8", | ||
"color": ["various"] | ||
}, | ||
{ | ||
"id": "4162", | ||
"label": "Tile 1 x 8", | ||
"type": "tile", | ||
"size": "1x8", | ||
"color": ["various"] | ||
} | ||
] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<title>Lego Boxr</title> | ||
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400" rel="stylesheet"> | ||
<link href="app.css" rel="stylesheet"> | ||
</head> | ||
<body> | ||
<section class="section-search"> | ||
<input type="search" class="form-control" placeholder="Search..."/> | ||
</section> | ||
<section class="section-result"> | ||
<div class="list-group"> | ||
<a href="#" class="list-group-item"> | ||
<span class="badge">S1</span> | ||
Small 1 | ||
</a> | ||
</div> | ||
</section> | ||
<script src="app.js"></script> | ||
</body> | ||
</html> |
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"name": "src", | ||
"version": "1.0.0", | ||
"description": "Blah", | ||
"repository": "https://github.com/spadged/lego-boxr.git", | ||
"main": "gruntfile.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"author": "Grant Meek <[email protected]>", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"grunt": "^1.0.1", | ||
"grunt-contrib-concat": "^1.0.1", | ||
"grunt-contrib-less": "^1.4.0", | ||
"grunt-contrib-watch": "^1.0.0" | ||
}, | ||
"dependencies": { | ||
"jquery": "^3.1.1" | ||
} | ||
} |