welcome to diaspora styles ported
This commit is contained in:
parent
cb99ad9e68
commit
bb18803665
2 changed files with 36 additions and 9 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue