Closed
Bug 1125677
Opened 11 years ago
Closed 11 years ago
"find on page" tab has hard-to-read text in dev edition theme
Categories
(DevTools :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 38
People
(Reporter: jsantell, Assigned: bgrins)
References
Details
(Keywords: regression, Whiteboard: [devedition-polish])
Attachments
(2 files, 1 obsolete file)
|
113.58 KB,
image/png
|
Details | |
|
1.60 KB,
patch
|
bgrins
:
review+
|
Details | Diff | Splinter Review |
In dark mode with the dev edition theme, the find on page bar (apple+F) is styled like the rest of the chrome, which looks solid, except some of the text is too dark to read well.
| Assignee | ||
Comment 1•11 years ago
|
||
This is not a problem in 36. Tim, do you remember what bug would be affecting the find bar background / text color in 37+?
Flags: needinfo?(ntim007)
Keywords: regression
| Assignee | ||
Updated•11 years ago
|
Whiteboard: [devedition-polish]
Comment 2•11 years ago
|
||
Bug 891258 regressed this. For this bug, we can just override [0] inside devedition.css
[0] : http://mxr.mozilla.org/mozilla-central/source/toolkit/themes/windows/global/findBar.css#139
Blocks: 891258
Flags: needinfo?(ntim007)
Updated•11 years ago
|
OS: Mac OS X → All
Hardware: x86 → All
| Assignee | ||
Comment 4•11 years ago
|
||
Updates the text style on findbar to just inherit so it looks reasonable on light and dark theme. Also updates the ::-moz-selection styling for the textbox since it's color is updated.
Assignee: nobody → bgrinstead
Status: NEW → ASSIGNED
| Assignee | ||
Comment 5•11 years ago
|
||
Comment on attachment 8556540 [details] [diff] [review]
findbar-text-styling.patch
Forgot to flag for review
Attachment #8556540 -
Flags: review?(gijskruitbosch+bugs)
| Assignee | ||
Comment 6•11 years ago
|
||
Comment on attachment 8556540 [details] [diff] [review]
findbar-text-styling.patch
Review of attachment 8556540 [details] [diff] [review]:
-----------------------------------------------------------------
::: browser/themes/shared/devedition.inc.css
@@ +187,5 @@
> background-image: none;
> }
>
> +/* Default findbar text color doesn't look good - Bug 1125677 */
> +.findbar-find-status,
Do we need to prefix this with something like .browserContainer > findbar to make sure it's only targeting this particular element? The styles being overriden here are in toolkit/themes/*/global/findBar.css.
Comment 7•11 years ago
|
||
(In reply to Brian Grinstead [:bgrins] from comment #6)
> Comment on attachment 8556540 [details] [diff] [review]
> findbar-text-styling.patch
>
> Review of attachment 8556540 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> ::: browser/themes/shared/devedition.inc.css
> @@ +187,5 @@
> > background-image: none;
> > }
> >
> > +/* Default findbar text color doesn't look good - Bug 1125677 */
> > +.findbar-find-status,
>
> Do we need to prefix this with something like .browserContainer > findbar to
> make sure it's only targeting this particular element? The styles being
> overriden here are in toolkit/themes/*/global/findBar.css.
Maybe... what happens in e.g. view source right now? OTOH, in what other kinds of windows is devedition.css loaded?
Flags: needinfo?(bgrinstead)
| Assignee | ||
Comment 8•11 years ago
|
||
(In reply to :Gijs Kruitbosch from comment #7)
> (In reply to Brian Grinstead [:bgrins] from comment #6)
> > Comment on attachment 8556540 [details] [diff] [review]
> > findbar-text-styling.patch
> >
> > Review of attachment 8556540 [details] [diff] [review]:
> > -----------------------------------------------------------------
> >
> > ::: browser/themes/shared/devedition.inc.css
> > @@ +187,5 @@
> > > background-image: none;
> > > }
> > >
> > > +/* Default findbar text color doesn't look good - Bug 1125677 */
> > > +.findbar-find-status,
> >
> > Do we need to prefix this with something like .browserContainer > findbar to
> > make sure it's only targeting this particular element? The styles being
> > overriden here are in toolkit/themes/*/global/findBar.css.
>
> Maybe... what happens in e.g. view source right now? OTOH, in what other
> kinds of windows is devedition.css loaded?
Just confirmed - it doesn't get applied to the view source window. Devedition.css is only loaded in browser.xul. Although I guess an extension could inject a findbar element inside of this window?
Flags: needinfo?(bgrinstead)
Comment 9•11 years ago
|
||
Comment on attachment 8556540 [details] [diff] [review]
findbar-text-styling.patch
Review of attachment 8556540 [details] [diff] [review]:
-----------------------------------------------------------------
r+ with, yeah, better-safe-than-sorry specific selector.
::: browser/themes/shared/devedition.inc.css
@@ +187,5 @@
> background-image: none;
> }
>
> +/* Default findbar text color doesn't look good - Bug 1125677 */
> +.findbar-find-status,
Probably wise in the end, even if there isn't anything in default Firefox, it doesn't really hurt, ditto for an equally not super-specific selector like ".found-matches" below. :-)
Attachment #8556540 -
Flags: review?(gijskruitbosch+bugs) → review+
| Assignee | ||
Comment 10•11 years ago
|
||
With better safe than sorry selector
Attachment #8556540 -
Attachment is obsolete: true
Attachment #8557137 -
Flags: review+
| Assignee | ||
Comment 11•11 years ago
|
||
Whiteboard: [devedition-polish] → [fixed-in-fx-team][devedition-polish]
Comment 12•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team][devedition-polish] → [devedition-polish]
Target Milestone: --- → Firefox 38
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•