improvied group highlighting, move new group link down
This commit is contained in:
parent
2d4f2f86cb
commit
24836f2966
3 changed files with 26 additions and 5 deletions
|
@ -151,10 +151,6 @@ $o .= <<< EOT
|
||||||
<div id="group-sidebar">
|
<div id="group-sidebar">
|
||||||
<h3>Groups</h3>
|
<h3>Groups</h3>
|
||||||
|
|
||||||
<div id="sidebar-new-group">
|
|
||||||
<a href="group/new">$createtext</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="sidebar-group-list">
|
<div id="sidebar-group-list">
|
||||||
<ul id="sidebar-group-ul">
|
<ul id="sidebar-group-ul">
|
||||||
<li class="sidebar-group-li" ><a href="$every" $selected >$linktext</a></li>
|
<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 .= ' <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;
|
return $o;
|
||||||
}
|
}
|
||||||
|
|
|
@ -249,6 +249,10 @@ div.wall-item-content-wrapper.shiny {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#group-sidebar {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
.group-selected {
|
.group-selected {
|
||||||
padding: 3px;
|
padding: 3px;
|
||||||
border: 1px solid #CCCCCC;
|
border: 1px solid #CCCCCC;
|
||||||
|
|
|
@ -137,6 +137,18 @@ blockquote:before {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#group-sidebar {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.group-selected {
|
||||||
|
padding: 3px;
|
||||||
|
border: 1px solid #CCCCCC;
|
||||||
|
background: #F8F8F8;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
.fakelink:hover {
|
.fakelink:hover {
|
||||||
color: #0CBEFE;
|
color: #0CBEFE;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
|
Loading…
Reference in a new issue