Commit Graph
2 Commits
Author SHA1 Message Date
Michael Ratcliffe adb2a32110 Bug 1335869 - Add triangular callout to GCLI tooltip r=nchevobbe
Changes:

- Callout now changed to a triangle.
- Finally found a way to make the GCLI window 80% of viewport width (80vw).
- overflow-x is now hidden as the output width should be plenty wide enough to display any text.

The implementation is much prettier and works far better than it previously did. It is still not perfect e.g. when the output is scrollable we lose the triangular callout. I believe this was intentional in an effort to fit as much text in the output box as possible.

MozReview-Commit-ID: 3xEl9nmU47Z
2017-05-04 13:09:58 +01:00
Julian Descottes fdebbd7b8f Bug 1359090 - load devtools-browser.css dynamically when starting devtools;r=ochameau
This changeset modifies devtools-browser.css to import:
- commandline-browser.css (needed for GCLI)
- responsivedesign.css (needed for the old RDM)

These files are no longer included in the main browser.css files.

devtools-browser.css is also no longer loaded by browser.xul.
Instead it is dynamically loaded when devtools need the browser stylesheet:
- when creating a side or bottom host (need the splitter)
- when opening gcli
- when opening the old responsive design

devtools-browser.js keeps track of the browser stylesheets loaded in the
various tracked windows and will remove the stylesheet when the window is unloaded.

MozReview-Commit-ID: AL3CxS7mvdO
2017-04-27 16:05:31 +02:00