Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

ENHANCEMENT: adding scss stlying

  • Loading branch information...
commit d6740d84824671bf6dde52ceb468da878bee2cc6 1 parent 236857b
Julian Seidenberg candidasa authored
1  .gitignore
View
@@ -0,0 +1 @@
+.sass-cache
1  code/DMSDocument.php
View
@@ -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
20 config.rb
View
@@ -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  css/DMSDocumentCMSFields.css
View
@@ -0,0 +1 @@
+#test { /* Test SCSS */ }
3  scss/DMSDocumentCMSFields.scss
View
@@ -0,0 +1,3 @@
+#test {
+ /* Test SCSS */
+}
Please sign in to comment.
Something went wrong with that request. Please try again.