1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub-skin.git synced 2024-06-26 03:50:46 +03:00

Фикс #1: иконки пользователей

This commit is contained in:
Alexander Yakovlev 2017-01-10 17:58:10 +07:00
parent 847560f20b
commit 22e26fcfc5
6 changed files with 11 additions and 4 deletions

View file

@ -47,7 +47,6 @@
(Единственное неудобство - придётся регистрироваться через Github.)</p>
<p><ul class="classic">
<li>Сделать иконку для пользователей <a href="https://git.oreolek.ru/if/ifhub-skin/issues/1">(см.)</a></li>
<li>Вернуть плагин спойлеров <a href="https://git.oreolek.ru/if/ifhub-skin/issues/2">(см.)</a></li>
<li>Исправить сохранение настроек уведомлений <a href="https://git.oreolek.ru/if/ifhub-skin/issues/6">(см.)</a></li>
<li>Спрятать форму поиска под кнопку <a href="https://git.oreolek.ru/if/ifhub-skin/issues/3">(см.)</a></li>

6
assets/css/colors.css Normal file
View file

@ -0,0 +1,6 @@
.ls-user::before {
background: url(/application/frontend/skin/ifhub/assets/images/usericon_28.png) no-repeat !important;
background-size: 100% 100% !important;
width: 18px !important;
height: 18px !important;
}

BIN
assets/images/usericon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 973 B

View file

@ -14,9 +14,10 @@
{$layoutShowSystemMessages = $layoutShowSystemMessages|default:true}
{/block}
{*
{block 'layout_head_styles' append}
<link href='//fonts.googleapis.com/css?family=Open+Sans:300,400,700&amp;subset=latin,cyrillic' rel='stylesheet' type='text/css'>
{/block}
*}
{block 'layout_head' append}
{* Получаем блоки для вывода в сайдбаре *}

View file

@ -18,7 +18,7 @@ $config['view']['grid']['fluid_max_width'] = '1200px';
$config['view']['grid']['fixed_width'] = '1000px';
// Показывать баннер с лого и описанием или нет
$config['view']['layout_show_banner'] = true;
$config['view']['layout_show_banner'] = false;
// Подключение скриптов шаблона
$config['head']['template']['js'] = array(
@ -28,7 +28,8 @@ $config['head']['template']['js'] = array(
// Подключение стилей шаблона
$config['head']['template']['css'] = array(
"___path.skin.assets.web___/css/layout.css",
"___path.skin.assets.web___/css/colors.css",
"___path.skin.assets.web___/css/print.css"
);
return $config;
return $config;