Полоска рейтинга как вконтакте

Модули и плагины для vii (студяги)!
Ответить
Аватара пользователя
glGizma
Site Admin
Сообщения: 214
Зарегистрирован: Ср сен 27, 2017 2:20 pm

Полоска рейтинга как вконтакте

Сообщение glGizma » Сб фев 01, 2020 8:12 am

в файле profile.tpl после аватарки добавить:
<div class="profile_rate_pos">
{rating}
</div>
и в файле стиля замени

Код: Выделить всё

/* PROFILE RATING */
.profile_rate_pos{float:left;margin-top:5px;margin-bottom:5px;width:200px;}
.profile_rate_100_left, .profile_rate_500_left, .profile_rate_1000_left{background:#DAE2E8;float:left;width:10px;height:20px;border-top:1px solid #BFCCD9;}
.profile_rate_100_right, .profile_rate_500_right, .profile_rate_1000_right{background:#DAE2E8;float:right;width:10px;height:20px;border-top:1px solid #BFCCD9;}
.profile_rate_100_head, .profile_rate_100_head, .profile_rate_1000_head{background:#DAE2E8;margin-left:10px;line-height:20px;font-size:14px;color:#8AA0BB;font-weight:bold;text-align:center;padding-left:5px;padding-right:5px;border-top:1px solid #BFCCD9;}
.profile_rate_add{float:right;padding:5px;cursor:pointer;
border-top-right-radius:5px;border-bottom-right-radius:5px;-moz-border-top-right-radius:5px;-moz-border-bottom-right-radius:5px;-webkit-border-top-right-radius:5px;-webkit-border-bottom-right-radius:5px}
.rating_text{line-height:20px}
.rating_iny{text-align:center;font-weight:bold;font-size:45px;color:#a8bdc9;padding-top:50px;padding-bottom:50px}
.rating_iny input{font-size:40px;width:67px}
.profile_rate_500_left{background:#F5EBBA;border-top:1px solid #E2DAA5;}
.profile_rate_500_right{background:#F5EBBA;border-top:1px solid #E2DAA5;}
.profile_rate_500_head{background:#F5EBBA;border-top:1px solid #E2DAA5;color:#A9A16B;}
.profile_rate_1000_left{background:#E0D7A2;border-top:1px solid #CCC38F;}
.profile_rate_1000_right{background:#E0D7A2;border-top:1px solid #CCC38F;}
.profile_rate_1000_head{background:#E0D7A2;border-top:1px solid #CCC38F;color:#A9A16B;}
.rating_text_balance{font-size:12px;font-weight:normal;color:#777;margin-top:15px}
.profile_ratingview{font-size:21px;color:#a8bdc9;font-weight:bold;float:right;margin-right:13px;margin-top:10px}
.profile_rate_text{float:left;font-size:21px;color:#ddd;margin-top:7px;margin-right:8px}
Вложения
(94).jpg
(94).jpg (1020.54 КБ) 11662 просмотра

Ответить