Browse Source

Switch to compass

sh4nks 9 years ago
parent
commit
d2c9e4cb9c

+ 4 - 0
flaskbb/themes/aurora/Gemfile

@@ -0,0 +1,4 @@
+source 'https://rubygems.org'
+
+gem 'compass'
+gem 'bootstrap-sass'

+ 40 - 0
flaskbb/themes/aurora/Gemfile.lock

@@ -0,0 +1,40 @@
+GEM
+  remote: https://rubygems.org/
+  specs:
+    autoprefixer-rails (6.1.0.1)
+      execjs
+      json
+    bootstrap-sass (3.3.5.1)
+      autoprefixer-rails (>= 5.0.0.1)
+      sass (>= 3.3.0)
+    chunky_png (1.3.4)
+    compass (1.0.3)
+      chunky_png (~> 1.2)
+      compass-core (~> 1.0.2)
+      compass-import-once (~> 1.0.5)
+      rb-fsevent (>= 0.9.3)
+      rb-inotify (>= 0.9)
+      sass (>= 3.3.13, < 3.5)
+    compass-core (1.0.3)
+      multi_json (~> 1.0)
+      sass (>= 3.3.0, < 3.5)
+    compass-import-once (1.0.5)
+      sass (>= 3.2, < 3.5)
+    execjs (2.6.0)
+    ffi (1.9.10)
+    json (1.8.3)
+    multi_json (1.11.2)
+    rb-fsevent (0.9.5)
+    rb-inotify (0.9.5)
+      ffi (>= 0.5.0)
+    sass (3.4.19)
+
+PLATFORMS
+  ruby
+
+DEPENDENCIES
+  bootstrap-sass
+  compass
+
+BUNDLED WITH
+   1.10.6

+ 28 - 0
flaskbb/themes/aurora/config.rb

@@ -0,0 +1,28 @@
+require 'bootstrap-sass'
+require 'compass/import-once/activate'
+# Require any additional compass plugins here.
+
+
+# Set this to the root of your project when deployed:
+http_path = "/"
+css_dir = "static/css"
+fonts_dir = "static/fonts"
+sass_dir = "src"
+images_dir = "static/img"
+javascripts_dir = "static/js"
+
+# You can select your preferred output style here (can be overridden via the command line):
+# output_style = :expanded or :nested or :compact or :compressed
+output_style = :compressed
+# To enable relative paths to assets via compass helper functions. Uncomment:
+relative_assets = true
+
+# To disable debugging comments that display the original location of your selectors. Uncomment:
+# line_comments = false
+
+
+# If you prefer the indented syntax, you might want to regenerate this
+# project again passing --syntax sass, or you can uncomment this:
+# preferred_syntax = :sass
+# and then run:
+# sass-convert -R --from scss --to sass sass scss && rm -rf sass && mv scss sass