Clean up the dialog stylesheets and make the dialogs themeable where needed
Categories
(Thunderbird :: Theme, task)
Tracking
(thunderbird_esr78 wontfix)
Tracking | Status | |
---|---|---|
thunderbird_esr78 | --- | wontfix |
People
(Reporter: Paenglab, Assigned: Paenglab)
References
Details
Attachments
(1 file, 2 obsolete files)
33.27 KB,
patch
|
Paenglab
:
review+
|
Details | Diff | Splinter Review |
During looking at the dialogs on new AB I found that the dialogs.css stylesheet is almost unneeded. It has only one rule that is used in only one of the referencing dialogs (.wizard-box in importDialog.xhtml). The only thing it did was adding messenger.css.
I removed this stylesheet and directly added messenger.css, which has now the .wizard-box rule, to the dialogs.
During this work I found that we have still dialogs which aren't themeable.
Assignee | ||
Comment 1•3 years ago
|
||
Removed dialogs.css and made some more dialogs themeable.
sendProgress.xhtml and shutdownWindow.xhtml use now the new progressmeter styling. But I couldn't test shutdownWindow.xhtml as I don't know how to open it (window.openDialog(( doesn't work) or how to trigger it. I've never seen this dialog. If it is never shown, I can remove the changes for it.
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 2•3 years ago
|
||
Fixed the commit message.
Comment 3•3 years ago
|
||
(In reply to Richard Marti (:Paenglab) from comment #1)
sendProgress.xhtml and shutdownWindow.xhtml use now the new progressmeter styling. But I couldn't test shutdownWindow.xhtml as I don't know how to open it.
Oh yeah, I've never seen that dialog either. It's opened from the nsMsgShutdownService
in the nsMsgMailSession.cpp file, but I'm not sure how to trigger it.
Magnus, do you know if the shutdownWindow.xhtml
dialog is still use it and how we can trigger it?
Comment 4•3 years ago
|
||
I haven't seen it. But looks like if you have send later set to send before shutdown and send something larger you should be able to see it come up until the send has been completed.
Comment 5•3 years ago
|
||
Comment on attachment 9227728 [details] [diff] [review] 1717079-dialog-clean-up.patch Review of attachment 9227728 [details] [diff] [review]: ----------------------------------------------------------------- This looks good, thanks for going through all these dialogs. ::: mailnews/base/content/msgSynchronize.xhtml @@ +14,5 @@ > onload="OnLoad();" > style="width: 35em;"> > <dialog id="msg-synchronizer"> > <script src="chrome://messenger/content/msgSynchronize.js"/> > + <script src="chrome://messenger/content/dialogShadowDom.js"/> nit: wrong indentation.
Assignee | ||
Comment 6•3 years ago
|
||
Fixed the indentation.
Assignee | ||
Updated•3 years ago
|
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/b30a0fe37d1c
Clean up the dialog stylesheets and make the dialogs themeable where needed. r=aleca
Description
•