Closed
Bug 1290017
Opened 8 years ago
Closed 8 years ago
Only gray permission icons in the identity block should get a gray hover state
Categories
(Firefox :: General, defect, P1)
Firefox
General
Tracking
()
Tracking | Status | |
---|---|---|
firefox50 | --- | verified |
People
(Reporter: johannh, Assigned: johannh)
References
Details
(Whiteboard: [fxprivacy])
Attachments
(1 file)
Currently e.g. the red "plugin blocked" or the "camera sharing" icon get a gray hover state, which looks weird.
Assignee | ||
Comment 1•8 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/67678/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/67678/
Attachment #8775500 -
Flags: review?(florian)
Assignee | ||
Updated•8 years ago
|
Flags: qe-verify+
Comment 2•8 years ago
|
||
https://reviewboard.mozilla.org/r/67678/#review64782 ::: browser/themes/shared/notification-icons.inc.css:44 (Diff revision 1) > width: 64px; > height: 64px; > margin-inline-end: 10px; > } > > #notification-popup-box > .notification-anchor-icon:hover { Would a :not(.in-use) here... ::: browser/themes/shared/notification-icons.inc.css:281 (Diff revision 1) > > +/* Override hover color (bug 1290017) */ > +#notification-popup-box > .plugin-icon.plugin-blocked:hover, > .plugin-icon.plugin-blocked { > list-style-image: url(chrome://browser/skin/notification-icons.svg#plugin-blocked); > fill: #d92215; and a !important here be all we need?
Assignee | ||
Comment 3•8 years ago
|
||
(In reply to Florian Quèze [:florian] [:flo] from comment #2) > https://reviewboard.mozilla.org/r/67678/#review64782 > > ::: browser/themes/shared/notification-icons.inc.css:44 > (Diff revision 1) > > width: 64px; > > height: 64px; > > margin-inline-end: 10px; > > } > > > > #notification-popup-box > .notification-anchor-icon:hover { > > Would a :not(.in-use) here... Yes, that would work as well. I'll change it. > > ::: browser/themes/shared/notification-icons.inc.css:281 > (Diff revision 1) > > > > +/* Override hover color (bug 1290017) */ > > +#notification-popup-box > .plugin-icon.plugin-blocked:hover, > > .plugin-icon.plugin-blocked { > > list-style-image: url(chrome://browser/skin/notification-icons.svg#plugin-blocked); > > fill: #d92215; > > and a !important here be all we need? I think that depends on how you see it. I personally think that !important doesn't convey WHY it has to be important and will cause issues and questions in the long run. That rule is a bit more verbose but at least it clearly shows what use case we're overriding instead doing a catch-all. What do you think?
Comment 4•8 years ago
|
||
(In reply to Johann Hofmann [:johannh] from comment #3) > > > +/* Override hover color (bug 1290017) */ > > > +#notification-popup-box > .plugin-icon.plugin-blocked:hover, > > > .plugin-icon.plugin-blocked { > > > list-style-image: url(chrome://browser/skin/notification-icons.svg#plugin-blocked); > > > fill: #d92215; > > > > and a !important here be all we need? > > I think that depends on how you see it. I personally think that !important > doesn't convey WHY it has to be important and will cause issues and > questions in the long run. That rule is a bit more verbose but at least it > clearly shows what use case we're overriding instead doing a catch-all. > > What do you think? I think the !important needs a comment on the line before, something like: /* !important to preserve this color even on hover */
Assignee | ||
Comment 5•8 years ago
|
||
Comment on attachment 8775500 [details] Bug 1290017 - Override hover state for non-gray permission icons. Review request updated; see interdiff: https://reviewboard.mozilla.org/r/67678/diff/1-2/
Assignee | ||
Comment 6•8 years ago
|
||
Fine by me :)
Comment 7•8 years ago
|
||
Comment on attachment 8775500 [details] Bug 1290017 - Override hover state for non-gray permission icons. https://reviewboard.mozilla.org/r/67678/#review64818 Looks good, thanks!
Attachment #8775500 -
Flags: review?(florian) → review+
Assignee | ||
Comment 8•8 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/2b3f0b8a6318025d4c51818c0b9d65199ec0c4d3 Bug 1290017 - Override hover state for non-gray permission icons. r=florian
Comment 9•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/2b3f0b8a6318
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 50
Updated•8 years ago
|
Priority: -- → P1
Whiteboard: [fxprivacy] [triage] → [fxprivacy]
Updated•8 years ago
|
Iteration: --- → 50.4 - Aug 1
You need to log in
before you can comment on or make changes to this bug.
Description
•