sass-tools 0.1.3 → 0.1.5
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/README.markdown +36 -0
- data/VERSION +1 -1
- data/lib/stylesheets/_sass-tools.scss +0 -1
- data/lib/templates/project/_config.scss +59 -0
- data/lib/templates/project/manifest.rb +1 -0
- data/sass-tools.gemspec +4 -4
- metadata +6 -6
- data/README.rdoc +0 -17
- data/lib/templates/manifest.rb +0 -0
data/README.markdown
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
## What does this compass plugin provide?
|
2
|
+
|
3
|
+
This plugin provides with a set of tools and pre-styled elements that will help you with common tasks that are required by most of the web projects like:
|
4
|
+
|
5
|
+
1. Replacing an A tag with an image.
|
6
|
+
2. Replacing a html element with an image.
|
7
|
+
3. Basic pagination.
|
8
|
+
4. Blog posts.
|
9
|
+
5. Surveys
|
10
|
+
6. More to come.
|
11
|
+
|
12
|
+
Also this plugin provides you with a `_config.scss` file which has global variables. Including Blueprint configuration variables.
|
13
|
+
|
14
|
+
To understand how the mixins work, and for the HTML needed for the mixin to work, please look the inside of the `lib/stylesheets/sass-tools` directory.
|
15
|
+
|
16
|
+
## Install
|
17
|
+
|
18
|
+
Install the plugin:
|
19
|
+
|
20
|
+
gem install sass-tools
|
21
|
+
|
22
|
+
Add sass-tools to your project scope:
|
23
|
+
|
24
|
+
# Add the following lines to your compass configuration file:
|
25
|
+
require 'sass-tools'
|
26
|
+
|
27
|
+
# Then run the following command:
|
28
|
+
compass install sass-tools
|
29
|
+
|
30
|
+
|
31
|
+
## Usage
|
32
|
+
|
33
|
+
Include the config file which contains available variables on the blueprint framework and variables for the sass-tools mixins.
|
34
|
+
|
35
|
+
@include "_config"
|
36
|
+
@include "sass-tools"
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.5
|
@@ -0,0 +1,59 @@
|
|
1
|
+
/* Environment Variables
|
2
|
+
---------------------------------------- */
|
3
|
+
|
4
|
+
// General-
|
5
|
+
$body-background : #FFF;
|
6
|
+
$general-border-radius : 4px;
|
7
|
+
$general-padding : 15px;
|
8
|
+
|
9
|
+
// Fonts
|
10
|
+
$blueprint-font-family : 'Helvetica Neue', Arial, Helvetica, sans-serif;
|
11
|
+
$blueprint-fixed-font-family : 'andale mono', 'lucida console', monospace;
|
12
|
+
$special-font : 'Droid Sans', arial, serif;
|
13
|
+
$blueprint-font-size : 12px;
|
14
|
+
|
15
|
+
// Text
|
16
|
+
$font-color : #333333;
|
17
|
+
$quiet-color : $font-color + #333333;
|
18
|
+
$loud-color : $font-color - #222222;
|
19
|
+
$header-color : $font-color - #111111;
|
20
|
+
$alt-text-color : #666666;
|
21
|
+
|
22
|
+
// Links
|
23
|
+
$link-color : #666666;
|
24
|
+
$link-hover-color : #CE0019;
|
25
|
+
$link-focus-color : $link-hover-color;
|
26
|
+
$link-active-color : $link-color + #cc0000;
|
27
|
+
$link-visited-color : $link-color;
|
28
|
+
|
29
|
+
// Pagination
|
30
|
+
$pagination-background : #8DC30D;
|
31
|
+
$pagination-border-color : green;
|
32
|
+
$pagination-font-color : white;
|
33
|
+
$pagination-hover-background : #638909;
|
34
|
+
$pagination-hover-border-color : #BAFAF5;
|
35
|
+
$pagination-hover-font-color : #8CBE0D;
|
36
|
+
$pagination-item-radius : 4px;
|
37
|
+
|
38
|
+
// Layout
|
39
|
+
$blueprint-grid-columns : 24;
|
40
|
+
$blueprint-container-size : 950px;
|
41
|
+
$blueprint-grid-margin : 10px;
|
42
|
+
|
43
|
+
/* Shortcuts to Directories.
|
44
|
+
---------------------------------------- */
|
45
|
+
$img-dir : "../images/";
|
46
|
+
$h : $img-dir + "headers/";
|
47
|
+
$c : $img-dir + "contents/";
|
48
|
+
$g : $img-dir + 'general/';
|
49
|
+
$f : $img-dir + "footers/";
|
50
|
+
|
51
|
+
/* By default Blueprint adds one margin to each side of the grid on a container;
|
52
|
+
we want this to it to have two instead of one. */
|
53
|
+
$blueprint-container-wrapper : $blueprint-container-size + ($blueprint-grid-margin * 2);
|
54
|
+
$blueprint-grid-columns : 24;
|
55
|
+
$blueprint-grid-margin : 10px;
|
56
|
+
|
57
|
+
// Use this to calculate the width based on the total width.
|
58
|
+
// Or you can set !blueprint_grid_width to a fixed value and unset !blueprint_container_size -- it will be calculated for you.
|
59
|
+
$blueprint-grid-width : ($blueprint-container-size + $blueprint-grid-margin) / $blueprint-grid-columns - $blueprint-grid-margin;
|
@@ -0,0 +1 @@
|
|
1
|
+
stylesheet "_config.scss"
|
data/sass-tools.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{sass-tools}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.5"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Mario 'Kuroir' Ricalde"]
|
@@ -14,13 +14,13 @@ Gem::Specification.new do |s|
|
|
14
14
|
s.email = %q{mario@destructoid.com}
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"LICENSE",
|
17
|
-
"README.
|
17
|
+
"README.markdown"
|
18
18
|
]
|
19
19
|
s.files = [
|
20
20
|
".document",
|
21
21
|
".gitignore",
|
22
22
|
"LICENSE",
|
23
|
-
"README.
|
23
|
+
"README.markdown",
|
24
24
|
"Rakefile",
|
25
25
|
"VERSION",
|
26
26
|
"lib/sass-tools.rb",
|
@@ -29,7 +29,7 @@ Gem::Specification.new do |s|
|
|
29
29
|
"lib/stylesheets/sass-tools/_forms.scss",
|
30
30
|
"lib/stylesheets/sass-tools/_images.scss",
|
31
31
|
"lib/stylesheets/sass-tools/_tools.scss",
|
32
|
-
"lib/templates/
|
32
|
+
"lib/templates/project/_config.scss",
|
33
33
|
"lib/templates/project/manifest.rb",
|
34
34
|
"sass-tools.gemspec",
|
35
35
|
"test/helper.rb",
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sass-tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 5
|
10
|
+
version: 0.1.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Mario 'Kuroir' Ricalde
|
@@ -40,12 +40,12 @@ extensions: []
|
|
40
40
|
|
41
41
|
extra_rdoc_files:
|
42
42
|
- LICENSE
|
43
|
-
- README.
|
43
|
+
- README.markdown
|
44
44
|
files:
|
45
45
|
- .document
|
46
46
|
- .gitignore
|
47
47
|
- LICENSE
|
48
|
-
- README.
|
48
|
+
- README.markdown
|
49
49
|
- Rakefile
|
50
50
|
- VERSION
|
51
51
|
- lib/sass-tools.rb
|
@@ -54,7 +54,7 @@ files:
|
|
54
54
|
- lib/stylesheets/sass-tools/_forms.scss
|
55
55
|
- lib/stylesheets/sass-tools/_images.scss
|
56
56
|
- lib/stylesheets/sass-tools/_tools.scss
|
57
|
-
- lib/templates/
|
57
|
+
- lib/templates/project/_config.scss
|
58
58
|
- lib/templates/project/manifest.rb
|
59
59
|
- sass-tools.gemspec
|
60
60
|
- test/helper.rb
|
data/README.rdoc
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
= sass-tools
|
2
|
-
|
3
|
-
Description goes here.
|
4
|
-
|
5
|
-
== Note on Patches/Pull Requests
|
6
|
-
|
7
|
-
* Fork the project.
|
8
|
-
* Make your feature addition or bug fix.
|
9
|
-
* Add tests for it. This is important so I don't break it in a
|
10
|
-
future version unintentionally.
|
11
|
-
* Commit, do not mess with rakefile, version, or history.
|
12
|
-
(if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
|
13
|
-
* Send me a pull request. Bonus points for topic branches.
|
14
|
-
|
15
|
-
== Copyright
|
16
|
-
|
17
|
-
Copyright (c) 2010 Mario Kuroir Ricalde. See LICENSE for details.
|
data/lib/templates/manifest.rb
DELETED
File without changes
|