Closed
Bug 1502684
Opened 6 years ago
Closed 6 years ago
Update common.css textboxes according to photon spec
Categories
(Toolkit :: Themes, enhancement, P3)
Toolkit
Themes
Tracking
()
RESOLVED
FIXED
mozilla65
Tracking | Status | |
---|---|---|
firefox65 | --- | fixed |
People
(Reporter: ntim, Assigned: Kammueller)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
Attachments
(1 file)
Updated•6 years ago
|
Priority: -- → P3
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → matthias
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•6 years ago
|
||
I noticed that textboxes are styled with "in-content" variables, which are, afaik, dependent on themes.
Shall I edit the values of the variables or use "hard-coded" photon-variables as var(--grey-90-a50) to style the textboxes accordingly?
Flags: needinfo?(ntim.bugs)
Reporter | ||
Comment 2•6 years ago
|
||
(In reply to :Matthias Kammüller from comment #1)
> I noticed that textboxes are styled with "in-content" variables, which are,
> afaik, dependent on themes.
> Shall I edit the values of the variables or use "hard-coded"
> photon-variables as var(--grey-90-a50) to style the textboxes accordingly?
I think it’d be better to change the in-content variables.
Flags: needinfo?(ntim.bugs)
Assignee | ||
Comment 3•6 years ago
|
||
Updated•6 years ago
|
Attachment #9022653 -
Attachment description: Bug 1502684 - photonized text fields.r?ntim,dao → Bug 1502684 - Update in-content textboxes according to photon spec. r=dao
Assignee | ||
Comment 4•6 years ago
|
||
I found out that the xul textboxes use variables as "-moz-Field" for their styling. I would redefine those to be consistent with photon, but they're not defined in common.css
https://searchfox.org/mozilla-central/source/widget/tests/test_platform_colors.xul#62 looked kind of what I was searching for, but I'm not sure.
Do we want to stick to these variables or shall we use grey-90 or maybe introduce a new variable in common.css?
Flags: needinfo?(ntim.bugs)
Reporter | ||
Comment 5•6 years ago
|
||
(In reply to :Matthias Kammüller from comment #4)
> I found out that the xul textboxes use variables as "-moz-Field" for their
> styling. I would redefine those to be consistent with photon, but they're
> not defined in common.css
> https://searchfox.org/mozilla-central/source/widget/tests/
> test_platform_colors.xul#62 looked kind of what I was searching for, but I'm
> not sure.
> Do we want to stick to these variables or shall we use grey-90 or maybe
> introduce a new variable in common.css?
I think color: inherit; would be ok in this case.
Flags: needinfo?(ntim.bugs)
Assignee | ||
Comment 6•6 years ago
|
||
What is the correct way to set -moz-FieldText?
Flags: needinfo?(dao+bmo)
Reporter | ||
Comment 7•6 years ago
|
||
(In reply to :Matthias Kammüller from comment #6)
> What is the correct way to set -moz-FieldText?
You should keep the textbox.css files as they are. To override -moz-FieldText, you can use color: inherit; in common.inc.css.
Assignee | ||
Comment 9•6 years ago
|
||
Can we push the changes or do you want the other photon-bugs fixed first?
Flags: needinfo?(ntim.bugs)
Comment 10•6 years ago
|
||
I tried to land this earlier today but it failed:
"We're sorry, Autoland could not rebase your commits for you automatically. Please manually rebase your commits and try again. (255, 'applying /tmp/tmpedYP0s
patching file toolkit/themes/shared/in-content/common.inc.css
Hunk #1 FAILED at 14
1 out of 8 hunks FAILED -- saving rejects to file toolkit/themes/shared/in-content/common.inc.css.rej
abort: patch failed to apply', '')"
Flags: needinfo?(ntim.bugs)
Updated•6 years ago
|
Attachment #9022653 -
Attachment description: Bug 1502684 - Update in-content textboxes according to photon spec. r=dao → Bug 1502684 - photonized text fields.r=ntim
Updated•6 years ago
|
Attachment #9022653 -
Attachment description: Bug 1502684 - photonized text fields.r=ntim → Bug 1502684 - Update in-content textboxes according to photon spec. r=dao
Updated•6 years ago
|
Attachment #9022653 -
Attachment description: Bug 1502684 - Update in-content textboxes according to photon spec. r=dao → Bug 1502684 - Update in-content textboxes according to photon spec. r=dao,ntim
Comment 11•6 years ago
|
||
Pushed by ntim.bugs@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/388921b46651
Update in-content textboxes according to photon spec. r=dao,ntim
Comment 12•6 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in
before you can comment on or make changes to this bug.
Description
•