1
1
Fork 0

improvied group highlighting, move new group link down

This commit is contained in:
Friendika 2011-07-02 02:47:01 -07:00
parent 2d4f2f86cb
commit 24836f2966
3 changed files with 26 additions and 5 deletions

View file

@ -151,10 +151,6 @@ $o .= <<< EOT
<div id="group-sidebar">
<h3>Groups</h3>
<div id="sidebar-new-group">
<a href="group/new">$createtext</a>
</div>
<div id="sidebar-group-list">
<ul id="sidebar-group-ul">
<li class="sidebar-group-li" ><a href="$every" $selected >$linktext</a></li>
@ -170,7 +166,16 @@ EOT;
$o .= ' <li class="sidebar-group-li">' . (($edit) ? "<a href=\"group/{$rr['id']}\" title=\"" . t('Edit') . "\" ><img src=\"images/spencil.gif\" alt=\"" . t('Edit') . "\"></a> " : "") . "<a href=\"$each/{$rr['id']}\" $selected >{$rr['name']}</a></li>\r\n";
}
}
$o .= " </ul>\r\n </div>\r\n</div>";
$o .= " </ul>\r\n </div>";
$o .= <<< EOT
<div id="sidebar-new-group">
<a href="group/new">$createtext</a>
</div>
</div>
EOT;
return $o;
}

View file

@ -249,6 +249,10 @@ div.wall-item-content-wrapper.shiny {
cursor: pointer;
}
#group-sidebar {
margin-bottom: 10px;
}
.group-selected {
padding: 3px;
border: 1px solid #CCCCCC;

View file

@ -137,6 +137,18 @@ blockquote:before {
cursor: pointer;
}
#group-sidebar {
margin-bottom: 10px;
}
.group-selected {
padding: 3px;
border: 1px solid #CCCCCC;
background: #F8F8F8;
font-weight: bold;
}
.fakelink:hover {
color: #0CBEFE;
text-decoration: none;