Closed
Bug 1018796
Opened 11 years ago
Closed 10 years ago
[chameleon] InContent Prefs - Update menulist style
Categories
(Firefox :: Theme, defect)
Firefox
Theme
Tracking
()
RESOLVED
FIXED
Firefox 36
People
(Reporter: ntim, Assigned: ntim)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
15.32 KB,
patch
|
jaws
:
review+
|
Details | Diff | Splinter Review |
To match project chameleon, we should :
- Get rid of the background gradient (we're flattening the UI)
- Update the dropdown arrow glyph
- Update the dropdown list style
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → ntim007
Assignee | ||
Updated•11 years ago
|
Assignee: ntim007 → nobody
Assignee | ||
Updated•11 years ago
|
Summary: [chameleon] InContent Prefs - Get rid of background gradient and update menulist style → [chameleon] InContent Prefs - Update menulist style
I was going to fill a separate bug, but then I came across this one so I'll report it here.
Menuitems (40px) don't use the same height as menulist (30px). This should be corrected (decrease the height of menuitems to 30px). Screenshot at http://imgur.com/7SqqG7b
Assignee | ||
Comment 2•10 years ago
|
||
Changes :
- menulist arrow (to match new specs)
- Fixes high contrast color for menulist arrow
- Fixes issue in Comment 1
- Uses flat colors (colors from the Project Chameleon palette), instead of gradients (the gradients are leftovers from the older chameleon UI)
- Removes the text-shadows from the older chameleon UI (leftovers as well)
Assignee: nobody → ntim007
Attachment #8519469 -
Flags: review?(jaws)
Assignee | ||
Updated•10 years ago
|
Status: NEW → ASSIGNED
Comment 3•10 years ago
|
||
Comment on attachment 8519469 [details] [diff] [review]
Patch
Review of attachment 8519469 [details] [diff] [review]:
-----------------------------------------------------------------
This is super close to r+, just make the following change, test it, and put it up for review and I'll take another look. Nice job.
::: toolkit/themes/shared/in-content/dropdown.svg
@@ +12,5 @@
> + fill: GrayText;
> + }
> + </style>
> + <path fill-rule="evenodd" clip-rule="evenodd" d="M12,6l-4.016,4L4,6H12z" id="dropdown"/>
> + <path fill-rule="evenodd" clip-rule="evenodd" d="M12,6l-4.016,4L4,6H12z" class="disabled" id="dropdown-disabled"/>
We don't need to duplicate the paths here (see how d="..." is defined twice above, both with the same path).
To share the path, we can do the following:
<style>
use {
fill: menutext;
}
use[id$="-active"] {
fill: -moz-menuhovertext;
}
use[id$="-disabled"] {
fill: graytext;
}
</style>
<defs style="display:none;">
<path id="dropdown-shape" fill-rule="evenodd" clip-rule="evenodd" d="M12,6l-4.016,4L4,6H12z"/>
</defs>
<use id="dropdown" xlink:href="dropdown-shape"/>
<use id="dropdown-disabled" xlink:href="dropdown-shape"/>
You can see /browser/themes/linux/content-contextmenu.svg for an example of this already in use.
Attachment #8519469 -
Flags: review?(jaws) → feedback+
Comment 4•10 years ago
|
||
(In reply to Jared Wein [:jaws] (please needinfo? me) from comment #3)
Edit, you shouldn't need the `use[id$="-active"]` rule above.
Assignee | ||
Comment 5•10 years ago
|
||
Addressed review comment.
Attachment #8519469 -
Attachment is obsolete: true
Attachment #8520940 -
Flags: review?(jaws)
Updated•10 years ago
|
Attachment #8520940 -
Flags: review?(jaws) → review+
Assignee | ||
Updated•10 years ago
|
Whiteboard: checkin-needed
Comment 6•10 years ago
|
||
Whiteboard: checkin-needed → [fixed-in-fx-team]
Comment 7•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 36
You need to log in
before you can comment on or make changes to this bug.
Description
•