compass-blueprint 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE +22 -0
- data/README.md +29 -0
- data/Rakefile +2 -0
- data/compass-blueprint.gemspec +18 -0
- data/framework/blueprint/stylesheets/_blueprint.scss +37 -0
- data/framework/blueprint/stylesheets/blueprint/_buttons.scss +101 -0
- data/framework/blueprint/stylesheets/blueprint/_colors.scss +36 -0
- data/framework/blueprint/stylesheets/blueprint/_debug.scss +28 -0
- data/framework/blueprint/stylesheets/blueprint/_fancy-type.scss +88 -0
- data/framework/blueprint/stylesheets/blueprint/_form.scss +66 -0
- data/framework/blueprint/stylesheets/blueprint/_grid.scss +258 -0
- data/framework/blueprint/stylesheets/blueprint/_ie.scss +111 -0
- data/framework/blueprint/stylesheets/blueprint/_interaction.scss +66 -0
- data/framework/blueprint/stylesheets/blueprint/_link-icons.scss +37 -0
- data/framework/blueprint/stylesheets/blueprint/_liquid.scss +152 -0
- data/framework/blueprint/stylesheets/blueprint/_print.scss +86 -0
- data/framework/blueprint/stylesheets/blueprint/_reset.scss +3 -0
- data/framework/blueprint/stylesheets/blueprint/_rtl.scss +121 -0
- data/framework/blueprint/stylesheets/blueprint/_scaffolding.scss +52 -0
- data/framework/blueprint/stylesheets/blueprint/_typography.scss +90 -0
- data/framework/blueprint/stylesheets/blueprint/_utilities.scss +37 -0
- data/framework/blueprint/stylesheets/blueprint/reset/_utilities.scss +80 -0
- data/framework/blueprint/templates/basic/grid.png +0 -0
- data/framework/blueprint/templates/basic/ie.sass +4 -0
- data/framework/blueprint/templates/basic/manifest.rb +30 -0
- data/framework/blueprint/templates/basic/partials/_base.sass +10 -0
- data/framework/blueprint/templates/basic/print.sass +4 -0
- data/framework/blueprint/templates/basic/screen.sass +12 -0
- data/framework/blueprint/templates/buttons/buttons.sass +49 -0
- data/framework/blueprint/templates/buttons/buttons/cross.png +0 -0
- data/framework/blueprint/templates/buttons/buttons/key.png +0 -0
- data/framework/blueprint/templates/buttons/buttons/tick.png +0 -0
- data/framework/blueprint/templates/buttons/manifest.rb +17 -0
- data/framework/blueprint/templates/link_icons/link_icons.sass +13 -0
- data/framework/blueprint/templates/link_icons/link_icons/doc.png +0 -0
- data/framework/blueprint/templates/link_icons/link_icons/email.png +0 -0
- data/framework/blueprint/templates/link_icons/link_icons/external.png +0 -0
- data/framework/blueprint/templates/link_icons/link_icons/feed.png +0 -0
- data/framework/blueprint/templates/link_icons/link_icons/im.png +0 -0
- data/framework/blueprint/templates/link_icons/link_icons/pdf.png +0 -0
- data/framework/blueprint/templates/link_icons/link_icons/visited.png +0 -0
- data/framework/blueprint/templates/link_icons/link_icons/xls.png +0 -0
- data/framework/blueprint/templates/link_icons/manifest.rb +23 -0
- data/framework/blueprint/templates/project/grid.png +0 -0
- data/framework/blueprint/templates/project/ie.sass +16 -0
- data/framework/blueprint/templates/project/manifest.rb +30 -0
- data/framework/blueprint/templates/project/partials/_base.sass +11 -0
- data/framework/blueprint/templates/project/print.sass +8 -0
- data/framework/blueprint/templates/project/screen.sass +46 -0
- data/framework/blueprint/templates/semantic/grid.png +0 -0
- data/framework/blueprint/templates/semantic/ie.sass +16 -0
- data/framework/blueprint/templates/semantic/manifest.rb +33 -0
- data/framework/blueprint/templates/semantic/partials/_base.sass +10 -0
- data/framework/blueprint/templates/semantic/partials/_form.sass +6 -0
- data/framework/blueprint/templates/semantic/partials/_page.sass +17 -0
- data/framework/blueprint/templates/semantic/partials/_two_col.sass +38 -0
- data/framework/blueprint/templates/semantic/print.sass +5 -0
- data/framework/blueprint/templates/semantic/screen.sass +14 -0
- data/lib/compass-blueprint.rb +4 -0
- data/lib/compass-blueprint/version.rb +5 -0
- metadata +119 -0
@@ -0,0 +1,33 @@
|
|
1
|
+
description "The blueprint framework for use with semantic markup."
|
2
|
+
|
3
|
+
stylesheet 'screen.sass', :media => 'screen, projection'
|
4
|
+
stylesheet 'partials/_base.sass'
|
5
|
+
stylesheet 'partials/_form.sass'
|
6
|
+
stylesheet 'partials/_page.sass'
|
7
|
+
stylesheet 'partials/_two_col.sass'
|
8
|
+
stylesheet 'print.sass', :media => 'print'
|
9
|
+
stylesheet 'ie.sass', :media => 'screen, projection', :condition => "lt IE 8"
|
10
|
+
|
11
|
+
image 'grid.png'
|
12
|
+
|
13
|
+
help %Q{
|
14
|
+
Please see the blueprint website for documentation on how blueprint works:
|
15
|
+
|
16
|
+
http://blueprintcss.org/
|
17
|
+
|
18
|
+
Docs on the compass port of blueprint can be found on the wiki:
|
19
|
+
|
20
|
+
http://wiki.github.com/chriseppstein/compass/blueprint-documentation
|
21
|
+
}
|
22
|
+
|
23
|
+
welcome_message %Q{
|
24
|
+
Please see the blueprint website for documentation on how blueprint works:
|
25
|
+
|
26
|
+
http://blueprintcss.org/
|
27
|
+
|
28
|
+
Docs on the compass port of blueprint can be found on the wiki:
|
29
|
+
|
30
|
+
http://wiki.github.com/chriseppstein/compass/blueprint-documentation
|
31
|
+
|
32
|
+
To get started, edit the screen.sass file and read the comments and code there.
|
33
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
// Here is where you can define your constants for your application and to configure the blueprint framework.
|
2
|
+
// Feel free to delete these if you want keep the defaults:
|
3
|
+
|
4
|
+
$blueprint-grid-columns : 24
|
5
|
+
$blueprint-container-size : 950px
|
6
|
+
$blueprint-grid-margin : 10px
|
7
|
+
|
8
|
+
// Use this to calculate the width based on the total width.
|
9
|
+
// Or you can set $blueprint-grid-width to a fixed value and unset $blueprint-container-size -- it will be calculated for you.
|
10
|
+
$blueprint-grid-width: ($blueprint-container-size + $blueprint-grid-margin) / $blueprint-grid-columns - $blueprint-grid-margin
|
@@ -0,0 +1,17 @@
|
|
1
|
+
// Import the non-default scaffolding module to help us get started.
|
2
|
+
@import blueprint/scaffolding
|
3
|
+
|
4
|
+
// This configuration will only apply the
|
5
|
+
// blueprint styles to pages with a body class of "bp"
|
6
|
+
// This makes it easier to have pages without blueprint styles
|
7
|
+
// when you're using a single/combined stylesheet.
|
8
|
+
|
9
|
+
body.bp
|
10
|
+
+blueprint-typography(true)
|
11
|
+
+blueprint-utilities
|
12
|
+
+blueprint-debug
|
13
|
+
+blueprint-interaction
|
14
|
+
// Remove the scaffolding when you're ready to start doing visual design.
|
15
|
+
// Or leave it in if you're happy with how blueprint looks out-of-the-box
|
16
|
+
+blueprint-scaffolding
|
17
|
+
|
@@ -0,0 +1,38 @@
|
|
1
|
+
// Page layout can be done using mixins applied to your semantic classes and IDs
|
2
|
+
// For instance this layout defines a two column layout on pages with
|
3
|
+
// a body class of "two-col".
|
4
|
+
//
|
5
|
+
// The markup would look like:
|
6
|
+
// <div id="container">
|
7
|
+
// <div id="header"></div>
|
8
|
+
// <div id="sidebar"></div>
|
9
|
+
// <div id="content"></div>
|
10
|
+
// <div id="footer"></div>
|
11
|
+
// </div>
|
12
|
+
//
|
13
|
+
// and the layout would look like:
|
14
|
+
// +------------------------+
|
15
|
+
// | #header |
|
16
|
+
// +--------+---------------+
|
17
|
+
// | | |
|
18
|
+
// |#sidebar| #content |
|
19
|
+
// | | |
|
20
|
+
// +------------------------+
|
21
|
+
// | #footer |
|
22
|
+
// +--------+---------------+
|
23
|
+
|
24
|
+
body.two-col
|
25
|
+
#container
|
26
|
+
+container
|
27
|
+
#header, #footer
|
28
|
+
+column($blueprint-grid-columns)
|
29
|
+
#sidebar
|
30
|
+
// One third of the grid columns, rounding down. With 24 cols, this is 8.
|
31
|
+
$sidebar-columns: floor($blueprint-grid-columns / 3)
|
32
|
+
+column($sidebar-columns)
|
33
|
+
#content
|
34
|
+
// Two thirds of the grid columns, rounding up.
|
35
|
+
// With 24 cols, this is 16.
|
36
|
+
$content-columns: ceil(2 * $blueprint-grid-columns / 3)
|
37
|
+
// true means it's the last column in the row
|
38
|
+
+column($content-columns, true)
|
@@ -0,0 +1,14 @@
|
|
1
|
+
// This import applies a global reset to any page that imports this stylesheet.
|
2
|
+
@import blueprint/reset
|
3
|
+
|
4
|
+
// To configure blueprint, edit the partials/base.sass file.
|
5
|
+
@import partials/base
|
6
|
+
|
7
|
+
// Import all the default blueprint modules so that we can access their mixins.
|
8
|
+
@import blueprint
|
9
|
+
|
10
|
+
// Combine the partials into a single screen stylesheet.
|
11
|
+
@import partials/page
|
12
|
+
@import partials/form
|
13
|
+
@import partials/two_col
|
14
|
+
|
metadata
ADDED
@@ -0,0 +1,119 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: compass-blueprint
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Scott Davis
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-11-01 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: compass
|
16
|
+
requirement: &70241346451840 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *70241346451840
|
25
|
+
description: Compass extension for blueprint css framework
|
26
|
+
email:
|
27
|
+
- jetviper21@gmail.com
|
28
|
+
executables: []
|
29
|
+
extensions: []
|
30
|
+
extra_rdoc_files: []
|
31
|
+
files:
|
32
|
+
- .gitignore
|
33
|
+
- Gemfile
|
34
|
+
- LICENSE
|
35
|
+
- README.md
|
36
|
+
- Rakefile
|
37
|
+
- compass-blueprint.gemspec
|
38
|
+
- framework/blueprint/stylesheets/_blueprint.scss
|
39
|
+
- framework/blueprint/stylesheets/blueprint/_buttons.scss
|
40
|
+
- framework/blueprint/stylesheets/blueprint/_colors.scss
|
41
|
+
- framework/blueprint/stylesheets/blueprint/_debug.scss
|
42
|
+
- framework/blueprint/stylesheets/blueprint/_fancy-type.scss
|
43
|
+
- framework/blueprint/stylesheets/blueprint/_form.scss
|
44
|
+
- framework/blueprint/stylesheets/blueprint/_grid.scss
|
45
|
+
- framework/blueprint/stylesheets/blueprint/_ie.scss
|
46
|
+
- framework/blueprint/stylesheets/blueprint/_interaction.scss
|
47
|
+
- framework/blueprint/stylesheets/blueprint/_link-icons.scss
|
48
|
+
- framework/blueprint/stylesheets/blueprint/_liquid.scss
|
49
|
+
- framework/blueprint/stylesheets/blueprint/_print.scss
|
50
|
+
- framework/blueprint/stylesheets/blueprint/_reset.scss
|
51
|
+
- framework/blueprint/stylesheets/blueprint/_rtl.scss
|
52
|
+
- framework/blueprint/stylesheets/blueprint/_scaffolding.scss
|
53
|
+
- framework/blueprint/stylesheets/blueprint/_typography.scss
|
54
|
+
- framework/blueprint/stylesheets/blueprint/_utilities.scss
|
55
|
+
- framework/blueprint/stylesheets/blueprint/reset/_utilities.scss
|
56
|
+
- framework/blueprint/templates/basic/grid.png
|
57
|
+
- framework/blueprint/templates/basic/ie.sass
|
58
|
+
- framework/blueprint/templates/basic/manifest.rb
|
59
|
+
- framework/blueprint/templates/basic/partials/_base.sass
|
60
|
+
- framework/blueprint/templates/basic/print.sass
|
61
|
+
- framework/blueprint/templates/basic/screen.sass
|
62
|
+
- framework/blueprint/templates/buttons/buttons.sass
|
63
|
+
- framework/blueprint/templates/buttons/buttons/cross.png
|
64
|
+
- framework/blueprint/templates/buttons/buttons/key.png
|
65
|
+
- framework/blueprint/templates/buttons/buttons/tick.png
|
66
|
+
- framework/blueprint/templates/buttons/manifest.rb
|
67
|
+
- framework/blueprint/templates/link_icons/link_icons.sass
|
68
|
+
- framework/blueprint/templates/link_icons/link_icons/doc.png
|
69
|
+
- framework/blueprint/templates/link_icons/link_icons/email.png
|
70
|
+
- framework/blueprint/templates/link_icons/link_icons/external.png
|
71
|
+
- framework/blueprint/templates/link_icons/link_icons/feed.png
|
72
|
+
- framework/blueprint/templates/link_icons/link_icons/im.png
|
73
|
+
- framework/blueprint/templates/link_icons/link_icons/pdf.png
|
74
|
+
- framework/blueprint/templates/link_icons/link_icons/visited.png
|
75
|
+
- framework/blueprint/templates/link_icons/link_icons/xls.png
|
76
|
+
- framework/blueprint/templates/link_icons/manifest.rb
|
77
|
+
- framework/blueprint/templates/project/grid.png
|
78
|
+
- framework/blueprint/templates/project/ie.sass
|
79
|
+
- framework/blueprint/templates/project/manifest.rb
|
80
|
+
- framework/blueprint/templates/project/partials/_base.sass
|
81
|
+
- framework/blueprint/templates/project/print.sass
|
82
|
+
- framework/blueprint/templates/project/screen.sass
|
83
|
+
- framework/blueprint/templates/semantic/grid.png
|
84
|
+
- framework/blueprint/templates/semantic/ie.sass
|
85
|
+
- framework/blueprint/templates/semantic/manifest.rb
|
86
|
+
- framework/blueprint/templates/semantic/partials/_base.sass
|
87
|
+
- framework/blueprint/templates/semantic/partials/_form.sass
|
88
|
+
- framework/blueprint/templates/semantic/partials/_page.sass
|
89
|
+
- framework/blueprint/templates/semantic/partials/_two_col.sass
|
90
|
+
- framework/blueprint/templates/semantic/print.sass
|
91
|
+
- framework/blueprint/templates/semantic/screen.sass
|
92
|
+
- lib/compass-blueprint.rb
|
93
|
+
- lib/compass-blueprint/version.rb
|
94
|
+
homepage: ''
|
95
|
+
licenses: []
|
96
|
+
post_install_message:
|
97
|
+
rdoc_options: []
|
98
|
+
require_paths:
|
99
|
+
- lib
|
100
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
101
|
+
none: false
|
102
|
+
requirements:
|
103
|
+
- - ! '>='
|
104
|
+
- !ruby/object:Gem::Version
|
105
|
+
version: '0'
|
106
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
107
|
+
none: false
|
108
|
+
requirements:
|
109
|
+
- - ! '>='
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: '0'
|
112
|
+
requirements: []
|
113
|
+
rubyforge_project:
|
114
|
+
rubygems_version: 1.8.15
|
115
|
+
signing_key:
|
116
|
+
specification_version: 3
|
117
|
+
summary: Blueprint for compass
|
118
|
+
test_files: []
|
119
|
+
has_rdoc:
|