DG MS; fixed position of flash message
This commit is contained in:
parent
4f7579a5db
commit
1616f5573d
3 changed files with 9 additions and 7 deletions
|
|
@ -19,11 +19,10 @@
|
||||||
|
|
||||||
= javascript_include_tag 'satisfaction' , 'satisfaction-display'
|
= javascript_include_tag 'satisfaction' , 'satisfaction-display'
|
||||||
%body
|
%body
|
||||||
- flash.each do |name, msg|
|
|
||||||
= content_tag :div, msg, :id => "flash_#{name}"
|
|
||||||
|
|
||||||
%header
|
%header
|
||||||
.container
|
.container
|
||||||
|
- flash.each do |name, msg|
|
||||||
|
= content_tag :div, msg, :id => "flash_#{name}"
|
||||||
%a#diaspora_text{:href => root_path}
|
%a#diaspora_text{:href => root_path}
|
||||||
%img{:src => '/images/diaspora_white.png'}
|
%img{:src => '/images/diaspora_white.png'}
|
||||||
preview
|
preview
|
||||||
|
|
|
||||||
|
|
@ -11,12 +11,13 @@ a {
|
||||||
#flash_error,
|
#flash_error,
|
||||||
#flash_alert {
|
#flash_alert {
|
||||||
z-index: 60;
|
z-index: 60;
|
||||||
position: fixed;
|
position: absolute;
|
||||||
padding: 5px 8px;
|
padding: 5px 8px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
width: 400px;
|
width: 400px;
|
||||||
top: 0px;
|
top: 0px;
|
||||||
left: 200px; }
|
margin-left: 230px;
|
||||||
|
color: #666666; }
|
||||||
|
|
||||||
#flash_notice {
|
#flash_notice {
|
||||||
background-color: #ccffcc;
|
background-color: #ccffcc;
|
||||||
|
|
|
||||||
|
|
@ -11,12 +11,14 @@ a
|
||||||
#flash_error,
|
#flash_error,
|
||||||
#flash_alert
|
#flash_alert
|
||||||
:z-index 60
|
:z-index 60
|
||||||
:position fixed
|
:position absolute
|
||||||
:padding 5px 8px
|
:padding 5px 8px
|
||||||
:margin 0
|
:margin 0
|
||||||
:width 400px
|
:width 400px
|
||||||
:top 0px
|
:top 0px
|
||||||
:left 200px
|
:margin
|
||||||
|
:left 230px
|
||||||
|
:color #666
|
||||||
|
|
||||||
#flash_notice
|
#flash_notice
|
||||||
:background-color #CFC
|
:background-color #CFC
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue