[Blueprint] Silence some deprecation warnings created by the template file.

This commit is contained in:
Chris Eppstein 2010-05-08 18:18:47 -07:00
parent d79660bd96
commit 5c1e5776bd
6 changed files with 24 additions and 24 deletions

View File

@ -1,9 +1,9 @@
// Here is where you can define your constants for your application and to configure the blueprint framework. // 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: // Feel free to delete these if you want keep the defaults:
!blueprint_grid_columns = 24 $blueprint-grid-columns : 24
!blueprint_grid_width = 30px $blueprint-grid-width : 30px
!blueprint_grid_margin = 10px $blueprint-grid-margin : 10px
// If you change your grid column dimensions // If you change your grid column dimensions
// you can make a new grid background image from the command line like this: // you can make a new grid background image from the command line like this:

View File

@ -20,7 +20,7 @@ a.button
// you can pass "left" or "right" to +anchor-button to float it in that direction // 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 // or you can pass no argument to leave it inline-block (cross browser safe!) within
// the flow of your page. // the flow of your page.
+anchor-button("left") +anchor-button(left)
// All the button color mixins take 4 optional arguments: // All the button color mixins take 4 optional arguments:
// font color, background color, border color, border highlight color // font color, background color, border color, border highlight color
// the first three default to constants set in blueprint/buttons.sass // the first three default to constants set in blueprint/buttons.sass
@ -31,7 +31,7 @@ a.button
button button
// The +button-button mixin is just like the +anchor-button mixin, but for <button> elements. // The +button-button mixin is just like the +anchor-button mixin, but for <button> elements.
+button-button("left") +button-button(left)
+button-colors +button-colors
+button-hover-colors +button-hover-colors
+button-active-colors +button-active-colors

View File

@ -1,11 +1,11 @@
// Here is where you can define your constants for your application and to configure the blueprint framework. // 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: // Feel free to delete these if you want keep the defaults:
!blueprint_grid_columns = 24 $blueprint-grid-columns : 24
!blueprint_container_size = 950px $blueprint-container-size : 950px
!blueprint_grid_margin = 10px $blueprint-grid-margin : 10px
// Use this to calculate the width based on the total width. // 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. // 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

View File

@ -27,15 +27,16 @@ body.two-col
#container #container
+container +container
#header, #footer #header, #footer
+column(!blueprint_grid_columns) +column($blueprint-grid-columns)
#sidebar #sidebar
// One third of the grid columns, rounding down. With 24 cols, this is 8. // One third of the grid columns, rounding down. With 24 cols, this is 8.
!sidebar_columns = floor(!blueprint_grid_columns / 3) $sidebar-columns: floor($blueprint-grid-columns / 3)
+column(!sidebar_columns) +column($sidebar-columns)
#content #content
// Two thirds of the grid columns, rounding up. // Two thirds of the grid columns, rounding up.
// With 24 cols, this is 16. // 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 // true means it's the last column in the row
+column(!content_columns, true) +column($content-columns, true)

View File

@ -1,11 +1,10 @@
// Here is where you can define your constants for your application and to configure the blueprint framework. // 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: // Feel free to delete these if you want keep the defaults:
!blueprint_grid_columns = 24 $blueprint-grid-columns: 24
!blueprint_container_size = 950px $blueprint-container-size: 950px
!blueprint_grid_margin = 10px $blueprint-grid-margin: 10px
// Use this to calculate the width based on the total width. // 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. // 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

View File

@ -25,14 +25,14 @@ body.two-col
#container #container
+container +container
#header, #footer #header, #footer
+column(!blueprint_grid_columns) +column($blueprint-grid-columns)
#sidebar #sidebar
// One third of the grid columns, rounding down. With 24 cols, this is 8. // One third of the grid columns, rounding down. With 24 cols, this is 8.
!sidebar_columns = floor(!blueprint_grid_columns / 3) $sidebar-columns: floor($blueprint-grid-columns / 3)
+column(!sidebar_columns) +column($sidebar-columns)
#content #content
// Two thirds of the grid columns, rounding up. // Two thirds of the grid columns, rounding up.
// With 24 cols, this is 16. // 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 // true means it's the last column in the row
+column(!content_columns, true) +column($content-columns, true)