DG MS; fixed position of flash message

This commit is contained in:
danielvincent 2010-07-01 19:55:38 -07:00
parent 4f7579a5db
commit 1616f5573d
3 changed files with 9 additions and 7 deletions

View file

@ -19,11 +19,10 @@
= javascript_include_tag 'satisfaction' , 'satisfaction-display'
%body
- flash.each do |name, msg|
= content_tag :div, msg, :id => "flash_#{name}"
%header
.container
- flash.each do |name, msg|
= content_tag :div, msg, :id => "flash_#{name}"
%a#diaspora_text{:href => root_path}
%img{:src => '/images/diaspora_white.png'}
preview

View file

@ -11,12 +11,13 @@ a {
#flash_error,
#flash_alert {
z-index: 60;
position: fixed;
position: absolute;
padding: 5px 8px;
margin: 0;
width: 400px;
top: 0px;
left: 200px; }
margin-left: 230px;
color: #666666; }
#flash_notice {
background-color: #ccffcc;

View file

@ -11,12 +11,14 @@ a
#flash_error,
#flash_alert
:z-index 60
:position fixed
:position absolute
:padding 5px 8px
:margin 0
:width 400px
:top 0px
:left 200px
:margin
:left 230px
:color #666
#flash_notice
:background-color #CFC