fix styling on featured users on getting started; added hovercards
This commit is contained in:
parent
520b0dcf33
commit
9b24af717f
3 changed files with 11 additions and 9 deletions
|
|
@ -93,9 +93,10 @@
|
||||||
- Person.featured_users[0..5].each do |person|
|
- Person.featured_users[0..5].each do |person|
|
||||||
.featured_user_card_small
|
.featured_user_card_small
|
||||||
= person_image_link(person)
|
= person_image_link(person)
|
||||||
= link_to person.name, person_path(person)
|
= person_link(person, :class => "hovercardable")
|
||||||
- person.profile.tags[0..2].each do |tg|
|
.tags
|
||||||
= "##{tg}"
|
- person.profile.tags[0..2].each do |tg|
|
||||||
|
= link_to "##{tg}", tags_path(tg)
|
||||||
|
|
||||||
= link_to "#{t('.see_all_featured_users')} ->", featured_users_path
|
= link_to "#{t('.see_all_featured_users')} ->", featured_users_path
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3304,9 +3304,6 @@ ul#getting_started
|
||||||
:padding 10px 0
|
:padding 10px 0
|
||||||
|
|
||||||
.featured_user_card_small
|
.featured_user_card_small
|
||||||
:display inline-block
|
|
||||||
|
|
||||||
:width 140px
|
|
||||||
:height 30px
|
:height 30px
|
||||||
|
|
||||||
:vertical-align top
|
:vertical-align top
|
||||||
|
|
@ -3314,12 +3311,16 @@ ul#getting_started
|
||||||
|
|
||||||
:padding 5px
|
:padding 5px
|
||||||
:margin
|
:margin
|
||||||
:bottom 10px
|
:bottom 5px
|
||||||
|
|
||||||
a
|
a
|
||||||
:font
|
:font
|
||||||
:weight bold
|
:weight bold
|
||||||
|
|
||||||
|
.tags
|
||||||
|
a
|
||||||
|
:color #999
|
||||||
|
|
||||||
.avatar
|
.avatar
|
||||||
:height 30px
|
:height 30px
|
||||||
:width 30px
|
:width 30px
|
||||||
|
|
|
||||||
|
|
@ -11,8 +11,8 @@
|
||||||
|
|
||||||
.avatar {
|
.avatar {
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 70px;
|
height: 70px !important;
|
||||||
width: 70px;
|
width: 70px !important;
|
||||||
top: 0 !important;
|
top: 0 !important;
|
||||||
|
|
||||||
margin: {
|
margin: {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue