diff options
author | Friendika <info@friendika.com> | 2011-07-02 02:47:01 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-07-02 02:47:01 -0700 |
commit | 24836f2966842b413ae29f325fbb61b30186a5f7 (patch) | |
tree | 15f26fc72c8fc38e8c657a1f80590d245722e7e6 | |
parent | 2d4f2f86cb9675983cc6976ddc434cc7636ec5fe (diff) | |
download | volse-hubzilla-24836f2966842b413ae29f325fbb61b30186a5f7.tar.gz volse-hubzilla-24836f2966842b413ae29f325fbb61b30186a5f7.tar.bz2 volse-hubzilla-24836f2966842b413ae29f325fbb61b30186a5f7.zip |
improvied group highlighting, move new group link down
-rw-r--r-- | include/group.php | 15 | ||||
-rw-r--r-- | view/theme/duepuntozero/style.css | 4 | ||||
-rw-r--r-- | view/theme/loozah/style.css | 12 |
3 files changed, 26 insertions, 5 deletions
diff --git a/include/group.php b/include/group.php index da4d41748..e16c900d9 100644 --- a/include/group.php +++ b/include/group.php @@ -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; } diff --git a/view/theme/duepuntozero/style.css b/view/theme/duepuntozero/style.css index 2b0ee93e6..5595045b8 100644 --- a/view/theme/duepuntozero/style.css +++ b/view/theme/duepuntozero/style.css @@ -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; diff --git a/view/theme/loozah/style.css b/view/theme/loozah/style.css index 7802d176d..d2b6441ac 100644 --- a/view/theme/loozah/style.css +++ b/view/theme/loozah/style.css @@ -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; |