Browse files

ENHANCEMENT: adding scss stlying

  • Loading branch information...
1 parent 236857b commit d6740d84824671bf6dde52ceb468da878bee2cc6 @candidasa candidasa committed Aug 1, 2012
Showing with 26 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +1 −0 code/DMSDocument.php
  3. +20 −0 config.rb
  4. +1 −0 css/DMSDocumentCMSFields.css
  5. +3 −0 scss/DMSDocumentCMSFields.scss
View
1 .gitignore
@@ -0,0 +1 @@
+.sass-cache
View
1 code/DMSDocument.php
@@ -430,6 +430,7 @@ function getFilenameWithoutID() {
function getCMSFields() {
//include JS to handling showing and hiding of bottom "action" tabs
Requirements::javascript('dms/javascript/DMSDocumentCMSFields.js');
+ Requirements::css('dms/css/DMSDocumentCMSFields.css');
$fields = new FieldList(); //don't use the automatic scaffolding, it is slow and unnecessary here
View
20 config.rb
@@ -0,0 +1,20 @@
+# Require any additional compass plugins here.
+require 'compass-colors'
+
+project_type = :stand_alone
+# Set this to the root of your project when deployed:
+http_path = "/"
+css_dir = "css"
+sass_dir = "scss"
+images_dir = "images"
+javascripts_dir = "javascript"
+output_style = :compact
+
+# To enable relative paths to assets via compass helper functions. Uncomment:
+relative_assets = true
+
+# disable comments in the output. We want admin comments
+# to be verbose
+line_comments = false
+
+asset_cache_buster :none
View
1 css/DMSDocumentCMSFields.css
@@ -0,0 +1 @@
+#test { /* Test SCSS */ }
View
3 scss/DMSDocumentCMSFields.scss
@@ -0,0 +1,3 @@
+#test {
+ /* Test SCSS */
+}

0 comments on commit d6740d8

Please sign in to comment.