reasonable max-width for right sidebar
This commit is contained in:
parent
9bd7ceb722
commit
754d8107a8
2 changed files with 75 additions and 71 deletions
|
|
@ -4,6 +4,9 @@
|
|||
position: fixed;
|
||||
right: 0;
|
||||
}
|
||||
.right-sidebar-padder {
|
||||
max-width: 300px;
|
||||
}
|
||||
.rightBar {
|
||||
padding-top: 20px;
|
||||
background: $right-sidebar-background;
|
||||
|
|
|
|||
|
|
@ -2,8 +2,9 @@
|
|||
-# licensed under the Affero General Public License version 3 or later. See
|
||||
-# the COPYRIGHT file.
|
||||
|
||||
.right-sidebar-padder
|
||||
|
||||
- if AppConfig.settings.invitations.open?
|
||||
- if AppConfig.settings.invitations.open?
|
||||
.section
|
||||
.title
|
||||
%h5.title-header
|
||||
|
|
@ -11,7 +12,7 @@
|
|||
.content
|
||||
= render "shared/invitations"
|
||||
|
||||
.section
|
||||
.section
|
||||
.title
|
||||
%h5.title-header
|
||||
= t('aspects.index.new_here.title')
|
||||
|
|
@ -20,7 +21,7 @@
|
|||
%br
|
||||
= link_to(t('aspects.index.new_here.learn_more'), "http://wiki.diasporafoundation.org/Welcoming_Committee")
|
||||
|
||||
.section
|
||||
.section
|
||||
.title
|
||||
%h5.title-header
|
||||
= t('aspects.index.help.need_help')
|
||||
|
|
@ -42,7 +43,7 @@
|
|||
:tutorial => link_to(t('aspects.index.help.tutorial_link_text'), "https://diasporafoundation.org/tutorials", :target => '_blank'),
|
||||
:wiki => link_to('Wiki','http://wiki.diasporafoundation.org', :target => '_blank'), :target => '_blank')
|
||||
|
||||
- unless AppConfig.configured_services.blank? || all_services_connected?
|
||||
- unless AppConfig.configured_services.blank? || all_services_connected?
|
||||
.section
|
||||
.title
|
||||
%h5.title-header
|
||||
|
|
@ -57,14 +58,14 @@
|
|||
- unless current_user.services.any?{|x| x.provider == service}
|
||||
= link_to(content_tag(:div, nil, :class => "social_media_logos-#{service.to_s.downcase}-24x24", :title => service.to_s.titleize), "/auth/#{service}")
|
||||
|
||||
.section
|
||||
.section
|
||||
.title
|
||||
%h5.title-header
|
||||
= t('bookmarklet.heading')
|
||||
.content
|
||||
!= t('bookmarklet.explanation', :link => link_to(t('bookmarklet.post_something'), bookmarklet_code))
|
||||
|
||||
- if AppConfig.settings.paypal_donations.enable? || AppConfig.bitcoin_donation_address
|
||||
- if AppConfig.settings.paypal_donations.enable? || AppConfig.bitcoin_donation_address
|
||||
.section
|
||||
.title
|
||||
%h5.title-header
|
||||
|
|
@ -74,7 +75,7 @@
|
|||
= t('aspects.index.keep_pod_running', :pod => AppConfig.pod_uri.host)
|
||||
= render 'shared/donatepod'
|
||||
|
||||
- if AppConfig.admins.podmin_email.present?
|
||||
- if AppConfig.admins.podmin_email.present?
|
||||
.section
|
||||
.title
|
||||
%h5.title-header
|
||||
|
|
@ -85,7 +86,7 @@
|
|||
%p
|
||||
= link_to t('aspects.index.help.mail_podmin'), "mailto:#{AppConfig.admins.podmin_email}", :class => "button"
|
||||
|
||||
.section
|
||||
.section
|
||||
.title
|
||||
.content
|
||||
%ul
|
||||
|
|
|
|||
Loading…
Reference in a new issue