-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from m3brown/bootstrap
Bootstrap!
- Loading branch information
Showing
17 changed files
with
298 additions
and
174 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
Large diffs are not rendered by default.
Oops, something went wrong.
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,96 @@ | ||
/* | ||
* Base structure | ||
*/ | ||
|
||
/* Move down content because we have a fixed navbar that is 50px tall */ | ||
body { | ||
padding-top: 50px; | ||
} | ||
|
||
|
||
/* | ||
* Global add-ons | ||
*/ | ||
|
||
.sub-header { | ||
padding-bottom: 10px; | ||
border-bottom: 1px solid #eee; | ||
} | ||
|
||
|
||
/* | ||
* Sidebar | ||
*/ | ||
|
||
/* Hide for mobile, show later */ | ||
.sidebar { | ||
display: none; | ||
} | ||
@media (min-width: 768px) { | ||
.sidebar { | ||
position: fixed; | ||
top: 51px; | ||
bottom: 0; | ||
left: 0; | ||
z-index: 1000; | ||
display: block; | ||
padding: 20px; | ||
overflow-x: hidden; | ||
overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */ | ||
background-color: #f5f5f5; | ||
border-right: 1px solid #eee; | ||
} | ||
} | ||
|
||
/* Sidebar navigation */ | ||
.nav-sidebar { | ||
margin-right: -21px; /* 20px padding + 1px border */ | ||
margin-bottom: 20px; | ||
margin-left: -20px; | ||
} | ||
.nav-sidebar > li > a { | ||
padding-right: 20px; | ||
padding-left: 20px; | ||
} | ||
.nav-sidebar > .active > a { | ||
color: #fff; | ||
background-color: #428bca; | ||
} | ||
|
||
|
||
/* | ||
* Main content | ||
*/ | ||
|
||
.main { | ||
padding: 20px; | ||
} | ||
@media (min-width: 768px) { | ||
.main { | ||
padding-right: 40px; | ||
padding-left: 40px; | ||
} | ||
} | ||
.main .page-header { | ||
margin-top: 0; | ||
} | ||
|
||
|
||
/* | ||
* Placeholder dashboard ideas | ||
*/ | ||
|
||
.placeholders { | ||
margin-bottom: 30px; | ||
text-align: center; | ||
} | ||
.placeholders h4 { | ||
margin-bottom: 0; | ||
} | ||
.placeholder { | ||
margin-bottom: 20px; | ||
} | ||
.placeholder img { | ||
display: inline-block; | ||
border-radius: 50%; | ||
} |
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 |
---|---|---|
@@ -1,91 +0,0 @@ | ||
body { | ||
background-color: #70777F; | ||
margin: 0 30px 30px 30px; | ||
} | ||
|
||
#container { | ||
background-color: #fff; | ||
border: solid 1px #30537F; | ||
border-top: 0; | ||
} | ||
|
||
#content { | ||
margin: 50px 50px; | ||
} | ||
|
||
.topping { | ||
width: 132px; | ||
background-color: white; | ||
-moz-border-radius: 10px; | ||
-webkit-border-radius: 10px; | ||
border-radius: 10px; /* future proofing */ | ||
margin: 4px; | ||
text-align: center; | ||
} | ||
|
||
.toppingsList { | ||
display: inline-block; | ||
height: 200px; | ||
-moz-border-radius: 10px; | ||
-webkit-border-radius: 10px; | ||
border-radius: 10px; /* future proofing */ | ||
width: 140px; | ||
padding: 4px 4px; | ||
vertical-align: top; | ||
} | ||
|
||
#toppingsChoices { | ||
background-color: #505050; | ||
} | ||
|
||
#toppingsSelected { | ||
background-color: #a0a0a0; | ||
} | ||
|
||
.toppingSelector { | ||
display: inline-block; | ||
} | ||
|
||
.ingredientInfo { | ||
display: inline-block; | ||
border: solid 1px #000; | ||
margin-left: 100px; | ||
height: 186px; | ||
width: 250px; | ||
padding: 10px; | ||
vertical-align: top; | ||
} | ||
|
||
#charts { | ||
display: inline-block; | ||
border: solid 1px #000; | ||
margin-left: 100px; | ||
height: 200px; | ||
width: 350px; | ||
padding: 10px; | ||
vertical-align: top; | ||
} | ||
|
||
footer { | ||
margin: auto; | ||
text-align: right; | ||
padding: 15px 10px; | ||
background-color: #EAF3FF; | ||
border-top: solid 1px #30537F; | ||
} | ||
footer a { | ||
text-decoration: none; | ||
} | ||
footer p { | ||
font-size: 12px; | ||
line-height: 20px; | ||
color: #000; | ||
display: inline; | ||
margin-right: 5px; | ||
} | ||
footer ul, footer li { | ||
list-style: none; | ||
display: inline; | ||
margin: 0 0 0 2px; | ||
padding: 0; | ||
} | ||
Large diffs are not rendered by default.
Oops, something went wrong.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
Oops, something went wrong.