DG IZ; added info text to add new friend button
This commit is contained in:
parent
4d86933f4a
commit
f5811df5b7
3 changed files with 30 additions and 27 deletions
|
|
@ -14,7 +14,12 @@
|
|||
#friend_pictures
|
||||
- for friend in @group.people
|
||||
= person_image_link(friend)
|
||||
= link_to "+", "#add_request_pane", :id => 'add_request_button', :class => "add_new"
|
||||
= link_to (image_tag 'add_friend_button.png'), "#add_request_pane", :id => 'add_request_button'
|
||||
|
||||
- if @group.people.count == 0
|
||||
%span.add_new_description
|
||||
<< click the plus to add friends to this group
|
||||
|
||||
|
||||
.yo{:style => 'display:none'}
|
||||
#add_request_pane
|
||||
|
|
|
|||
|
|
@ -430,24 +430,21 @@ h1.big_text {
|
|||
#group ul > li.selected, #group ul > li.selected a {
|
||||
color: white;
|
||||
font-weight: bold;
|
||||
font-size: 18px;
|
||||
text-shadow: 0 2px 0px black; }
|
||||
font-size: 18px; }
|
||||
#group a {
|
||||
color: #aaaaaa;
|
||||
font-weight: normal; }
|
||||
#group #friend_pictures .add_new {
|
||||
#group #friend_pictures .add_new_description {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
height: 40px;
|
||||
width: 40px;
|
||||
background-color: black;
|
||||
text-align: center;
|
||||
font-size: 40px;
|
||||
display: inline-block;
|
||||
background-color: #222222;
|
||||
color: #999999;
|
||||
top: -16px;
|
||||
line-height: 40px;
|
||||
top: -6px; }
|
||||
#group #friend_pictures .add_new:hover {
|
||||
background: #999999;
|
||||
color: black; }
|
||||
padding: 0 1em;
|
||||
margin-bottom: -20px;
|
||||
font-style: italic; }
|
||||
#group #friend_pictures img {
|
||||
height: 40px; }
|
||||
|
||||
|
|
|
|||
|
|
@ -546,21 +546,22 @@ h1.big_text
|
|||
:weight normal
|
||||
|
||||
#friend_pictures
|
||||
.add_new
|
||||
:position relative
|
||||
:display inline-block
|
||||
:height 40px
|
||||
:width 40px
|
||||
:background
|
||||
:color #000
|
||||
:text-align center
|
||||
:font-size 40px
|
||||
:line-height 40px
|
||||
:top -6px
|
||||
|
||||
&:hover
|
||||
:background #999
|
||||
:color #000
|
||||
.add_new_description
|
||||
:position relative
|
||||
:height 40px
|
||||
:display inline-block
|
||||
:background
|
||||
:color #222
|
||||
:color #999
|
||||
:top -16px
|
||||
:line
|
||||
:height 40px
|
||||
:padding 0 1em
|
||||
:margin
|
||||
:bottom -20px
|
||||
:font
|
||||
:style italic
|
||||
|
||||
img
|
||||
:height 40px
|
||||
|
|
|
|||
Loading…
Reference in a new issue