+
+/**
+ * JIT View
+ */
+
+#jit-optimizations-view {
+ width: 350px;
+ overflow-x: hidden;
+ overflow-y: auto;
+ min-width: 200px;
+}
+
+/* override default styles for tree widget */
+#jit-optimizations-view .tree-widget-empty-text {
+ font-size: inherit;
+ padding: 0px;
+ margin: 8px;
+}
+
+#jit-optimizations-view:not(.empty) .tree-widget-empty-text {
+ display: none;
+}
+
+#jit-optimizations-toolbar {
+ height: 18px;
+ min-height: 0px; /* override .devtools-toolbar min-height */
+}
+
+.jit-optimizations-title {
+ margin: 0px 4px;
+ font-weight: 600;
+}
+
+#jit-optimizations-raw-view {
+ font-size: 90%;
+}
+
+/* override default .tree-widget-item line-height */
+#jit-optimizations-raw-view .tree-widget-item {
+ line-height: 20px !important;
+ display: block;
+ overflow: hidden;
+}
+
+#jit-optimizations-raw-view .tree-widget-item[level="1"] {
+ font-weight: 600;
+}
+
+#jit-optimizations-view .opt-outcome::before {
+ content: "→";
+ margin: 4px 0px;
+ color: var(--theme-body-color);
+}
+#jit-optimizations-view .theme-selected .opt-outcome::before {
+ color: var(--theme-selection-color);
+}
+
+#jit-optimizations-view .tree-widget-item:not(.theme-selected) .opt-outcome[outcome=success] {
+ color: var(--theme-highlight-green);
+}
+#jit-optimizations-view .tree-widget-item:not(.theme-selected) .opt-outcome[outcome=failure] {
+ color: var(--theme-highlight-red);
+}
+#jit-optimizations-view .tree-widget-container {
+ -moz-margin-end: 0px;
+}
+#jit-optimizations-view .tree-widget-container > li,
+#jit-optimizations-view .tree-widget-children > li {
+ overflow: hidden;
+}
+
+.opt-line::before {
+ content: ":";
+ color: var(--theme-highlight-orange);
+}
+.theme-selected .opt-line::before {
+ color: var(--theme-selection-color);
+}
+.opt-line.header-line::before {
+ color: var(--theme-body-color);
+}
+#jit-optimizations-view.empty .opt-line.header-line::before {
+ display: none;
+}
+
+.opt-url {
+ -moz-margin-start: 4px !important;
+}
+.opt-url:hover {
+ text-decoration: underline;
+}
+.opt-url.debugger-link {
+ cursor: pointer;
+}
+
+#jit-optimizations-view .opt-icon::before {
+ content: "";
+ background-image: url(chrome://browser/skin/devtools/webconsole.png);
+ background-repeat: no-repeat;
+ background-size: 48px 40px;
+ margin: 5px 6px 0 0;
+ width: 8px;
+ height: 8px;
+ max-height: 8px;
+ display: inline-block;
+}
+
+#jit-optimizations-view .opt-icon[severity=warning]::before {
+ background-position: -16px -16px;
+}
+
+@media (min-resolution: 1.25dppx) {
+ #jit-optimizations-view .opt-icon::before {
+ background-image: url(chrome://browser/skin/devtools/webconsole@2x.png);
+ }
+}
+
+/**
+ * Configurable Options
+ *
+ * Elements can be tagged with a class and visibility is controlled via a preference being
+ * applied or removed.
+ */
+
+/**
+ * devtools.performance.ui.experimental
+ */
+menuitem.experimental-option::before {
+ content: "";
+ background-image: url(chrome://browser/skin/devtools/webconsole.png);
+ background-repeat: no-repeat;
+ background-size: 48px 40px;
+ margin: 2px 5px 0 0;
+ width: 8px;
+ height: 8px;
+ max-height: 8px;
+ display: inline-block;
+ background-position: -16px -16px;
+}
+@media (min-resolution: 1.25dppx) {
+ menuitem.experimental-option::before {
+ background-image: url(chrome://browser/skin/devtools/webconsole@2x.png);
+ }
+}
+#performance-options-menupopup:not(.experimental-enabled) .experimental-option,
+#performance-options-menupopup:not(.experimental-enabled) .experimental-option::before {
+ display: none;
+}