Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
See the enclosed screenshot with a theme with a black background. Perhaps the background should always be white by default?
Comment | File | Size | Author |
---|---|---|---|
Screen shot 2010-03-03 at 8.45.35 PM.png | 32.87 KB | alberto56 |
Comments
Comment #1
EugenMayer CreditAttribution: EugenMayer commentedThis is desired.
If you want to change the background in the dialog, use some simple CSS for that. In the new version, there will be a hook, which will be called on "jquery_ui_dialog_add_child_js", so you can load that JS exactly to that time, when the dialog is shown.
Would that help you?
Comment #2
alberto56 CreditAttribution: alberto56 commentedI think CSS is a better route. Perhaps when someone gets some CSS code working for this purpose they can post it here so others can copy and paste. Thanks!
For now I'm just using administration theme as Garland with the option "use administration theme for node editing".
Comment #3
aaronl CreditAttribution: aaronl commentedI'm having the same problem, tried every possible css style and could not get it to apply! If anyone has a solid workaround for this, please let us know!
Comment #4
EugenMayer CreditAttribution: EugenMayer commentedIn the new release, you have the new hook_jquery_ui_dilaog_child_loading where you could load new CSS files to theme.
In addition the body of the child window has the id "jquery_ui_dialog"..that way you can apply backgrounds specificly to the child window
Comment #5
EugenMayer CreditAttribution: EugenMayer commented