diff options
-rw-r--r-- | include/conversation.php | 6 | ||||
-rw-r--r-- | version.inc | 2 | ||||
-rw-r--r-- | view/theme/redbasic/css/style.css | 9 |
3 files changed, 13 insertions, 4 deletions
diff --git a/include/conversation.php b/include/conversation.php index 77c7bac70..16ac4e909 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -1491,11 +1491,11 @@ function profile_tabs($a, $is_owner=False, $nickname=Null){ require_once('include/chat.php'); $chats = chatroom_list($a->profile['profile_uid']); - + $subdued = ((count($chats)) ? '' : ' subdued'); $tabs[] = array( - 'label' => t('Chatrooms') . '(' . count($chats) . ')', + 'label' => t('Chatrooms'), 'url' => $a->get_baseurl() . '/chat/' . $nickname, - 'sel' => ((argv(0) == 'chat') ? 'active' : ''), + 'sel' => ((argv(0) == 'chat') ? 'active' . $subdued : '' . $subdued), 'title' => t('Chatrooms'), 'id' => 'chat-tab', ); diff --git a/version.inc b/version.inc index a760a1660..bd1fa0985 100644 --- a/version.inc +++ b/version.inc @@ -1 +1 @@ -2014-02-07.581 +2014-02-08.582 diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 776b4c31a..209399d0c 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -114,6 +114,15 @@ blockquote { margin-right: 5px; } +.subdued { + opacity: 0.3; + filter:alpha(opacity=30); +} + +.subdued:hover { + opacity: 1.0; + filter:alpha(opacity=100); +} #langselector { |