Adapt TB to work with browser.proton.enabled enabled properly
Categories
(Thunderbird :: Theme, task)
Tracking
(thunderbird_esr78 unaffected, thunderbird88 unaffected)
| Tracking | Status | |
|---|---|---|
| thunderbird_esr78 | --- | unaffected |
| thunderbird88 | --- | unaffected |
People
(Reporter: Paenglab, Assigned: Paenglab)
References
Details
Attachments
(1 file, 2 obsolete files)
|
82.02 KB,
patch
|
aleca
:
review+
|
Details | Diff | Splinter Review |
Fx is planning to enable browser.proton.enabled soon. We should begin to adapt TB to follow (but not the tabs appearance).
| Assignee | ||
Comment 1•4 years ago
|
||
This is my first shot. There are a lot of changes where I unified more code. But also a lot of @supports -moz-bool-pref("browser.proton.enabled") switches to enable Proton code and disable non-Proton code.
Comment 2•4 years ago
|
||
| Assignee | ||
Comment 3•4 years ago
|
||
(In reply to Alessandro Castellani [:aleca] from comment #2)
Comment on attachment 9213343 [details] [diff] [review]
1702788-proton-fixes.patchReview of attachment 9213343 [details] [diff] [review]:
::: calendar/base/themes/common/today-pane.css
@@ +288,1 @@#show-completed-checkbox > .checkbox-check {
I think we should properly indent these selectors inside the @support
brackes, even if it means a bigger diff, but at least is accurate.
It's by intent to not indent. When Proton stays, all non-Proton code will be removed and the @support lines will be removed. When we indent now, this means we have to un-indent it again and this removal would be the blame bug of the lines inbetween the @supports instead of the correct one that last touched it.
::: calendar/base/themes/common/widgets/calendar-widgets.css
@@ +36,5 @@border: none;
width: 10px;
height: 10px;
- color: inherit;
- list-style-image: url(chrome://global/skin/icons/twisty-expanded.svg);
This should be background-image otherwise it would conflict with the CSS
declaration coming from checkbox.css
Also it needs a background-size: contain;
fixed it
::: mail/base/content/aboutAddonsExtra.css
@@ +12,5 @@}
}+@supports -moz-bool-pref("browser.proton.enabled") {
+@media (prefers-color-scheme: dark) {Indent properly also here, and anywhere else we have this new support query.
See above
::: mail/themes/windows/mail/compose/messengercompose.css
@@ +134,3 @@#msgIdentity::part(dropmarker) {
display: none;
}You added this in the shared messengercompose.css, can this be removed from
the Windows variation?
The shared is for Proton and this one is for non-Proton. Complicated, I know.
| Assignee | ||
Comment 4•4 years ago
|
||
Same patch but with 3px border-radius for the buttons etc. including the items in the panels.
Comment 5•4 years ago
|
||
| Assignee | ||
Comment 6•4 years ago
|
||
Thanks!
Updated•4 years ago
|
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/639d7085bcd2
Adapt TB to work with browser.proton.enabled enabled properly. r=aleca
Comment 8•4 years ago
|
||
I suspect this is causing TEST-UNEXPECTED-FAIL | comm/mail/test/static/browser_parsable_css.js | Got error message for chrome://messenger/skin/themeableDialog.css: Unexpected token ‘:’ in media list.
https://treeherder.mozilla.org/logviewer?job_id=335536692&repo=comm-central&lineNumber=5473
| Assignee | ||
Comment 9•4 years ago
|
||
(In reply to Magnus Melin [:mkmelin] from comment #8)
I suspect this is causing TEST-UNEXPECTED-FAIL | comm/mail/test/static/browser_parsable_css.js | Got error message for chrome://messenger/skin/themeableDialog.css: Unexpected token ‘:’ in media list.
https://treeherder.mozilla.org/logviewer?job_id=335536692&repo=comm-central&lineNumber=5473
I'll fix this in bug 1703268.
Description
•