spens 0.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.mkdn ADDED
File without changes
data/lib/spens.rb ADDED
@@ -0,0 +1,3 @@
1
+ require 'compass'
2
+ extension_path = File.expand_path(File.join(File.dirname(__FILE__), ".."))
3
+ Compass::Frameworks.register('spens', :path => extension_path)
@@ -0,0 +1,16 @@
1
+ // Vendor Supplements
2
+ // ------------------------------------------------------------------------------
3
+ @import "spens/foundation";
4
+
5
+ // Functions
6
+ // ------------------------------------------------------------------------------
7
+ @import "spens/functions";
8
+
9
+ // Custom Styles
10
+ // ------------------------------------------------------------------------------
11
+ @import "spens/extends";
12
+
13
+ // Modules
14
+ // ------------------------------------------------------------------------------
15
+ @import "spens/sliding-footer";
16
+ @import "spens/sticky-footer";
@@ -0,0 +1,7 @@
1
+ %clearfix {
2
+ &:after {
3
+ content: "";
4
+ display: table;
5
+ clear: both;
6
+ }
7
+ }
@@ -0,0 +1,7 @@
1
+ @media #{$small} {
2
+ @for $i from 1 through 12 {
3
+ .medium-#{$i} {
4
+ width: ($i / 12 * 100%);
5
+ }
6
+ }
7
+ }
@@ -0,0 +1,3 @@
1
+ @function stripUnits($number) {
2
+ @return $number / ($number * 0 + 1);
3
+ }
@@ -0,0 +1,25 @@
1
+ html, body {
2
+ position: relative;
3
+ z-index: 0;
4
+ min-height: 100%;
5
+ height: 100%;
6
+ }
7
+
8
+ .sliding-content-wrapper {
9
+ z-index: 1;
10
+ position: relative;
11
+ }
12
+
13
+ .sliding-footer-wrapper {
14
+ z-index: -2;
15
+ position: relative;
16
+ height: $footer_height;
17
+
18
+ footer {
19
+ position: fixed;
20
+ bottom: 0em;
21
+ left: 0%;
22
+ width: 100%;
23
+ z-index: -1;
24
+ }
25
+ }
@@ -0,0 +1,48 @@
1
+ /* Required:
2
+ * $footer_height
3
+ */
4
+
5
+ html, body {
6
+ height: 100%;
7
+ }
8
+
9
+ body {
10
+ margin: 0em;
11
+ padding: 0em;
12
+ }
13
+
14
+ .sticky-wrapper {
15
+ width: 100%;
16
+ min-height: 100%;
17
+ height: auto !important;
18
+ height: 100%;
19
+ margin: 0em 0em ($footer_height * -1) 0em;
20
+ }
21
+
22
+ .sticky-footer-wrapper {
23
+ width: 100%;
24
+ height: $footer_height;
25
+ }
26
+
27
+ .sticky-content-wrapper {
28
+ width: 100%;
29
+ padding: 0em 0em $footer_height 0em;
30
+ }
31
+
32
+ /* The following is not needed with the following libraries:
33
+ * Foundation
34
+ *
35
+ * Required:
36
+ * $page_width
37
+ */
38
+
39
+ /*
40
+ #footer_wrapper, div#content_wrapper {
41
+ min-width: $page_width;
42
+ }
43
+
44
+ #footer_inner_wrapper, div#content_inner_wrapper {
45
+ width: $page_width;
46
+ margin: 0px auto;
47
+ }
48
+ */
metadata ADDED
@@ -0,0 +1,80 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: spens
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 1
8
+ version: "0.1"
9
+ platform: ruby
10
+ authors:
11
+ - Joseph Spens
12
+ autorequire:
13
+ bindir: bin
14
+ cert_chain: []
15
+
16
+ date: 2013-08-23 00:00:00 -04:00
17
+ default_executable:
18
+ dependencies:
19
+ - !ruby/object:Gem::Dependency
20
+ name: compass
21
+ prerelease: false
22
+ requirement: &id001 !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ segments:
27
+ - 0
28
+ - 11
29
+ version: "0.11"
30
+ type: :runtime
31
+ version_requirements: *id001
32
+ description: Sass library developed by Joe Spens
33
+ email: joseph@spens.us
34
+ executables: []
35
+
36
+ extensions: []
37
+
38
+ extra_rdoc_files: []
39
+
40
+ files:
41
+ - README.mkdn
42
+ - lib/spens.rb
43
+ - stylesheets/_spens.scss
44
+ - stylesheets/spens/_extends.scss
45
+ - stylesheets/spens/_foundation.scss
46
+ - stylesheets/spens/_functions.scss
47
+ - stylesheets/spens/_sliding-footer.scss
48
+ - stylesheets/spens/_sticky-footer.scss
49
+ has_rdoc: true
50
+ homepage: http://www.spens.us/
51
+ licenses: []
52
+
53
+ post_install_message:
54
+ rdoc_options: []
55
+
56
+ require_paths:
57
+ - lib
58
+ required_ruby_version: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ segments:
63
+ - 0
64
+ version: "0"
65
+ required_rubygems_version: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ segments:
70
+ - 0
71
+ version: "0"
72
+ requirements: []
73
+
74
+ rubyforge_project:
75
+ rubygems_version: 1.3.6
76
+ signing_key:
77
+ specification_version: 3
78
+ summary: Sass library developed by Joe Spens
79
+ test_files: []
80
+