1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-06-26 03:30:48 +03:00

Мелкие исправления

This commit is contained in:
Denis Shakhov 2015-06-08 23:43:31 +07:00
parent cecfbcef6e
commit 4ca2ac364d
6 changed files with 27 additions and 16 deletions

View file

@ -13,9 +13,13 @@
cursor: pointer;
}
.ls-icon-comment-update {
background-image: url(../images/update.gif);
.ls-toolbar-comments-update i {
-webkit-transition: -webkit-transform 1s;
transition: transform 1s;
}
.ls-toolbar-comments-update.active .ls-icon-comment-update {
background-position: -16px 0;
.ls-toolbar-comments-update.active i {
-ms-transform: rotate(360deg);
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

View file

@ -8,13 +8,13 @@
mods = 'comments'
buttons = [
[
classes => 'toolbar-comments-update js-toolbar-comments-update',
attributes => [ 'title' => {lang 'comments.comment.count_new'} ],
icon => 'comment-update'
classes => 'ls-toolbar-comments-update js-toolbar-comments-update',
attributes => [ 'title' => {lang 'comments.update'} ],
icon => 'refresh'
],
[
classes => 'js-toolbar-comments-count',
attributes => [ 'title' => {lang 'comments.comment.count_new'} ],
attributes => [ 'title' => {lang 'comments.count_new'} ],
text => '0'
]
]}

View file

@ -11,6 +11,10 @@
.talk { background: #fafafa; padding: 20px; margin-bottom: 0; }
.ls-actionbar.talk-list-actionbar {
margin-bottom: 0;
}
/**
* Message user list
*/

View file

@ -23,15 +23,17 @@
[ 'text' => $aLang.talk.actionbar.unread, 'filter' => ".message-unread" ]
]}
{component 'actionbar' items=[
[ 'buttons' => [ 'html' => $select ] ],
[
'buttons' => [
[ 'icon' => 'ok', 'classes' => 'js-talk-form-action', 'attributes' => [ 'data-action' => 'mark_as_read', 'title' => $aLang.talk.actionbar.mark_as_read ], 'mods' => 'icon' ],
[ 'icon' => 'trash', 'classes' => 'js-talk-form-action', 'attributes' => [ 'data-action' => 'remove' , 'title' => $aLang.common.remove ], 'mods' => 'icon' ]
{component 'actionbar'
classes='talk-list-actionbar'
items=[
[ 'buttons' => [ 'html' => $select ] ],
[
'buttons' => [
[ 'icon' => 'check', 'classes' => 'js-talk-form-action', 'attributes' => [ 'data-action' => 'mark_as_read', 'title' => $aLang.talk.actionbar.mark_as_read ], 'mods' => 'icon' ],
[ 'icon' => 'trash', 'classes' => 'js-talk-form-action', 'attributes' => [ 'data-action' => 'remove' , 'title' => $aLang.common.remove ], 'mods' => 'icon' ]
]
]
]
]}
]}
{/if}
{* Список сообщений *}

View file

@ -527,6 +527,7 @@ return array(
'comments_declension' => '%%count%% комментарий;%%count%% комментария;%%count%% комментариев',
'no_comments' => 'Нет комментариев',
'count_new' => 'Число новых комментариев',
'update' => 'Обновить комментарии',
'title' => 'Комментарии',
'subscribe' => 'Подписаться',
'unsubscribe' => 'Отписаться',