Closed Bug 966201 Opened 10 years ago Closed 10 years ago

There's a 1px top border between selected and non-selected items in the style editor stylesheets list

Categories

(DevTools :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 30

People

(Reporter: vporof, Assigned: bgrins)

References

Details

(Whiteboard: [qa-])

Attachments

(3 files, 2 obsolete files)

Attached image screenshot
This doesn't appear in any of our other sidebar menus, when items are selected.
Blocks: 957117
I'll take care of this - going to use the same code for the separators that is in use for side menu widget so it is the exact same as the other lists
Assignee: nobody → bgrinstead
I'm also noticing an issue with the dark theme where the active item spills into the editor gutter.
Attached patch styleeditor-list.patch (obsolete) — Splinter Review
This updates the styling to more closely match the side menu widget.  Still don't know about the issue with the active dark item spilling over into the gutter (screenshot incoming).
Attached image styleeditor-lists.png
Attached patch theme-splitview.patch (obsolete) — Splinter Review
This patch resolves the overflowing issue with the dark theme, and fixes the original border issue in the light theme.  I've pulled in a lot of the styles from the side menu widget.  It isn't exactly the same though, since the markup is a bit different.  In order to get the right border that doesn't show up above the active arrow, I've removed the box shadow and added a third background image that is a 1px gradient on the edge matching the splitter color).
Attachment #8368548 - Attachment is obsolete: true
Attachment #8370298 - Flags: review?(vporof)
Comment on attachment 8370298 [details] [diff] [review]
theme-splitview.patch

Review of attachment 8370298 [details] [diff] [review]:
-----------------------------------------------------------------

::: browser/themes/shared/devtools/splitview.css
@@ +3,5 @@
>   * License, v. 2.0. If a copy of the MPL was not distributed with this
>   * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
>  
> +%filter substitution
> +%define smw_selectionTextColor #f5f7fa

Let's not have a smw_selectionTextColor variable, since it's just a standard color, and we don't have any variables anywhere yet for colors straight from the devtools palette.
Attachment #8370298 - Flags: review?(vporof) → review+
Just removed extra variable
Attachment #8371502 - Flags: review+
Attachment #8370298 - Attachment is obsolete: true
No longer blocks: 957117
Depends on: 957117
https://hg.mozilla.org/mozilla-central/rev/db52e420fe23
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 30
Whiteboard: [qa-]
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: