polishing of the right sidebar
This commit is contained in:
parent
25be9ecfd2
commit
c8ba4f061e
4 changed files with 16 additions and 13 deletions
|
|
@ -25,6 +25,8 @@ $red: #A80000;
|
|||
$blue: #3F8FBA;
|
||||
$dark-blue: darken(#0984C8,10%);
|
||||
|
||||
$right-sidebar-background: #f0f0f0;
|
||||
|
||||
/* colors : http://www.colourlovers.com/palette/2134203/Awezome_in_argyle */
|
||||
$cyan : rgb(8,204,249);
|
||||
$yellow : rgb(242,244,9);
|
||||
|
|
|
|||
|
|
@ -1,21 +1,28 @@
|
|||
#right-sidebar-fixed-background {
|
||||
height: 100%;
|
||||
background: $right-sidebar-background;
|
||||
position: fixed;
|
||||
right: 0;
|
||||
}
|
||||
.rightBar {
|
||||
padding-top: 20px;
|
||||
background: $right-sidebar-background;
|
||||
|
||||
.section {
|
||||
margin-bottom: 20px;
|
||||
|
||||
> .title {
|
||||
border-bottom: 1px solid $border-grey;
|
||||
padding-bottom: 2px;
|
||||
padding-bottom: 5px;
|
||||
|
||||
&.no_icon { padding-left: 8px; }
|
||||
|
||||
h5 {
|
||||
color: $text-dark-grey;
|
||||
font-weight: bold;
|
||||
font-weight: normal;
|
||||
font-size: $font-size-base;
|
||||
margin: 0;
|
||||
&.title-header { margin-left: 5px; }
|
||||
text-transform: uppercase;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -23,7 +30,7 @@
|
|||
color: $text-grey;
|
||||
font-size: $font-size-small;
|
||||
line-height: 18px;
|
||||
padding: 5px;
|
||||
padding: 10px 0;
|
||||
|
||||
p, ul { margin: 0; }
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
.section
|
||||
.title
|
||||
%h5.title-header
|
||||
%i.entypo-plus
|
||||
= t('shared.invitations.invite_your_friends')
|
||||
.content
|
||||
= render "shared/invitations"
|
||||
|
|
@ -15,7 +14,6 @@
|
|||
.section
|
||||
.title
|
||||
%h5.title-header
|
||||
%i.entypo-users
|
||||
= t('aspects.index.new_here.title')
|
||||
.content
|
||||
!= t('aspects.index.new_here.follow', link: link_to("#"+t('shared.publisher.new_user_prefill.newhere'), tag_path(name: t('shared.publisher.new_user_prefill.newhere'))))
|
||||
|
|
@ -25,7 +23,6 @@
|
|||
.section
|
||||
.title
|
||||
%h5.title-header
|
||||
%i.entypo-circled-help
|
||||
= t('aspects.index.help.need_help')
|
||||
.content
|
||||
%p
|
||||
|
|
@ -49,7 +46,6 @@
|
|||
.section
|
||||
.title
|
||||
%h5.title-header
|
||||
%i.entypo-cog
|
||||
= t('aspects.index.services.heading')
|
||||
.content
|
||||
%div
|
||||
|
|
@ -64,7 +60,6 @@
|
|||
.section
|
||||
.title
|
||||
%h5.title-header
|
||||
%i.entypo-bookmark
|
||||
= t('bookmarklet.heading')
|
||||
.content
|
||||
!= t('bookmarklet.explanation', :link => link_to(t('bookmarklet.post_something'), bookmarklet_code))
|
||||
|
|
@ -73,7 +68,6 @@
|
|||
.section
|
||||
.title
|
||||
%h5.title-header
|
||||
%i.entypo-heart
|
||||
= t('aspects.index.donate')
|
||||
.content
|
||||
%p
|
||||
|
|
@ -84,7 +78,6 @@
|
|||
.section
|
||||
.title
|
||||
%h5.title-header
|
||||
%i.entypo-mail
|
||||
= t('aspects.index.help.any_problem')
|
||||
.content
|
||||
%p
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@
|
|||
= link_to '×'.html_safe, getting_started_completed_path, id: "gs-skip-x", class: "close"
|
||||
|
||||
%div.container-fluid
|
||||
#right-sidebar-fixed-background.col-md-3.hidden-sm.hidden-xs
|
||||
.row
|
||||
.col-md-offset-1.col-md-2#leftNavBar
|
||||
#home_user_badge
|
||||
|
|
@ -44,9 +45,9 @@
|
|||
#aspect_stream_container.stream_container
|
||||
= render 'aspects/aspect_stream', stream: @stream
|
||||
|
||||
.col-md-2.rightBar
|
||||
.col-md-3.rightBar
|
||||
#selected_aspect_contacts.section
|
||||
.title.no_icon
|
||||
.title
|
||||
%h5.stream_title
|
||||
= @stream.title
|
||||
.content
|
||||
|
|
|
|||
Loading…
Reference in a new issue