Closed
Bug 1469287
Opened 6 years ago
Closed 6 years ago
Implement new shared tree styling
Categories
(Toolkit :: Themes, defect, P3)
Toolkit
Themes
Tracking
()
RESOLVED
FIXED
mozilla63
Tracking | Status | |
---|---|---|
firefox63 | --- | fixed |
People
(Reporter: ntim, Assigned: ntim)
References
Details
(Whiteboard: [ntim-intern-project])
Attachments
(1 file)
As discussed as the SF all hands, the same photon styling should be used across platforms. See https://firefoxux.github.io/people/shorlander/ for mockups.
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → ntim.bugs
Updated•6 years ago
|
Priority: -- → P3
Updated•6 years ago
|
Whiteboard: [ntim-intern-project]
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Comment 5•6 years ago
|
||
Tested this on all 3 platforms, no issues found so far.
Comment 6•6 years ago
|
||
mozreview-review |
Comment on attachment 8988190 [details]
Bug 1469287 - Implement new shared tree styling.
https://reviewboard.mozilla.org/r/253448/#review260320
Focus behavior doesn't seem where we need it to be. Selected & focused needs to be styled differently than selected & unfocused. Tested in the Library on Ubuntu.
We used to have a focus ring for this on Linux, and I believe a different background color to distinguish these states on Windows -- I think the latter is preferable.
Attachment #8988190 -
Flags: review?(dao+bmo) → review-
Comment hidden (mozreview-request) |
Assignee | ||
Comment 8•6 years ago
|
||
(In reply to Dão Gottwald [::dao] from comment #6)
> Comment on attachment 8988190 [details]
> Bug 1469287 - Implement new shared tree styling.
>
> https://reviewboard.mozilla.org/r/253448/#review260320
>
> Focus behavior doesn't seem where we need it to be. Selected & focused needs
> to be styled differently than selected & unfocused. Tested in the Library on
> Ubuntu.
>
> We used to have a focus ring for this on Linux, and I believe a different
> background color to distinguish these states on Windows -- I think the
> latter is preferable.
Re-added the old focusring.
Comment hidden (mozreview-request) |
Updated•6 years ago
|
Comment 10•6 years ago
|
||
(In reply to Tim Nguyen :ntim from comment #8)
> (In reply to Dão Gottwald [::dao] from comment #6)
> > Comment on attachment 8988190 [details]
> > Bug 1469287 - Implement new shared tree styling.
> >
> > https://reviewboard.mozilla.org/r/253448/#review260320
> >
> > Focus behavior doesn't seem where we need it to be. Selected & focused needs
> > to be styled differently than selected & unfocused. Tested in the Library on
> > Ubuntu.
> >
> > We used to have a focus ring for this on Linux, and I believe a different
> > background color to distinguish these states on Windows -- I think the
> > latter is preferable.
>
> Re-added the old focusring.
Like I said I think different background colors are preferable, and introducing the focus ring on Windows and Mac would arguably be a regression.
Updated•6 years ago
|
Attachment #8988190 -
Flags: review?(dao+bmo)
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Comment 17•6 years ago
|
||
Däo, can we move forward with this and work around bug 1472276 with some Linux specific CSS ?
Flags: needinfo?(dao+bmo)
Comment 18•6 years ago
|
||
(In reply to Tim Nguyen :ntim from comment #17)
> Däo, can we move forward with this and work around bug 1472276 with some
> Linux specific CSS ?
It would be better to fix this properly in bug 1472276 with a fallback to highlight for problematic color combinations.
Flags: needinfo?(dao+bmo)
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Comment 21•6 years ago
|
||
I've rebased the patch, so it should be ready for review now that bug 1472276 has landed.
Comment 22•6 years ago
|
||
mozreview-review |
Comment on attachment 8988190 [details]
Bug 1469287 - Implement new shared tree styling.
https://reviewboard.mozilla.org/r/253448/#review269414
Trees look more or less unstyled with this on Linux. I haven't looked into why, just applied the patch to try it. Might just be a typo somewhere.
Attachment #8988190 -
Flags: review?(dao+bmo) → review-
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 25•6 years ago
|
||
mozreview-review |
Comment on attachment 8988190 [details]
Bug 1469287 - Implement new shared tree styling.
https://reviewboard.mozilla.org/r/253448/#review269430
::: browser/themes/osx/places/places.css:56
(Diff revision 15)
> margin-inline-end: 6px;
> }
>
> .sidebar-placesTreechildren::-moz-tree-twisty(selected),
> .sidebar-placesTreechildren::-moz-tree-cell-text(selected) {
> color: #fff;
Is this still needed?
::: browser/themes/osx/places/places.css:73
(Diff revision 15)
> -}
> -
> @media (-moz-mac-yosemite-theme) {
> .sidebar-placesTreechildren::-moz-tree-twisty(selected),
> .sidebar-placesTreechildren::-moz-tree-cell-text(selected) {
> color: -moz-dialogtext;
And this?
Attachment #8988190 -
Flags: review?(dao+bmo) → review+
Assignee | ||
Comment 26•6 years ago
|
||
(In reply to Dão Gottwald [::dao] from comment #25)
> Comment on attachment 8988190 [details]
> Bug 1469287 - Implement new shared tree styling.
>
> https://reviewboard.mozilla.org/r/253448/#review269430
>
> ::: browser/themes/osx/places/places.css:56
> (Diff revision 15)
> > margin-inline-end: 6px;
> > }
> >
> > .sidebar-placesTreechildren::-moz-tree-twisty(selected),
> > .sidebar-placesTreechildren::-moz-tree-cell-text(selected) {
> > color: #fff;
>
> Is this still needed?
>
> ::: browser/themes/osx/places/places.css:73
> (Diff revision 15)
> > -}
> > -
> > @media (-moz-mac-yosemite-theme) {
> > .sidebar-placesTreechildren::-moz-tree-twisty(selected),
> > .sidebar-placesTreechildren::-moz-tree-cell-text(selected) {
> > color: -moz-dialogtext;
>
> And this?
I'm not sure. This code seems to be taking in account that -moz-mac-source-list-selection/-moz-mac-active-source-list-selection are different on MacOS 10.9 vs. 10.10+. I'd have to test on MacOS 10.9 to see if I can remove it, unfortunately I don't have access to this OS to check.
Comment 27•6 years ago
|
||
Pushed by ntim.bugs@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/c8c488989a62
Implement new shared tree styling. r=dao
Comment 28•6 years ago
|
||
(In reply to Tim Nguyen :ntim from comment #26)
> (In reply to Dão Gottwald [::dao] from comment #25)
> > Comment on attachment 8988190 [details]
> > Bug 1469287 - Implement new shared tree styling.
> >
> > https://reviewboard.mozilla.org/r/253448/#review269430
> >
> > ::: browser/themes/osx/places/places.css:56
> > (Diff revision 15)
> > > margin-inline-end: 6px;
> > > }
> > >
> > > .sidebar-placesTreechildren::-moz-tree-twisty(selected),
> > > .sidebar-placesTreechildren::-moz-tree-cell-text(selected) {
> > > color: #fff;
> >
> > Is this still needed?
> >
> > ::: browser/themes/osx/places/places.css:73
> > (Diff revision 15)
> > > -}
> > > -
> > > @media (-moz-mac-yosemite-theme) {
> > > .sidebar-placesTreechildren::-moz-tree-twisty(selected),
> > > .sidebar-placesTreechildren::-moz-tree-cell-text(selected) {
> > > color: -moz-dialogtext;
> >
> > And this?
>
> I'm not sure. This code seems to be taking in account that
> -moz-mac-source-list-selection/-moz-mac-active-source-list-selection are
> different on MacOS 10.9 vs. 10.10+. I'd have to test on MacOS 10.9 to see if
> I can remove it, unfortunately I don't have access to this OS to check.
Yeah, -moz-mac-source-list-selection/-moz-mac-active-source-list-selection are different on MacOS 10.9 vs. 10.10+. And the selection foreground color is always white on 10.9.
Comment 29•6 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
Assignee | ||
Updated•6 years ago
|
Comment 30•6 years ago
|
||
Yet another UX change to undo. Yay.
For those like me, who can't bear such ridiculously large rows, I had to add the following to my userChrome.css, to get back my screen estate for the Bookmarks and History sidebars:
.sidebar-placesTreechildren::-moz-tree-row {
min-height: 22px !important; /* default: 24px */
}
Comment 31•6 years ago
|
||
To also fix e.g. the Library, I have switched to the following rule, with a broader selector, and also simpler:
treechildren::-moz-tree-row {
min-height: 22px !important; /* default: 24px */
}
You need to log in
before you can comment on or make changes to this bug.
Description
•