Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

separate flashes out to their own scss file

  • Loading branch information...
commit 9016981440cf2f66c2ccfafa66216d0b5e9f21bd 1 parent edd4938
@mjankowski mjankowski authored
View
39 app/assets/stylesheets/_defaults.scss
@@ -9,45 +9,6 @@ h1, h2, h3, h4, h5, h6 {
font-family: "helvetica neue", Helvetica, arial, sans-serif;
}
-/* Success, error & notice boxes for messages and errors. */
-div.error, div.notice, div.success, #flash_failure, #flash_success, #flash_notice {
- border: 1px solid #ddd;
- -moz-border-radius: 8px;
- -webkit-border-radius: 8px;
- border-radius: 8px;
- margin-bottom: 12px;
- padding: 10px;
-}
-
-div.error, #flash_failure {
- background: #FBE3E4;
- border-color: #FBC2C4;
- color: #D12F19;
-}
-
-div.error a, #flash_failure a {
- color: #D12F19;
-}
-
-div.notice, #flash_notice {
- background: #FFF6BF;
- border-color: #FFD324;
- color: #817134;
-}
-
-div.notice a, #flash_notice a {
- color: #817134;
-}
-
-div.success, #flash_success {
- background: #E6EFC2;
- border-color: #C6D880;
- color: #529214;
-}
-
-div.success a, #flash_success a {
- color: #529214;
-}
/* Misc classes and elements */
/* Use a .box to create a padded box inside a column. */
View
39 app/assets/stylesheets/_flashes.scss
@@ -0,0 +1,39 @@
+/* Success, error & notice boxes for messages and errors. */
+div.error, div.notice, div.success, #flash_failure, #flash_success, #flash_notice {
+ border: 1px solid #ddd;
+ -moz-border-radius: 8px;
+ -webkit-border-radius: 8px;
+ border-radius: 8px;
+ margin-bottom: 12px;
+ padding: 10px;
+}
+
+div.error, #flash_failure {
+ background: #FBE3E4;
+ border-color: #FBC2C4;
+ color: #D12F19;
+}
+
+div.error a, #flash_failure a {
+ color: #D12F19;
+}
+
+div.notice, #flash_notice {
+ background: #FFF6BF;
+ border-color: #FFD324;
+ color: #817134;
+}
+
+div.notice a, #flash_notice a {
+ color: #817134;
+}
+
+div.success, #flash_success {
+ background: #E6EFC2;
+ border-color: #C6D880;
+ color: #529214;
+}
+
+div.success a, #flash_success a {
+ color: #529214;
+}
View
1  app/assets/stylesheets/flutie.scss
@@ -1,5 +1,6 @@
@import 'reset';
@import 'defaults';
+@import 'flashes';
@import 'type';
@import 'forms';
@import 'tables';
Please sign in to comment.
Something went wrong with that request. Please try again.