mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-05-01 08:29:26 +03:00
Оформлена кнопка с заметкой в списке юзеров, исправлены мелкие баги
This commit is contained in:
parent
d604951300
commit
a845b5c9ec
|
@ -135,7 +135,7 @@ ls.blog = (function ($) {
|
|||
* Отображение информации о типе блога
|
||||
*/
|
||||
this.loadInfoType = function(type) {
|
||||
$('#blog_type_note').text($('#blog_type_note_'+type).text());
|
||||
$('#blog_type_note').text(ls.lang.get('blog_create_type_' + type + '_notice'));
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
@ -24,6 +24,9 @@
|
|||
</td>
|
||||
<td>
|
||||
{if $oUserCurrent}
|
||||
{if $oUserNote}
|
||||
<button type="button" class="button button-action button-action-note js-infobox" title="{$oUserNote->getText()}"><i class="icon-synio-comments-green"></i></button>
|
||||
{/if}
|
||||
<a href="{router page='talk'}add/?talk_users={$oUserList->getLogin()}"><button type="submit" class="button button-action button-action-send-message"><i class="icon-synio-send-message"></i><span>{$aLang.user_write_prvmsg}</span></button></a>
|
||||
{/if}
|
||||
</td>
|
||||
|
|
|
@ -140,7 +140,32 @@
|
|||
background: linear-gradient(top, #228dfa 0%,#0362eb 100%);
|
||||
}
|
||||
.button.button-action:hover i { vertical-align: top; position: relative; top: -1px; }
|
||||
|
||||
.button.button-action.button-action-add-friend:hover i { background-position: -147px -39px; }
|
||||
.button.button-action.button-action-send-message:hover i { background-position: -163px -39px; }
|
||||
.button.button-action.button-action-join.active i,
|
||||
.button.button-action.button-action-join:hover i { background-position: -179px -39px; }
|
||||
.button.button-action.button-action-join:hover i { background-position: -179px -39px; }
|
||||
|
||||
.button.button-action.button-action-note {
|
||||
background: #ccf4d0;
|
||||
background: -webkit-linear-gradient(top, #e9fdea 0%,#ccf4d0 100%);
|
||||
background: -moz-linear-gradient(top, #e9fdea 0%,#ccf4d0 100%);
|
||||
background: -o-linear-gradient(top, #e9fdea 0%,#ccf4d0 100%);
|
||||
background: -ms-linear-gradient(top, #e9fdea 0%,#ccf4d0 100%);
|
||||
background: linear-gradient(top, #e9fdea 0%,#ccf4d0 100%);
|
||||
padding: 6px 6px 6px 7px;
|
||||
}
|
||||
.button.button-action.button-action-note:hover {
|
||||
background: #4ace56;
|
||||
background: -webkit-linear-gradient(top, #6ce777 0%,#4ace56 100%);
|
||||
background: -moz-linear-gradient(top, #6ce777 0%,#4ace56 100%);
|
||||
background: -o-linear-gradient(top, #6ce777 0%,#4ace56 100%);
|
||||
background: -ms-linear-gradient(top, #6ce777 0%,#4ace56 100%);
|
||||
background: linear-gradient(top, #6ce777 0%,#4ace56 100%);
|
||||
border: none;
|
||||
box-shadow: none; -webkit-box-shadow: none;
|
||||
padding: 6px 6px 6px 7px;
|
||||
cursor: default;
|
||||
}
|
||||
.button.button-action.button-action-note i { display: block; }
|
||||
.button.button-action.button-action-note:hover i { top: 0; background-position: -46px -65px; }
|
|
@ -38,7 +38,7 @@
|
|||
/* Topic */
|
||||
.infobox.infobox-topic { font-size: 11px; -webkit-box-shadow: 0 0 10px rgba(0,0,0,.5); box-shadow: 0 0 10px rgba(0,0,0,.5); background: #1d1d1d; border-radius: 10px; }
|
||||
.infobox.infobox-topic i { margin-right: 5px; }
|
||||
.infobox.infobox-topic .tip-arrow { left: 34px; border-color: #1d1d1d; }
|
||||
.infobox.infobox-topic .tip-arrow { left: 50%; margin-left: -5px; border-color: #1d1d1d; }
|
||||
|
||||
/* Help */
|
||||
.infobox.infobox-help { background: #fff; width: 300px; border: 3px solid #edf8fd; color: #000; border-radius: 10px; padding: 25px 30px; font-size: 12px; line-height: 18px; -webkit-box-shadow: 0 0 15px rgba(0,0,0,.3); box-shadow: 0 0 15px rgba(0,0,0,.3); }
|
||||
|
|
|
@ -73,6 +73,7 @@
|
|||
|
||||
.oldie .nav.nav-menu { border-color: #dfe3e8; border-right: none; }
|
||||
.oldie .nav.nav-menu li { border-right: 1px solid #dfe3e8; }
|
||||
.oldie #nav { background: #f6f6f6; }
|
||||
|
||||
|
||||
/* Userbar */
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 38 KiB |
|
@ -154,6 +154,16 @@ jQuery(document).ready(function($){
|
|||
showTimeout: 500
|
||||
});
|
||||
|
||||
$('.js-infobox').poshytip({
|
||||
className: 'infobox-topic',
|
||||
alignTo: 'target',
|
||||
alignX: 'center',
|
||||
alignY: 'top',
|
||||
offsetY: 5,
|
||||
liveEvents: true,
|
||||
showTimeout: 300
|
||||
});
|
||||
|
||||
// подсветка кода
|
||||
prettyPrint();
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
<td>
|
||||
{if $oUserCurrent}
|
||||
{if $oUserNote}
|
||||
<button type="submit" class="button button-action button-action-send-message" title="{$oUserNote->getText()}"><i class="icon-synio-send-message"></i></button>
|
||||
<button type="button" class="button button-action button-action-note js-infobox" title="{$oUserNote->getText()}"><i class="icon-synio-comments-green"></i></button>
|
||||
{/if}
|
||||
<a href="{router page='talk'}add/?talk_users={$oUserList->getLogin()}"><button type="submit" class="button button-action button-action-send-message"><i class="icon-synio-send-message"></i><span>{$aLang.user_write_prvmsg}</span></button></a>
|
||||
{/if}
|
||||
|
|
Loading…
Reference in a new issue