Стиль "Симпатии" в Message User Info (под аватаром)

Стиль "Симпатии" в Message User Info (под аватаром) 1.0.0

Нет прав для скачивания
Совместимость с XenForo
  1. 1.2
  2. 1.3
screen_14.png

Картинку из архива заливаем в папку xenforo, Вашего стиля.
Открываем шаблон EXTRA.css и добавляем:
Код:
.lb {
    background: url('@imagePath/xenforo/up.png') no-repeat 2px 0 #518cc6;
    border: 1px solid #2a65a0;
    cursor: pointer;
    border-radius: 3px;
    color: #fff;
    cursor: pointer;
    overflow: visible;
    padding: 1px 5px 1px 18px;
    position: relative;
    text-decoration: none;
    white-space: nowrap;
}
.lb-count {
    background-color: #fafafa;
    border: 1px solid #d4d4d4;
    border-radius: 3px;
    color: #4183c4;
    cursor: pointer;
    overflow: visible;
    padding: 1px 5px;
    position: relative;
    text-decoration: none;
    white-space: nowrap;
}
.lb, .lb-count {display: inline-block;}
.lb-count i, .lb-count u {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border: 4px transparent solid;
    border-right-color: #aaa;
    border-left: 0;
    border-color: transparent #aaa transparent -moz-use-text-color;
    border-image: none;
    border-style: solid solid solid none;
    border-width: 4px 4px 4px 0;
    height: 0;
    left: 0;
    line-height: 0;
    margin: -4px 0 0 -4px;
    position: absolute;
    top: 50%;
    width: 0;
}
.lb-count u {
    border-right-color: #fff;
    margin-left: -3px;
}
Открываем шаблон message_user_info, находим:
Код:
                <xen:if is="@messageShowTotalLikes AND {$user.user_id}">
                    <dl class="pairsJustified">
                        <dt>{xen:phrase likes_received}:</dt>
                        <dd>{xen:number $user.like_count}</dd>
                    </dl>
                </xen:if>
И заменяем на:
Код:
                <xen:if is="@messageShowTotalLikes AND {$user.user_id}">
                    <dl class="pairsJustified">
                        <dt><span class="lb">{xen:phrase likes_received}:</span></dt>
                        <dd><span class="lb-count">{xen:number $user.like_count}<i></i><u></u></span></dd>
                    </dl>
                </xen:if>
Автор
Skaiman
Скачивания
47
Просмотры
162
Первый выпуск
Обновление
Оценка
5.00 звёзд 1 оценок

Другие ресурсы пользователя Skaiman

Поделиться ресурсом

Назад
Сверху Снизу