Skip to content
Browse files

Add compass check to sass-test

  • Loading branch information...
1 parent 9162539 commit b864d5007d9e66c6a5d0fe3591f208f258115b4d @hawx committed Oct 13, 2012
Showing with 11 additions and 4 deletions.
  1. +1 −0 sass-test/Gemfile
  2. +4 −3 sass-test/Guardfile
  3. +2 −0 sass-test/_sass/screen.sass
  4. +4 −1 sass-test/css/screen.css
View
1 sass-test/Gemfile
@@ -5,5 +5,6 @@ group :osx do
gem 'rb-fsevent'
end
+gem 'compass'
gem 'guard', '>= 1.1.0'
gem 'guard-sass', :path => '../'
View
7 sass-test/Guardfile
@@ -4,6 +4,7 @@
# watch %r{^scss/(.*)}
#end
-guard 'sass', :input => '_sass',
- :output => 'css',
- :smart_partials => true
+guard 'sass', :input => '_sass',
+ :output => 'css',
+ :smart_partials => true,
+ :compass => true
View
2 sass-test/_sass/screen.sass
@@ -1,5 +1,6 @@
@import test
@import partials/_test
+@import "compass/css3"
.error
border: 1px #f00
@@ -8,6 +9,7 @@
.error.intrusion
font-size: 1.3em
font-weight: bold
+ @include single-box-shadow(black, 0, 0, 1px, 1px, false)
.badError
@extend .error
View
5 sass-test/css/screen.css
@@ -10,7 +10,10 @@ html {
.error.intrusion, .intrusion.badError {
font-size: 1.3em;
- font-weight: bold; }
+ font-weight: bold;
+ -webkit-box-shadow: 0 0 1px 1px black;
+ -moz-box-shadow: 0 0 1px 1px black;
+ box-shadow: 0 0 1px 1px black; }
.badError {
border-width: 3px; }

0 comments on commit b864d50

Please sign in to comment.
Something went wrong with that request. Please try again.