ENHANCEMENT: adding scss stlying

This commit is contained in:
Julian Seidenberg 2012-08-01 16:12:11 +12:00
parent 236857bc80
commit d6740d8482
5 changed files with 26 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.sass-cache

View File

@ -430,6 +430,7 @@ class DMSDocument extends DataObject implements DMSDocumentInterface {
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

20
config.rb Normal file
View File

@ -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 File

@ -0,0 +1 @@
#test { /* Test SCSS */ }

View File

@ -0,0 +1,3 @@
#test {
/* Test SCSS */
}