simple-compass 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) hide show
  1. data/.gitignore +2 -0
  2. data/.rspec +1 -0
  3. data/Gemfile +6 -0
  4. data/Gemfile.lock +26 -0
  5. data/Rakefile +8 -0
  6. data/lib/simple-compass.rb +17 -0
  7. data/lib/simple-compass/sass/functions/display.rb +27 -0
  8. data/lib/simple-compass/sass/functions/lists.rb +101 -0
  9. data/lib/simple-compass/sass/functions/selectors.rb +64 -0
  10. data/lib/simple-compass/sass/functions/sprites.rb +218 -0
  11. data/lib/simple-compass/version.rb +3 -0
  12. data/sass/compass.scss +1 -0
  13. data/sass/compass/_css3.scss +20 -0
  14. data/sass/compass/_layout.scss +3 -0
  15. data/sass/compass/_reset-legacy.scss +3 -0
  16. data/sass/compass/_reset.scss +3 -0
  17. data/sass/compass/_support.scss +40 -0
  18. data/sass/compass/_typography.scss +4 -0
  19. data/sass/compass/_utilities.scss +9 -0
  20. data/sass/compass/css3/_appearance.scss +17 -0
  21. data/sass/compass/css3/_background-clip.scss +43 -0
  22. data/sass/compass/css3/_background-origin.scss +42 -0
  23. data/sass/compass/css3/_background-size.scss +26 -0
  24. data/sass/compass/css3/_border-radius.scss +130 -0
  25. data/sass/compass/css3/_box-shadow.scss +76 -0
  26. data/sass/compass/css3/_box-sizing.scss +13 -0
  27. data/sass/compass/css3/_box.scss +111 -0
  28. data/sass/compass/css3/_columns.scss +157 -0
  29. data/sass/compass/css3/_filter.scss +23 -0
  30. data/sass/compass/css3/_font-face.scss +48 -0
  31. data/sass/compass/css3/_hyphenation.scss +77 -0
  32. data/sass/compass/css3/_images.scss +132 -0
  33. data/sass/compass/css3/_inline-block.scss +22 -0
  34. data/sass/compass/css3/_opacity.scss +19 -0
  35. data/sass/compass/css3/_pie.scss +73 -0
  36. data/sass/compass/css3/_regions.scss +22 -0
  37. data/sass/compass/css3/_shared.scss +38 -0
  38. data/sass/compass/css3/_text-shadow.scss +87 -0
  39. data/sass/compass/css3/_transform-legacy.scss +87 -0
  40. data/sass/compass/css3/_transform.scss +598 -0
  41. data/sass/compass/css3/_transition.scss +221 -0
  42. data/sass/compass/css3/_user-interface.scss +17 -0
  43. data/sass/compass/layout/_grid-background.scss +178 -0
  44. data/sass/compass/layout/_sticky-footer.scss +23 -0
  45. data/sass/compass/layout/_stretching.scss +24 -0
  46. data/sass/compass/reset/_utilities-legacy.scss +135 -0
  47. data/sass/compass/reset/_utilities.scss +142 -0
  48. data/sass/compass/typography/_links.scss +3 -0
  49. data/sass/compass/typography/_lists.scss +4 -0
  50. data/sass/compass/typography/_text.scss +4 -0
  51. data/sass/compass/typography/_vertical_rhythm.scss +221 -0
  52. data/sass/compass/typography/links/_hover-link.scss +5 -0
  53. data/sass/compass/typography/links/_link-colors.scss +28 -0
  54. data/sass/compass/typography/links/_unstyled-link.scss +7 -0
  55. data/sass/compass/typography/lists/_bullets.scss +34 -0
  56. data/sass/compass/typography/lists/_horizontal-list.scss +61 -0
  57. data/sass/compass/typography/lists/_inline-block-list.scss +50 -0
  58. data/sass/compass/typography/lists/_inline-list.scss +44 -0
  59. data/sass/compass/typography/text/_ellipsis.scss +25 -0
  60. data/sass/compass/typography/text/_force-wrap.scss +12 -0
  61. data/sass/compass/typography/text/_nowrap.scss +2 -0
  62. data/sass/compass/typography/text/_replacement.scss +68 -0
  63. data/sass/compass/utilities/_color.scss +1 -0
  64. data/sass/compass/utilities/_general.scss +6 -0
  65. data/sass/compass/utilities/_links.scss +5 -0
  66. data/sass/compass/utilities/_lists.scss +6 -0
  67. data/sass/compass/utilities/_print.scss +17 -0
  68. data/sass/compass/utilities/_sprites.scss +2 -0
  69. data/sass/compass/utilities/_tables.scss +3 -0
  70. data/sass/compass/utilities/_text.scss +5 -0
  71. data/sass/compass/utilities/color/_contrast.scss +28 -0
  72. data/sass/compass/utilities/general/_clearfix.scss +44 -0
  73. data/sass/compass/utilities/general/_float.scss +30 -0
  74. data/sass/compass/utilities/general/_hacks.scss +46 -0
  75. data/sass/compass/utilities/general/_min.scss +16 -0
  76. data/sass/compass/utilities/general/_reset.scss +2 -0
  77. data/sass/compass/utilities/general/_tabs.scss +1 -0
  78. data/sass/compass/utilities/general/_tag-cloud.scss +18 -0
  79. data/sass/compass/utilities/links/_hover-link.scss +3 -0
  80. data/sass/compass/utilities/links/_link-colors.scss +3 -0
  81. data/sass/compass/utilities/links/_unstyled-link.scss +3 -0
  82. data/sass/compass/utilities/lists/_bullets.scss +3 -0
  83. data/sass/compass/utilities/lists/_horizontal-list.scss +3 -0
  84. data/sass/compass/utilities/lists/_inline-block-list.scss +3 -0
  85. data/sass/compass/utilities/lists/_inline-list.scss +3 -0
  86. data/sass/compass/utilities/sprites/_base.scss +66 -0
  87. data/sass/compass/utilities/sprites/_sprite-img.scss +79 -0
  88. data/sass/compass/utilities/tables/_alternating-rows-and-columns.scss +22 -0
  89. data/sass/compass/utilities/tables/_borders.scss +33 -0
  90. data/sass/compass/utilities/tables/_scaffolding.scss +9 -0
  91. data/sass/compass/utilities/text/_ellipsis.scss +3 -0
  92. data/sass/compass/utilities/text/_nowrap.scss +3 -0
  93. data/sass/compass/utilities/text/_replacement.scss +3 -0
  94. data/simple-compass.gemspec +21 -0
  95. data/spec/fixtures/headings_test.sass +2 -0
  96. data/spec/fixtures/opacity_test.sass +7 -0
  97. data/spec/fixtures/reset_test.sass +1 -0
  98. data/spec/headings_spec.rb +9 -0
  99. data/spec/opacity_spec.rb +9 -0
  100. data/spec/reset_spec.rb +9 -0
  101. data/spec/spec_helper.rb +7 -0
  102. metadata +169 -0
@@ -0,0 +1,9 @@
1
+ require 'spec_helper'
2
+
3
+ describe "@import compass/reset" do
4
+ it "includes the reset code" do
5
+
6
+ engine = ::Sass::Engine.new read_fixture("reset_test.sass")
7
+ engine.to_css.should =~ /margin: 0;/
8
+ end
9
+ end
@@ -0,0 +1,7 @@
1
+ require "sass"
2
+ require "simple-compass"
3
+
4
+ def read_fixture(name)
5
+ file = File.join File.expand_path('../fixtures/', __FILE__), name
6
+ File.read file
7
+ end
metadata ADDED
@@ -0,0 +1,169 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: simple-compass
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Keith Pitt
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-03-01 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: sass
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ description: ''
31
+ email:
32
+ - me@keithpit.com
33
+ executables: []
34
+ extensions: []
35
+ extra_rdoc_files: []
36
+ files:
37
+ - .gitignore
38
+ - .rspec
39
+ - Gemfile
40
+ - Gemfile.lock
41
+ - Rakefile
42
+ - lib/simple-compass.rb
43
+ - lib/simple-compass/sass/functions/display.rb
44
+ - lib/simple-compass/sass/functions/lists.rb
45
+ - lib/simple-compass/sass/functions/selectors.rb
46
+ - lib/simple-compass/sass/functions/sprites.rb
47
+ - lib/simple-compass/version.rb
48
+ - sass/compass.scss
49
+ - sass/compass/_css3.scss
50
+ - sass/compass/_layout.scss
51
+ - sass/compass/_reset-legacy.scss
52
+ - sass/compass/_reset.scss
53
+ - sass/compass/_support.scss
54
+ - sass/compass/_typography.scss
55
+ - sass/compass/_utilities.scss
56
+ - sass/compass/css3/_appearance.scss
57
+ - sass/compass/css3/_background-clip.scss
58
+ - sass/compass/css3/_background-origin.scss
59
+ - sass/compass/css3/_background-size.scss
60
+ - sass/compass/css3/_border-radius.scss
61
+ - sass/compass/css3/_box-shadow.scss
62
+ - sass/compass/css3/_box-sizing.scss
63
+ - sass/compass/css3/_box.scss
64
+ - sass/compass/css3/_columns.scss
65
+ - sass/compass/css3/_filter.scss
66
+ - sass/compass/css3/_font-face.scss
67
+ - sass/compass/css3/_hyphenation.scss
68
+ - sass/compass/css3/_images.scss
69
+ - sass/compass/css3/_inline-block.scss
70
+ - sass/compass/css3/_opacity.scss
71
+ - sass/compass/css3/_pie.scss
72
+ - sass/compass/css3/_regions.scss
73
+ - sass/compass/css3/_shared.scss
74
+ - sass/compass/css3/_text-shadow.scss
75
+ - sass/compass/css3/_transform-legacy.scss
76
+ - sass/compass/css3/_transform.scss
77
+ - sass/compass/css3/_transition.scss
78
+ - sass/compass/css3/_user-interface.scss
79
+ - sass/compass/layout/_grid-background.scss
80
+ - sass/compass/layout/_sticky-footer.scss
81
+ - sass/compass/layout/_stretching.scss
82
+ - sass/compass/reset/_utilities-legacy.scss
83
+ - sass/compass/reset/_utilities.scss
84
+ - sass/compass/typography/_links.scss
85
+ - sass/compass/typography/_lists.scss
86
+ - sass/compass/typography/_text.scss
87
+ - sass/compass/typography/_vertical_rhythm.scss
88
+ - sass/compass/typography/links/_hover-link.scss
89
+ - sass/compass/typography/links/_link-colors.scss
90
+ - sass/compass/typography/links/_unstyled-link.scss
91
+ - sass/compass/typography/lists/_bullets.scss
92
+ - sass/compass/typography/lists/_horizontal-list.scss
93
+ - sass/compass/typography/lists/_inline-block-list.scss
94
+ - sass/compass/typography/lists/_inline-list.scss
95
+ - sass/compass/typography/text/_ellipsis.scss
96
+ - sass/compass/typography/text/_force-wrap.scss
97
+ - sass/compass/typography/text/_nowrap.scss
98
+ - sass/compass/typography/text/_replacement.scss
99
+ - sass/compass/utilities/_color.scss
100
+ - sass/compass/utilities/_general.scss
101
+ - sass/compass/utilities/_links.scss
102
+ - sass/compass/utilities/_lists.scss
103
+ - sass/compass/utilities/_print.scss
104
+ - sass/compass/utilities/_sprites.scss
105
+ - sass/compass/utilities/_tables.scss
106
+ - sass/compass/utilities/_text.scss
107
+ - sass/compass/utilities/color/_contrast.scss
108
+ - sass/compass/utilities/general/_clearfix.scss
109
+ - sass/compass/utilities/general/_float.scss
110
+ - sass/compass/utilities/general/_hacks.scss
111
+ - sass/compass/utilities/general/_min.scss
112
+ - sass/compass/utilities/general/_reset.scss
113
+ - sass/compass/utilities/general/_tabs.scss
114
+ - sass/compass/utilities/general/_tag-cloud.scss
115
+ - sass/compass/utilities/links/_hover-link.scss
116
+ - sass/compass/utilities/links/_link-colors.scss
117
+ - sass/compass/utilities/links/_unstyled-link.scss
118
+ - sass/compass/utilities/lists/_bullets.scss
119
+ - sass/compass/utilities/lists/_horizontal-list.scss
120
+ - sass/compass/utilities/lists/_inline-block-list.scss
121
+ - sass/compass/utilities/lists/_inline-list.scss
122
+ - sass/compass/utilities/sprites/_base.scss
123
+ - sass/compass/utilities/sprites/_sprite-img.scss
124
+ - sass/compass/utilities/tables/_alternating-rows-and-columns.scss
125
+ - sass/compass/utilities/tables/_borders.scss
126
+ - sass/compass/utilities/tables/_scaffolding.scss
127
+ - sass/compass/utilities/text/_ellipsis.scss
128
+ - sass/compass/utilities/text/_nowrap.scss
129
+ - sass/compass/utilities/text/_replacement.scss
130
+ - simple-compass.gemspec
131
+ - spec/fixtures/headings_test.sass
132
+ - spec/fixtures/opacity_test.sass
133
+ - spec/fixtures/reset_test.sass
134
+ - spec/headings_spec.rb
135
+ - spec/opacity_spec.rb
136
+ - spec/reset_spec.rb
137
+ - spec/spec_helper.rb
138
+ homepage: ''
139
+ licenses: []
140
+ post_install_message:
141
+ rdoc_options: []
142
+ require_paths:
143
+ - lib
144
+ required_ruby_version: !ruby/object:Gem::Requirement
145
+ none: false
146
+ requirements:
147
+ - - ! '>='
148
+ - !ruby/object:Gem::Version
149
+ version: '0'
150
+ required_rubygems_version: !ruby/object:Gem::Requirement
151
+ none: false
152
+ requirements:
153
+ - - ! '>='
154
+ - !ruby/object:Gem::Version
155
+ version: '0'
156
+ requirements: []
157
+ rubyforge_project:
158
+ rubygems_version: 1.8.23
159
+ signing_key:
160
+ specification_version: 3
161
+ summary: ''
162
+ test_files:
163
+ - spec/fixtures/headings_test.sass
164
+ - spec/fixtures/opacity_test.sass
165
+ - spec/fixtures/reset_test.sass
166
+ - spec/headings_spec.rb
167
+ - spec/opacity_spec.rb
168
+ - spec/reset_spec.rb
169
+ - spec/spec_helper.rb