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

Оптимизация стилей, мелкие исправления

This commit is contained in:
Denis Shakhov 2013-06-21 18:18:06 +07:00
parent 6a94180c3d
commit 0246295e6b
54 changed files with 589 additions and 415 deletions

View file

@ -514,7 +514,6 @@ $config['head']['default']['js'] = array(
"___path.static.framework___/js/vendor/jquery-ui/js/jquery-ui-1.10.2.custom.min.js",
"___path.static.framework___/js/vendor/jquery-ui/js/localization/jquery-ui-datepicker-ru.js",
"___path.static.framework___/js/vendor/jquery.browser.js",
"___path.static.framework___/js/vendor/jquery.notifier.js",
"___path.static.framework___/js/vendor/jquery.scrollto.js",
"___path.static.framework___/js/vendor/jquery.rich-array.min.js",
"___path.static.framework___/js/vendor/jquery.form.js",
@ -526,6 +525,7 @@ $config['head']['default']['js'] = array(
"___path.static.framework___/js/vendor/jquery.placeholder.min.js",
"___path.static.framework___/js/vendor/jquery.charcount.js",
"___path.static.framework___/js/vendor/jquery.imagesloaded.js",
"___path.static.framework___/js/vendor/notifier/jquery.notifier.js",
"___path.static.framework___/js/vendor/markitup/jquery.markitup.js",
"___path.static.framework___/js/vendor/prettify/prettify.js",
"___path.static.framework___/js/vendor/prettyphoto/js/jquery.prettyphoto.js",
@ -581,6 +581,7 @@ $config['head']['default']['css'] = array(
"___path.static.framework___/css/modals.css",
"___path.static.framework___/css/tooltip.css",
"___path.static.framework___/css/popover.css",
"___path.static.framework___/css/alerts.css",
"___path.static.framework___/css/toolbar.css"
);

View file

@ -0,0 +1,27 @@
/**
* Alerts
*/
.alert {
border: 1px solid #EED3D7;
background-color: #F2DEDE;
color: #B94A48;
padding: 10px 15px;
margin-bottom: 15px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
.alert-title { font-size: 14px; font-weight: bold; }
/* Error */
.alert-error { background-color: #F2DEDE; color: #B94A48; border-color: #EED3D7; }
/* Success */
.alert-success { background-color: #DFF0D8; color: #468847; border-color: #D6E9C6; }
/* Info */
.alert-info { background-color: #D9EDF7; color: #3A87AD; border-color: #BCE8F1; }

View file

@ -6,20 +6,4 @@
.toolbar section { width: 34px; line-height: 14px; background: #fff; -webkit-box-shadow: 0 0 5px rgba(0,0,0,.05); box-shadow: 0 0 5px rgba(0,0,0,.05); margin-bottom: 10px; }
.toolbar section a { display: block; padding: 10px; }
.toolbar section a:hover { background: #fafafa; }
.toolbar section i { display: block; }
/* Admin button */
.toolbar .toolbar-admin a { display: block; }
/* Update comments button */
.toolbar .toolbar-update { }
.toolbar .toolbar-update .update-comments { padding: 9px; }
.toolbar .toolbar-update .update-comments i { display: block; width: 16px; height: 16px; background: url(../images/update.gif) no-repeat; }
.toolbar .toolbar-update .update-comments.active i { background-position: -16px 0; }
.toolbar .toolbar-update .new-comments { border-top: 1px solid #eee; padding: 10px 0; color: #333; text-align: center; font-size: 11px; }
/* Topic navigation */
.toolbar .toolbar-topic a.toolbar-topic-prev { border-bottom: 1px solid #eee; }
/* Scroll up */
.toolbar .toolbar-scrollup { display: none; }
.toolbar section i { display: block; }

View file

@ -1,7 +1,3 @@
/* --------------------------------------------
ВСПЛЫВАЮЩИЕ УВЕДОМЛЕНИЯ
-------------------------------------------- */
#notifier {
width: 250px;
@ -11,10 +7,6 @@
font-size: 12px;
z-index: 9999;
/* IE 6 Fix */
_position: absolute;
_top: expression( eval(document.documentElement.scrollBottom) + 10 +"px" );
}
#notifier .n-box {

View file

@ -4,9 +4,9 @@
{$bNoSidebar = true}
{/block}
{block name='layout_content'}
<h2 class="page-header"><a href="{router page='admin'}">{$aLang.admin_header}</a> <span>&raquo;</span> {$aLang.admin_list_blogcategory}</h2>
{block name='layout_page_title'}<a href="{router page='admin'}">{$aLang.admin_header}</a> <span>&raquo;</span> {$aLang.admin_list_blogcategory}{/block}
{block name='layout_content'}
<button class="button button-primary" data-type="modal-toggle" data-option-url="{router page='admin'}blogcategory/modal-add/">{$aLang.admin_blogcategory_add}</button>
<br />
<br />

View file

@ -1,8 +1,8 @@
{extends file='layout.base.tpl'}
{block name='layout_content'}
<h2 class="page-header">{$aLang.admin_header}</h2>
{block name='layout_page_title'}{$aLang.admin_header}{/block}
{block name='layout_content'}
<ul>
<li><a href="{router page="admin"}plugins/">{$aLang.admin_list_plugins}</a></li>
<li><a href="{router page="admin"}userfields/">{$aLang.admin_list_userfields}</a></li>

View file

@ -34,6 +34,6 @@
</form>
{/block}
{block name='modal_footer'}
{block name='modal_footer_begin'}
<button type="button" onclick="ls.userfield.applyForm(); return false;" class="button button-primary">{$aLang.user_field_add}</button>
{/block}

View file

@ -4,10 +4,9 @@
{$bNoSidebar = true}
{/block}
{block name='layout_page_title'}<a href="{router page='admin'}">{$aLang.admin_header}</a> <span>&raquo;</span> {$aLang.admin_list_plugins}{/block}
{block name='layout_content'}
<h2 class="page-header"><a href="{router page='admin'}">{$aLang.admin_header}</a> <span>&raquo;</span> {$aLang.admin_list_plugins}</h2>
<form action="{router page='admin'}plugins/" method="post" id="form_plugins_list">
<table class="table table-plugins">
<thead>
@ -43,11 +42,11 @@
{/if}
{/if}
</td>
<td>
<td align="center">
{if $aPlugin.is_active}
<a href="{router page='admin'}plugins/?plugin={$aPlugin.code}&action=deactivate&security_ls_key={$LIVESTREET_SECURITY_KEY}">{$aLang.plugins_plugin_deactivate}</a>
<a href="{router page='admin'}plugins/?plugin={$aPlugin.code}&action=deactivate&security_ls_key={$LIVESTREET_SECURITY_KEY}" class="button">{$aLang.plugins_plugin_deactivate}</a>
{else}
<a href="{router page='admin'}plugins/?plugin={$aPlugin.code}&action=activate&security_ls_key={$LIVESTREET_SECURITY_KEY}">{$aLang.plugins_plugin_activate}</a>
<a href="{router page='admin'}plugins/?plugin={$aPlugin.code}&action=activate&security_ls_key={$LIVESTREET_SECURITY_KEY}" class="button button-primary">{$aLang.plugins_plugin_activate}</a>
{/if}
</td>
</tr>

View file

@ -1,16 +1,22 @@
{extends file='layout.base.tpl'}
{block name='layout_options'}
{$bNoSidebar = true}
{/block}
{block name='layout_page_title'}<a href="{router page='admin'}">{$aLang.admin_header}</a> <span>&raquo;</span> {$aLang.user_field_admin_title}{/block}
{block name='layout_content'}
{include file='actions/ActionAdmin/modal.userfields.tpl'}
<h2 class="page-header">{$aLang.user_field_admin_title}</h2>
<a href="javascript:ls.userfield.showAddForm()" class="link-dotted">{$aLang.user_field_add}</a>
<button onclick="ls.userfield.showAddForm()" class="button button-primary">{$aLang.user_field_add}</button>
<br /><br />
<ul class="userfield-list" id="user_field_list">
{foreach from=$aUserFields item=oField}
<li id="field_{$oField->getId()}"><strong class="userfield_admin_name">{$oField->getName()|escape:"html"}</strong>
<li id="field_{$oField->getId()}">
<strong>{$oField->getName()|escape:"html"}</strong>
/ <span class="userfield_admin_title">{$oField->getTitle()|escape:"html"}</span>
/ <span class="userfield_admin_type">{$oField->getType()|escape:"html"}</span>
/ <span class="userfield_admin_pattern">{$oField->getPattern()|escape:"html"}</span>

View file

@ -23,13 +23,13 @@
<button type="button" onclick="ls.wall.add(jQuery('#wall-text').val(),0);" class="button button-primary js-button-wall-submit">{$aLang.wall_add_submit}</button>
</form>
{else}
<div class="wall-note" id="wall-note-list-empty">
<div class="notice-empty" id="wall-note-list-empty">
<h3>{$aLang.wall_add_quest}</h3>
</div>
{/if}
{if ! count($aWall)}
<div id="wall-note-list-empty" class="wall-note">
<div class="notice-empty" id="wall-note-list-empty">
<h3>{$aLang.wall_list_empty}</h3>
</div>
{/if}

View file

@ -28,7 +28,7 @@
</ul>
{if ! $bEditDisabled}
<a href="#" onсlick="ls.poll.addAnswer(); return false;" class="link-dotted">{$aLang.topic_question_create_answers_add}</a>
<a href="#" onclick="ls.poll.addAnswer(); return false;" class="link-dotted">{$aLang.topic_question_create_answers_add}</a>
{/if}
</div>
{/block}

View file

@ -0,0 +1,33 @@
/**
* Админка
*
* @template actions/ActionAdmin/*.tpl
*/
/**
* Настраиваемые поля
*/
.userfield-list li { background: #f7f7f7; margin-bottom: 1px; padding: 13px 65px 13px 15px; position: relative; }
.userfield-list li:hover { background: #eee; }
.userfield-actions { position: absolute; top: 15px; right: 15px; }
/**
* Информация о производительности
*
* @template stat_performance.tpl
*/
.stat-performance { margin: 20px; padding: 20px; }
.stat-performance table { width: 100%; }
.stat-performance td { vertical-align: top; }
.stat-performance h4 { font-weight: bold; font-size: 14px; }
/**
* Управление плагинами
*
* @template actions/ActionAdmin/plugins.tpl
*/
.table.table-plugins .cell-checkbox { width: 20px; padding: 12px 0 10px 10px; }
.table.table-plugins h3 { font-weight: bold; font-size: 17px; line-height: 20px; margin-bottom: 5px; }

View file

@ -1,6 +1,6 @@
/* -------------------------------------------------------------------
ОСНОВНЫЕ СТИЛИ
------------------------------------------------------------------- */
/**
* Основные стили
*/
body {
font-size: 13px;
@ -11,9 +11,9 @@ body {
}
/* Ссылки
---------------------------------------------------- */
/**
* Ссылки
*/
a { color: #08c; text-decoration: none; }
a:hover { color: #058; }
@ -22,9 +22,9 @@ a:hover { color: #058; }
.item-list li a:visited { color: #1D2273; }
/* Заголовки
---------------------------------------------------- */
/**
* Заголовки
*/
.h1, .h2, .h3, .h4, .h5, .h6 { margin-bottom: 15px; line-height: 1.2em; }
.h1 { font-size: 28px; }
@ -37,47 +37,14 @@ a:hover { color: #058; }
.page-header { color: #333; font-size: 27px; line-height: 1em; font-weight: bold; margin-bottom: 20px; }
.page-header span { color: #aaa; }
/* Dropdown support */
.page-header.page-header-publish .dropdown-toggle { text-transform: lowercase; padding-right: 18px !important; }
.page-header.page-header-publish .dropdown-toggle:after { border-top-color: #5055B2; }
.page-header.page-header-publish .dropdown-toggle.open { background: transparent; color: #9496ea; }
.page-header.page-header-publish .dropdown-toggle.open:after { border-top-color: #9496ea; }
.header-table { margin-bottom: 0; border-bottom: 1px solid #eee; padding-bottom: 5px; font-size: 14px; font-weight: bold; }
/* Шапка сайта
---------------------------------------------------- */
/**
* Шапка сайта
*/
#header a { text-decoration: none; color: #000; }
#header .site-name { margin: 0 0 10px; font-size: 54px; line-height: 1em; font-weight: bold; text-align: center; }
#header .site-name a:hover { color: #3a41b8; }
#header .site-description { max-width: 500px; margin: 0 auto; color: #777; font-size: 15px; }
/* Футер
---------------------------------------------------- */
#footer .copyright { float: right; }
/* Stat
---------------------------------------------------- */
.stat-performance { width: 910px; margin: 0 auto 20px; padding: 15px 20px; background: #fff; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.stat-performance table { }
.stat-performance table td { width: 200px; vertical-align: top; }
.stat-performance h4 { font-weight: bold; }
/* Userfields
---------------------------------------------------- */
.userfield-list { width: 450px; }
.userfield-list li { background: #eee; margin-bottom: 1px; padding: 10px 10px; overflow: hidden; zoom: 1; line-height: 12px; color: #777; }
.userfield-list li .userfield-actions { float: right; }
.userfield-list li .userfield_admin_name { font-weight: bold; color: #333; }
.userfield-add { text-decoration: none; border-bottom: 1px dashed #70AAE0; }
.userfield-add:hover { color: #333; border-color: #333; }
#header .site-description { max-width: 500px; margin: 0 auto; color: #777; font-size: 15px; }

View file

@ -1,9 +1,11 @@
/* -------------------------------------------------------------------
ОБЩИЕ СТИЛИ
------------------------------------------------------------------- */
/**
* Общие стили
*/
/* Голосование
---------------------------------------------------- */
/**
* Голосование
*/
.vote .vote-count { display: inline-block; font-weight: bold; color: #aaa; font-size: 14px; }
.vote .vote-count a { text-decoration: none; color: #999; outline: none; }
@ -11,7 +13,16 @@
.vote.vote-count-negative .vote-count { color: #f00; }
.vote .vote-up,
.vote .vote-down { display: inline-block; cursor: pointer; vertical-align: text-top; width: 14px; height: 14px; background: url(../images/icons.png) no-repeat; opacity: .3; filter: alpha(opacity=30); }
.vote .vote-down {
display: inline-block;
cursor: pointer;
vertical-align: text-top;
width: 14px;
height: 14px;
background: url(../images/icons.png) no-repeat;
opacity: .3;
filter: alpha(opacity=30);
}
.vote .vote-up { background-position: -408px -96px; }
.vote .vote-down { background-position: -433px -96px; }
.vote .vote-up:hover { opacity: .8; filter: alpha(opacity=80); }
@ -23,18 +34,18 @@
.vote.voted.voted-down .vote-up:hover { opacity: .3; filter: alpha(opacity=30); }
/* Избранное
---------------------------------------------------- */
/**
* Избранное
*/
.favourite { display: inline-block; width: 14px; height: 14px; vertical-align: text-top; background: url(../images/icons.png) -96px 0 no-repeat; opacity: .3; filter: alpha(opacity=30); cursor: pointer; }
.favourite.active { opacity: 1; filter: alpha(opacity=100); }
.favourite:hover { opacity: .8; filter: alpha(opacity=80); }
.favourite-count { margin-left: 0; font-weight: bold; }
/* Пагинация
---------------------------------------------------- */
/**
* Пагинация
*/
.pagination ul { overflow: hidden; zoom: 1; line-height: 1em; }
.pagination ul li { float: left; margin-right: 5px; }
.pagination ul li span,
@ -44,9 +55,9 @@
.pagination ul li i { opacity: .5; filter: alpha(opacity=50); }
/* Actions
---------------------------------------------------- */
/**
* Actions
*/
.actions { overflow: hidden; zoom: 1; margin-bottom: 10px; }
.actions li { float: left; margin-right: 10px; }
.actions li a { color: #D23232; }
@ -55,17 +66,17 @@
.actions li a.link-dotted:hover { border-color: #06e; color: #06e; text-decoration: none; }
/* Список пользователей
---------------------------------------------------- */
/**
* Список пользователей
*/
.user-list-avatar { overflow: hidden; zoom: 1; }
.user-list-avatar li { width: 64px; overflow: hidden; float: left; margin-right: 20px; margin-bottom: 15px; text-align: center; font-size: 11px; }
.user-list-avatar li img { margin-bottom: 2px; display: block; }
/* Облако тегов
---------------------------------------------------- */
/**
* Облако тегов
*/
.tag-cloud { width: 100%; }
.tag-cloud li { display: inline; margin-right: 5px; line-height: 22px; }
.tag-cloud li a { text-decoration: none; }
@ -81,9 +92,9 @@
.tag-cloud li .tag-size-10 { font-size: 22px; }
/* Accordion
---------------------------------------------------- */
/**
* Accordion
*/
.accordion { margin-bottom: 15px; }
.accordion-header { padding: 10px 15px; background: #f7f7f7; cursor: pointer; }
@ -91,9 +102,9 @@
.accordion-content { padding: 15px; background: #fafafa; display: none; border-top: 1px solid #eee; }
/* Item List
---------------------------------------------------- */
/**
* Item List
*/
.item-list { }
.item-list li { min-height: 51px; padding: 17px 15px 20px 75px; border-top: 1px solid #eee; position: relative; zoom: 1; background: #fff; }
.item-list li:first-child { border: none; }
@ -104,16 +115,11 @@
.item-list li .blog-name { font-weight: bold; }
/* Разное
---------------------------------------------------- */
.system-message-error { background: #f0c8c8; color: #b22626; padding: 10px 15px; margin-bottom: 15px; }
.system-message-notice { background: #dafad8; color: #4bb23b; padding: 10px 15px; margin-bottom: 15px; }
/**
* Разное
*/
.notice-empty { color: #aaa; }
.loader { background: #fafafa url(../images/loader.gif) 50% 50% no-repeat; }
.user, .ls-user { font-weight: bold; color: #333; }
.ls-user { display: inline-block; }
.ls-user:before {

View file

@ -1,6 +1,8 @@
/* --------------------------------------------
СЕТКА
-------------------------------------------- */
/**
* Сетка
*
* @template layout.base.tpl
*/
#container { margin: 0 auto; margin-bottom: 20px; padding: 0 50px; }
#header { padding: 50px 0; position: relative; }

View file

@ -1,16 +1,13 @@
/* -------------------------------------------------------------------
ИКОНКИ
Иконки Glyphicons
http://glyphicons.com/
Пример использования:
<a href="#"><i class="icon icon-remove"></i> Remove</a>
------------------------------------------------------------------- */
/**
* Иконки
*
* Иконки Glyphicons
* http://glyphicons.com/
*
* Пример использования:
*
* <a href="#"><i class="icon icon-remove"></i> Remove</a>
*/
[class^="icon-"],
[class*=" icon-"] {

View file

@ -1,20 +1,26 @@
/*
* Modal
*
* @template modals/*.tpl
*/
/* Write
-------------------------------------------------- */
.modal.modal-write { width: 500px; }
.modal.modal-write .modal-content { padding: 20px 10px 0; *padding: 20px 10px 15px; }
.modal.modal-write .write-list { *overflow: hidden; *zoom: 1; }
.modal.modal-write .write-list li { width: 100px; margin: 0 10px 20px; text-align: center; overflow: hidden; display: inline-table; *float: left; }
.modal.modal-write .write-list li a { color: #39576B; }
.modal.modal-write .write-list li .write-item-image { display: block; width: 100px; height: 100px; border-radius: 3px; text-align: center; background: url(../images/write.png) no-repeat; margin-bottom: 10px; }
/**
* Создать
*
* @template modals/modal.write.tpl
*/
.modal.modal-write { width: 500px; }
.modal.modal-write .modal-content { padding: 20px 10px 0; *padding: 20px 10px 15px; }
.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: -100px 0; }
.modal.modal-write .write-list li.write-item-type-link .write-item-image { background-position: -200px 0; }
.modal.modal-write .write-list li.write-item-type-photoset .write-item-image { background-position: -300px 0; }
.modal.modal-write .write-list li.write-item-type-blog .write-item-image { background-position: -400px 0; }
.modal.modal-write .write-list li.write-item-type-draft .write-item-image { background-position: -500px 0; }
.write-list { *overflow: hidden; *zoom: 1; }
.write-list li { width: 100px; margin: 0 10px 20px; text-align: center; overflow: hidden; display: inline-table; *float: left; }
.write-list li a { color: #39576B; }
.write-list li .write-item-image { display: block; width: 100px; height: 100px; border-radius: 3px; text-align: center; background: url(../images/write.png) no-repeat; margin-bottom: 10px; }
.write-list li.write-item-type-topic .write-item-image { background-position: 0 0; }
.write-list li.write-item-type-poll .write-item-image { background-position: -100px 0; }
.write-list li.write-item-type-link .write-item-image { background-position: -200px 0; }
.write-list li.write-item-type-photoset .write-item-image { background-position: -300px 0; }
.write-list li.write-item-type-blog .write-item-image { background-position: -400px 0; }
.write-list li.write-item-type-draft .write-item-image { background-position: -500px 0; }

View file

@ -1,5 +1,13 @@
/* Synio's nav-menu support
-------------------------------------------------- */
/**
* Навигация
*
* @template navs/*.tpl
*/
/**
* Навгиация для совместимости с шаблоном synio
*/
.nav.nav-menu { margin-bottom: 15px; }
.nav.nav-menu > li { margin-right: 3px; }
.nav.nav-menu > li > a { border-radius: 2px; padding: 5px 12px; background: #f5f5f5; color: #888; }
@ -7,8 +15,11 @@
.nav.nav-menu > li.active > a { background: #2891d3; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); color: #fff; }
/* Userbar
-------------------------------------------------- */
/**
* Юзербар
*
* @template header.tpl
*/
#userbar {
border: 1px solid #ddd;
border-top: none;

View file

@ -1,12 +1,16 @@
/**
* Photoset
* Фотосет
*/
/* Base */
.photoset { margin-bottom: 15px; }
/* Default */
/**
* Дефолтный фотосет
*
* @template topics/topic.photoset.tpl
*/
.photoset-type-default { padding-top: 10px; }
.photoset-type-default .photoset-title { border-bottom: 1px solid #ddd; padding-bottom: 4px; margin-bottom: 15px; font-size: 16px; }
@ -19,7 +23,11 @@
.photoset-type-default .photoset-more:hover { background: #eaf2f8; }
/* Upload */
/**
* Загрузка изображений
*
* @template actions/ActionPhotoset/add.tpl
*/
.photoset-upload { margin-bottom: 20px; background: #F1F7FD; }
.photoset-upload header,
.photoset-upload footer { padding: 15px; }

View file

@ -1,6 +1,6 @@
/* --------------------------------------------
СТИЛИ ДЛЯ ПЕЧАТИ
-------------------------------------------- */
/**
* Стили для печати
*/
@media print {
@page { margin: 0.5cm; }

View file

@ -1,7 +1,15 @@
/* --------------------------------------------
СТРАНИЦА ПОЛЬЗОВАТЕЛЯ
-------------------------------------------- */
/**
* Профиль пользователя
*
* @template actions/ActionProfile/*.tpl
*/
/**
* Шапка профиля
*
* @template actions/ActionProfile/profile_top.tpl
*/
.profile { min-height: 48px; margin-bottom: 0; padding: 0 300px 20px 65px; position: relative; }
.profile .avatar { position: absolute; top: 0; left: 0; }

View file

@ -1,6 +1,6 @@
/* -------------------------------------------------------------------
ТАБЛИЦЫ
------------------------------------------------------------------- */
/**
* Таблицы
*/
.table { width: 100%; margin-bottom: 15px; }
.table th { text-align: left; background: #fafafa; }
@ -18,10 +18,6 @@
.table.table-blogs .cell-join { width: 130px; text-align: center; vertical-align: middle; }
.table.table-blogs .cell-rating { text-align: center; vertical-align: middle; }
/* Table Plugins */
.table.table-plugins .cell-checkbox { width: 20px; padding: 12px 0 10px 10px; }
.table.table-plugins h3 { font-weight: bold; font-size: 17px; line-height: 20px; margin-bottom: 5px; }
/* Table Profile Notes */
.table.table-profile-notes { border-top: 1px solid #eee; }
.table.table-profile-notes td { vertical-align: top; }

View file

@ -0,0 +1,40 @@
/**
* Тулбар
*
* @template toolbar/*.tpl
*/
/**
* Кнопка перехода в админку
*
* @template toolbar/toolbar.admin.tpl
*/
.toolbar .toolbar-admin a { display: block; }
/**
* Кнопка обновления комментариев
*
* @template toolbar/toolbar.comment.tpl
*/
.toolbar .toolbar-update .update-comments { padding: 9px; }
.toolbar .toolbar-update .update-comments i { display: block; width: 16px; height: 16px; background: url(../images/update.gif) no-repeat; }
.toolbar .toolbar-update .update-comments.active i { background-position: -16px 0; }
.toolbar .toolbar-update .new-comments { border-top: 1px solid #eee; padding: 10px 0; color: #333; text-align: center; font-size: 11px; }
/**
* Кнопка навигации по топикам
*
* @template toolbar/toolbar.topic.tpl
*/
.toolbar .toolbar-topic a.toolbar-topic-prev { border-bottom: 1px solid #eee; }
/**
* Кнопка прокрутки вверх
*
* @template toolbar/toolbar.scrollup.tpl
*/
.toolbar .toolbar-scrollup { display: none; }

View file

@ -1,7 +1,13 @@
/* --------------------------------------------
СТЕНА
-------------------------------------------- */
/**
* Стена
*
* @template actions/ActionProfile/wall_*.tpl
*/
/**
* Форма добавления сообщения на стену
*/
.wall-submit { margin-bottom: 30px; }
.wall-submit.wall-submit-reply { margin: 2px 0 2px 25px; padding: 7px; background: #fafafa; }
.wall-submit.wall-submit-reply textarea { height: 28px; *height: 16px; *width: 590px; margin: 0; }
@ -10,14 +16,24 @@
.wall-submit.wall-submit-reply.active button { display: block; }
.wall-submit p { margin-bottom: 5px; }
/**
* Сообщения
*/
.comments.wall,
.wall .comment { margin-bottom: 2px; }
.wall .comment .comment-info { padding-bottom: 0; }
.wall .comment .comment-content { margin-bottom: 3px; }
/**
* Комментарии
*/
.comment.wall-comment-reply { min-height: 0; padding-left: 48px; }
.comment.wall-comment-reply .comment-avatar { width: 30px; height: 30px; }
.wall-note { margin-bottom: 20px; font-family: Verdana, sans-serif; }
/**
* Кнопка подгрузки комментариев
*/
.get-more.get-more-wall-comments { border: none; margin: 0 0 2px 25px; }

View file

@ -32,6 +32,7 @@ $config['head']['default']['css'] = array_merge(Config::Get('head.default.css'),
"___path.static.framework___/js/vendor/jcrop/jquery.Jcrop.css",
"___path.static.framework___/js/vendor/prettify/prettify.css",
"___path.static.framework___/js/vendor/prettyphoto/css/prettyphoto.css",
"___path.static.framework___/js/vendor/notifier/jquery.notifier.css",
"___path.static.skin___/css/grid.css",
"___path.static.skin___/css/forms.css",
"___path.static.skin___/css/common.css",
@ -47,7 +48,8 @@ $config['head']['default']['css'] = array_merge(Config::Get('head.default.css'),
"___path.static.skin___/css/profile.css",
"___path.static.skin___/css/wall.css",
"___path.static.skin___/css/activity.css",
"___path.static.skin___/css/jquery.notifier.css",
"___path.static.skin___/css/admin.css",
"___path.static.skin___/css/toolbar.css",
"___path.static.skin___/themes/___view.theme___/style.css",
"___path.static.skin___/css/print.css",
));

View file

@ -1,10 +1,13 @@
{**
* Информация о производительности движка
*
* @styles css/admin.css
*}
{if $bIsShowStatsPerformance and $oUserCurrent and $oUserCurrent->isAdministrator()}
<div class="stat-performance">
<div class="alert alert-info stat-performance">
{hook run='statistics_performance_begin'}
<table>
<tr>
<td>
@ -24,9 +27,11 @@
time load modules: <strong>{$aStatsPerformance.engine.time_load_module}</strong><br />
full time: <strong>{$iTimeFullPerformance}</strong>
</td>
{hook run='statistics_performance_item'}
</tr>
</table>
{hook run='statistics_performance_end'}
</div>
{/if}

View file

@ -4,7 +4,7 @@
{if ! $noShowSystemMessage}
{if $aMsgError}
<ul class="system-message-error">
<ul class="alert alert-error">
{foreach from=$aMsgError item=aMsg}
<li>
{if $aMsg.title != ''}
@ -19,7 +19,7 @@
{if $aMsgNotice}
<ul class="system-message-notice">
<ul class="alert alert-success">
{foreach from=$aMsgNotice item=aMsg}
<li>
{if $aMsg.title != ''}

View file

@ -4,20 +4,20 @@
{$bNoSidebar = true}
{/block}
{block name='layout_content'}
<h2 class="page-header"><a href="{router page='admin'}">{$aLang.admin_header}</a> <span>&raquo;</span> {$aLang.admin_list_blogcategory}</h2>
{block name='layout_page_title'}<a href="{router page='admin'}">{$aLang.admin_header}</a> <span>&raquo;</span> {$aLang.admin_list_blogcategory}{/block}
{block name='layout_content'}
<button class="button button-primary" data-type="modal-toggle" data-option-url="{router page='admin'}blogcategory/modal-add/">{$aLang.admin_blogcategory_add}</button>
<br />
<br />
<table cellspacing="0" class="table">
<thead>
<tr>
<th width="180px">{$aLang.admin_blogcategory_items_title}</th>
<th align="center" >{$aLang.admin_blogcategory_items_url}</th>
<th align="center" width="80px">{$aLang.admin_blogcategory_items_action}</th>
</tr>
<tr>
<th width="180px">{$aLang.admin_blogcategory_items_title}</th>
<th align="center" >{$aLang.admin_blogcategory_items_url}</th>
<th align="center" width="80px">{$aLang.admin_blogcategory_items_action}</th>
</tr>
</thead>
<tbody>

View file

@ -41,4 +41,4 @@
<button type="submit" name="submit" class="button button-primary" onclick="jQuery('#form-category-blog-add').submit()">
{if $oCategory}{$aLang.admin_blogcategory_form_edit_submit}{else}{$aLang.admin_blogcategory_form_add_submit}{/if}
</button>
{/block}
{/block}

View file

@ -1,8 +1,8 @@
{extends file='layout.base.tpl'}
{block name='layout_content'}
<h2 class="page-header">{$aLang.admin_header}</h2>
{block name='layout_page_title'}{$aLang.admin_header}{/block}
{block name='layout_content'}
<ul>
<li><a href="{router page="admin"}plugins/">{$aLang.admin_list_plugins}</a></li>
<li><a href="{router page="admin"}userfields/">{$aLang.admin_list_userfields}</a></li>

View file

@ -1,7 +1,13 @@
{**
* Настройка пользовательских полей в админке
*
* @styles css/modals.css
*}
{extends file='modals/modal_base.tpl'}
{block name='modal_id'}userfield_form{/block}
{block name='modal_class'}userfield_form js-modal-default{/block}
{block name='modal_class'}modal-userfield js-modal-default{/block}
{block name='modal_title'}{$aLang.user_field_admin_title_add}{/block}
{block name='modal_content'}
@ -28,6 +34,6 @@
</form>
{/block}
{block name='modal_footer'}
{block name='modal_footer_begin'}
<button type="button" onclick="ls.userfield.applyForm(); return false;" class="button button-primary">{$aLang.user_field_add}</button>
{/block}

View file

@ -4,10 +4,9 @@
{$bNoSidebar = true}
{/block}
{block name='layout_page_title'}<a href="{router page='admin'}">{$aLang.admin_header}</a> <span>&raquo;</span> {$aLang.admin_list_plugins}{/block}
{block name='layout_content'}
<h2 class="page-header"><a href="{router page='admin'}">{$aLang.admin_header}</a> <span>&raquo;</span> {$aLang.admin_list_plugins}</h2>
<form action="{router page='admin'}plugins/" method="post" id="form_plugins_list">
<table class="table table-plugins">
<thead>
@ -43,11 +42,11 @@
{/if}
{/if}
</td>
<td>
<td align="center">
{if $aPlugin.is_active}
<a href="{router page='admin'}plugins/?plugin={$aPlugin.code}&action=deactivate&security_ls_key={$LIVESTREET_SECURITY_KEY}">{$aLang.plugins_plugin_deactivate}</a>
<a href="{router page='admin'}plugins/?plugin={$aPlugin.code}&action=deactivate&security_ls_key={$LIVESTREET_SECURITY_KEY}" class="button">{$aLang.plugins_plugin_deactivate}</a>
{else}
<a href="{router page='admin'}plugins/?plugin={$aPlugin.code}&action=activate&security_ls_key={$LIVESTREET_SECURITY_KEY}">{$aLang.plugins_plugin_activate}</a>
<a href="{router page='admin'}plugins/?plugin={$aPlugin.code}&action=activate&security_ls_key={$LIVESTREET_SECURITY_KEY}" class="button button-primary">{$aLang.plugins_plugin_activate}</a>
{/if}
</td>
</tr>

View file

@ -1,24 +1,28 @@
{extends file='layout.base.tpl'}
{block name='layout_options'}
{$bNoSidebar = true}
{/block}
{block name='layout_page_title'}<a href="{router page='admin'}">{$aLang.admin_header}</a> <span>&raquo;</span> {$aLang.user_field_admin_title}{/block}
{block name='layout_content'}
{include file='actions/ActionAdmin/modal.userfields.tpl'}
<h2 class="page-header">{$aLang.user_field_admin_title}</h2>
<a href="javascript:ls.userfield.showAddForm()" class="link-dotted">{$aLang.user_field_add}</a>
<button onclick="ls.userfield.showAddForm()" class="button button-primary">{$aLang.user_field_add}</button>
<br /><br />
<ul class="userfield-list" id="user_field_list">
{foreach from=$aUserFields item=oField}
<li id="field_{$oField->getId()}"><strong class="userfield_admin_name">{$oField->getName()|escape:"html"}</strong>
<li id="field_{$oField->getId()}">
<strong>{$oField->getName()|escape:"html"}</strong>
/ <span class="userfield_admin_title">{$oField->getTitle()|escape:"html"}</span>
/ <span class="userfield_admin_type">{$oField->getType()|escape:"html"}</span>
/ <span class="userfield_admin_pattern">{$oField->getPattern()|escape:"html"}</span>
<div class="userfield-actions">
<a href="javascript:ls.userfield.showEditForm({$oField->getId()})" title="{$aLang.user_field_update}" class="icon-edit"></a>
<a href="javascript:ls.userfield.showEditForm({$oField->getId()})" title="{$aLang.user_field_update}" class="icon-edit"></a>
<a href="javascript:ls.userfield.deleteUserfield({$oField->getId()})" title="{$aLang.user_field_delete}" class="icon-remove"></a>
</div>
</li>

View file

@ -31,14 +31,14 @@
<button type="button" onclick="ls.wall.add(jQuery('#wall-text').val(),0);" class="button button-primary js-button-wall-submit">{$aLang.wall_add_submit}</button>
</form>
{else}
<div class="wall-note">
{$aLang.wall_add_quest}
<div class="notice-empty" id="wall-note-list-empty">
<h3>{$aLang.wall_add_quest}</h3>
</div>
{/if}
{if ! count($aWall)}
<div class="wall-note" id="wall-note-list-empty">
{$aLang.wall_list_empty}
<div class="notice-empty" id="wall-note-list-empty">
<h3>{$aLang.wall_list_empty}</h3>
</div>
{/if}

View file

@ -0,0 +1,33 @@
/**
* Админка
*
* @template actions/ActionAdmin/*.tpl
*/
/**
* Настраиваемые поля
*/
.userfield-list li { background: #f7f7f7; margin-bottom: 1px; padding: 13px 65px 13px 15px; position: relative; }
.userfield-list li:hover { background: #eee; }
.userfield-actions { position: absolute; top: 15px; right: 15px; }
/**
* Информация о производительности
*
* @template stat_performance.tpl
*/
.stat-performance { margin: 20px; padding: 20px; }
.stat-performance table { width: 100%; }
.stat-performance td { vertical-align: top; }
.stat-performance h4 { font-weight: bold; font-size: 14px; }
/**
* Управление плагинами
*
* @template actions/ActionAdmin/plugins.tpl
*/
.table.table-plugins .cell-checkbox { width: 20px; padding: 12px 0 10px 10px; }
.table.table-plugins h3 { font-weight: bold; font-size: 17px; line-height: 20px; margin-bottom: 5px; }

View file

@ -1,6 +1,6 @@
/* -------------------------------------------------------------------
ОСНОВНЫЕ СТИЛИ
------------------------------------------------------------------- */
/**
* Основные стили
*/
body {
font-size: 12px;
@ -11,18 +11,18 @@ body {
}
/* Ссылки
---------------------------------------------------- */
/**
* Ссылки
*/
a { color: #3f8ad7; }
a:hover { color: #f00; }
.text a:visited { color: #1D2273; }
/* Заголовки
---------------------------------------------------- */
/**
* Заголовки
*/
h1, h2, h3, h4, h5, h6 { font-family: 'PT Sans', Arial, sans-serif; }
.h1, .h2, .h3, .h4, .h5, .h6 { font-family: 'PT Sans', Arial, sans-serif; margin-bottom: 15px; line-height: 1.2em; }
@ -33,21 +33,18 @@ h1, h2, h3, h4, h5, h6 { font-family: 'PT Sans', Arial, sans-serif; }
.h5 { font-size: 20px; }
.h6 { font-size: 18px; }
h2.page-header { color: #333; font-size: 27px; line-height: 1em; font-weight: normal; margin-bottom: 20px; }
h2.page-header span { color: #aaa; }
h2.page-header i { vertical-align: middle; }
.page-header { color: #333; font-size: 27px; line-height: 1em; font-weight: normal; margin-bottom: 20px; }
.page-header span { color: #aaa; }
.page-header i { vertical-align: middle; }
h2.header-table { margin-bottom: 10px; font-size: 22px; font-weight: normal; }
h2.header-table a { color: #275ec2; }
h2.header-table span { color: #949aa1; }
.header-table { margin-bottom: 10px; font-size: 22px; font-weight: normal; }
.header-table a { color: #275ec2; }
.header-table span { color: #949aa1; }
/* Шапка сайта
---------------------------------------------------- */
/**
* Шапка сайта
*/
#header .site-name { font-size: 25px; line-height: 1em; float: left; padding-top: 11px; margin-right: 30px; margin-left: 18px; }
#header .site-name a { color: #fff; text-decoration: none; }
#header .site-name a:hover { color: #eee; }
@ -94,9 +91,9 @@ h2.header-table span { color: #949aa1; }
#header .auth li a.sign-in { color: #7dc6ff; }
/* Футер
---------------------------------------------------- */
/**
* Футер
*/
#footer .copyright { float: right; width: 255px; }
#footer .copyright .design-by { overflow: hidden; line-height: 15px; margin-top: 30px; }
#footer .copyright .design-by img { float: left; margin-right: 10px; margin-top: 3px; }
@ -109,9 +106,9 @@ h2.header-table span { color: #949aa1; }
#footer .footer-list a { color: #4c4c4c; }
/* Навигация
---------------------------------------------------- */
/**
* Навигация
*/
#nav .button.button-write { float: right; margin-left: 35px; margin-top: 1px; }
#nav .nav.nav-menu { margin-top: 1px; }
#nav .search-header { float: right; }
@ -121,30 +118,9 @@ h2.header-table span { color: #949aa1; }
#nav .search-header .search-form { position: relative; top: 0px; padding: 0; margin: 0; border-radius: 0; }
/* Stat
---------------------------------------------------- */
.stat-performance { width: 910px; margin: 0 auto 20px; padding: 15px 20px; background: #fff; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.stat-performance table { }
.stat-performance table td { width: 200px; vertical-align: top; }
.stat-performance h4 { font-weight: bold; }
/* Userfields
---------------------------------------------------- */
.userfield-list { width: 450px; }
.userfield-list li { background: #eee; margin-bottom: 1px; padding: 10px 10px; overflow: hidden; zoom: 1; line-height: 12px; color: #777; }
.userfield-list li .userfield-actions { float: right; }
.userfield-list li .userfield_admin_name { font-weight: bold; color: #333; }
.userfield-add { text-decoration: none; border-bottom: 1px dashed #70AAE0; }
.userfield-add:hover { color: #333; border-color: #333; }
/* Talk
---------------------------------------------------- */
/**
* Talk
*/
.talk-search { padding: 15px; background: #f8fbfe; border-radius: 5px; margin-bottom: 35px; }
.talk-search header { position: relative; min-height: 27px; }
.talk-search header .close { position: absolute; top: 3px; right: 0; font-size: 11px; cursor: pointer; }
@ -160,9 +136,9 @@ h2.header-table span { color: #949aa1; }
.talk-blacklist-form { padding: 15px; background: #f8fbfe; border-radius: 5px; margin-bottom: 15px; }
/* Misc
---------------------------------------------------- */
/**
* Misc
*/
.drafts { float: right; font-size: 11px; color: #275ec2; }
.content-error { padding: 110px 160px; }

View file

@ -1,4 +1,4 @@
/*
/**
* Buttons
*/

View file

@ -1,9 +1,11 @@
/* -------------------------------------------------------------------
ОБЩИЕ СТИЛИ
------------------------------------------------------------------- */
/**
* Общие стили
*/
/* Голосование
---------------------------------------------------- */
/**
* Голосование
*/
.vote-topic { height: 24px; border-radius: 15px; overflow: hidden; font-size: 11px; float: left; zoom: 1; }
.vote-topic .vote-item {
cursor: pointer;
@ -146,9 +148,9 @@
.vote-topic.vote-count-zero.vote-nobuttons { background: #edf8fd; }
/* Избранное
---------------------------------------------------- */
/**
* Избранное
*/
.favourite { display: inline-block; width: 11px; height: 11px; vertical-align: text-top; background: url(../images/icons-synio.png) 0 -37px no-repeat; cursor: pointer; }
.favourite.active { background-position: 0 -65px; }
.favourite-count { margin-left: 0; }
@ -157,9 +159,9 @@
.follow.active { background-position: -17px -76px; }
/* Пагинация
---------------------------------------------------- */
/**
* Пагинация
*/
.pagination { overflow: hidden; zoom: 1; }
.pagination ul { overflow: hidden; zoom: 1; line-height: 1em; float: left; margin-top: 5px; }
.pagination ul li { float: left; margin-right: 5px; }
@ -174,16 +176,16 @@
.pagination ul li.next { margin-right: 50px; }
/* Actions
---------------------------------------------------- */
/**
* Actions
*/
.actions { overflow: hidden; zoom: 1; margin-bottom: 10px; font-size: 11px; }
.actions li { float: left; margin-right: 10px; }
/* Список пользователей
---------------------------------------------------- */
/**
* Список пользователей
*/
.user-list-avatar { overflow: hidden; zoom: 1; }
.user-list-avatar li { width: 48px; overflow: hidden; float: left; margin-right: 12px; margin-bottom: 12px; text-align: center; font-size: 11px; }
.user-list-avatar li img { margin-bottom: 2px; display: block; }
@ -196,9 +198,9 @@
.user-list-mini li:hover i { display: block; }
/* Облако тегов
---------------------------------------------------- */
/**
* Облако тегов
*/
.tag-cloud { text-align: center; width: 100%; }
.tag-cloud li { display: inline; margin-right: 5px; line-height: 22px; }
.tag-cloud li a { color: #727a90; }
@ -215,9 +217,9 @@
.tag-cloud li .tag-size-10 { font-size: 22px; }
/* Item List
---------------------------------------------------- */
/**
* Item List
*/
.item-list { border-top: 1px solid #eee; }
.item-list li { min-height: 51px; padding: 7px 0 10px 58px; border-bottom: 1px solid #eee; position: relative; zoom: 1; }
.item-list li p { padding-top: 2px; font-size: 11px; }
@ -227,25 +229,20 @@
.item-list li .blog-name { font-weight: bold; }
/* Хелперы
---------------------------------------------------- */
/**
* Хелперы
*/
.wrapper { overflow: hidden; zoom: 1; }
.wrapper-content { padding: 20px 20px; background: #f8fbfe; }
.wrapper-content h3 { font-size: 15px; margin-bottom: 10px; font-family: Verdana, sans-serif; }
.wrapper-content.wrapper-content-dark { padding: 15px 20px; background: #f1f7fd; }
/* Разное
---------------------------------------------------- */
.system-message-error { background: #f0c8c8; color: #b22626; padding: 10px 15px; margin-bottom: 15px; }
.system-message-notice { background: #dafad8; color: #4bb23b; padding: 10px 15px; margin-bottom: 15px; }
/**
* Разное
*/
.notice-empty { color: #aaa; }
.loader { background: #fafafa url(../images/loader.gif) 50% 50% no-repeat; }
.user, .ls-user { font-weight: bold; color: #333; }
.ls-user { display: inline-block; }
.user:before, .ls-user:before {

View file

@ -1,6 +1,8 @@
/* --------------------------------------------
СЕТКА
-------------------------------------------- */
/**
* Сетка
*
* @template layout.base.tpl
*/
#container { margin: 0 auto; margin-bottom: 20px; padding: 0 48px; }
#header-back { position: absolute; top: 0; left: 0; width: 100%; height: 51px; background: #090909; }

View file

@ -1,16 +1,13 @@
/* -------------------------------------------------------------------
ИКОНКИ
Иконки Glyphicons
http://glyphicons.com/
Пример использования:
<a href="#"><i class="icon icon-remove"></i> Remove</a>
------------------------------------------------------------------- */
/**
* Иконки
*
* Иконки Glyphicons
* http://glyphicons.com/
*
* Пример использования:
*
* <a href="#"><i class="icon icon-remove"></i> Remove</a>
*/
[class^="icon-"],
[class*=" icon-"] {

View file

@ -1,5 +1,7 @@
/*
* Modal
*
* @template modals/*.tpl
*/
@ -45,9 +47,11 @@
.modal .modal-footer { padding: 0 30px 30px; border: 0; background: transparent; }
/* Login
-------------------------------------------------- */
/**
* Авторизация
*
* @template modals/modal.login.tpl
*/
.modal.modal-login { width: 450px; }
.modal.modal-login .nav { margin-bottom: 30px; }
.modal.modal-login .modal-header { margin-bottom: 0; }
@ -58,12 +62,16 @@
.modal.modal-login .icon-ok-green { position: relative; top: -1px; }
/* Write
-------------------------------------------------- */
/**
* Создать
*
* @template modals/modal.login.tpl
*/
.modal.modal-write { width: 620px; background: #e0eff9; }
.modal.modal-write .modal-content { padding: 10px 10px 20px; *padding: 10px 10px 25px; }
.modal.modal-write .write-list { *overflow: hidden; *zoom: 1; }
.modal.modal-write .write-list li {
.write-list { *overflow: hidden; *zoom: 1; }
.write-list li {
width: 125px;
margin: 0 10px 20px;
font-size: 19px;
@ -73,9 +81,9 @@
display: inline-table;
*float: left;
}
.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 {
.write-list li a { color: #727a90; }
.write-list li:hover a { color: #275ec2; }
.write-list li .write-item-image {
display: block;
margin: 0 auto;
width: 115px;
@ -85,24 +93,23 @@
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; }
.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: -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-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: -578px -115px; }
.write-list li.write-item-type-topic .write-item-image { background-position: 0 0; }
.write-list li.write-item-type-message .write-item-image { background-position: -345px 0; }
.write-list li.write-item-type-blog .write-item-image { background-position: -115px 0; }
.write-list li.write-item-type-draft .write-item-image { background-position: -578px 0; }
.write-list li.write-item-type-topic:hover .write-item-image { background-position: 0 -115px; }
.write-list li.write-item-type-message:hover .write-item-image { background-position: -345px -115px; }
.write-list li.write-item-type-blog:hover .write-item-image { background-position: -115px -115px; }
.write-list li.write-item-type-draft:hover .write-item-image { background-position: -578px -115px; }
/* Upload Image
-------------------------------------------------- */
/**
* Загрузка изображения
*
* @template modals/modal.upload_image.tpl
*/
.modal.modal-image-upload { width: 500px; }
.modal.modal-image-upload .nav.nav-pills { margin-bottom: 0; }
.modal.modal-upload-photo .image-border,

View file

@ -1,5 +1,7 @@
/**
* Navigation
* Навигация
*
* @template navs/*.tpl
*/
@ -69,34 +71,6 @@
.oldie #nav { background: #f6f6f6; }
/* Userbar */
#userbar {
border: 1px solid #ddd;
border-top: none;
border-radius: 0 0 4px 4px;
-webkit-box-shadow: 0 0 5px #ddd; box-shadow: 0 0 5px #ddd;
background: #ffffff;
background: -moz-linear-gradient(top, #ffffff 0%, #f3f3f3 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f3f3f3));
background: -webkit-linear-gradient(top, #ffffff 0%,#f3f3f3 100%);
background: -o-linear-gradient(top, #ffffff 0%,#f3f3f3 100%);
background: -ms-linear-gradient(top, #ffffff 0%,#f3f3f3 100%);
background: linear-gradient(top, #ffffff 0%,#f3f3f3 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f3f3f3',GradientType=0 );
}
#userbar .search { float: left; margin: 5px 0 0 6px; *margin: 4px 0 0 4px; }
.nav.nav-userbar { float: right; }
.nav.nav-userbar li { border-radius: 0 0 0 4px; border-left: 1px solid #eaeaea; }
.nav.nav-userbar li a { color: #555; }
.nav.nav-userbar li:first-child a { border-radius: 0 0 0 4px; }
.nav.nav-userbar li:last-child a { border-radius: 0 0 4px 0; }
.nav.nav-userbar li.nav-userbar-username a { position: relative; padding-left: 47px; font-weight: bold; color: #333; }
.nav.nav-userbar li.nav-userbar-username .avatar { position: absolute; top: 7px; left: 15px; }
.nav.nav-userbar li .new-messages { color: #4AA731; font-weight: bold; }
/* Nav Main */
.nav.nav-main { height: 51px; overflow: hidden; background: none; }
.nav.nav-main li { margin-right: 22px; position: relative; height: 51px; line-height: 49px; background: none; }
@ -115,6 +89,7 @@
.nav.nav-profile li a:hover { color: #f00; }
.nav.nav-profile li.active a { text-decoration: none; color: #000; }
/* Nav Group */
.nav-group { position: relative; }
.nav-group .dropdown.dropdown-timespan { position: absolute; top: 0; right: 0; margin: 0; }

View file

@ -1,12 +1,16 @@
/**
* Photoset
* Фотосет
*/
/* Base */
.photoset { margin-bottom: 15px; }
/* Default */
/**
* Дефолтный фотосет
*
* @template topics/topic.photoset.tpl
*/
.photoset-type-default { padding-top: 10px; }
.photoset-type-default .photoset-title { border-bottom: 1px solid #ccc; padding-bottom: 4px; margin-bottom: 15px; font-size: 25px; }
@ -19,7 +23,11 @@
.photoset-type-default .photoset-more:hover { background: #eaf2f8; }
/* Upload */
/**
* Загрузка изображений
*
* @template actions/ActionPhotoset/add.tpl
*/
.photoset-upload { margin-bottom: 20px; background: #F1F7FD; }
.photoset-upload header,
.photoset-upload footer { padding: 15px; }

View file

@ -1,6 +1,6 @@
/* --------------------------------------------
СТИЛИ ДЛЯ ПЕЧАТИ
-------------------------------------------- */
/**
* Стили для печати
*/
@media print {
@page { margin: 0.5cm; }

View file

@ -1,7 +1,15 @@
/* --------------------------------------------
СТРАНИЦА ПОЛЬЗОВАТЕЛЯ
-------------------------------------------- */
/**
* Профиль пользователя
*
* @template actions/ActionProfile/*.tpl
*/
/**
* Шапка профиля
*
* @template actions/ActionProfile/profile_top.tpl
*/
.profile { min-height: 48px; margin-bottom: 0; padding: 0 0px 20px 0; position: relative; }
.profile .button { float: right; margin-left: 7px; }
@ -20,12 +28,24 @@
.profile-page-header { font-size: 12px; font-weight: bold; margin-bottom: 20px; background: #f5f5f5; border-top: 1px solid #eee; color: #555; padding: 5px 10px 6px; }
/**
* Блок "О себе"
*
* @template actions/ActionProfile/whois.tpl
*/
.profile-info-about { padding: 13px 20px 20px 135px; min-height: 100px; background: #fcfce9; border-radius: 5px; margin-bottom: 30px; color: #000; position: relative; }
.profile-info-about .avatar { position: absolute; top: 20px; left: 20px; border-radius: 5px; background: #fff; padding: 5px; -webkit-box-shadow: 0 0 5px rgba(0,0,0,.2); box-shadow: 0 0 5px rgba(0,0,0,.2); }
.profile-info-about .avatar img { vertical-align: top; width: 80px; height: 80px; }
.profile-info-about h3 { font-size: 19px; margin-bottom: 5px; }
.profile-info-about .edit { font-size: 11px; }
/**
* Вспомогательные стили
*
* @template actions/ActionProfile/whois.tpl
*/
.profile-left { width: 360px; float: left; margin-right: 40px; }
.profile-right { width: 185px; float: left; }

View file

@ -1,6 +1,6 @@
/* -------------------------------------------------------------------
ТАБЛИЦЫ
------------------------------------------------------------------- */
/**
* Таблицы
*/
.table { width: 100%; margin-bottom: 15px; border-collapse: separate; }
.table th { text-align: left; font-weight: normal; border-bottom: 1px solid #c3d4dc; }
@ -39,10 +39,6 @@
.table.table-blogs .cell-join { width: 130px; text-align: center; vertical-align: middle; }
.table.table-blogs .cell-rating { width: 90px; text-align: center; vertical-align: middle; }
/* Table Plugins */
.table.table-plugins .cell-checkbox { width: 20px; padding: 12px 0 10px 10px; }
.table.table-plugins h3 { font-weight: bold; font-size: 17px; line-height: 20px; margin-bottom: 5px; }
/* Table Profile Notes */
.table.table-profile-notes { border-top: 1px solid #eee; }
.table.table-profile-notes td { vertical-align: top; }

View file

@ -1,26 +1,52 @@
/**
* Toolbar
* Тулбар
*
* @template toolbar/*.tpl
*/
.toolbar { position: fixed; z-index: 20; }
.toolbar section { width: 25px; padding: 8px; overflow: hidden; line-height: 14px; background: #fff; -webkit-box-shadow: 0 0 5px rgba(0,0,0,.03); box-shadow: 0 0 5px rgba(0,0,0,.03); margin-bottom: 10px; border-radius: 10px; }
.toolbar section {
width: 25px;
padding: 8px;
overflow: hidden;
line-height: 14px;
background: #fff;
-webkit-box-shadow: 0 0 5px rgba(0,0,0,.03);
box-shadow: 0 0 5px rgba(0,0,0,.03);
margin-bottom: 10px;
border-radius: 10px;
}
.toolbar section a { padding: 0; }
.toolbar section a:hover { background: none; }
.toolbar section i { display: block; width: 25px; height: 25px; }
/* Admin button */
/**
* Кнопка перехода в админку
*
* @template toolbar/toolbar.admin.tpl
*/
.toolbar .toolbar-admin i { background: url(../images/icons-synio.png) -268px -23px no-repeat; }
.toolbar .toolbar-admin i:hover { background-position: -268px -48px; }
.toolbar .toolbar-admin i:active { background-position: -268px -73px; }
/* Update comments button */
.toolbar .toolbar-update { }
/**
* Кнопка обновления комментариев
*
* @template toolbar/toolbar.comment.tpl
*/
.toolbar .toolbar-update .update-comments { padding: 0; }
.toolbar .toolbar-update .update-comments i { width: 25px; height: 25px; background: url(../images/update.gif) no-repeat; }
.toolbar .toolbar-update .update-comments.active i { background-position: -25px 0; }
.toolbar .toolbar-update .new-comments { display: block; border: none; padding: 5px 0 3px; font-size: 11px; color: #51983c; text-align: center; text-decoration: none; width: 25px; }
/* Topic navigation */
/**
* Кнопка навигации по топикам
*
* @template toolbar/toolbar.topic.tpl
*/
.toolbar .toolbar-topic { width: 19px; padding: 11px; }
.toolbar .toolbar-topic a.toolbar-topic-prev { border: none; }
.toolbar .toolbar-topic a.toolbar-topic-prev i { display: block; width: 19px; height: 32px; background: url(../images/icons-synio.png) -211px -23px no-repeat; }
@ -30,7 +56,12 @@
.toolbar .toolbar-topic a.toolbar-topic-next i:hover { background-position: -230px -55px; }
.toolbar .toolbar-topic a.toolbar-topic-next i:active { background-position: -249px -55px; }
/* Scroll up */
/**
* Кнопка прокрутки вверх
*
* @template toolbar/toolbar.scrollup.tpl
*/
.toolbar .toolbar-scrollup { display: none; }
.toolbar .toolbar-scrollup i { background: url(../images/icons-synio.png) -294px -23px no-repeat; }
.toolbar .toolbar-scrollup i:hover { background-position: -294px -48px; }

View file

@ -13,8 +13,7 @@
}
/* Yellow
------------------------------ */
/* Yellow */
.tooltip.tooltip-yellow {
background: #fffea8;
color: #3e3e16;

View file

@ -11,11 +11,7 @@
font-size: 11px;
line-height: 16px;
z-index: 9999;
/* IE 6 Fix */
_position: absolute;
_top: expression( eval(document.documentElement.scrollBottom) + 10 +"px" );
z-index: 9999;
}
#notifier .n-box {

View file

@ -1,7 +1,12 @@
/* --------------------------------------------
СТЕНА
-------------------------------------------- */
/**
* Стена
*
* @template actions/ActionProfile/wall_*.tpl
*/
/**
* Форма добавления сообщения на стену
*/
.wall-submit { margin-bottom: 30px; background: #f8fbfe; padding: 15px; border-radius: 5px; position: relative; }
.wall-submit .counter { position: absolute; bottom: 18px; right: 15px; color: #818189; }
.wall-submit .counter.exceeded { color: #f00; }
@ -16,6 +21,13 @@
.wall-submit.wall-submit-reply.active .counter { display: block; }
.wall-submit p { margin-bottom: 5px; }
.wall-submit.wall-submit-reply.wall-submit-comment { -webkit-box-shadow: none; box-shadow: none; margin-top: 0; margin-bottom: 50px; }
.wall-submit.wall-submit-reply.wall-submit-comment:after { display: none; }
/**
* Сообщения
*/
.wall-item-wrapper { margin-bottom: 23px; border-bottom: 1px solid #e7ebed; padding: 0 0 20px 55px; position: relative; }
.wall-item-wrapper:last-child { border-bottom:none; }
@ -26,6 +38,10 @@
.wall-item .actions.wall-item-actions { margin-top: 5px; margin-bottom: 0; }
.wall-item .actions.wall-item-actions a { color: #727a90; border-color: #727a90; }
/**
* Комментарии
*/
.wall-item-replies { padding: 4px 5px 2px; background: #fefef1; position: relative; color: #363636; margin-top: 15px; margin-bottom: 5px; font-size: 11px; border-radius: 5px; -webkit-box-shadow: 0 2px 4px #e8e8c0 inset; box-shadow: 0 2px 4px #e8e8c0 inset; }
.wall-item-replies:after { display: block; content: ""; position: absolute; top: -12px; left: 15px; width: 0; height: 0; border-width: 6px; border-color: transparent transparent #EEEED8 transparent; border-style: solid; }
@ -42,6 +58,10 @@
.wall-item-reply .comment-content:before,
.wall-item-reply .comment-content:after { display: none; }
/**
* Кнопка подгрузки комментариев
*/
.get-more.get-more-wall-comments {
margin: 0 0 10px;
border-radius: 5px;
@ -63,9 +83,4 @@
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fffffa', endColorstr='#fefef1',GradientType=0 );
}
.get-more.get-more-wall-comments:hover { color: #898953; background: #fefef1; }
.get-more.get-more-wall-comments.loading { background: #fefef1 url(../images/loader.gif) 50% 50% no-repeat; }
.wall-note { margin-bottom: 20px; font-family: Verdana, sans-serif; }
.wall-submit.wall-submit-reply.wall-submit-comment { -webkit-box-shadow: none; box-shadow: none; margin-top: 0; margin-bottom: 50px; }
.wall-submit.wall-submit-reply.wall-submit-comment:after { display: none; }
.get-more.get-more-wall-comments.loading { background: #fefef1 url(../images/loader.gif) 50% 50% no-repeat; }

View file

@ -58,6 +58,7 @@ $config['head']['default']['css'] = array_merge(Config::Get('head.default.css'),
"___path.static.skin___/css/modals.css",
"___path.static.skin___/css/dropdowns.css",
"___path.static.skin___/css/toolbar.css",
"___path.static.skin___/css/vendor/jquery.notifier.css",
"___path.static.skin___/css/navs.css",
"___path.static.skin___/css/icons.css",
@ -71,6 +72,7 @@ $config['head']['default']['css'] = array_merge(Config::Get('head.default.css'),
"___path.static.skin___/css/wall.css",
"___path.static.skin___/css/activity.css",
"___path.static.skin___/css/jquery.notifier.css",
"___path.static.skin___/css/admin.css",
"___path.static.skin___/themes/___view.theme___/style.css",
"___path.static.skin___/css/print.css",
));

View file

@ -1,10 +1,13 @@
{**
* Информация о производительности движка
*
* @styles css/admin.css
*}
{if $bIsShowStatsPerformance and $oUserCurrent and $oUserCurrent->isAdministrator()}
<div class="stat-performance">
<div class="alert alert-info stat-performance">
{hook run='statistics_performance_begin'}
<table>
<tr>
<td>
@ -24,9 +27,11 @@
time load modules: <strong>{$aStatsPerformance.engine.time_load_module}</strong><br />
full time: <strong>{$iTimeFullPerformance}</strong>
</td>
{hook run='statistics_performance_item'}
</tr>
</table>
{hook run='statistics_performance_end'}
</div>
{/if}

View file

@ -4,7 +4,7 @@
{if ! $noShowSystemMessage}
{if $aMsgError}
<ul class="system-message-error">
<ul class="alert alert-error">
{foreach from=$aMsgError item=aMsg}
<li>
{if $aMsg.title != ''}
@ -19,7 +19,7 @@
{if $aMsgNotice}
<ul class="system-message-notice">
<ul class="alert alert-success">
{foreach from=$aMsgNotice item=aMsg}
<li>
{if $aMsg.title != ''}