Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
75
The neatest way to add custom css to the dock manager?
posted

We would like to apply custom css to the dock manager component. How can we do this at Infragistics without having to add an entire theme to the project? For example, we want to adjust the height of the header, font color of the title and also the background color of the header, etc.

My preference is that this can be put in a general css file and that :host :deep don't have to be used. Just by adding custom classes.

Thank you in advance.

Parents Reply
  • 2660
    Offline posted in reply to Marieke Beck

    Hi Marieke,

    According to the CSS Parts list, the “active” part name is a valid selector for the active state of pane-header, pane-header-content, pane-header-actions, tab-header parts. Additionally, as the isolated sample shows the styling getting applied correctly, this indicates that the issue is most probably local to your project. My suggestion is to compare any further discrepancies between it and the sample isolated project, that may prevent the styles from getting applied. No similar issues have been reported yet and I am afraid that any assumption would be a shot in the dark on my side. You could also try forking and modifying the sample with any styles or configuration aspects that you consider that might be related to the issue and see if it can be reproduced there.

    Thank you for your cooperation. 

    Looking forward to hearing from you.

    Best regards,
    Bozhidara Pachilova

Children