using entypo on the right section, better alignment and styles

This commit is contained in:
Pablo Cuadrado 2015-01-11 12:04:51 -03:00 committed by Steffen van Bergerem
parent ba9bb619e4
commit 75480c5454
2 changed files with 9 additions and 51 deletions

View file

@ -111,57 +111,15 @@
color: $text-dark-grey;
}
.icons-plus,
.icons-heart,
.icons-question,
.icons-monotone_wrench_settings,
.icons-coffee,
.icons-mail,
.icons-bookmark {
position: absolute;
margin-left: 3px;
}
.icons-plus {
width: 14px;
height: 14px;
}
.icons-heart {
width: 13px;
height: 12px;
}
.icons-question,
.icons-monotone_wrench_settings {
width: 16px;
height: 16px;
}
.icons-bookmark {
width: 14px;
height: 16px;
}
.icons-coffee {
width: 16px;
height: 14px;
}
.icons-mail {
width: 16px;
height: 13px;
}
h5.title-header {
margin-left: 22px;
margin-left: 5px;
}
h5 {
font-size: 12px;
margin: 0;
color: $text-dark-grey;
font-weight: bold;
}
}

View file

@ -6,16 +6,16 @@
- if AppConfig.settings.invitations.open?
.section
.title
.icons-plus
%h5.title-header
%i.entypo.plus
= t('shared.invitations.invite_your_friends')
.content
= render "shared/invitations"
.section
.title
.icons-heart
%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'))))
@ -24,8 +24,8 @@
.section
.title
.icons-question
%h5.title-header
%i.entypo.help
= t('aspects.index.help.need_help')
.content
%p
@ -48,8 +48,8 @@
- unless AppConfig.configured_services.blank? || all_services_connected?
.section
.title
.icons-monotone_wrench_settings
%h5.title-header
%i.entypo.cog
= t('aspects.index.services.heading')
.content
%div
@ -62,8 +62,8 @@
.section
.title
.icons-bookmark
%h5.title-header
%i.entypo.bookmark
= t('bookmarklet.heading')
.content
!= t('bookmarklet.explanation', :link => link_to(t('bookmarklet.post_something'), bookmarklet_url))
@ -71,8 +71,8 @@
- if AppConfig.settings.paypal_donations.enable? || AppConfig.bitcoin_donation_address
.section
.title
.icons-coffee
%h5.title-header
%i.entypo.heart
= t('aspects.index.donate')
.content
%p
@ -82,8 +82,8 @@
- if AppConfig.admins.podmin_email.present?
.section
.title
.icons-mail
%h5.title-header
%i.entypo.mail
= t('aspects.index.help.any_problem')
.content
%p