compass/examples/blueprint_semantic/src/screen.sass

71 lines
1.1 KiB
Sass
Raw Normal View History

@import blueprint.sass
@import blueprint/modules/fancy_type.sass
@import blueprint/modules/scaffolding.sass
@import compass/reset.sass
+blueprint-typography("body.blueprint")
body.blueprint
Coding spree to clean up the blueprint stylesheets and make them more similar to blueprint-css, more configurable, and more consistent. Breakdown of changes: === Remove the body scope that is unnecessarily added to many blueprint classes due to the way the mixins were constructed and used. Blueprint mixins that operate on the body tag now follow a pattern where they take the body selector as an argument and must always be mixed into the top level of a stylesheet. The classes will be scoped whenever the selector is not a simple "body" selector which is the default. Mixins affected: +blueprint-ie, +blueprint-print, +blueprint-typography, and +blueprint-scaffolding. All of these mixins use corresponding +[mixin]-body and +[mixin]-defaults mixins in their implementations that you can use directly if you feel constrained by the requirement to mix into the top-level. === Made all configurable constants possible to override in a base stylesheet using conditional assignment. Moved many colors that were still hard coded to the colors.sass module so they can be overridden. === Restored some blueprint defaults even though I didn't like them. With the exception of the blueprint link urls which are now available as a mixin called +blueprint-show-link-urls (they used to just be commented out.) === Grid constants have been renamed in both the grid and liquid grid modules. These constants are now conditionally assigned to make the grid easily configured. === The liquid grid now uses the compass clearfix. === moved the primary mixin for a module (where one exists) to the top of the file for clarity of readers. === blueprint grid classes are now appropriately scoped under the .container class.
2008-12-06 21:41:37 +00:00
+blueprint-scaffolding-body
.container
+container
.showgrid
:background= inline_image("grid.png")
Coding spree to clean up the blueprint stylesheets and make them more similar to blueprint-css, more configurable, and more consistent. Breakdown of changes: === Remove the body scope that is unnecessarily added to many blueprint classes due to the way the mixins were constructed and used. Blueprint mixins that operate on the body tag now follow a pattern where they take the body selector as an argument and must always be mixed into the top level of a stylesheet. The classes will be scoped whenever the selector is not a simple "body" selector which is the default. Mixins affected: +blueprint-ie, +blueprint-print, +blueprint-typography, and +blueprint-scaffolding. All of these mixins use corresponding +[mixin]-body and +[mixin]-defaults mixins in their implementations that you can use directly if you feel constrained by the requirement to mix into the top-level. === Made all configurable constants possible to override in a base stylesheet using conditional assignment. Moved many colors that were still hard coded to the colors.sass module so they can be overridden. === Restored some blueprint defaults even though I didn't like them. With the exception of the blueprint link urls which are now available as a mixin called +blueprint-show-link-urls (they used to just be commented out.) === Grid constants have been renamed in both the grid and liquid grid modules. These constants are now conditionally assigned to make the grid easily configured. === The liquid grid now uses the compass clearfix. === moved the primary mixin for a module (where one exists) to the top of the file for clarity of readers. === blueprint grid classes are now appropriately scoped under the .container class.
2008-12-06 21:41:37 +00:00
hr
+colruler
hr.space
+colspacer
Coding spree to clean up the blueprint stylesheets and make them more similar to blueprint-css, more configurable, and more consistent. Breakdown of changes: === Remove the body scope that is unnecessarily added to many blueprint classes due to the way the mixins were constructed and used. Blueprint mixins that operate on the body tag now follow a pattern where they take the body selector as an argument and must always be mixed into the top level of a stylesheet. The classes will be scoped whenever the selector is not a simple "body" selector which is the default. Mixins affected: +blueprint-ie, +blueprint-print, +blueprint-typography, and +blueprint-scaffolding. All of these mixins use corresponding +[mixin]-body and +[mixin]-defaults mixins in their implementations that you can use directly if you feel constrained by the requirement to mix into the top-level. === Made all configurable constants possible to override in a base stylesheet using conditional assignment. Moved many colors that were still hard coded to the colors.sass module so they can be overridden. === Restored some blueprint defaults even though I didn't like them. With the exception of the blueprint link urls which are now available as a mixin called +blueprint-show-link-urls (they used to just be commented out.) === Grid constants have been renamed in both the grid and liquid grid modules. These constants are now conditionally assigned to make the grid easily configured. === The liquid grid now uses the compass clearfix. === moved the primary mixin for a module (where one exists) to the top of the file for clarity of readers. === blueprint grid classes are now appropriately scoped under the .container class.
2008-12-06 21:41:37 +00:00
img#w3c
:margin-top 0
:padding-top 0
body#index
#page-header
+span(6)
#files-header
+span(8)
#description-header
+span(10)
#info
+box
ul
:margin-bottom 0
:padding-bottom 0
body#sample
+fancy-paragraphs
h2
+alt
#first-box
+column(7)
+colborder
#another-box
+column(8)
+colborder
#aligned-box
+column(7, true)
#main
+column(15)
+prepend(1)
+colborder
img#test
+pull(1)
:margin-top 0
:padding-top 0
em.caps
+reset-font
+caps
#nested-1
+column(7)
+colborder
#nested-2
+column(7, true)
#sidebar
+column(7, true)
h3
em
+reset-font
+alt
#parting-thought
+alt