Closed
Bug 865316
Opened 11 years ago
Closed 11 years ago
bookmarks dropmarker button has wrong border color when window is unfocused
Categories
(Firefox :: Toolbars and Customization, defect)
Tracking
()
RESOLVED
FIXED
Firefox 24
People
(Reporter: Gijs, Assigned: Gijs)
References
Details
Attachments
(2 files, 2 obsolete files)
17.27 KB,
image/png
|
Details | |
2.50 KB,
patch
|
dao
:
review+
|
Details | Diff | Splinter Review |
STR: 0. Open Firefox 1. Focus another app, but leave the toolbar visible in the background ER: Border looks like that of the other buttons AR: Border on the dropmarker is much fainter than that on the other buttons, or even that of the left half of the star button itself.
Assignee | ||
Comment 2•11 years ago
|
||
So this fixes the discrepancy between the button and the dropmarker and makes them look nice and consistent. However, this whole selector block was added as part of the Lion styling update in bug 679708. I'm not sure if this is the right fix, and/or if this also needs to be changed for the disabled state. Dao/Stephen, can you let me know?
Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED
Attachment #747394 -
Flags: review?(dao)
Attachment #747394 -
Flags: feedback?
Assignee | ||
Updated•11 years ago
|
Attachment #747394 -
Flags: feedback? → feedback?(shorlander)
Comment 3•11 years ago
|
||
Comment on attachment 747394 [details] [diff] [review] Patch We still need to fade the arrow, right? The selector might just be missing "> .dropmarker-icon"...
Attachment #747394 -
Flags: review?(dao) → review-
Assignee | ||
Comment 4•11 years ago
|
||
(In reply to Dão Gottwald [:dao] from comment #3) > Comment on attachment 747394 [details] [diff] [review] > Patch > > We still need to fade the arrow, right? The selector might just be missing > "> .dropmarker-icon"... Ah, I thought it seemed too easy... You're right, of course. For the disabled state, there are styles for a dropmarker to get a different icon (although it looks really awful - maybe because it's not a retina image? But it doesn't look like the ordinary arrow is, either... not sure what's up there) so I'm taking that out completely in this patch - setting the opacity in addition to the disabled icon there makes it pretty much invisible.
Attachment #747394 -
Attachment is obsolete: true
Attachment #747394 -
Flags: feedback?(shorlander)
Assignee | ||
Updated•11 years ago
|
Attachment #747430 -
Flags: review?(dao)
Comment 5•11 years ago
|
||
Comment on attachment 747430 [details] [diff] [review] Patch that fades the icon only > .toolbarbutton-1[disabled="true"] > .toolbarbutton-menu-dropmarker, >- .toolbarbutton-1[disabled="true"] > .toolbarbutton-menubutton-dropmarker, If the second selector isn't wanted, shouldn't the same be true for the first one?
Assignee | ||
Comment 6•11 years ago
|
||
(In reply to Dão Gottwald [:dao] from comment #5) > Comment on attachment 747430 [details] [diff] [review] > Patch that fades the icon only > > > .toolbarbutton-1[disabled="true"] > .toolbarbutton-menu-dropmarker, > >- .toolbarbutton-1[disabled="true"] > .toolbarbutton-menubutton-dropmarker, > > If the second selector isn't wanted, shouldn't the same be true for the > first one? I don't know. I tried looking for an example, but it seems we hide it completely on all the browser chrome places I could find (alltabs button, social provider button) and custom style it on the others (bookmarks manager buttons, devtools). I'm happy to remove it if you think that's the right thing to do. :-)
Comment 7•11 years ago
|
||
(In reply to :Gijs Kruitbosch from comment #6) > (In reply to Dão Gottwald [:dao] from comment #5) > > Comment on attachment 747430 [details] [diff] [review] > > Patch that fades the icon only > > > > > .toolbarbutton-1[disabled="true"] > .toolbarbutton-menu-dropmarker, > > >- .toolbarbutton-1[disabled="true"] > .toolbarbutton-menubutton-dropmarker, > > > > If the second selector isn't wanted, shouldn't the same be true for the > > first one? > > I don't know. I tried looking for an example, but it seems we hide it > completely on all the browser chrome places I could find (alltabs button, > social provider button) Well, for testing you can just undo the hiding for one of these buttons in your local tree.
Assignee | ||
Comment 8•11 years ago
|
||
(In reply to Dão Gottwald [:dao] from comment #5) > Comment on attachment 747430 [details] [diff] [review] > Patch that fades the icon only > > > .toolbarbutton-1[disabled="true"] > .toolbarbutton-menu-dropmarker, > >- .toolbarbutton-1[disabled="true"] > .toolbarbutton-menubutton-dropmarker, > > If the second selector isn't wanted, shouldn't the same be true for the > first one? This took a bit of digging (note: DOMI's "!important" marker is broken!), but the answer seems to be "no", because the first one doesn't get !important in the styling for the dropmarker, like the menubutton does here: http://mxr.mozilla.org/mozilla-central/source/toolkit/themes/osx/global/toolbarbutton.css#100 TBH, it looks much better when the @2x image doesn't get overriden. So perhaps a better fix would be to remove the !important, but that sounds like asking for trouble...
Comment 9•11 years ago
|
||
(In reply to :Gijs Kruitbosch from comment #8) > http://mxr.mozilla.org/mozilla-central/source/toolkit/themes/osx/global/ > toolbarbutton.css#100 > > TBH, it looks much better when the @2x image doesn't get overriden. So > perhaps a better fix would be to remove the !important Yep, please drop the !important. Also please completely get rid of the padding property in line 101 while you're at it.
Assignee | ||
Comment 10•11 years ago
|
||
(In reply to Dão Gottwald [:dao] from comment #9) > (In reply to :Gijs Kruitbosch from comment #8) > > http://mxr.mozilla.org/mozilla-central/source/toolkit/themes/osx/global/ > > toolbarbutton.css#100 > > > > TBH, it looks much better when the @2x image doesn't get overriden. So > > perhaps a better fix would be to remove the !important > > Yep, please drop the !important. Also please completely get rid of the > padding property in line 101 while you're at it. Like this, I presume?
Attachment #747430 -
Attachment is obsolete: true
Attachment #747430 -
Flags: review?(dao)
Attachment #748783 -
Flags: review?(dao)
Comment 11•11 years ago
|
||
Comment on attachment 748783 [details] [diff] [review] Patch improving toolkit while we're at it Yep, thanks.
Attachment #748783 -
Flags: review?(dao) → review+
Assignee | ||
Comment 12•11 years ago
|
||
(In reply to Dão Gottwald [:dao] from comment #11) > Comment on attachment 748783 [details] [diff] [review] > Patch improving toolkit while we're at it > > Yep, thanks. https://hg.mozilla.org/integration/mozilla-inbound/rev/a2ac5b7c690d
Comment 13•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/a2ac5b7c690d
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 24
You need to log in
before you can comment on or make changes to this bug.
Description
•