Skip to content
Browse files

Merge pull request #3 from karalis/master

we have a fixed positioned translation bar
  • Loading branch information...
2 parents 8ba79b0 + bc68f56 commit f186778eac8dc225a066a0985390d24e5c9509d7 @gnagno committed Jul 16, 2011
View
8 app/assets/stylesheets/lost-i18n-translation.css.scss
@@ -4,4 +4,12 @@ span.translation_missing {
span.translation_present {
border: 1px solid green;
+
+#lost-i18n-translation-div {
+ position: fixed;
+ top:0px;
+ right:0px;
+ z-index: 1;
+ background-color: orange;
+ opacity:0.8;
}
View
1 spec/dummy/app/views/home/_lorem.html.erb
@@ -0,0 +1 @@
+<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean ut sem risus. Etiam rhoncus, justo et dignissim volutpat, ipsum purus sagittis nibh, ut auctor quam nisl eu dolor. Maecenas a fermentum turpis. Nulla egestas tempor massa, ac mollis massa ullamcorper non. Aenean bibendum ultrices egestas. Integer varius est sit amet erat accumsan vel cursus justo ornare. Nulla facilisi. Pellentesque est orci, rutrum ac condimentum in, dignissim eget nunc. Duis magna dolor, hendrerit sit amet tincidunt sit amet, fermentum vitae mi. Vestibulum mollis sollicitudin venenatis. Nunc pretium porta commodo. Fusce scelerisque, nunc a lacinia congue, arcu nisl congue nunc, id commodo nunc velit in orci.</p>
View
3 spec/dummy/app/views/home/index.html.erb
@@ -2,3 +2,6 @@
<p>Find me in app/views/home/index.html.erb</p>
<%= t 'test' %><br />
<%= t 'hello' %>
+<% 6.times do -%>
+ <%= render 'lorem' %>
+<% end -%>

0 comments on commit f186778

Please sign in to comment.
Something went wrong with that request. Please try again.