1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-05-19 17:28:23 +03:00

Фикс иконок

This commit is contained in:
Denis Shakhov 2012-06-25 13:19:43 +07:00
parent 22bdaacf17
commit c7939736f2
6 changed files with 10 additions and 7 deletions

View file

@ -46,6 +46,7 @@ return array(
*/
'reader_declension' => 'reader;readers;readers',
'topic_declension' => 'topic;topics;topics',
'draft_declension' => 'draft;drafts;drafts',
/**
* Popular Blogs
*/

View file

@ -46,6 +46,7 @@ return array(
*/
'reader_declension' => 'читатель;читателя;читателей',
'topic_declension' => 'топик;топика;топиков',
'draft_declension' => 'черновик;черновика;черновиков',
/**
* Популярные блоги
*/

View file

@ -56,19 +56,20 @@
.modal.modal-write .write-list li a { color: #727a90; }
.modal.modal-write .write-list li:hover a { color: #275ec2; }
.modal.modal-write .write-list li .write-item-image { display: block; margin: 0 auto; width: 115px; height: 115px; border-radius: 3px; text-align: center; background: url(../images/write.png) no-repeat; margin-bottom: 0; }
.modal.modal-write .write-list li.write-item-type-draft { padding-right: 20px; margin-right: 0; border-right: 1px dotted #aac6d9; }
.modal.modal-write .write-list li.write-item-type-topic .write-item-image { background-position: 0 0; }
.modal.modal-write .write-list li.write-item-type-poll .write-item-image { background-position: -115px 0; }
.modal.modal-write .write-list li.write-item-type-link .write-item-image { background-position: -230px 0; }
.modal.modal-write .write-list li.write-item-type-message .write-item-image { background-position: -345px 0; }
.modal.modal-write .write-list li.write-item-type-blog .write-item-image { background-position: -115px 0; }
.modal.modal-write .write-list li.write-item-type-draft .write-item-image { background-position: 0 0; }
.modal.modal-write .write-list li.write-item-type-draft .write-item-image { background-position: -578px 0; }
.modal.modal-write .write-list li.write-item-type-topic:hover .write-item-image { background-position: 0 -115px; }
.modal.modal-write .write-list li.write-item-type-poll:hover .write-item-image { background-position: -115px -115px; }
.modal.modal-write .write-list li.write-item-type-link:hover .write-item-image { background-position: -230px -115px; }
.modal.modal-write .write-list li.write-item-type-message:hover .write-item-image { background-position: -345px -115px; }
.modal.modal-write .write-list li.write-item-type-message:hover .write-item-image { background-position: -345px -115px; }
.modal.modal-write .write-list li.write-item-type-blog:hover .write-item-image { background-position: -115px -115px; }
.modal.modal-write .write-list li.write-item-type-draft:hover .write-item-image { background-position: 0 -115px; }
.modal.modal-write .write-list li.write-item-type-draft:hover .write-item-image { background-position: -578px -115px; }
/* Upload Image */

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View file

@ -6,6 +6,10 @@
{strip}
<div class="modal-content">
<ul class="write-list">
<li class="write-item-type-draft">
<a href="{router page='topic'}saved/" class="write-item-image"></a>
<a href="{router page='topic'}saved/" class="write-item-link">{if $iUserCurrentCountTopicDraft}{$iUserCurrentCountTopicDraft} {$iUserCurrentCountTopicDraft|declension:$aLang.draft_declension:'russian'} {else} {$aLang.topic_menu_saved} {/if}</a>
</li>
<li class="write-item-type-topic">
<a href="{router page='topic'}add" class="write-item-image"></a>
<a href="{router page='topic'}add" class="write-item-link">{$aLang.block_create_topic_topic}</a>
@ -18,10 +22,6 @@
<a href="{router page='talk'}add" class="write-item-image"></a>
<a href="{router page='talk'}add" class="write-item-link">{$aLang.block_create_talk}</a>
</li>
<li class="write-item-type-draft">
<a href="{router page='topic'}saved/" class="write-item-image"></a>
<a href="{router page='topic'}saved/" class="write-item-link">{$aLang.topic_menu_saved} {if $iUserCurrentCountTopicDraft}({$iUserCurrentCountTopicDraft}){/if}</a>
</li>
{hook run='write_item' isPopup=true}
</ul>
</div>