pax_global_header 0000666 0000000 0000000 00000000064 12275217225 0014517 g ustar 00root root 0000000 0000000 52 comment=014e06454ec6111b24703f693f62e4c432e73274 compass-blueprint-014e06454ec6111b24703f693f62e4c432e73274/ 0000775 0000000 0000000 00000000000 12275217225 0021516 5 ustar 00root root 0000000 0000000 compass-blueprint-014e06454ec6111b24703f693f62e4c432e73274/.gitignore 0000664 0000000 0000000 00000000232 12275217225 0023503 0 ustar 00root root 0000000 0000000 *.gem *.rbc .bundle .config .yardoc Gemfile.lock InstalledFiles _yardoc coverage doc/ lib/bundler/man pkg rdoc spec/reports test/tmp test/version_tmp tmp compass-blueprint-014e06454ec6111b24703f693f62e4c432e73274/Gemfile 0000664 0000000 0000000 00000000146 12275217225 0023012 0 ustar 00root root 0000000 0000000 source 'https://rubygems.org' # Specify your gem's dependencies in compass-blueprint.gemspec gemspec compass-blueprint-014e06454ec6111b24703f693f62e4c432e73274/LICENSE 0000664 0000000 0000000 00000002053 12275217225 0022523 0 ustar 00root root 0000000 0000000 Copyright (c) 2012 Scott Davis MIT License Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. compass-blueprint-014e06454ec6111b24703f693f62e4c432e73274/README.md 0000664 0000000 0000000 00000001705 12275217225 0023000 0 ustar 00root root 0000000 0000000 # Compass::Blueprint [Compass-blueprint](http://compass-blueprint.org) is a *CSS Framework* extension for [Compass](https://github.com/chriseppstein/compass). ## Installation Add this line to your application's Gemfile: gem 'compass-blueprint' And then execute: $ bundle Or install it yourself as: $ gem install compass-blueprint ## Usage Create a new project $ compass create /path/to/project --using blueprint ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Added some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request ## Author Compass-blueprint was written by [Chris Eppstein](http://github.com/chriseppstein). Chris is the Software Architect of [Caring.com](http://caring.com) and a member of the [Sass](http://sass-lang.com) core team. ## Maintained by [Stephen Way](http://github.com/stephenway) compass-blueprint-014e06454ec6111b24703f693f62e4c432e73274/Rakefile 0000664 0000000 0000000 00000000060 12275217225 0023157 0 ustar 00root root 0000000 0000000 #!/usr/bin/env rake require "bundler/gem_tasks" compass-blueprint-014e06454ec6111b24703f693f62e4c432e73274/bower.json 0000664 0000000 0000000 00000000165 12275217225 0023531 0 ustar 00root root 0000000 0000000 { "name": "compass-blueprint", "version": "0.0.1", "main": "framework/blueprint/stylesheets/_blueprint.scss" } compass-blueprint-014e06454ec6111b24703f693f62e4c432e73274/compass-blueprint.gemspec 0000664 0000000 0000000 00000001330 12275217225 0026527 0 ustar 00root root 0000000 0000000 # -*- encoding: utf-8 -*- require File.expand_path('../lib/compass-blueprint/version', __FILE__) Gem::Specification.new do |gem| gem.authors = ["Scott Davis"] gem.email = ["jetviper21@gmail.com"] gem.description = %q{Compass extension for blueprint css framework} gem.summary = %q{Blueprint for compass} gem.homepage = "" gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } gem.files = `git ls-files`.split("\n") gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") gem.name = "compass-blueprint" gem.require_paths = ["lib"] gem.version = Compass::Blueprint::VERSION gem.add_dependency 'compass' end compass-blueprint-014e06454ec6111b24703f693f62e4c432e73274/framework/ 0000775 0000000 0000000 00000000000 12275217225 0023513 5 ustar 00root root 0000000 0000000 compass-blueprint-014e06454ec6111b24703f693f62e4c432e73274/framework/blueprint/ 0000775 0000000 0000000 00000000000 12275217225 0025517 5 ustar 00root root 0000000 0000000 compass-blueprint-014e06454ec6111b24703f693f62e4c432e73274/framework/blueprint/stylesheets/ 0000775 0000000 0000000 00000000000 12275217225 0030073 5 ustar 00root root 0000000 0000000 _blueprint.scss 0000664 0000000 0000000 00000001630 12275217225 0033054 0 ustar 00root root 0000000 0000000 compass-blueprint-014e06454ec6111b24703f693f62e4c432e73274/framework/blueprint/stylesheets @import "blueprint/colors"; @import "blueprint/grid"; @import "blueprint/typography"; @import "blueprint/utilities"; @import "blueprint/form"; @import "blueprint/interaction"; @import "blueprint/debug"; @import "blueprint/print"; @import "blueprint/ie"; // ### Usage examples: // // As a top-level mixin, apply to any page that includes the stylesheet: //
// +blueprint //// // Scoped by a presentational class: //
// body.blueprint // +blueprint(true) //// // Scoped by semantic selectors: //
// body#page-1, body#page-2, body.a-special-page-type // +blueprint(true) //@mixin blueprint($nested: false) { @include blueprint-typography($nested); @include blueprint-utilities; @include blueprint-grid; @include blueprint-debug; @include blueprint-interaction; @include blueprint-form; } 0000775 0000000 0000000 00000000000 12275217225 0032020 5 ustar 00root root 0000000 0000000 compass-blueprint-014e06454ec6111b24703f693f62e4c432e73274/framework/blueprint/stylesheets/blueprint _buttons.scss 0000664 0000000 0000000 00000006370 12275217225 0034560 0 ustar 00root root 0000000 0000000 compass-blueprint-014e06454ec6111b24703f693f62e4c432e73274/framework/blueprint/stylesheets/blueprint @import "compass/css3/inline-block"; @import "compass/utilities/general/float"; // Button Font $blueprint-button-font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif !default; // Default Button Colors $blueprint-button-border-color: #dedede !default; $blueprint-button-background-color: #f5f5f5 !default; $blueprint-button-font-color: #565656 !default; // Default Button Hover Colors $blueprint-button-hover-border-color: #c2e1ef !default; $blueprint-button-hover-background-color: #dff4ff !default; $blueprint-button-hover-font-color: #336699 !default; // Default Button Active Colors $blueprint-button-active-border-color: #6299c5 !default; $blueprint-button-active-background-color: #6299c5 !default; $blueprint-button-active-font-color: white !default; //** // Sets the colors for a button // @param border-highlight-color // The highlight color defaults to whatever is the value of the border-color but it's one shade lighter. @mixin button-colors( $font-color: $blueprint-button-font-color, $bg-color: $blueprint-button-background-color, $border-color: $blueprint-button-border-color, $border-highlight-color: $border-color + #101010 ) { background-color: $bg-color; border-color: $border-highlight-color $border-color $border-color $border-highlight-color; color: $font-color; } //** // Sets the colors for a button in the active state // @param border-highlight-color // The highlight color defaults to whatever is the value of the border-color but it's one shade lighter. @mixin button-active-colors( $font-color: $blueprint-button-active-font-color, $bg-color: $blueprint-button-active-background-color, $border-color: $blueprint-button-active-border-color, $border-highlight-color: $border-color + #101010 ) { &:active { @include button-colors($font-color, $bg-color, $border-color, $border-highlight-color); } } //** // Sets the colors for a button in the hover state. // @param border-highlight-color // The highlight color defaults to whatever is the value of the border-color but it's one shade lighter. @mixin button-hover-colors( $font-color: $blueprint-button-hover-font-color, $bg-color: $blueprint-button-hover-background-color, $border-color: $blueprint-button-hover-border-color, $border-highlight-color: $border-color + #101010 ) { &:hover { @include button-colors($font-color, $bg-color, $border-color, $border-highlight-color); } } @mixin button-base($float: false) { @if $float { @include float($float); display: block; } @else { @include inline-block; } margin: 0.7em 0.5em 0.7em 0; border-width: 1px; border-style: solid; font-family: $blueprint-button-font-family; font-size: 100%; line-height: 130%; font-weight: bold; text-decoration: none; cursor: pointer; img { margin: 0 3px -3px 0 !important; padding: 0; border: none; width: 16px; height: 16px; float: none; } } @mixin anchor-button($float: false) { @include button-base($float); padding: 5px 10px 5px 7px; } @mixin button-button($float: false) { @include button-base($float); width: auto; overflow: visible; padding: 4px 10px 3px 7px; &[type] { padding: 4px 10px 4px 7px; line-height: 17px; } *:first-child+html &[type] { padding: 4px 10px 3px 7px; } } _colors.scss 0000664 0000000 0000000 00000002674 12275217225 0034366 0 ustar 00root root 0000000 0000000 compass-blueprint-014e06454ec6111b24703f693f62e4c432e73274/framework/blueprint/stylesheets/blueprint $font-color: #333333 !default; $quiet-color: lighten($font-color, 20%) !default; $loud-color: darken($font-color, 13.33%) !default; $header-color: darken($font-color, 6.67%) !default; $alt-text-color: #666666 !default; $blueprint-background-color: #eeeeee !default; $blueprint-border-color: #ddd !default; $link-color: #06c !default; $link-hover-color: #09f !default; $link-focus-color: $link-hover-color !default; $link-active-color: lighten(adjust-hue($link-color, 75deg), 10%) !default; $link-visited-color: darken($link-color, 10%) !default; $feedback-border-color: #dddddd !default; $success-color: #264409 !default; $success-bg-color: #e6efc2 !default; $success-border-color: #c6d880 !default; $notice-color: #514721 !default; $notice-bg-color: #fff6bf !default; $notice-border-color: #ffd324 !default; $info-color: #205791 !default; $info-bg-color: #d5edf8 !default; $info-border-color: #92cae4 !default; $error-color: #8a1f11 !default; $error-bg-color: #fbe3e4 !default; $error-border-color: #fbc2c4 !default; $highlight-color: yellow !default; $added-color: white !default; $added-bg-color: #006600 !default; $removed-color: white !default; $removed-bg-color: #990000 !default; $blueprint-table-header-color: #c3d9ff !default; $blueprint-table-stripe-color: #e5ecf9 !default; _debug.scss 0000664 0000000 0000000 00000001475 12275217225 0034151 0 ustar 00root root 0000000 0000000 compass-blueprint-014e06454ec6111b24703f693f62e4c432e73274/framework/blueprint/stylesheets/blueprint @import "compass/layout/grid-background"; @import "grid", "typography"; // Shows a background that can be used to check grid alignment. // By default this is a pure css version that only works in browsers // that support gradients and multiple backgrounds, but you can pass // an image url if you prefer. @mixin showgrid($image: false) { @if $image { background: image-url($image); } @else { @include grid-background( $total : $blueprint-grid-columns, $column : $blueprint-grid-width, $gutter : $blueprint-grid-margin, $baseline : $blueprint-font-size * 1.5 ); } } @mixin blueprint-debug($grid-image: false) { // Use this class on any column or container to see the grid. // TODO: prefix this with the project path. .showgrid { @include showgrid($grid-image); } } _fancy-type.scss 0000664 0000000 0000000 00000005360 12275217225 0035137 0 ustar 00root root 0000000 0000000 compass-blueprint-014e06454ec6111b24703f693f62e4c432e73274/framework/blueprint/stylesheets/blueprint @charset "utf-8"; @import "typography"; $alternate-text-font : "Warnock Pro", "Goudy Old Style", "Palatino", "Book Antiqua", Georgia, serif !default; // To install the fancy type plugin: // // 1. Import the fancy-type module: `@import "blueprint/fancy-type"` // 2. Mix in `fancy-type` to your project's body or at the top level of your stylesheet:
//// Sass: //One//Two//
// #one // +column(18, true) // +prepend(6) // #two // +column(6) // +pull(18, true) //@mixin pull($n, $last: false) { @include pull-base; @include pull-margins($n, $last); } @mixin push-base { @include float-left; position: relative; } @mixin push-margins($n) { margin: 0 (-$blueprint-grid-outer-width * $n) 1.5em $blueprint-grid-outer-width * $n; } // mixin to a column to push it n columns to the right @mixin push($n) { @include push-base; @include push-margins($n); } // Border on right hand side of a column. @mixin border($border-color: $blueprint-border-color, $border-width: 1px) { padding-right: $blueprint-grid-margin / 2 - $border-width; margin-right: $blueprint-grid-margin / 2; border-right: #{$border-width} solid #{$border-color}; } // Border with more whitespace, spans one column. @mixin colborder($border-color: $blueprint-border-color, $border-width: 1px) { padding-right: floor(($blueprint-grid-width + 2 * $blueprint-grid-margin - $border-width) / 2); margin-right: ceil(($blueprint-grid-width + 2 * $blueprint-grid-margin - $border-width) / 2); border-right: #{$border-width} solid #{$border-color}; } // Mixin this to an hr to make a horizontal ruler across a column. @mixin colruler($border-color: #dddddd) { background: $border-color; color: $border-color; clear: both; float: none; width: 100%; height: 0.1em; margin: 0 0 1.45em; border: none; } // Mixin this to an hr to make a horizontal spacer across a column. @mixin colspacer { @include colruler; background: white; color: white; visibility: hidden; } _ie.scss 0000664 0000000 0000000 00000005372 12275217225 0033460 0 ustar 00root root 0000000 0000000 compass-blueprint-014e06454ec6111b24703f693f62e4c432e73274/framework/blueprint/stylesheets/blueprint // @doc off // The blueprint IE mixins should be mixed into a stylesheet that gets conditionally included // into IE like so: // // @doc on //| Usage Examples //| -------------- //| //| As a top-level mixin, apply to any page that includes the stylesheet: //|
//| +blueprint-ie //|//| Scoped by a presentational class: //|
//| body.blueprint //| +blueprint-ie(true) //|//| Scoped by semantic selectors: //|
//| body#page-1, body#page-2, body.a-special-page-type //| +blueprint-ie(true) //|//| **Deprecated:** You can pass the body selector as the first argument when used as a top-level mixin //|
//| +blueprint-ie("body#page-1, body#page-2, body.a-special-page-type") //|@mixin blueprint-ie($nested: false) { @if $nested { @include blueprint-ie-body; @include blueprint-ie-defaults; } @else { body { @include blueprint-ie-body; } @include blueprint-ie-defaults; } } @mixin blueprint-ie-body { text-align: center; @include blueprint-ie-hacks; } @mixin blueprint-ie-hacks { * html & { legend { margin: 0px -8px 16px 0; padding: 0; } } html>& { p code { *white-space: normal; } } } // Fixes for Blueprint "inline" forms in IE @mixin blueprint-inline-form-ie { div, p { vertical-align: middle; } input { &.checkbox, &.radio, &.button, button { margin: 0.5em 0; } } } @mixin blueprint-ie-defaults { .container { text-align: left; } sup { vertical-align: text-top; } sub { vertical-align: text-bottom; } hr { margin: -8px auto 11px; } img { -ms-interpolation-mode: bicubic; } fieldset { padding-top: 0; } legend { margin-top: -0.2em; margin-bottom: 1em; margin-left: -0.5em; } fieldset, #IE8#HACK {padding-top:1.4em;} legend, #IE8#HACK {margin-top:0;margin-bottom:0;} textarea { overflow: auto; } label { position: relative; top: -0.25em; } input { &.text { margin: 0.5em 0; background-color: white; border: 1px solid #bbbbbb; &:focus { border: 1px solid #666666; } } &.title { margin: 0.5em 0; background-color: white; border: 1px solid #bbbbbb; &:focus { border: 1px solid #666666; } } &.checkbox { position: relative; top: 0.25em; } &.radio { position: relative; top: 0.25em; } &.button { position: relative; top: 0.25em; } } textarea { margin: 0.5em 0; } select { margin: 0.5em 0; } button { position: relative; top: 0.25em; } } _interaction.scss 0000664 0000000 0000000 00000003736 12275217225 0035404 0 ustar 00root root 0000000 0000000 compass-blueprint-014e06454ec6111b24703f693f62e4c432e73274/framework/blueprint/stylesheets/blueprint @import "colors"; @mixin blueprint-interaction { .feedback { @include feedback-base; } .error { @include error(feedback); } .alert { @extend .error; } .notice { @include notice(feedback); } .success { @include success(feedback); } .info { @include info(feedback); } .hide { display: none; } .highlight { @include highlight; } .added { @include added; } .removed { @include removed; } } @mixin feedback-base { padding: 0.8em; margin-bottom: 1em; border: 2px solid $feedback-border-color; } @mixin error($feedback-base-class: false) { @if $feedback-base-class { @extend .#{$feedback-base-class}; } @else { @include feedback-base; } background: $error-bg-color; color: $error-color; border-color: $error-border-color; a { color: $error-color; } } @mixin notice($feedback-base-class: false) { @if $feedback-base-class { @extend .#{$feedback-base-class}; } @else { @include feedback-base; } background: $notice-bg-color; color: $notice-color; border-color: $notice-border-color; a { color: $notice-color; } } @mixin success($feedback-base-class: false) { @if $feedback-base-class { @extend .#{$feedback-base-class}; } @else { @include feedback-base; } background: $success-bg-color; color: $success-color; border-color: $success-border-color; a { color: $success-color; } } @mixin info($feedback-base-class: false) { @if $feedback-base-class { @extend .#{$feedback-base-class}; } @else { @include feedback-base; } background: $info-bg-color; color: $info-color; border-color: $info-border-color; a { color: $info-color; } } @mixin highlight { background: $highlight-color; } @mixin added { background: $added-bg-color; color: $added-color; } @mixin removed { background: $removed-bg-color; color: $removed-color; } _link-icons.scss 0000664 0000000 0000000 00000002366 12275217225 0035131 0 ustar 00root root 0000000 0000000 compass-blueprint-014e06454ec6111b24703f693f62e4c432e73274/framework/blueprint/stylesheets/blueprint @mixin no-link-icon { background: transparent none !important; padding: 0 !important; margin: 0 !important; } @mixin link-icon-base { padding: 2px 22px 2px 0; margin: -2px 0; background-repeat: no-repeat; background-position: right center; } @mixin link-icon($name, $include-base: true) { @if $include-base { @include link-icon-base; } background-image: image-url("link_icons/#{$name}"); } @mixin link-icons { a[href^="http:"], a[href^="mailto:"], a[href^="http:"]:visited, a[href$=".pdf"], a[href$=".doc"], a[href$=".xls"], a[href$=".rss"], a[href$=".rdf"], a[href^="aim:"] { @include link-icon-base; } a[href^="http:"] { @include link-icon("external.png", false); } a[href^="mailto:"] { @include link-icon("email.png", false); } a[href^="http:"]:visited { @include link-icon("visited.png", false); } a[href$=".pdf"] { @include link-icon("pdf.png", false); } a[href$=".doc"] { @include link-icon("doc.png", false); } a[href$=".xls"] { @include link-icon("xls.png", false); } a[href$=".rss"], a[href$=".rdf"] { @include link-icon("feed.png", false); } a[href^="aim:"] { @include link-icon("im.png", false); } } _liquid.scss 0000664 0000000 0000000 00000011414 12275217225 0034344 0 ustar 00root root 0000000 0000000 compass-blueprint-014e06454ec6111b24703f693f62e4c432e73274/framework/blueprint/stylesheets/blueprint // -------------------------------------------------------------- // SASS Gridification // * Author: Geoff Garside // A SASS adaptation of Blueprint CSS // * Version: 0.7.1 (2008-02-25) // * Website: http://code.google.com/p/blueprintcss/ // Based on work by: // * Chris Eppstein [eppsteins.net] // * Lorin Tacket [lorintackett.com] // * Olav Bjorkoy [bjorkoy.com] // * Nathan Borror [playgroundblues.com] // * Jeff Croft [jeffcroft.com] // * Christian Metts [mintchaos.com] // * Khoi Vinh [subtraction.com] // Liquid grid work by: // * Ben Listwon // * David Bedingfield // * Andrei Michael Herasimchuk // Involution Studios, http://www.involutionstudios.com // Read more about using a grid here: // * subtraction.com/archives/2007/0318-oh-yeeaahh.php // ----- // By default, the grid is 80% of window width, with 24 columns. // // To make the grid fixed, simply change the .container width // property to a pixel value. e.g., 960px. // ----- // To use: // This module is a REPLACEMENT for the grid module. Simply import it: // @import blueprint // @import blueprint/liquid // ------------------------------------------------------------------- @import "compass/utilities/general/clearfix"; @import "compass/utilities/general/float"; // Main layout grid, override these constants to build your grid and container sizes. // The width shown gives the right floored percentage values. $blueprint-liquid-grid-columns: 24 !default; $blueprint-liquid-grid-width: 3.167% !default; $blueprint-liquid-grid-margin: 1.042% !default; // Do not edit below this line unless you really know what you're doing. $blueprint-liquid-container-width: 80% !default; $blueprint-liquid-container-min-width: 950px !default; $blueprint-liquid-grid-push-pull: -($blueprint-liquid-grid-margin + $blueprint-liquid-grid-width) !default; @mixin blueprint-liquid-grid { // A container should group all your columns .container { @include container; } // Use these classes (or mixins) to set the width of a column. @for $n from 1 to $blueprint-liquid-grid-columns + 1 { .span-#{$n} { width: span-fluid($n); } div { &.span-#{$n} { @include column($n, $n == $blueprint-liquid-grid-columns); } } } // The last column in a row needs this class (or mixin) or it will end up on the next row. div.last { @include last; } // Add these to a column to append empty cols. @for $n from 1 to $blueprint-liquid-grid-columns { .append-#{$n} { @include append($n); } } // Add these to a column to prepend empty cols. @for $n from 1 to $blueprint-liquid-grid-columns { .prepend-#{$n} { @include prepend($n); } } // Use these classes on an element to push it into the // next column, or to pull it into the previous column. @for $n from 1 to $blueprint-liquid-grid-columns + 1 { .pull-#{$n} { @include pull($n); } } @for $n from 1 to $blueprint-liquid-grid-columns + 1 { .push-#{$n} { @include push($n); } } } @mixin container { min-width: $blueprint-liquid-container-min-width; width: $blueprint-liquid-container-width; margin: 0 auto; @include clearfix; } // Return the width of `$n` columns in percents. @function span-fluid($n) { @return $blueprint-liquid-grid-width * $n + $blueprint-liquid-grid-margin * ($n - 1); } @mixin span($n, $important: false) { @warn "The span mixin is deprecated. Please use the span-fluid function instead. E.g. width: span-fluid(#{$n})"; $width: span-fluid($n); @if $important { width: $width !important; } @else { width: $width; } } @mixin last { margin-right: 0; } @mixin column($n, $last: false) { @include float-left; overflow: hidden; width: span-fluid($n); @if $last { @include last; } @else { margin-right: $blueprint-liquid-grid-margin; } } @mixin append($n) { padding-right: ($blueprint-liquid-grid-width + $blueprint-liquid-grid-margin) * $n; } @mixin prepend($n) { padding-left: ($blueprint-liquid-grid-width + $blueprint-liquid-grid-margin) * $n; } @mixin pull($n, $last: false) { margin-left: $blueprint-liquid-grid-push-pull * $n; } @mixin push($n) { @include float-right; margin: { top: 0; left: $blueprint-liquid-grid-margin; right: $blueprint-liquid-grid-push-pull * $n; bottom: 0; }; } @mixin border { border-right: 1px solid #eeeeee; } @mixin colborder { padding-right: $blueprint-liquid-grid-margin * 2; margin-right: $blueprint-liquid-grid-margin * 2; @include border; } @mixin colruler { background: #dddddd; color: #dddddd; clear: both; width: 100%; height: 0.083em; margin: 0; margin-left: $blueprint-liquid-grid-margin * 2; margin-right: $blueprint-liquid-grid-margin * 2; border: none; } @mixin colspacer { @include colruler; background: white; color: white; } _print.scss 0000664 0000000 0000000 00000003725 12275217225 0034217 0 ustar 00root root 0000000 0000000 compass-blueprint-014e06454ec6111b24703f693f62e4c432e73274/framework/blueprint/stylesheets/blueprint @import "typography"; @import "compass/utilities/general/float"; // Usage examples: // As a top-level mixin, apply to any page that includes the stylesheet: //
// +blueprint-print //// Scoped by a presentational class: //
// body.blueprint // +blueprint-print(true) //// Scoped by semantic selectors: //
// body#page-1, body#page-2, body.a-special-page-type // +blueprint-print(true) //@mixin blueprint-print($nested: false) { @if $nested { @include blueprint-print-body; @include blueprint-print-defaults; } @else { body { @include blueprint-print-body; } @include blueprint-print-defaults; } } // This style is in blueprint, but it can be annoying and // it doesn't work in all browsers. // Feel free to mix it into anchors where you want it. @mixin blueprint-show-link-urls { &:after { content: " (" attr(href) ")"; font-size: 90%; } } @mixin blueprint-print-body { line-height: 1.5; font-family: $blueprint-font-family; color: black; background: none; font-size: 10pt; } @mixin blueprint-print-defaults { .container { background: none; } hr { background: #cccccc; color: #cccccc; width: 100%; height: 2px; margin: 2em 0; padding: 0; border: none; &.space { background: white; color: white; } } h1, h2, h3, h4, h5, h6 { font-family: $blueprint-font-family; } code { font: { size: 0.9em; family: $blueprint-fixed-font-family; }; } a { img { border: none; } &:link, &:visited { background: transparent; font-weight: 700; text-decoration: underline; } } p img.top { margin-top: 0; } blockquote { margin: 1.5em; padding: 1em; font-style: italic; font-size: 0.9em; } .small { font-size: 0.9em; } .large { font-size: 1.1em; } .quiet { color: #999999; } .hide { display: none; } } _reset.scss 0000664 0000000 0000000 00000000074 12275217225 0034177 0 ustar 00root root 0000000 0000000 compass-blueprint-014e06454ec6111b24703f693f62e4c432e73274/framework/blueprint/stylesheets/blueprint @import "reset/utilities"; @include blueprint-global-reset; _rtl.scss 0000664 0000000 0000000 00000006574 12275217225 0033671 0 ustar 00root root 0000000 0000000 compass-blueprint-014e06454ec6111b24703f693f62e4c432e73274/framework/blueprint/stylesheets/blueprint @import "grid"; @import "compass/utilities/general/float"; // Main layout grid, override these constants to build your grid and container sizes. $blueprint-grid-columns: 24 !default; $blueprint-grid-width: 30px !default; $blueprint-grid-margin: 10px !default; $blueprint-grid-outer-width: $blueprint-grid-width + $blueprint-grid-margin; $blueprint-container-size: $blueprint-grid-outer-width * $blueprint-grid-columns - $blueprint-grid-margin; // Columns // Note: If you use this mixin without the class and want to support ie6 // you must set text-align left on your container element in an IE stylesheet. @mixin container { width: $blueprint-container-size; margin: 0 auto; direction: rtl; @include clearfix; } // The last column in a row needs this mixin or it will end up on the next row. // TODO add this to span mixin when we have optional arguments @mixin last { margin-left: 0; } @mixin column-base($last: false) { @include float-right; @if $last { @include last; } @else { margin-left: $blueprint-grid-margin; } text-align: right; * html & { overflow-x: hidden; } } // Mixin to a column to append n empty cols. @mixin append($n) { padding-left: $blueprint-grid-outer-width * $n; } // Mixin to a column to prepend n empty cols. @mixin prepend($n) { padding-right: $blueprint-grid-outer-width * $n; } // mixin to a column to move it n columns to the left @mixin pull($n, $last: false) { position: relative; @if $last { margin-right: -$blueprint-grid-outer-width * $n + $blueprint-grid-margin; } @else { margin-right: -$blueprint-grid-outer-width * $n; } } // mixin to a column to push it n columns to the right @mixin push($n) { @include float-right; position: relative; margin: { top: 0; left: -$blueprint-grid-outer-width * $n; bottom: 1.5em; right: $blueprint-grid-outer-width * $n; }; } // Border on left hand side of a column. @mixin border { padding-left: $blueprint-grid-margin / 2 - 1; margin-left: $blueprint-grid-margin / 2; border-left: 1px solid #eeeeee; } // Border with more whitespace, spans one column. @mixin colborder { padding-left: ($blueprint-grid-width - 2 * $blueprint-grid-margin - 1) / 2; margin-left: ($blueprint-grid-width - 2 * $blueprint-grid-margin) / 2; border-left: 1px solid #eeeeee; } // Usage examples: // As a top-level mixin, apply to any page that includes the stylesheet: //
// +rtl-typography //// // Scoped by a presentational class: //
// body.blueprint // +rtl-typography(true) //// // Scoped by semantic selectors: //
// body#page-1, body#page-2, body.a-special-page-type // +rtl-typography(true) //@mixin rtl-typography($nested: false) { @if $nested { html & { font-family: Arial, sans-serif; } @include rtl-typography-defaults; } @else { html body { font-family: Arial, sans-serif; } body { @include rtl-typography-defaults; } } } @mixin rtl-typography-defaults { h1, h2, h3, h4, h5, h6 { font-family: Arial, sans-serif; } pre, code, tt { font-family: monospace; } .right { @include float-left; margin: 1.5em 1.5em 1.5em 0; padding: 0; } .left { @include float-right; margin: 1.5em 0 1.5em 1.5em; padding: 0; } dd, ul, ol { margin-left: 0; margin-right: 1.5em; } td, th { text-align: right; } } _scaffolding.scss 0000664 0000000 0000000 00000003554 12275217225 0035342 0 ustar 00root root 0000000 0000000 compass-blueprint-014e06454ec6111b24703f693f62e4c432e73274/framework/blueprint/stylesheets/blueprint @import "grid"; @import "form"; // The styles contained here are meant to provide for an attractive experience out of the box // and are expected to be removed once custom visual design begins. // The +blueprint-scaffolding mixin must be mixed into the top level of your stylesheet. // However, you can customize the body selector if you wish to control the scope // of this mixin. Examples: // Apply to any page including the stylesheet: // +blueprint-scaffolding // Scoped by a single presentational body class: // +blueprint-scaffolding("body.blueprint") // Semantically: // +blueprint-scaffolding("body#page-1, body#page-2, body.a-special-page-type") // Alternatively, you can use the +blueprint-scaffolding-body and +blueprint-scaffolding-defaults // mixins to construct your own semantic style rules. // @deprecated It is no longer necessary to pass any argument. @mixin blueprint-scaffolding($nested: deprecated) { @if $nested != deprecated { @warn "It is no longer necessary to pass any argument to the blueprint-scaffolding mixin." } @include blueprint-scaffolding-defaults; } // The styles this mixin provides were deprecated in Blueprint 0.9 and is no // longer part of the main scaffolding, but the mixin is still available if // you want to use it. @mixin blueprint-scaffolding-body { margin: 1.5em 0; } // Mixin +box to create a padded box inside a column. @mixin box { padding: 1.5em; margin-bottom: 1.5em; background: #e5ecf9; } @mixin blueprint-scaffolding-defaults { .box { @include box; } // Border on right hand side of a column. You can comment this out if you don't plan to use it. .border { @include border; } // Border with more whitespace, spans one column. .colborder { @include colborder; } hr { @include colruler; } hr.space { @include colspacer; } form.inline { @include blueprint-inline-form; } } _typography.scss 0000664 0000000 0000000 00000007401 12275217225 0035264 0 ustar 00root root 0000000 0000000 compass-blueprint-014e06454ec6111b24703f693f62e4c432e73274/framework/blueprint/stylesheets/blueprint @import "colors"; @import "compass/typography/links/link-colors"; @import "compass/utilities/general/float"; $blueprint-font-family: "Helvetica Neue", Arial, Helvetica, sans-serif !default; $blueprint-fixed-font-family: "andale mono", "lucida console", monospace !default; $blueprint-font-size: 12px !default; // Usage examples: // As a top-level mixin, apply to any page that includes the stylesheet: //
// +blueprint-typography //// // Scoped by a presentational class: //
// body.blueprint // +blueprint-typography(true) //// // Scoped by semantic selectors: //
// body#page-1, body#page-2, body.a-special-page-type // +blueprint-typography(true) //@mixin blueprint-typography($nested: false) { @if $nested { @include blueprint-typography-body; @include blueprint-typography-defaults; } @else { body { @include blueprint-typography-body; } @include blueprint-typography-defaults; } } @mixin normal-text { font-family: $blueprint-font-family; color: $font-color; } @mixin fixed-width-text { font: 1em $blueprint-fixed-font-family; line-height: 1.5; } @mixin header-text { font-weight: normal; color: $header-color; } @mixin quiet { color: $quiet-color; } @mixin loud { color: $loud-color; } @mixin blueprint-typography-body($font-size: $blueprint-font-size) { line-height: 1.5; @include normal-text; font-size: 100% * $font-size / 16px; } @mixin blueprint-typography-defaults { #{headers(all)} { @include header-text; img { margin: 0; } } h1 { font-size: 3em; line-height: 1; margin-bottom: 0.50em; } h2 { font-size: 2em; margin-bottom: 0.75em; } h3 { font-size: 1.5em; line-height: 1; margin-bottom: 1.00em; } h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; } h5 { font-size: 1em; font-weight: bold; margin-bottom: 1.50em; } h6 { font-size: 1em; font-weight: bold; } p { margin: 0 0 1.5em; .left { @include float-left; margin: 1.5em 1.5em 1.5em 0; padding: 0; } .right { @include float-right; margin: 1.5em 0 1.5em 1.5em; padding: 0; } } a { text-decoration: underline; @include link-colors($link-color, $link-hover-color, $link-active-color, $link-visited-color, $link-focus-color); } blockquote { margin: 1.5em; color: $alt-text-color; font-style: italic; } strong, dfn { font-weight: bold; } em, dfn { font-style: italic; } sup, sub { line-height: 0; } abbr, acronym { border-bottom: 1px dotted #666666; } address { margin: 0 0 1.5em; font-style: italic; } del { color: $alt-text-color; } pre { margin: 1.5em 0; white-space: pre; } pre, code, tt { @include fixed-width-text; } li ul, li ol { margin: 0; } ul, ol { margin: 0 1.5em 1.5em 0; padding-left: 1.5em; } ul { list-style-type: disc; } ol { list-style-type: decimal; } dl { margin: 0 0 1.5em 0; dt { font-weight: bold; } } dd { margin-left: 1.5em; } table { margin-bottom: 1.4em; width: 100%; } th { font-weight: bold; } thead th { background: $blueprint-table-header-color; } th, td, caption { padding: 4px 10px 4px 5px; } table.striped tr:nth-child(even) td, table tr.even td { background: $blueprint-table-stripe-color; } tfoot { font-style: italic; } caption { background: $blueprint-background-color; } .quiet { @include quiet; } .loud { @include loud; } } _utilities.scss 0000664 0000000 0000000 00000001742 12275217225 0035073 0 ustar 00root root 0000000 0000000 compass-blueprint-014e06454ec6111b24703f693f62e4c432e73274/framework/blueprint/stylesheets/blueprint @import "compass/typography/text/nowrap"; @import "compass/utilities/general/clearfix"; // Most of these utility classes are not "semantic". If you use them, // you are mixing your content and presentation. For shame! @mixin blueprint-utilities { // Regular clearing apply to column that should drop below previous ones. .clear { clear: both; } // turn off text wrapping for the element. .nowrap { @include nowrap; } // Apply to an element that has floated children to make the bottom // of the element fall _below_ the floated children. .clearfix { @include clearfix; } .small { font-size: 0.8em; margin-bottom: 1.875em; line-height: 1.875em; } .large { font-size: 1.2em; line-height: 2.5em; margin-bottom: 1.25em; } .first { margin-left: 0; padding-left: 0; } .last { margin-right: 0; padding-right: 0; } .top { margin-top: 0; padding-top: 0; } .bottom { margin-bottom: 0; padding-bottom: 0; } } 0000775 0000000 0000000 00000000000 12275217225 0033142 5 ustar 00root root 0000000 0000000 compass-blueprint-014e06454ec6111b24703f693f62e4c432e73274/framework/blueprint/stylesheets/blueprint/reset _utilities.scss 0000664 0000000 0000000 00000004714 12275217225 0036217 0 ustar 00root root 0000000 0000000 compass-blueprint-014e06454ec6111b24703f693f62e4c432e73274/framework/blueprint/stylesheets/blueprint/reset // Global reset rules. // For more specific resets, use the reset mixins provided below @mixin blueprint-global-reset { html { @extend %bp-reset-box-model; } body { @extend %bp-reset-element; } @include blueprint-nested-reset; } // Reset all elements within some selector scope.To reset the selector itself, // mixin the appropriate reset mixin for that element type as well. This could be // useful if you want to style a part of your page in a dramatically different way. @mixin blueprint-nested-reset { div, span, object, iframe, p, pre, a, abbr, acronym, address, code, del, dfn, em, img, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, caption, tbody, tfoot, thead, tr { @extend %bp-reset-element; } #{headers(all)} { @extend %bp-reset-element; } #{elements-of-type(html5-block)} { @extend %bp-reset-html5-element; } blockquote, q { @extend %bp-reset-quotation; } th, td, caption { @extend %bp-reset-table-cell; } table { @extend %bp-reset-table; } a img { @extend %bp-reset-linked-image; } } @mixin blueprint-reset-html5-element { @extend %bp-reset-element; display: block; } @mixin blueprint-reset-box-model { margin: 0; padding: 0; border: 0; } @mixin blueprint-basic-reset { @include blueprint-reset-box-model; @include blueprint-reset-typography; } @mixin blueprint-reset-typography { font: { weight: inherit; style: inherit; size: 100%; family: inherit; } vertical-align: baseline; } @mixin blueprint-reset-quotation { @extend %bp-reset-element; quotes: "" ""; &:before, &:after { content: ""; } } @mixin blueprint-reset-table-cell { @extend %bp-reset-element; float: none !important; text-align: left; font-weight: normal; vertical-align: middle; } @mixin blueprint-reset-table { @extend %bp-reset-element; border-collapse: separate; border-spacing: 0; vertical-align: middle; } %bp-reset-box-model { @include blueprint-reset-box-model; } %bp-reset-element { @include blueprint-basic-reset; } %bp-reset-html5-element { @include blueprint-reset-html5-element; } %bp-reset-quotation { @include blueprint-reset-quotation; } %bp-reset-table-cell { @include blueprint-reset-table-cell; } %bp-reset-table { @include blueprint-reset-table; } %bp-reset-linked-image { border: none; } compass-blueprint-014e06454ec6111b24703f693f62e4c432e73274/framework/blueprint/templates/ 0000775 0000000 0000000 00000000000 12275217225 0027515 5 ustar 00root root 0000000 0000000 compass-blueprint-014e06454ec6111b24703f693f62e4c432e73274/framework/blueprint/templates/basic/ 0000775 0000000 0000000 00000000000 12275217225 0030576 5 ustar 00root root 0000000 0000000 grid.png 0000664 0000000 0000000 00000000316 12275217225 0032152 0 ustar 00root root 0000000 0000000 compass-blueprint-014e06454ec6111b24703f693f62e4c432e73274/framework/blueprint/templates/basic PNG IHDR ( ) sBIT|d pHYs B4 tEXtSoftware Adobe Fireworks CS3F HIDATHc| ,Dc;(:R0@J):R0@Jw wbWĩ N> IENDB` ie.sass 0000664 0000000 0000000 00000000127 12275217225 0032007 0 ustar 00root root 0000000 0000000 compass-blueprint-014e06454ec6111b24703f693f62e4c432e73274/framework/blueprint/templates/basic @import blueprint // Generate the blueprint IE-specific customizations: +blueprint-ie manifest.rb 0000664 0000000 0000000 00000001625 12275217225 0032656 0 ustar 00root root 0000000 0000000 compass-blueprint-014e06454ec6111b24703f693f62e4c432e73274/framework/blueprint/templates/basic description "A basic blueprint install that mimics the actual blueprint css." stylesheet 'screen.sass', :media => 'screen, projection' stylesheet 'partials/_base.sass' stylesheet 'print.sass', :media => 'print' stylesheet 'ie.sass', :media => 'screen, projection', :condition => "lt IE 8" image 'grid.png' help %Q{ Please see the blueprint website for documentation on how blueprint works: http://blueprintcss.org/ Docs on the compass port of blueprint can be found on the wiki: http://wiki.github.com/chriseppstein/compass/blueprint-documentation } welcome_message %Q{ Please see the blueprint website for documentation on how blueprint works: http://blueprintcss.org/ Docs on the compass port of blueprint can be found on the wiki: http://wiki.github.com/chriseppstein/compass/blueprint-documentation To get started, edit the screen.sass file and read the comments and code there. } 0000775 0000000 0000000 00000000000 12275217225 0032336 5 ustar 00root root 0000000 0000000 compass-blueprint-014e06454ec6111b24703f693f62e4c432e73274/framework/blueprint/templates/basic/partials _base.sass 0000664 0000000 0000000 00000000636 12275217225 0034307 0 ustar 00root root 0000000 0000000 compass-blueprint-014e06454ec6111b24703f693f62e4c432e73274/framework/blueprint/templates/basic/partials // 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 // If you change your grid column dimensions // you can make a new grid background image from the command line like this: // compass grid-img 30+10x16 print.sass 0000664 0000000 0000000 00000000114 12275217225 0032542 0 ustar 00root root 0000000 0000000 compass-blueprint-014e06454ec6111b24703f693f62e4c432e73274/framework/blueprint/templates/basic @import blueprint // Generate the blueprint print styles: +blueprint-print screen.sass 0000664 0000000 0000000 00000000722 12275217225 0032672 0 ustar 00root root 0000000 0000000 compass-blueprint-014e06454ec6111b24703f693f62e4c432e73274/framework/blueprint/templates/basic // This import applies a global reset to any page that imports this stylesheet. @import blueprint/reset // To configure blueprint, edit the partials/_base.sass file. @import partials/base // Import all the default blueprint modules so that we can access their mixins. @import blueprint // Import the non-default scaffolding module. @import blueprint/scaffolding // Generate the blueprint framework according to your configuration: +blueprint +blueprint-scaffolding compass-blueprint-014e06454ec6111b24703f693f62e4c432e73274/framework/blueprint/templates/buttons/ 0000775 0000000 0000000 00000000000 12275217225 0031213 5 ustar 00root root 0000000 0000000 buttons.sass 0000664 0000000 0000000 00000003164 12275217225 0033531 0 ustar 00root root 0000000 0000000 compass-blueprint-014e06454ec6111b24703f693f62e4c432e73274/framework/blueprint/templates/buttons @import compass/utilities/general/float @import blueprint/buttons // Use the following HTML code to place the buttons on your site: