contour 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
## 1.2.
|
|
1
|
+
## 1.2.1 (February 20, 2013)
|
|
2
|
+
|
|
3
|
+
### Enhancements
|
|
4
|
+
- Flash notices are now displayed underneath the menu bar as a float
|
|
5
|
+
- Flash notices can be customized by overwriting the CSS for `.flash-block` and `.navbar-alert`
|
|
6
|
+
|
|
7
|
+
## 1.2.0 (February 15, 2013)
|
|
2
8
|
|
|
3
9
|
### Breaking Changes
|
|
4
10
|
- Removed support for the subnav partial
|
data/README.md
CHANGED
|
@@ -47,13 +47,16 @@ h1, h2, h3, h4, h5, h6 {
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
.navbar-alert {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
50
|
+
margin: 0px 0px 5px 0px;
|
|
51
|
+
border: 1px solid #515151;
|
|
52
|
+
-moz-box-shadow: 3px 3px 4px #515151;
|
|
53
|
+
-webkit-box-shadow: 3px 3px 4px #515151;
|
|
54
|
+
box-shadow: 3px 3px 4px #515151;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.flash-block {
|
|
58
|
+
position: absolute;
|
|
59
|
+
right: 0px;
|
|
60
|
+
top: -16px;
|
|
61
|
+
z-index: 1000;
|
|
59
62
|
}
|
|
@@ -46,9 +46,6 @@
|
|
|
46
46
|
<input id="<%= Contour.search_bar[:id] || 'global-search' %>" name="q" type="text" autocomplete="off" class="search-query" value="<%= params[:q] %>" placeholder="<%= Contour.search_bar[:placeholder] || 'Search' %>">
|
|
47
47
|
</form>
|
|
48
48
|
<% end %>
|
|
49
|
-
<div class="navbar-search pull-right" data-object="flash-container">
|
|
50
|
-
<%= flash_block %>
|
|
51
|
-
</div>
|
|
52
49
|
</div>
|
|
53
50
|
</div>
|
|
54
51
|
</div>
|
|
@@ -19,6 +19,12 @@
|
|
|
19
19
|
<%= render partial: 'contour/layouts/menu' %>
|
|
20
20
|
</div>
|
|
21
21
|
|
|
22
|
+
<div class="container" style="position:relative">
|
|
23
|
+
<div class="flash-block" data-object="flash-container">
|
|
24
|
+
<%= flash_block %>
|
|
25
|
+
</div>
|
|
26
|
+
</div>
|
|
27
|
+
|
|
22
28
|
<div class="container">
|
|
23
29
|
<%= yield %>
|
|
24
30
|
</div>
|
data/lib/contour/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: contour
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.1
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-02-
|
|
12
|
+
date: 2013-02-20 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rails
|