Move some CSS overlay directives from jar.mn files to XUL files
Categories
(Calendar :: General, task)
Tracking
(Not tracked)
People
(Reporter: pmorris, Assigned: pmorris)
References
Details
Attachments
(1 file, 1 obsolete file)
8.03 KB,
patch
|
pmorris
:
review+
|
Details | Diff | Splinter Review |
Some of these CSS overlays can be moved out of their jar.mn files and into their XUL (possibly XUL overlay) files:
https://searchfox.org/comm-central/search?q=%25+style&case=false®exp=false&path=calendar
Looks like the five that overlay chrome://messenger/content/customizeToolbar.xul
will need to stay as-is for now since there is no calendar overlay file that overlays customizeToolbar.xul
. The other four can go.
Assignee | ||
Comment 1•5 years ago
|
||
Pretty straightforward.
Assignee | ||
Updated•5 years ago
|
Comment 2•5 years ago
|
||
Assignee | ||
Comment 3•5 years ago
|
||
Ah, of course... Thanks for catching that.
Assignee | ||
Updated•5 years ago
|
Comment 4•5 years ago
|
||
customizeToolbar.* is no more toolkit and under our control. Either we could add the stylesheet to customizeToolbar.xul or if we don't want a warning in console, when we get one when Lightning is disabled, we could add the stylesheet in customizeToolbar.js with a try/catch?
Comment 5•5 years ago
|
||
Sorry, queries in BMO were broken this morning, bug 1596674, so I didn't see the bug. Will land later today.
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/430487e62ffd
Move four Calendar CSS overlays from jar.mn to .xul files. r=darktrojan
Updated•5 years ago
|
Assignee | ||
Comment 7•5 years ago
|
||
(In reply to Richard Marti (:Paenglab) from comment #4)
customizeToolbar.* is no more toolkit and under our control. Either we could add the stylesheet to customizeToolbar.xul or if we don't want a warning in console, when we get one when Lightning is disabled, we could add the stylesheet in customizeToolbar.js with a try/catch?
Good to know. What we do for these stylesheets will depend on what we do with integrating calendar into TB. If calendar becomes a system add-on then we'd likely include the CSS files dynamically via calendar JS code. If calendar is directly integrated then we'd either use the pre-processor to add those CSS directives in customizeToolbar.xul, or just add them to it directly.
Description
•