Sassifaction 0.0.3 → 0.0.4
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.
- checksums.yaml +4 -4
- data/lib/Sassifaction.rb +1 -1
- data/sass/base/mixins/_placeholder.scss +13 -10
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5db87e9055a0ba5b4549fa94d6ac9567b144005b
|
|
4
|
+
data.tar.gz: a7dcfc91eb2ce4b08929bb42fd9708b6e4dae568
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0c39669d56fc0e5d6817e036de5591163359edf163f987eacce8cb15e8b4888042984a21cb0909405fe0e7ed90d850611e0f86484c1084f6d578e166793850f8
|
|
7
|
+
data.tar.gz: 393e1876ff5f22d57fbcc8e6f97c4b6b438facf0552e9ef5a999825ad51ecc6646527220258de9c441ea2e49281e0e326543d177e0af36eda495a9d57ccafe0c
|
data/lib/Sassifaction.rb
CHANGED
|
@@ -2,5 +2,5 @@ require 'compass'
|
|
|
2
2
|
extension_path = File.expand_path(File.join(File.dirname(__FILE__), ".."))
|
|
3
3
|
# stylesheets_dir = File.join(base_directory, 'my', 'stylesheets')
|
|
4
4
|
|
|
5
|
-
Compass::Frameworks.register('
|
|
5
|
+
Compass::Frameworks.register('Sassifaction', :stylesheets_directory => File.join(extension_path, 'sass'), :path => extension_path)
|
|
6
6
|
|
|
@@ -1,14 +1,17 @@
|
|
|
1
|
-
@mixin placeholder
|
|
2
|
-
|
|
3
|
-
color: $
|
|
4
|
-
}
|
|
1
|
+
@mixin placeholder($color: $text-color, $alpha: .8) {
|
|
2
|
+
&::-webkit-input-placeholder {
|
|
3
|
+
color: rgba($color, $alpha);
|
|
4
|
+
} /* WebKit browsers */
|
|
5
|
+
|
|
5
6
|
&:-moz-placeholder {
|
|
6
|
-
color: $
|
|
7
|
-
}
|
|
7
|
+
color: rgba($color, 1)
|
|
8
|
+
} /* Mozilla Firefox 4 to 18 */
|
|
9
|
+
|
|
8
10
|
&::-moz-placeholder {
|
|
9
|
-
color: $
|
|
10
|
-
}
|
|
11
|
+
color: rgba($color, 1)
|
|
12
|
+
} /* Mozilla Firefox 19+ */
|
|
13
|
+
|
|
11
14
|
&:-ms-input-placeholder {
|
|
12
|
-
color: $
|
|
13
|
-
}
|
|
15
|
+
color: rgba($color, $alpha)
|
|
16
|
+
} /* Internet Explorer 10+ */
|
|
14
17
|
}
|