Initial commit
This commit is contained in:
commit
48e38f4f64
26 files changed
+1117
No files matched your search
@@ -0,0 +1,10 @@
|
||||
// Here is where you can define your constants for your application and to configure the blueprint framework.
|
||||
// Feel free to delete these if you want keep the defaults:
|
||||
|
||||
$blueprint-grid-columns: 24;
|
||||
$blueprint-container-size: 950px;
|
||||
$blueprint-grid-margin: 10px;
|
||||
|
||||
// Use this to calculate the width based on the total width.
|
||||
// Or you can set $blueprint-grid-width to a fixed value and unset $blueprint-container-size -- it will be calculated for you.
|
||||
$blueprint-grid-width: ($blueprint-container-size + $blueprint-grid-margin) / $blueprint-grid-columns - $blueprint-grid-margin;
|
||||
@@ -0,0 +1,6 @@
|
||||
// Only apply the blueprint form styles to forms with
|
||||
// a class of "bp". This makes it easier to style
|
||||
// forms from scratch if you need to.
|
||||
|
||||
form.bp {
|
||||
@include blueprint-form; }
|
||||
@@ -0,0 +1,16 @@
|
||||
// Import the non-default scaffolding module to help us get started.
|
||||
@import "blueprint/scaffolding";
|
||||
|
||||
// This configuration will only apply the
|
||||
// blueprint styles to pages with a body class of "bp"
|
||||
// This makes it easier to have pages without blueprint styles
|
||||
// when you're using a single/combined stylesheet.
|
||||
|
||||
body.bp {
|
||||
@include blueprint-typography(true);
|
||||
@include blueprint-utilities;
|
||||
@include blueprint-debug;
|
||||
@include blueprint-interaction;
|
||||
// Remove the scaffolding when you're ready to start doing visual design.
|
||||
// Or leave it in if you're happy with how blueprint looks out-of-the-box
|
||||
@include blueprint-scaffolding; }
|
||||
@@ -0,0 +1,38 @@
|
||||
// Page layout can be done using mixins applied to your semantic classes and IDs
|
||||
// For instance this layout defines a two column layout on pages with
|
||||
// a body class of "two-col".
|
||||
//
|
||||
// The markup would look like:
|
||||
// <div id="container">
|
||||
// <div id="header"></div>
|
||||
// <div id="sidebar"></div>
|
||||
// <div id="content"></div>
|
||||
// <div id="footer"></div>
|
||||
// </div>
|
||||
//
|
||||
// and the layout would look like:
|
||||
// +------------------------+
|
||||
// | #header |
|
||||
// +--------+---------------+
|
||||
// | | |
|
||||
// |#sidebar| #content |
|
||||
// | | |
|
||||
// +------------------------+
|
||||
// | #footer |
|
||||
// +--------+---------------+
|
||||
|
||||
body.two-col {
|
||||
#container {
|
||||
@include container; }
|
||||
#header, #footer {
|
||||
@include column($blueprint-grid-columns); }
|
||||
#sidebar {
|
||||
// One third of the grid columns, rounding down. With 24 cols, this is 8.
|
||||
$sidebar-columns: floor($blueprint-grid-columns / 3);
|
||||
@include column($sidebar-columns); }
|
||||
#content {
|
||||
// Two thirds of the grid columns, rounding up.
|
||||
// With 24 cols, this is 16.
|
||||
$content-columns: ceil(2 * $blueprint-grid-columns / 3);
|
||||
// true means it's the last column in the row
|
||||
@include column($content-columns, true); } }
|
||||
Reference in new issue
Block a user