welcome to diaspora styles ported

This commit is contained in:
Pablo Cuadrado 2014-09-23 19:09:04 -03:00 committed by Steffen van Bergerem
parent cb99ad9e68
commit bb18803665
2 changed files with 36 additions and 9 deletions

View file

@ -54,3 +54,34 @@
}
}
}
#welcome-to-diaspora {
-webkit-box-shadow: inset 0 -2px 10px rgba(0,0,0,0.35);
-moz-box-shadow: inset 0 -2px 10px rgba(0,0,0,0.35);
position: relative;
width: 100%;
left: 0;
top: 0;
padding: 10px;
.right {
position: absolute;
right: 0;
top: 10px;
}
h1,h3 {
color: #fff;
text-overflow: ellipsis;
white-space: nowrap;
}
background: orange;
&:hover {
#gs-skip-x {
@include opacity(0.4);
@include transition(opacity, 0.25s);
&:hover {
@include opacity(1);
}
}
}
}

View file

@ -8,25 +8,21 @@
= javascript_include_tag :jsxc, :id => 'jsxc',
:data => { :endpoint => get_bosh_endpoint }
.bootstrap_header_padding
- if current_user.getting_started?
#welcome-to-diaspora
.container{:style => "position: relative;"}
.right
= link_to image_tag('close_label.png'), getting_started_completed_path, :id => "gs-skip-x"
.span-23
.span12
%h1
= t('aspects.index.welcome_to_diaspora', :name => current_user.first_name)
%h3
= t('aspects.index.introduce_yourself')
%br
%br
%br
%br
%br
.bootstrap_header_padding
.container
.row
.container-fluid
.row-fluid
.span3#leftNavBar
#home_user_badge
= owner_image_link