juliana 0.0.1b

Sign up to get free protection for your applications and to get access to all the features.
data/lib/juliana.rb ADDED
@@ -0,0 +1,4 @@
1
+ require 'compass'
2
+ extension_path = File.expand_path(File.join(File.dirname(__FILE__), ".."))
3
+ Compass::Frameworks.register('juliana', :path => extension_path,
4
+ :stylesheets_directory => File.join(File.dirname(__FILE__), '..', 'sass'))
@@ -0,0 +1 @@
1
+ @import "juliana/mixins";
@@ -0,0 +1,72 @@
1
+ //**
2
+ //* Sets the width and height.
3
+ //*
4
+ //* @param string $width The width of the element
5
+ //* @param string|boolean $height The height of the element, or false if it is the same as the width
6
+ //*/
7
+ @mixin size( $width, $height: false ) {
8
+ width: $width;
9
+ @if $height {
10
+ height: $height;
11
+ }
12
+ @else {
13
+ height: $width;
14
+ }
15
+
16
+ } // size
17
+
18
+ //**
19
+ //* Sets a box-shadow
20
+ //*
21
+ //* @param string $params The parameters of your box-shadow
22
+ //*/
23
+ @mixin box-shadow( $params ) {
24
+ -webkit-box-shadow: $params;
25
+ -moz-box-shadow: $params;
26
+ box-shadow: $params;
27
+ }
28
+
29
+ //**
30
+ //* Sets a border-radius
31
+ //*
32
+ //* @param string $params The parameters of your border-radius
33
+ //*/
34
+ @mixin border-radius( $params ) {
35
+ -moz-border-radius: $params;
36
+ border-radius: $params;
37
+ }
38
+
39
+ //**
40
+ //* Sets opacity
41
+ //*
42
+ //* @param number $opacity The value of your opacity from 0 to 1
43
+ //*/
44
+ @mixin opacity( $opacity ) {
45
+ opacity: $opacity;
46
+ filter:alpha(opacity=$opacity * 100);
47
+ }
48
+
49
+ //**
50
+ //* Defines a transition
51
+ //*
52
+ //* @param string $params The parameters of your transition
53
+ //*/
54
+ @mixin transition( $params ) {
55
+ -webkit-transition: $params;
56
+ -moz-transition: $params;
57
+ -o-transition: $params;
58
+ transition: $params;
59
+ }
60
+
61
+ //**
62
+ //* Sets rotation values
63
+ //*
64
+ //* @param string $params The parameters of your rotate
65
+ //*/
66
+ @mixin rotate ( $params ) {
67
+ -webkit-transform: rotate( $params );
68
+ -moz-transform: rotate( $params );
69
+ -ms-transform: rotate( $params );
70
+ -o-transform: rotate( $params );
71
+ transform: rotate( $params );
72
+ }
metadata ADDED
@@ -0,0 +1,66 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: juliana
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: true
5
+ segments:
6
+ - 0
7
+ - 0
8
+ - 1b
9
+ version: 0.0.1b
10
+ platform: ruby
11
+ authors:
12
+ - Jackie, Jess, John
13
+ autorequire:
14
+ bindir: bin
15
+ cert_chain: []
16
+
17
+ date: 2012-06-14 00:00:00 -04:00
18
+ default_executable:
19
+ dependencies: []
20
+
21
+ description: Sass it, bitch!
22
+ email: jackie@behance.com
23
+ executables: []
24
+
25
+ extensions: []
26
+
27
+ extra_rdoc_files: []
28
+
29
+ files:
30
+ - lib/juliana.rb
31
+ - sass/_juliana.scss
32
+ - sass/juliana/_mixins.scss
33
+ has_rdoc: true
34
+ homepage: http://be.net
35
+ licenses: []
36
+
37
+ post_install_message:
38
+ rdoc_options: []
39
+
40
+ require_paths:
41
+ - lib
42
+ required_ruby_version: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ segments:
47
+ - 0
48
+ version: "0"
49
+ required_rubygems_version: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">"
52
+ - !ruby/object:Gem::Version
53
+ segments:
54
+ - 1
55
+ - 3
56
+ - 1
57
+ version: 1.3.1
58
+ requirements: []
59
+
60
+ rubyforge_project:
61
+ rubygems_version: 1.3.6
62
+ signing_key:
63
+ specification_version: 3
64
+ summary: Sassy baby
65
+ test_files: []
66
+