From: Harris Lapiroff Date: Fri, 10 Jun 2011 13:57:00 +0000 (-0400) Subject: Moved the config.rb file to a place where it makes more sense. Added a readme. X-Git-Url: http://git.ithinksw.org/philo.git/commitdiff_plain/3cbd4bd0a4f67874f7cfb157879f84b98425d8cb Moved the config.rb file to a place where it makes more sense. Added a readme. --- diff --git a/philo/contrib/gilbert/static/gilbert/murano/README.markdown b/philo/contrib/gilbert/static/gilbert/murano/README.markdown new file mode 100644 index 0000000..405c0fd --- /dev/null +++ b/philo/contrib/gilbert/static/gilbert/murano/README.markdown @@ -0,0 +1,14 @@ +Murano +------ + +Murano is a glassy theme for Ext JS 4. + +Using Murano +============ + +Include ```path/to/murano/css/murano.css``` in place of the default Ext JS stylesheet, usually named ```ext-all.css```. Works with Ext JS 4.x. + +Modifying Murano +================ + +To edit Murano for contribution or your own use, you will need to update ```$ext_path``` in config.rb and run ```compass watch``` or ```compass compile``` from this directory. \ No newline at end of file diff --git a/philo/contrib/gilbert/static/gilbert/murano/sass/config.rb b/philo/contrib/gilbert/static/gilbert/murano/config.rb similarity index 80% rename from philo/contrib/gilbert/static/gilbert/murano/sass/config.rb rename to philo/contrib/gilbert/static/gilbert/murano/config.rb index 5be8399..45ef6c7 100755 --- a/philo/contrib/gilbert/static/gilbert/murano/sass/config.rb +++ b/philo/contrib/gilbert/static/gilbert/murano/config.rb @@ -1,17 +1,19 @@ # $ext_path: This should be the path of where the ExtJS SDK is installed # Generally this will be in a lib/extjs folder in your applications root # /lib/extjs -$ext_path = "../../extjs" +$ext_path = "../extjs" + +project_path = File.dirname(__FILE__) # sass_path: the directory your Sass files are in. THIS file should also be in the Sass folder # Generally this will be in a resources/sass folder # /resources/sass -sass_path = File.dirname(__FILE__) +sass_path = File.join(project_path, 'sass') # css_path: the directory you want your CSS files to be. # Generally this is a folder in the parent directory of your Sass files # /resources/css -css_path = File.join(sass_path, "..", "css") +css_path = File.join(project_path, "css") # output_style: The output style for your compiled CSS # nested, expanded, compact, compressed @@ -20,4 +22,4 @@ output_style = :nested environment = :development # We need to load in the Ext4 themes folder, which includes all it's default styling, images, variables and mixins -load File.join(File.dirname(__FILE__), $ext_path, 'resources', 'themes') +load File.join(project_path, $ext_path, 'resources', 'themes')