1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-02 22:45:02 +03:00

Исправлены поле поиска и онлайн-индиктор

This commit is contained in:
Denis Shakhov 2012-07-10 18:21:21 +07:00
parent 0cd846b348
commit 259c1937ca
3 changed files with 14 additions and 11 deletions

View file

@ -7,7 +7,7 @@
<form action="{router page='search'}topics/" class="search">
{hook run='search_form_begin'}
<input type="text" value="{$aReq.q|escape:'html'}" placeholder="{$aLang.search}" maxlength="255" name="q" class="input-text">
<input type="text" value="{$aReq.q|escape:'html'}" placeholder="{$aLang.search}" maxlength="255" name="q" class="input-text input-width-full">
<input type="submit" value="" title="{$aLang.search_submit}" class="input-submit icon icon-search">
{hook run='search_form_end'}
</form>

View file

@ -46,14 +46,17 @@
/* Block Type - Profile */
.block.block-type-profile { background: none; border: none; padding: 0; }
.block.block-type-profile .profile-photo-wrapper { position: relative; min-height: 50px; }
.block.block-type-profile .profile-photo { vertical-align: top; max-width: 240px; }
.block.block-type-profile .status { position: absolute; top: 5px; left: 5px; padding: 0 5px; border-radius: 2px; font-size: 11px; line-height: 17px; }
.block.block-type-profile .status.status-online { background: #B7BC1C; color: #fff; }
.block.block-type-profile .status.status-offline { background: #333; color: #fff; opacity: .5; filter: alpha(opacity=50); }
.block.block-type-profile .upload-photo { padding: 10px 30px 15px 30px; background: #f8fbfe; font-size: 11px; }
.block.block-type-profile .upload-photo a { color: #727a90; border-color: #727a90; }
.block.block-type-profile { background: none; border: none; padding: 0; }
.block.block-type-profile .profile-photo-wrapper { position: relative; min-height: 50px; }
.block.block-type-profile .profile-photo { vertical-align: top; max-width: 240px; }
.block.block-type-profile .status { position: absolute; top: 10px; left: 0; padding: 0 0 0 10px; font-size: 11px; line-height: 18px; height: 20px; }
.block.block-type-profile .status:before { content: ''; position: absolute; top: 0; right: -20px; width: 0; height: 0; border-width: 10px; border-style: solid; border-color: #333; border-color: #333 transparent #333 #333; }
.block.block-type-profile .status.status-online { background: #8961e4; color: #fff; }
.block.block-type-profile .status.status-online:before { border-color: #8961e4 transparent #8961e4 #8961e4; }
.block.block-type-profile .status.status-offline { background: #fff; color: #333; opacity: .5; filter: alpha(opacity=50); }
.block.block-type-profile .status.status-offline:before { border-color: #fff transparent #fff #fff; }
.block.block-type-profile .upload-photo { padding: 10px 30px 15px 30px; background: #f8fbfe; font-size: 11px; }
.block.block-type-profile .upload-photo a { color: #727a90; border-color: #727a90; }
.block.block-type-profile-note { border: 2px solid #ffe25d; padding: 15px; border-radius: 5px; }
.block.block-type-profile-note p { margin-bottom: 10px; }

View file

@ -233,8 +233,8 @@
/* Поиск
---------------------------------------------------- */
.search { width: 200px; margin-bottom: 20px; position: relative; }
.search .input-text { width: 200px; padding-right: 25px; }
.search { margin-bottom: 20px; position: relative; }
.search .input-text { padding-right: 25px; }
.search .input-submit { border: none; width: 16px; height: 16px; position: absolute; top: 6px; right: 5px; opacity: .7; filter: alpha(opacity=70); }
.search .input-submit:hover { opacity: 1; filter: alpha(opacity=100); }