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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8da85ec12c89210378102cdacb5e2914dd8e4c83
4
- data.tar.gz: d68ab670cac05b89ebd2f8c6125e843bbe0994cc
3
+ metadata.gz: 5db87e9055a0ba5b4549fa94d6ac9567b144005b
4
+ data.tar.gz: a7dcfc91eb2ce4b08929bb42fd9708b6e4dae568
5
5
  SHA512:
6
- metadata.gz: 37a5b40fcba1c2fe2a2e291ed6d088d345f00220243391e0bee8b8a32a29e3e332381173e3174fd1706d06cd8c0046e94a26643294e9f3595051b31a01a99b64
7
- data.tar.gz: 619806022526b1645e0cbef49c572b69724624279a577b5909841bf8306cacde2b94b6b1706506defac1edfef66b0cba07cf974defc654e15a0921a4fb9b6bfe
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('stipe', :stylesheets_directory => File.join(extension_path, 'sass'), :path => extension_path)
5
+ Compass::Frameworks.register('Sassifaction', :stylesheets_directory => File.join(extension_path, 'sass'), :path => extension_path)
6
6
 
@@ -1,14 +1,17 @@
1
- @mixin placeholder ($placeholder-color) {
2
- &::webkit-input-placeholder {
3
- color: $placeholder-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: $placeholder-color;
7
- }
7
+ color: rgba($color, 1)
8
+ } /* Mozilla Firefox 4 to 18 */
9
+
8
10
  &::-moz-placeholder {
9
- color: $placeholder-color;
10
- }
11
+ color: rgba($color, 1)
12
+ } /* Mozilla Firefox 19+ */
13
+
11
14
  &:-ms-input-placeholder {
12
- color: $placeholder-color;
13
- }
15
+ color: rgba($color, $alpha)
16
+ } /* Internet Explorer 10+ */
14
17
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Sassifaction
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stuart Robson