Browse files

styling the translation bar

  • Loading branch information...
1 parent 8ba79b0 commit bc68f5636fa1efa35461a5e5ba62b82c54b4f739 @adamico adamico 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 bc68f56

Please sign in to comment.