Bug 1293591 - remove devtools/client/inspector/inspector.css; r=gl
MozReview-Commit-ID: J7auvgrcaAG
deleted file mode 100644
--- a/devtools/client/inspector/inspector.css
+++ /dev/null
@@ -1,30 +0,0 @@
-/* vim:set ts=2 sw=2 sts=2 et: */
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * 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/. */
-
-/* Set the minimum width for the side bar so, all tabs are
- properly visible. The value can be decreased when bug 1281789
- is fixed and the all-tabs-menu is available again. */
-#inspector-sidebar-container {
- overflow: hidden;
- min-width: 450px;
- position: relative;
-}
-
-#inspector-sidebar {
- position: absolute;
- top: 0;
- bottom: 0;
- left: 0;
- right: 0;
-}
-
-/* Override `-moz-user-focus:ignore;` from toolkit/content/minimal-xul.css */
-.inspector-tabpanel > * {
- -moz-user-focus: normal;
-}
-
-#inspector-sidebar-toggle-box {
- line-height: initial;
-}
--- a/devtools/client/inspector/inspector.xul
+++ b/devtools/client/inspector/inspector.xul
@@ -1,15 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- 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/. -->
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://devtools/content/shared/widgets/widgets.css" type="text/css"?>
-<?xml-stylesheet href="chrome://devtools/content/inspector/inspector.css" type="text/css"?>
<?xml-stylesheet href="chrome://devtools/skin/widgets.css" type="text/css"?>
<?xml-stylesheet href="chrome://devtools/skin/inspector.css" type="text/css"?>
<?xml-stylesheet href="chrome://devtools/skin/rules.css" type="text/css"?>
<?xml-stylesheet href="chrome://devtools/skin/computed.css" type="text/css"?>
<?xml-stylesheet href="chrome://devtools/skin/fonts.css" type="text/css"?>
<?xml-stylesheet href="chrome://devtools/skin/layout.css" type="text/css"?>
<?xml-stylesheet href="chrome://devtools/skin/animationinspector.css" type="text/css"?>
<?xml-stylesheet href="resource://devtools/client/shared/components/sidebar-toggle.css" type="text/css"?>
--- a/devtools/client/jar.mn
+++ b/devtools/client/jar.mn
@@ -138,17 +138,16 @@ devtools.jar:
content/framework/toolbox-init.js (framework/toolbox-init.js)
content/framework/options-panel.css (framework/options-panel.css)
content/framework/toolbox-process-window.xul (framework/toolbox-process-window.xul)
* content/framework/toolbox-process-window.js (framework/toolbox-process-window.js)
content/framework/dev-edition-promo/dev-edition-promo.xul (framework/dev-edition-promo/dev-edition-promo.xul)
* content/framework/dev-edition-promo/dev-edition-promo.css (framework/dev-edition-promo/dev-edition-promo.css)
content/framework/dev-edition-promo/dev-edition-logo.png (framework/dev-edition-promo/dev-edition-logo.png)
content/inspector/inspector.xul (inspector/inspector.xul)
- content/inspector/inspector.css (inspector/inspector.css)
content/framework/connect/connect.xhtml (framework/connect/connect.xhtml)
content/framework/connect/connect.css (framework/connect/connect.css)
content/framework/connect/connect.js (framework/connect/connect.js)
content/shared/widgets/graphs-frame.xhtml (shared/widgets/graphs-frame.xhtml)
content/shared/widgets/cubic-bezier.css (shared/widgets/cubic-bezier.css)
content/shared/widgets/mdn-docs.css (shared/widgets/mdn-docs.css)
content/shared/widgets/filter-widget.css (shared/widgets/filter-widget.css)
content/shared/widgets/spectrum.css (shared/widgets/spectrum.css)
--- a/devtools/client/themes/inspector.css
+++ b/devtools/client/themes/inspector.css
@@ -20,16 +20,23 @@
display: flex;
}
#inspector-toolbar.devtools-toolbar .devtools-toolbar-spacer {
flex-grow: 1;
display: inline-block;
}
+/* Add element toolbar button */
+#inspector-element-add-button::before {
+ background-image: url("chrome://devtools/skin/images/add.svg");
+ list-style-image: url("chrome://devtools/skin/images/add.svg");
+ -moz-user-focus: normal;
+}
+
#inspector-searchlabel {
overflow: hidden;
margin-inline-end: 2px;
}
#inspector-search {
flex: unset;
}
@@ -48,16 +55,31 @@
.theme-dark #inspector-searchbox,
.theme-light #inspector-searchbox {
line-height: 19px;
}
.theme-firebug #inspector-searchbox {
line-height: 17px;
}
+/* Eyedropper toolbar button */
+
+#inspector-eyedropper-toggle {
+ /* hidden by default, until we can check that the required highlighter exists */
+ display: none;
+}
+
+#inspector-eyedropper-toggle::before {
+ background-image: var(--eyedropper-image);
+}
+
+#inspector-sidebar-toggle-box {
+ line-height: initial;
+}
+
#inspector-breadcrumbs-toolbar {
padding: 0px;
border-bottom-width: 0px;
border-top-width: 1px;
display: block;
position: relative;
}
@@ -93,31 +115,35 @@
}
#inspector-breadcrumbs .breadcrumbs-widget-item {
white-space: nowrap;
flex-shrink: 0;
font: message-box;
}
-/* Eyedropper toolbar button */
-
-#inspector-eyedropper-toggle {
- /* hidden by default, until we can check that the required highlighter exists */
- display: none;
+/* Set the minimum width for the side bar so, all tabs are
+ properly visible. The value can be decreased when bug 1281789
+ is fixed and the all-tabs-menu is available again. */
+#inspector-sidebar-container {
+ overflow: hidden;
+ min-width: 450px;
+ position: relative;
}
-#inspector-eyedropper-toggle::before {
- background-image: var(--eyedropper-image);
+#inspector-sidebar {
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ left: 0;
+ right: 0;
}
-/* Add element toolbar button */
-#inspector-element-add-button::before {
- background-image: url("chrome://devtools/skin/images/add.svg");
- list-style-image: url("chrome://devtools/skin/images/add.svg");
+/* Override `-moz-user-focus:ignore;` from toolkit/content/minimal-xul.css */
+.inspector-tabpanel > * {
-moz-user-focus: normal;
}
/* "no results" warning message displayed in the ruleview and in the computed view */
#ruleview-no-results,
#computedview-no-results {
color: var(--theme-body-color-inactive);