When the inspector is in portrait mode, the breadcrumbs top border can easily be
mistaken for the splitter between the markupview and the side panel.
This patch reuses the body background for the breadcrumbs background and uses a
custom border color for the top border of the breadcrumbs. In the dark theme this
color remains the same as the splitter color, because the background change is
significant enough. In the light/firebug theme, the color is lighter than the
splitter color
MozReview-Commit-ID: ASLgmPX0g6J
This moves the eyedropper button from the toolbar into the inspector,
therefore the old eyedropper command isn't needed anymore,
or at least not as it was.
The button in the inspector simply uses the pickColorFromPage inspector
actor method.
And to preserve a eyedropper gcli command, a new simpler one was added.
MozReview-Commit-ID: B1yr1EqLFBD
This patch was generated by the command:
find . -name "*.css" -exec sed -i -f mozpropsub {} \;
in the root of a mozilla-central tree, with the file mozpropsub
containing the contents:
s/-moz-padding-end\>/padding-inline-end/g
s/-moz-padding-start\>/padding-inline-start/g
s/-moz-margin-end\>/margin-inline-end/g
s/-moz-margin-start\>/margin-inline-start/g
s/-moz-border-end\>/border-inline-end/g
s/-moz-border-end-color\>/border-inline-end-color/g
s/-moz-border-end-style\>/border-inline-end-style/g
s/-moz-border-end-width\>/border-inline-end-width/g
s/-moz-border-start\>/border-inline-start/g
s/-moz-border-start-color\>/border-inline-start-color/g
s/-moz-border-start-style\>/border-inline-start-style/g
s/-moz-border-start-width\>/border-inline-start-width/g
While I didn't manually review all the changes, I did review the list of
files, and manually reviewed the changes in the files that I thought
were more interesting.
Note that there are a few tests that should be fixed up as well, but
I'll do that in a later patch.
MozReview-Commit-ID: EiQTuuV0MNQ
Apparently applying rotate(90) on #inspector-pane-toggle makes the icon blurry
on some platforms (at least windows 10).
Applying the same rotate directly on the image seems to fix the issue.
MozReview-Commit-ID: 2IqfPQD8tLK
The current toggle icon represents a side panel being expanded/collapsed. To reuse this
icon for vertical layouts, a "square" version of this icon has been created, and is
rotated using CSS when the layout switches to vertical mode.
MozReview-Commit-ID: 7QSuLrDb7zd
Break DevTools theme files out of browser.jar and move to a new DevTools
specific jar. Update all paths of the form:
chrome://browser/skin/devtools/<X>
to
chrome://devtools/skin/<Y>
where <Y> is the source tree path that comes after /devtools/client.
Move DevTools themes to a new directory using the following step:
hg mv browser/themes/shared/devtools devtools/client/themes
No other changes are made.