artem_niko Posted April 23, 2022 Share Posted April 23, 2022 Hello! How change color of top line in UniPageControl? I'm use this CSS for change colors: ._tab-bar .x-tab-bar { background-color:#ffffff!important; border-style: #f5f5f5!important; background-color: #f5f5f5!important; color: #ffffff!important; border-color: #ffff00!important; } ._tab .x-tab { background-color:#ffffff!important; border-style: none; border-color: #f5f5f5!important; } ._tab-active .x-tab-active { font-family:Arial,Helvetica,sans-serif!important; font-weight:bold; font-size:14px; background-color: #f5f5f5!important border-style: none; border-color: #f5f5f5!important; } .myNoBorderCSS .x-panel-body-default { background: #ffffff!important; border-color: #990000!important; color: #f5f5f5!important; border-width: 0px; border-style: none; border-top: none; } UniPageControl.ExtEvents -> added function added(sender, container, pos, eOpts) { sender.addBodyCls('myNoBorderCSS'); } Quote Link to comment Share on other sites More sharing options...
artem_niko Posted May 6, 2022 Author Share Posted May 6, 2022 On 4/23/2022 at 11:03 AM, artem_niko said: Hello! How change color of top line in UniPageControl? I'm use this CSS for change colors: ._tab-bar .x-tab-bar { background-color:#ffffff!important; border-style: #f5f5f5!important; background-color: #f5f5f5!important; color: #ffffff!important; border-color: #ffff00!important; } ._tab .x-tab { background-color:#ffffff!important; border-style: none; border-color: #f5f5f5!important; } ._tab-active .x-tab-active { font-family:Arial,Helvetica,sans-serif!important; font-weight:bold; font-size:14px; background-color: #f5f5f5!important border-style: none; border-color: #f5f5f5!important; } .myNoBorderCSS .x-panel-body-default { background: #ffffff!important; border-color: #990000!important; color: #f5f5f5!important; border-width: 0px; border-style: none; border-top: none; } UniPageControl.ExtEvents -> added function added(sender, container, pos, eOpts) { sender.addBodyCls('myNoBorderCSS'); } Up... 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.