diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9ba470d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.sass-cache \ No newline at end of file diff --git a/code/DMSDocument.php b/code/DMSDocument.php index b5e58e8..3d0821f 100644 --- a/code/DMSDocument.php +++ b/code/DMSDocument.php @@ -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 diff --git a/config.rb b/config.rb new file mode 100644 index 0000000..8baebea --- /dev/null +++ b/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 \ No newline at end of file diff --git a/css/DMSDocumentCMSFields.css b/css/DMSDocumentCMSFields.css new file mode 100644 index 0000000..0cc0204 --- /dev/null +++ b/css/DMSDocumentCMSFields.css @@ -0,0 +1 @@ +#test { /* Test SCSS */ } diff --git a/scss/DMSDocumentCMSFields.scss b/scss/DMSDocumentCMSFields.scss new file mode 100644 index 0000000..ba34763 --- /dev/null +++ b/scss/DMSDocumentCMSFields.scss @@ -0,0 +1,3 @@ +#test { + /* Test SCSS */ +} \ No newline at end of file