Serg Posted August 15, 2018 Share Posted August 15, 2018 Добрый день! Необходимо сделать оранжевой кнопку. http://forums.unigui.com/index.php?/topic/10850-unimbutton-color/?hl=unimbutton - не работает Спасибо Quote Link to comment Share on other sites More sharing options...
Serg Posted August 15, 2018 Author Share Posted August 15, 2018 http://forums.unigui.com/index.php?/topic/10850-unimbutton-color/?hl=unimbutton не работает Quote Link to comment Share on other sites More sharing options...
Serg Posted August 15, 2018 Author Share Posted August 15, 2018 Проверил пример из http://forums.unigui.../?hl=unimbutton Действительно, в мобильной версии не работает пользовательский CSS. Это действительно имеет место быть? Quote Link to comment Share on other sites More sharing options...
Serg Posted August 15, 2018 Author Share Posted August 15, 2018 Клиент требует кнопку оранжевого цвета ). Что делать? Quote Link to comment Share on other sites More sharing options...
Serg Posted August 15, 2018 Author Share Posted August 15, 2018 Прошу указать, это моя ошибка или пока такой возможности нет. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 15, 2018 Share Posted August 15, 2018 Добрый вечер, Прошу указать, это моя ошибка или пока такой возможности нет. Мы еще раз проверим и дадим Вам знать Quote Link to comment Share on other sites More sharing options...
Serg Posted August 15, 2018 Author Share Posted August 15, 2018 Большое спасибо! Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 15, 2018 Share Posted August 15, 2018 Один из возможных вариантов: UnimButton -> 1. UI = 'plain' 2. ClientEvents -> UniEvents -> beforeInit: function beforeInit(sender, config) { config.userCls='my-button'; } 3. UniServerModule->CustomCSS: .my-button { background-color: orange; } .my-button:hover { background-color: #ff8c00; } .my-button.x-pressing { background-color: #ee7600; } Quote Link to comment Share on other sites More sharing options...
Serg Posted August 16, 2018 Author Share Posted August 16, 2018 Большое спасибо! Работает! Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 16, 2018 Share Posted August 16, 2018 Отлично! Quote Link to comment Share on other sites More sharing options...
Serg Posted August 24, 2018 Author Share Posted August 24, 2018 Добрый день! А не подскажете, как сделать то же самое для UniToolButton, а еще лучше для всех кнопок в UniToolBar? Спасибо Quote Link to comment Share on other sites More sharing options...
Serg Posted August 24, 2018 Author Share Posted August 24, 2018 Posted Today, 03:28 PM Разобрался. Не работало потому что была установлена не тема Classic 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.