[Blueprint] Silence some deprecation warnings created by the template file.
This commit is contained in:
parent
d79660bd96
commit
5c1e5776bd
@ -1,9 +1,9 @@
|
||||
// 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_grid_width = 30px
|
||||
!blueprint_grid_margin = 10px
|
||||
$blueprint-grid-columns : 24
|
||||
$blueprint-grid-width : 30px
|
||||
$blueprint-grid-margin : 10px
|
||||
|
||||
// If you change your grid column dimensions
|
||||
// you can make a new grid background image from the command line like this:
|
||||
|
@ -20,7 +20,7 @@ a.button
|
||||
// you can pass "left" or "right" to +anchor-button to float it in that direction
|
||||
// or you can pass no argument to leave it inline-block (cross browser safe!) within
|
||||
// the flow of your page.
|
||||
+anchor-button("left")
|
||||
+anchor-button(left)
|
||||
// All the button color mixins take 4 optional arguments:
|
||||
// font color, background color, border color, border highlight color
|
||||
// the first three default to constants set in blueprint/buttons.sass
|
||||
@ -31,7 +31,7 @@ a.button
|
||||
|
||||
button
|
||||
// The +button-button mixin is just like the +anchor-button mixin, but for <button> elements.
|
||||
+button-button("left")
|
||||
+button-button(left)
|
||||
+button-colors
|
||||
+button-hover-colors
|
||||
+button-active-colors
|
||||
|
@ -1,11 +1,11 @@
|
||||
// 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
|
||||
$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
|
||||
$blueprint-grid-width: ($blueprint-container-size + $blueprint-grid-margin) / $blueprint-grid-columns - $blueprint-grid-margin
|
||||
|
||||
|
@ -27,15 +27,16 @@ body.two-col
|
||||
#container
|
||||
+container
|
||||
#header, #footer
|
||||
+column(!blueprint_grid_columns)
|
||||
+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)
|
||||
+column(!sidebar_columns)
|
||||
$sidebar-columns: floor($blueprint-grid-columns / 3)
|
||||
+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)
|
||||
$content-columns: ceil(2 * $blueprint-grid-columns / 3)
|
||||
// true means it's the last column in the row
|
||||
+column(!content_columns, true)
|
||||
+column($content-columns, true)
|
||||
|
||||
|
||||
|
@ -1,11 +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
|
||||
$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
|
||||
|
||||
$blueprint-grid-width: ($blueprint-container-size + $blueprint-grid-margin) / $blueprint-grid-columns - $blueprint-grid-margin
|
||||
|
@ -25,14 +25,14 @@ body.two-col
|
||||
#container
|
||||
+container
|
||||
#header, #footer
|
||||
+column(!blueprint_grid_columns)
|
||||
+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)
|
||||
+column(!sidebar_columns)
|
||||
$sidebar-columns: floor($blueprint-grid-columns / 3)
|
||||
+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)
|
||||
$content-columns: ceil(2 * $blueprint-grid-columns / 3)
|
||||
// true means it's the last column in the row
|
||||
+column(!content_columns, true)
|
||||
+column($content-columns, true)
|
||||
|
Loading…
Reference in New Issue
Block a user