Skip to content
Extraits de code Groupes Projets
Valider f5811df5 rédigé par ilya's avatar ilya
Parcourir les fichiers

DG IZ; added info text to add new friend button

parent 4d86933f
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -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
.add_new_description
:position relative
:display inline-block
:height 40px
:width 40px
:display inline-block
:background
:color #000
:text-align center
:font-size 40px
:line-height 40px
:top -6px
&:hover
:background #999
:color #000
:color #222
:color #999
:top -16px
:line
:height 40px
:padding 0 1em
:margin
:bottom -20px
:font
:style italic
img
:height 40px
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter