Skip to content

Commit

Permalink
ENHANCEMENT: adding scss stlying
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian Seidenberg committed Aug 1, 2012
1 parent 236857b commit d6740d8
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
.sass-cache
1 change: 1 addition & 0 deletions code/DMSDocument.php
Expand Up @@ -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

Expand Down
20 changes: 20 additions & 0 deletions 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
1 change: 1 addition & 0 deletions css/DMSDocumentCMSFields.css
@@ -0,0 +1 @@
#test { /* Test SCSS */ }
3 changes: 3 additions & 0 deletions scss/DMSDocumentCMSFields.scss
@@ -0,0 +1,3 @@
#test {
/* Test SCSS */
}

0 comments on commit d6740d8

Please sign in to comment.