mm-compass-templates 0.1.0
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 +1 -0
- data/Rakefile +13 -0
- data/VERSION +1 -0
- data/lib/mm-compass-templates.rb +4 -0
- data/mm-compass-templates.gemspec +45 -0
- data/stylesheets/_mm-compass-templates.sass +1 -0
- data/templates/project/README.md +39 -0
- data/templates/project/layout/_grid.sass +1 -0
- data/templates/project/layout/_layout_elements.sass +1 -0
- data/templates/project/look/_colors.sass +31 -0
- data/templates/project/look/_typography.sass +19 -0
- data/templates/project/manifest.rb +17 -0
- data/templates/project/screen.sass +50 -0
- metadata +79 -0
data/.gitignore
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
pkg/
|
data/Rakefile
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
begin
|
2
|
+
require 'jeweler'
|
3
|
+
Jeweler::Tasks.new do |gemspec|
|
4
|
+
gemspec.name = "mm-compass-templates"
|
5
|
+
gemspec.summary = "A collection of compass templates and patterns used by mindmatters."
|
6
|
+
gemspec.email = "tobias.adam@mindmatters.de"
|
7
|
+
gemspec.homepage = "http://mindmatters.de"
|
8
|
+
gemspec.authors = ["Tobias Adam"]
|
9
|
+
gemspec.files.include %w(stylesheets/**/* templates/**/*)
|
10
|
+
end
|
11
|
+
rescue LoadError
|
12
|
+
puts "Jeweler not available. Install it with: gem install jeweler"
|
13
|
+
end
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.1.0
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{mm-compass-templates}
|
8
|
+
s.version = "0.1.0"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Tobias Adam"]
|
12
|
+
s.date = %q{2010-07-12}
|
13
|
+
s.email = %q{tobias.adam@mindmatters.de}
|
14
|
+
s.files = [
|
15
|
+
".gitignore",
|
16
|
+
"Rakefile",
|
17
|
+
"VERSION",
|
18
|
+
"lib/mm-compass-templates.rb",
|
19
|
+
"mm-compass-templates.gemspec",
|
20
|
+
"stylesheets/_mm-compass-templates.sass",
|
21
|
+
"templates/project/README.md",
|
22
|
+
"templates/project/layout/_grid.sass",
|
23
|
+
"templates/project/layout/_layout_elements.sass",
|
24
|
+
"templates/project/look/_colors.sass",
|
25
|
+
"templates/project/look/_typography.sass",
|
26
|
+
"templates/project/manifest.rb",
|
27
|
+
"templates/project/screen.sass"
|
28
|
+
]
|
29
|
+
s.homepage = %q{http://mindmatters.de}
|
30
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
31
|
+
s.require_paths = ["lib"]
|
32
|
+
s.rubygems_version = %q{1.3.7}
|
33
|
+
s.summary = %q{A collection of compass templates and patterns used by mindmatters.}
|
34
|
+
|
35
|
+
if s.respond_to? :specification_version then
|
36
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
37
|
+
s.specification_version = 3
|
38
|
+
|
39
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
40
|
+
else
|
41
|
+
end
|
42
|
+
else
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
// This is your framework's main stylesheet. Use it to import all default modules.
|
@@ -0,0 +1,39 @@
|
|
1
|
+
A collection of compass templates and patterns used by mindmatters
|
2
|
+
==================================================================
|
3
|
+
|
4
|
+
Installation
|
5
|
+
------------
|
6
|
+
|
7
|
+
First install the `mm-compass-templates` gem.
|
8
|
+
|
9
|
+
Install the gem and then install the basic project pattern with:
|
10
|
+
|
11
|
+
compass install mm-compass-templates/project --require mm-compass-templates --syntax sass
|
12
|
+
|
13
|
+
Or add a `require 'mm-compass-templates'` to the `config.rb` file in an existing project. Check if framework is available with:
|
14
|
+
|
15
|
+
compass help
|
16
|
+
|
17
|
+
Then install with:
|
18
|
+
|
19
|
+
compass install mm-compass-templates/project --syntax sass
|
20
|
+
|
21
|
+
Development
|
22
|
+
-----------
|
23
|
+
|
24
|
+
Create a raw compass project with:
|
25
|
+
|
26
|
+
compass create mm-compass-templates-dev --bare
|
27
|
+
|
28
|
+
Create a directory called `extensions` at the root of this project and clone the repository into it. Check if the framework is
|
29
|
+
available with:
|
30
|
+
|
31
|
+
compass frameworks
|
32
|
+
|
33
|
+
You can now install the extension with:
|
34
|
+
|
35
|
+
compass install mm-compass-templates/project --syntax sass
|
36
|
+
|
37
|
+
After changing some files re-run the installation with an additional `--force` flag.
|
38
|
+
|
39
|
+
Happy hacking!
|
@@ -0,0 +1 @@
|
|
1
|
+
// Glue grid columns to selectors
|
@@ -0,0 +1 @@
|
|
1
|
+
// Header, footer, etc.
|
@@ -0,0 +1,31 @@
|
|
1
|
+
// -------------- //
|
2
|
+
// Primary colors //
|
3
|
+
// -------------- //
|
4
|
+
|
5
|
+
// Name them and their function
|
6
|
+
|
7
|
+
// ---------------- //
|
8
|
+
// Secondary colors //
|
9
|
+
// ---------------- //
|
10
|
+
|
11
|
+
// Name them and their function
|
12
|
+
|
13
|
+
// --------------- //
|
14
|
+
// Feedback colors //
|
15
|
+
// --------------- //
|
16
|
+
|
17
|
+
// ---------- //
|
18
|
+
// Typography //
|
19
|
+
// ---------- //
|
20
|
+
|
21
|
+
// $font-color: #000
|
22
|
+
|
23
|
+
// ----- //
|
24
|
+
// Links //
|
25
|
+
// ----- //
|
26
|
+
|
27
|
+
// $link-color: #0000ff
|
28
|
+
// $link-hover-color: #0000ff
|
29
|
+
// $link-active-color: #0000ff
|
30
|
+
// $link-visited-color: #0000ff
|
31
|
+
// $link-focus-color: #0000ff
|
@@ -0,0 +1,19 @@
|
|
1
|
+
$font-size: 12px
|
2
|
+
$line-height: 18px
|
3
|
+
|
4
|
+
=default-font-family
|
5
|
+
font-family: Verdana, sans-serif
|
6
|
+
|
7
|
+
// ------------ //
|
8
|
+
// Font metrics //
|
9
|
+
// ------------ //
|
10
|
+
|
11
|
+
=line-height($line-height, $font-size)
|
12
|
+
line-height: $line-height / $font-size
|
13
|
+
|
14
|
+
=font-size-and-line-height($font-size, $line-height)
|
15
|
+
font-size: $font-size
|
16
|
+
+line-height($line-height, $font-size)
|
17
|
+
|
18
|
+
=font-metrics
|
19
|
+
+font-size-and-line-height($font-size, $line-height)
|
@@ -0,0 +1,17 @@
|
|
1
|
+
description "A collection of templates and patterns used by mindmatters."
|
2
|
+
|
3
|
+
stylesheet "screen.sass", :media => "screen, projection"
|
4
|
+
stylesheet "look/_colors.sass"
|
5
|
+
stylesheet "look/_typography.sass"
|
6
|
+
stylesheet "layout/_grid.sass"
|
7
|
+
stylesheet "layout/_layout_elements.sass"
|
8
|
+
|
9
|
+
file "README.md"
|
10
|
+
|
11
|
+
help %Q{
|
12
|
+
Don’t know where this is shown… Edit me if you find me!
|
13
|
+
}
|
14
|
+
|
15
|
+
welcome_message %Q{
|
16
|
+
Have fun using our templates. Feel free to visit our website at http://www.mindmatters.de
|
17
|
+
}
|
@@ -0,0 +1,50 @@
|
|
1
|
+
// ---- //
|
2
|
+
// Base //
|
3
|
+
// ---- //
|
4
|
+
|
5
|
+
// Vendor imports
|
6
|
+
|
7
|
+
// $blueprint_grid_columns: 24
|
8
|
+
// $blueprint_grid_width: 30px
|
9
|
+
// $blueprint_grid_margin: 10px
|
10
|
+
|
11
|
+
// @import "blueprint/grid"
|
12
|
+
|
13
|
+
// @import "compass/css3"
|
14
|
+
// @import "compass/utilities/general"
|
15
|
+
// @import "compass/utilities/lists"
|
16
|
+
// @import "compass/utilities/text/replacement"
|
17
|
+
|
18
|
+
// @import "compass/reset"
|
19
|
+
|
20
|
+
// Own constants and mixins
|
21
|
+
|
22
|
+
// @import "modules/boxes.lib"
|
23
|
+
|
24
|
+
// ------------------- //
|
25
|
+
// Default Look & Feel //
|
26
|
+
// ------------------- //
|
27
|
+
|
28
|
+
// Logo, colors, typography, forms, images, iconography, controls, buttons, helpers
|
29
|
+
|
30
|
+
@import "look/colors"
|
31
|
+
@import "look/typography"
|
32
|
+
|
33
|
+
// -------------------- //
|
34
|
+
// Layout & Positioning //
|
35
|
+
// -------------------- //
|
36
|
+
|
37
|
+
// Grid, layout elements, navigation, feedback
|
38
|
+
|
39
|
+
@import "layout/grid"
|
40
|
+
@import "layout/layout_elements"
|
41
|
+
|
42
|
+
// ------------------------------- //
|
43
|
+
// Widgets, Modules and Components //
|
44
|
+
// ------------------------------- //
|
45
|
+
|
46
|
+
// @import "modules/boxes"
|
47
|
+
|
48
|
+
// -------------------- //
|
49
|
+
// Page Specific Styles //
|
50
|
+
// -------------------- //
|
metadata
ADDED
@@ -0,0 +1,79 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: mm-compass-templates
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 27
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 1
|
9
|
+
- 0
|
10
|
+
version: 0.1.0
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Tobias Adam
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2010-07-12 00:00:00 +02:00
|
19
|
+
default_executable:
|
20
|
+
dependencies: []
|
21
|
+
|
22
|
+
description:
|
23
|
+
email: tobias.adam@mindmatters.de
|
24
|
+
executables: []
|
25
|
+
|
26
|
+
extensions: []
|
27
|
+
|
28
|
+
extra_rdoc_files: []
|
29
|
+
|
30
|
+
files:
|
31
|
+
- .gitignore
|
32
|
+
- Rakefile
|
33
|
+
- VERSION
|
34
|
+
- lib/mm-compass-templates.rb
|
35
|
+
- mm-compass-templates.gemspec
|
36
|
+
- stylesheets/_mm-compass-templates.sass
|
37
|
+
- templates/project/README.md
|
38
|
+
- templates/project/layout/_grid.sass
|
39
|
+
- templates/project/layout/_layout_elements.sass
|
40
|
+
- templates/project/look/_colors.sass
|
41
|
+
- templates/project/look/_typography.sass
|
42
|
+
- templates/project/manifest.rb
|
43
|
+
- templates/project/screen.sass
|
44
|
+
has_rdoc: true
|
45
|
+
homepage: http://mindmatters.de
|
46
|
+
licenses: []
|
47
|
+
|
48
|
+
post_install_message:
|
49
|
+
rdoc_options:
|
50
|
+
- --charset=UTF-8
|
51
|
+
require_paths:
|
52
|
+
- lib
|
53
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
54
|
+
none: false
|
55
|
+
requirements:
|
56
|
+
- - ">="
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
hash: 3
|
59
|
+
segments:
|
60
|
+
- 0
|
61
|
+
version: "0"
|
62
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
63
|
+
none: false
|
64
|
+
requirements:
|
65
|
+
- - ">="
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
hash: 3
|
68
|
+
segments:
|
69
|
+
- 0
|
70
|
+
version: "0"
|
71
|
+
requirements: []
|
72
|
+
|
73
|
+
rubyforge_project:
|
74
|
+
rubygems_version: 1.3.7
|
75
|
+
signing_key:
|
76
|
+
specification_version: 3
|
77
|
+
summary: A collection of compass templates and patterns used by mindmatters.
|
78
|
+
test_files: []
|
79
|
+
|