sass-tools 0.1.5 → 0.1.6
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/VERSION +1 -1
- data/lib/stylesheets/sass-tools/_images.scss +20 -16
- data/lib/templates/project/_config.scss +0 -8
- data/sass-tools.gemspec +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.6
|
@@ -1,26 +1,30 @@
|
|
1
1
|
/*
|
2
|
-
|
3
|
-
* Just feed it the image path, width and height relative to the .scss file.
|
2
|
+
This Mixin is meant to be used for image replacement of a entities.
|
4
3
|
*/
|
5
|
-
@mixin image-link($image
|
6
|
-
background:transparent url($image) no-repeat top left;
|
7
|
-
width: $
|
8
|
-
height: $
|
9
|
-
display:block;
|
10
|
-
text-indent:-9999px;
|
11
|
-
overflow:hidden;
|
12
|
-
outline:none;
|
4
|
+
@mixin image-link($image) {
|
5
|
+
background:transparent image-url($image) no-repeat top left;
|
6
|
+
width: image-width($image);
|
7
|
+
height: image-height($image);
|
13
8
|
cursor:pointer;
|
9
|
+
@extend .image-link-extend;
|
14
10
|
}
|
15
11
|
|
16
12
|
/*
|
17
13
|
Mixin for quickly replacing images for any given element.
|
18
14
|
*/
|
19
|
-
@mixin image-replace($image
|
20
|
-
background:transparent url($image) no-repeat top left;
|
21
|
-
width: $
|
22
|
-
height: $
|
15
|
+
@mixin image-replace($image) {
|
16
|
+
background:transparent image-url($image) no-repeat top left;
|
17
|
+
width: image-width($image);
|
18
|
+
height: image-height($image);
|
19
|
+
@extend .image-link-extend;
|
20
|
+
}
|
21
|
+
|
22
|
+
/*
|
23
|
+
Common styles needed by our Image Mixins.
|
24
|
+
*/
|
25
|
+
.image-link-extend {
|
23
26
|
display:block;
|
24
|
-
|
27
|
+
outline:none;
|
25
28
|
overflow:hidden;
|
26
|
-
|
29
|
+
text-indent:-9999px;
|
30
|
+
} // .image-link-extend
|
@@ -40,14 +40,6 @@ $blueprint-grid-columns : 24;
|
|
40
40
|
$blueprint-container-size : 950px;
|
41
41
|
$blueprint-grid-margin : 10px;
|
42
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
43
|
/* By default Blueprint adds one margin to each side of the grid on a container;
|
52
44
|
we want this to it to have two instead of one. */
|
53
45
|
$blueprint-container-wrapper : $blueprint-container-size + ($blueprint-grid-margin * 2);
|
data/sass-tools.gemspec
CHANGED
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: 23
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 6
|
10
|
+
version: 0.1.6
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Mario 'Kuroir' Ricalde
|