AUS Posted December 9, 2015 Report Share Posted December 9, 2015 (edited) Заменил иконки Разделов на собственные. Непрочитанные разделы ели различимы. Подскажите способы как выделить непрочитанный раздел - изменение заднего фона, изменения цвета и размера шрифта. вот так сейчас: Edited December 9, 2015 by AUS Quote Link to comment Share on other sites More sharing options...
IAF Posted December 9, 2015 Report Share Posted December 9, 2015 49 минут назад, AUS сказал: Заменил иконки Разделов на собственные. Непрочитанные разделы ели различимы. Подскажите способы как выделить непрочитанный раздел - изменение заднего фона, изменения цвета и размера шрифта. вот так сейчас: Категория, в которой есть непрочитанные сообщения имеет класс "ipsDataItem_unread". Ну а зная класс, можно через CSS сделать всё, что угодно. Quote Link to comment Share on other sites More sharing options...
AUS Posted December 9, 2015 Author Report Share Posted December 9, 2015 1 час назад, IAF сказал: Категория, в которой есть непрочитанные сообщения имеет класс "ipsDataItem_unread". Ну а зная класс, можно через CSS сделать всё, что угодно. Спасибо. Сделал градиентом, но .ipsDataItem_unread { background: rgb(245,249,253); /* Old browsers */ background: -moz-linear-gradient(top, rgba(245,249,253,1) 0%, rgba(228,240,250,1) 24%, rgba(200,228,252,1) 50%, rgba(221,236,249,1) 79%, rgba(231,242,251,1) 100%); /* FF3.6-15 */ background: -webkit-linear-gradient(top, rgba(245,249,253,1) 0%,rgba(228,240,250,1) 24%,rgba(200,228,252,1) 50%,rgba(221,236,249,1) 79%,rgba(231,242,251,1) 100%); /* Chrome10-25,Safari5.1-6 */ background: linear-gradient(to bottom, rgba(245,249,253,1) 0%,rgba(228,240,250,1) 24%,rgba(200,228,252,1) 50%,rgba(221,236,249,1) 79%,rgba(231,242,251,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f9fd', endColorstr='#e7f2fb',GradientType=0 ); /* IE6-9 */ } эта настройка распространилась и на боковые блоки, как то можно их исключить ? p.s. изменения цвета текста распространятеся только на цифры количества сообщений в разделе... Остается только играться с фоном Quote Link to comment Share on other sites More sharing options...
AUS Posted December 10, 2015 Author Report Share Posted December 10, 2015 (edited) Не могу подобрать стиль коряво выходит как-то. Еще и блоки окрашиваются боковые. Edited December 10, 2015 by AUS Quote Link to comment Share on other sites More sharing options...
AUS Posted December 10, 2015 Author Report Share Posted December 10, 2015 пока оставил так буду искать что-то подходящее .ipsDataItem_unread { font-weight: bold; font-style: italic; } Quote Link to comment Share on other sites More sharing options...
AUS Posted December 10, 2015 Author Report Share Posted December 10, 2015 Что-то случилось и иконки стали меняться на более насыщенный цвет Quote Link to comment Share on other sites More sharing options...
Respected Posted December 10, 2015 Report Share Posted December 10, 2015 Я так понимаю проблема решилась? Quote Link to comment Share on other sites More sharing options...
AUS Posted December 10, 2015 Author Report Share Posted December 10, 2015 39 минут назад, Respected сказал: Я так понимаю проблема решилась? Да сама собой Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.