I would like to modify the aspect of a window title (which is giant and blue into the ngclient).
I saw there's a property called "setCSSClass".
I put the CSS-classes (which are into the example provided with the "setCSSClass" property) into the globals.css which is used by the solution and I filled the "setCSSClass" property by the following way:
- Code: Select all
var window = application.createWindow(windowName,(isModal)?JSWindow.MODAL_DIALOG:JSWindow.DIALOG)
window.setCSSClass("mydlg")
window.title = (windowTitle)?windowTitle:""
window.show(_formName)
But nothing happens
- Code: Select all
.mydlg {
border-radius: initial; show edged dialog corners
-webkit-box-shadow: 0 5px 15px rgba(0,0,0,.0); hide dialog box shadow
box-shadow: 0 5px 15px rgba(0,0,0,.0); hide dialog box shadow
}
dialog header styling
.mydlg .window-header {
background: green;
font-size: 10pt;
}
style/hide dialog close button
.mydlg .window-header .svy-dialog-close {
display: none;
}
dialog body styling
.mydlg .window-body {
background: yellow;
}
dialog footer styling/hiding
.mydlg .window-footer {
background: blue;
display: none !important;
}
Thank you in advance for your time
Marco