rails_layout 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b1967db961277ac6d2a0fbbb02842baf5a4407e0
4
- data.tar.gz: 2048c2f9e39a538fe8417babd17eee8da9153b51
3
+ metadata.gz: f8e711b4ae92d424e6f9bb42f34e6e4bbf54561e
4
+ data.tar.gz: 28bd30053cf83abfff3d74dbb510e40e9dfeb25c
5
5
  SHA512:
6
- metadata.gz: 47e1ebb1ab73312ff9ca297d9f9150d248680a5ab55c3b8b827fb995f3fbe3de59634e7f104ab079908a9746e18661b96c47070143b878e183229568f2ef25ec
7
- data.tar.gz: fa05bed3b94aa8db900a94a74b52a6469e6702faf20340677fe9334791611d509c2940969a0c6997f74d25e37078b117dc2364b0eee36fbf3285dbbb9a2241be
6
+ metadata.gz: b48c07291a144559e6e660f030932300cf5f9f65dc28f2ca1a9b76f0233e19e4eb5847914e335c2eea2e72c8d2dbfec134d93e744cb9cc3b4e6fbc5b6bd46800
7
+ data.tar.gz: c950ba8a30ec3f48ec89477ac481cb75368ffef59a6b79d0532868d48112ab2c17f5889021311214a918c4b461421524247d37b44395cb5358810ca5f949da67
data/CHANGELOG.textile CHANGED
@@ -1,5 +1,9 @@
1
1
  h1. CHANGELOG
2
2
 
3
+ h2. 0.1.9 October 20, 2013
4
+
5
+ * use class instead of id for simple CSS flash messages
6
+
3
7
  h2. 0.1.8 October 19, 2013
4
8
 
5
9
  * fix navigation
@@ -1,5 +1,5 @@
1
1
  <% flash.each do |name, msg| %>
2
2
  <% if msg.is_a?(String) %>
3
- <%= content_tag :div, msg, :id => "flash_#{name}" %>
3
+ <%= content_tag :div, msg, :class => "flash_#{name}" %>
4
4
  <% end %>
5
5
  <% end %>
@@ -1,3 +1,3 @@
1
1
  - flash.each do |name, msg|
2
2
  - if msg.is_a?(String)
3
- = content_tag :div, msg, :id => "flash_#{name}"
3
+ = content_tag :div, msg, :class => "flash_#{name}"
@@ -20,7 +20,7 @@ ul.nav li a {
20
20
  text-decoration: none;
21
21
  text-shadow: 0 1px 0 white;
22
22
  }
23
- #flash_notice, #flash_alert {
23
+ .flash_notice, .flash_alert {
24
24
  padding: 8px 35px 8px 14px;
25
25
  margin-bottom: 20px;
26
26
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
@@ -32,12 +32,12 @@ ul.nav li a {
32
32
  font-size: 14px;
33
33
  line-height: 20px;
34
34
  }
35
- #flash_notice {
35
+ .flash_notice {
36
36
  background-color: #dff0d8;
37
37
  border-color: #d6e9c6;
38
38
  color: #468847;
39
39
  }
40
- #flash_alert {
40
+ .flash_alert {
41
41
  background-color: #f2dede;
42
42
  border-color: #eed3d7;
43
43
  color: #b94a48;
@@ -1,3 +1,3 @@
1
1
  module RailsLayout
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_layout
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Kehoe