Permalink
Browse files

Changed filestructure to mimick a rails app

  • Loading branch information...
1 parent 52b1e0a commit ee75d9e00bd25f9ef336924ba8a9f304f1476d97 Phil LaPier committed Aug 12, 2011
View
@@ -20,18 +20,22 @@ You'll need:
Everything in flashes directory, place respectively in your rails app:
* _flashes.html.erb partial into app/views/shared/
-* sass files into public/stylesheets/sass/
+* sexy-css3-flashes folder into public/stylesheets/sass/
* flashes.js into public/javascripts/ and include it in your javascripts tag.
-Add the flashes partial to your layouts:
+Import the _flashes.scss partial into your application.scss
+
+ @import "sexy-css3-flashes/flashes";
+
+Add the _flashes.html.erb partial to your layouts:
<%= render :partial => 'shared/flashes' -%>
## Styles / Themes
There are two default themes provided: DARK & LIGHT.
-Alternatively, a CUSTOM theme can be defined in _custom-theme.scss. See CUSTOM Theme below.
+Alternatively, a CUSTOM theme can be styled in _custom-theme.scss. See CUSTOM Theme below.
### DARK or LIGHT Theme
@@ -75,9 +79,9 @@ Add all your custom styles here.
## Animation Behavior
-The animation behavior can be changed within flashes.js. The default time to display the flashes is 3 seconds; on mobile it is extended 2 seconds longer — 5 seconds by default.
+The animation behavior can be changed within flashes.js. The default time to display the flashes is 3 seconds; on mobile it is extended 2 seconds longer — 5 seconds by default. The time can be adjusted in javascripts/flashes.js.
## About
-These CSS3 flashes were created on the grounds of providing better functionality and visual appeal. They look best in WebKit-based browsers and Firefox, with all other browsers degrading rather gracefully. If you use these flashes in the wild, drop me a note and let me know. http://twitter.com/phillapier
+These CSS3 flashes were created on the grounds of providing better functionality and visual appeal. They look best in WebKit-based browsers and Firefox, with all other browsers degrading rather gracefully. If you use these flashes in your app, drop me a note and let me know. http://twitter.com/phillapier
@@ -1,12 +1,12 @@
/************************************************************************
- Sexy CSS3 Flashes v2.0.0
+ Sexy CSS3 Flashes v2.0.1
Copyright 2010, Phil LaPier
https://github.com/plapier/sexy-css3-flashes
Requires Sass v3.1.1+ to compile (http://sass-lang.com/)
************************************************************************/
-@import "../../demo/bourbon/bourbon"; // Remove this line after installing bourbon Gem in app
+@import "../../../../demo/bourbon/bourbon"; // Remove this line after installing bourbon Gem in app
// EDIT HERE

0 comments on commit ee75d9e

Please sign in to comment.