+
+.line-graph-widget-tooltip[type=minimum] {
+ left: 14px;
+}
+
+.line-graph-widget-tooltip[type=average] {
+ right: 4px;
+}
+
+.line-graph-widget-tooltip > [text=info] {
+ color: #A09090;
+}
+
+.line-graph-widget-tooltip > [text=value] {
+ -moz-margin-start: 3px;
+}
+
+.line-graph-widget-tooltip > [text=metric] {
+ -moz-margin-start: 1px;
+ color: #9C9CFF;
+}
+
+.line-graph-widget-tooltip > [text=value],
+.line-graph-widget-tooltip > [text=metric] {
+/* text-shadow: 1px 0px rgba(255,255,255,0.6),
+ -1px 0px rgba(255,255,255,0.6),
+ 0px -1px rgba(255,255,255,0.6),
+ 0px 1px rgba(255,255,255,0.6);*/
+}
+
+.line-graph-widget-tooltip[type=maximum] > [text=value] {
+ color: #008484;
+}
+
+.line-graph-widget-tooltip[type=minimum] > [text=value] {
+ color: #FF0000;
+}
+
+.line-graph-widget-tooltip[type=average] > [text=value] {
+ color: #FF9F00;
+}
+
+/* Bar graph widget */
+
+.bar-graph-widget-canvas {
+ background: #000000;
+}
+
+.bar-graph-widget-legend {
+ position: absolute;
+ top: 4px;
+ left: 8px;
+ color: #A09090;
+ font-size: 80%;
+ pointer-events: none;
+}
+
+.bar-graph-widget-legend-item {
+ float: left;
+ -moz-margin-end: 8px;
+}
+
+.bar-graph-widget-legend-item > [view="color"],
+.bar-graph-widget-legend-item > [view="label"] {
+ vertical-align: middle;
+}
+
+.bar-graph-widget-legend-item > [view="color"] {
+ display: inline-block;
+ width: 8px;
+ height: 8px;
+ border: 1px solid #9C9CFF;
+ border-radius: 1px;
+ -moz-margin-end: 4px;
+ pointer-events: none;
+}
+
+.bar-graph-widget-legend-item > [view="label"] {
+/* text-shadow: 1px 0px rgba(255,255,255,0.8),
+ -1px 0px rgba(255,255,255,0.8),
+ 0px -1px rgba(255,255,255,0.8),
+ 0px 1px rgba(255,255,255,0.8);*/
+}
+
+/* Charts */
+
+.generic-chart-container {
+ /* Hack: force hardware acceleration */
+ transform: translateZ(1px);
+}
+
+.generic-chart-container {
+ color: var(--theme-body-color-alt);
+}
+
+.chart-colored-blob {
+ fill: var(--theme-highlight-blue);
+ background: var(--theme-highlight-blue);
+}
+
+/* Charts: Pie */
+
+.pie-chart-slice {
+ stroke-width: 1px;
+ cursor: pointer;
+}
+
+.pie-chart-slice {
+ stroke: #A09090;
+}
+
+.pie-chart-slice[largest] {
+ stroke-width: 2px;
+ stroke: #9C9CFF;
+}
+
+.pie-chart-label {
+ text-anchor: middle;
+ dominant-baseline: middle;
+ pointer-events: none;
+}
+
+.pie-chart-label {
+ fill: #000;
+}
+
+.pie-chart-container[slices="1"] > .pie-chart-slice {
+ stroke-width: 0px;
+}
+
+.pie-chart-slice,
+.pie-chart-label {
+ transition: all 0.1s ease-out;
+}
+
+.pie-chart-slice:not(:hover):not([focused]),
+.pie-chart-slice:not(:hover):not([focused]) + .pie-chart-label {
+ transform: none !important;
+}
+
+/* Charts: Table */
+
+.table-chart-title {
+ padding-bottom: 10px;
+ font-size: 120%;
+ font-weight: 600;
+}
+
+.table-chart-row {
+ margin-top: 1px;
+ cursor: pointer;
+}
+
+.table-chart-grid:hover > .table-chart-row {
+ transition: opacity 0.1s ease-in-out;
+}
+
+.table-chart-grid:not(:hover) > .table-chart-row {
+ transition: opacity 0.2s ease-in-out;
+}
+
+.generic-chart-container:hover > .table-chart-grid:hover > .table-chart-row:not(:hover),
+.generic-chart-container:hover ~ .table-chart-container > .table-chart-grid > .table-chart-row:not([focused]) {
+ opacity: 0.4;
+}
+
+.table-chart-row-box {
+ width: 8px;
+ height: 1.5em;
+ -moz-margin-end: 10px;
+}
+
+.table-chart-row-label {
+ width: 8em;
+ -moz-padding-end: 6px;
+ cursor: inherit;
+}
+
+.table-chart-totals {
+ margin-top: 8px;
+ padding-top: 6px;
+}
+
+.table-chart-totals {
+ border-top: 1px solid var(--theme-body-color-alt); /* Grey foreground text */
+}
+
+.table-chart-summary-label {
+ font-weight: 600;
+ padding: 1px 0px;
+}
+
+.table-chart-summary-label {
+ color: var(--theme-content-color2);
+}
+
+/* Table Widget */
+
+/* Table body */
+
+.table-widget-body > .devtools-side-splitter {
+ border: none;
+}
+
+.table-widget-body {
+ overflow: auto;
+
+ background: var(--theme-sidebar-background);
+}
+
+.table-widget-body:-moz-locale-dir(ltr) {
+/* box-shadow: inset -1px 0 0 @smw_marginDark@;*/
+}
+
+.table-widget-body:-moz-locale-dir(rtl) {
+/* box-shadow: inset 1px 0 0 @smw_marginDark@;*/
+}
+
+.table-widget-body:-moz-locale-dir(ltr) {
+/* box-shadow: inset -1px 0 0 @smw_marginLight@;*/
+}
+
+.table-widget-body:-moz-locale-dir(rtl) {
+/* box-shadow: inset 1px 0 0 @smw_marginLight@;*/
+}
+
+/* Column Headers */
+
+.table-widget-column-header,
+.table-widget-cell {
+ -moz-border-end: 1px solid #A09090;
+}
+
+/* Table widget column header colors are taken from netmonitor.inc.css to match
+ the look of both the tables. This needs to be updated along with netmonitor
+ header colors in bug 951714 */
+
+.table-widget-column-header {
+ background: rgba(0,0,0,0);
+ position: sticky;
+ top: 0;
+ min-height: 32px;
+ width: 100%;
+ border: none;
+ padding: 8px 0 0 !important;
+ color: inherit;
+ text-align: center;
+ font-weight: inherit !important;
+ transition: background-color 0.1s ease-in-out;
+}
+
+.table-widget-column-header:hover {
+ background: #FFCF00;
+}
+
+.table-widget-column-header:hover:active {
+ background: #FF9F00;
+}
+
+.table-widget-column-header:not(:active)[sorted] {
+ background: #008484;
+}
+
+.table-widget-column-header:not(:active)[sorted=ascending] {
+ background-image: radial-gradient(farthest-side at center top, hsla(0,0%,0%,.7), hsla(0,0%,0%,0.3));
+ background-size: 100% 1px;
+ background-repeat: no-repeat;
+}
+
+.table-widget-column-header:not(:active)[sorted=descending] {
+ background-image: radial-gradient(farthest-side at center bottom, hsla(0,0%,0%,.7), hsla(0,0%,0%,0.3));
+ background-size: 100% 1px;
+ background-repeat: no-repeat;
+ background-position: bottom;
+}
+
+/* Cells */
+
+.table-widget-cell {
+ width: 100%;
+ margin: -1px 0 !important;
+ padding: 3px 4px;
+ background-clip: padding-box;
+ min-width: 100px;
+ -moz-user-focus: normal;
+}
+
+.table-widget-cell {
+ border-top: 1px solid #A09090;
+ border-bottom: 1px solid #A09090;
+ color: var(--theme-body-color);
+}
+
+.theme-dark:not(.filtering) .table-widget-cell:nth-child(odd):not(.theme-selected),
+.theme-light:not(.filtering) .table-widget-cell:nth-child(odd):not(.theme-selected),
+.table-widget-cell:not(.theme-selected)[odd] {
+ background: #404000;
+}
+
+.table-widget-cell:last-of-type {
+/* box-shadow: inset 0 -1px 0 @smw_itemDarkTopBorder@;*/
+}
+
+.table-widget-cell.flash-out {
+ animation: flash-out 0.5s ease-in;
+}
+
+@keyframes flash-out {
+ to {
+ background: var(--theme-contrast-background2);
+ }
+}
+
+/* Empty text and initial text */
+
+.table-widget-empty-text {
+ display: none;
+ text-align: center;
+ font-size: large;
+ margin-top: -20px !important;
+}
+
+.table-widget-body:empty + .table-widget-empty-text:not([value=""]),
+.table-widget-body[empty] + .table-widget-empty-text:not([value=""]) {
+ display: block;
+}
+
+/* Tree Widget */
+
+.tree-widget-container {
+ padding: 0;
+ margin: 0;
+ width: 100%;
+ height: 100%;
+ list-style: none;
+ overflow: hidden;
+ -moz-margin-end: 40px;
+}
+
+.tree-widget-container:-moz-focusring,
+.tree-widget-container *:-moz-focusring {
+ outline-style: none;
+}
+
+.tree-widget-empty-text {
+ padding: 10px 20px;
+ font-size: medium;
+ background: transparent;
+ pointer-events: none;
+}
+
+/* Tree Item */
+
+.tree-widget-container .tree-widget-item {
+ padding: 2px 0px 4px;
+ /* OSX has line-height 14px by default, which causes weird alignment issues
+ * because of 20px high icons. thus making line-height consistent with that of
+ * windows.
+ */
+ line-height: 17px !important;
+ display: inline-block;
+ width: 100%;
+ word-break: keep-all; /* To prevent long urls like http://foo.com/bar from
+ breaking in multiple lines */
+}
+
+.tree-widget-container .tree-widget-children {
+ margin: 0;
+ padding: 0;
+ list-style: none;
+}
+
+.tree-widget-item[level="1"] {
+ font-weight: 800;
+}
+
+/* Twisties */
+.tree-widget-item:before {
+ content: "";
+ width: 14px;
+ height: 14px;
+ float: left;
+ margin: 3px 2px -3px;
+ background-repeat: no-repeat;
+ background-image: url("chrome://browser/skin/devtools/controls.png");
+ background-size: 56px 28px;
+ cursor: pointer;
+ background-position: -28px -14px;
+}
+
+.tree-widget-item:-moz-locale-dir(rtl):before {
+ float: right;
+ transform: scaleX(-1);
+}
+
+.theme-light .tree-widget-item:before {
+ background-position: 0 -14px;
+}
+
+.tree-widget-item[empty]:before {
+ background: transparent;
+}
+
+.tree-widget-item[expanded]:before {
+ background-position: -42px -14px;
+}
+
+.theme-light .tree-widget-item[expanded]:before {
+ background-position: -14px -14px;
+}
+
+.tree-widget-item + ul {
+ overflow: hidden;
+ animation: collapse-tree-item 0.2s;
+ max-height: 0;
+}
+
+.tree-widget-item[expanded] + ul {
+ animation: expand-tree-item 0.3s;
+ max-height: unset;
+}
+
+@keyframes collapse-tree-item {
+ from {
+ max-height: 300px;
+ }
+ to {
+ max-height: 0;
+ }
+}
+
+@keyframes expand-tree-item {
+ from {
+ max-height: 0;
+ }
+ to {
+ max-height: 500px;
+ }
+}
+
+@media (min-resolution: 2dppx) {
+ .tree-widget-item:before {
+ background-image: url("chrome://browser/skin/devtools/controls@2x.png");
+ }
+}
+
+/* Indentation of child items in the tree */
+
+/* For level > 6 */
+.tree-widget-item[level] + ul > li > .tree-widget-item {
+ -moz-padding-start: 98px;
+}
+
+/* First level */
+.tree-widget-item[level="1"] + ul > li > .tree-widget-item {
+ -moz-padding-start: 14px;
+}
+
+/* Second level */
+.tree-widget-item[level="2"] + ul > li > .tree-widget-item {
+ -moz-padding-start: 28px;
+}
+
+/* Third level */
+.tree-widget-item[level="3"] + ul > li > .tree-widget-item {
+ -moz-padding-start: 42px;
+}
+
+/* Fourth level */
+.tree-widget-item[level="4"] + ul > li > .tree-widget-item {
+ -moz-padding-start: 56px;
+}
+
+/* Fifth level */
+.tree-widget-item[level="5"] + ul > li > .tree-widget-item {
+ -moz-padding-start: 70px;
+}
+
+/* Sixth level */
+.tree-widget-item[level="6"] + ul > li > .tree-widget-item {
+ -moz-padding-start: 84px;
+}
+
+/* Custom icons for certain tree items indicating the type of the item */
+
+.tree-widget-item[type]:after {
+ content: "";
+ float: left;
+ width: 16px;
+ height: 17px;
+ -moz-margin-end: 4px;
+ background-repeat: no-repeat;
+ background-size: 20px auto;
+ filter: url('filters.svg#invert');
+ background-position: 0 0;
+ background-size: auto 20px;
+}
+
+.tree-widget-item:-moz-locale-dir(rtl):after {
+ float: right;
+}
+
+.theme-dark .tree-widget-item[type]:after {
+ filter: url('filters.svg#invert-white');
+}
+
+.tree-widget-item[type="dir"]:after {
+ background-image: url("chrome://browser/skin/devtools/filetype-dir-close.svg");
+ background-position: 2px 0;
+ background-size: auto 16px;
+ width: 20px;
+}
+
+.tree-widget-item[type="dir"][expanded]:not([empty]):after {
+ background-image: url("chrome://browser/skin/devtools/filetype-dir-open.svg");
+}
+
+.tree-widget-item[type="url"]:after {
+ background-image: url("chrome://browser/skin/devtools/filetype-globe.svg");
+ background-size: auto 18px;
+ width: 18px;
+}
+
+/* === BEGIN manifest-editor.inc.css === */
+
+/* Manifest Editor overrides */
+
+.variables-view-container.manifest-editor {
+ background-color: #000000;
+ padding: 20px 2px;
+}
+
+.manifest-editor .variable-or-property:focus > .title {
+/* background-color: #EDEDED;
+ color: #000; */
+ border-radius: 4px;
+}
+
+.manifest-editor .variables-view-property > .title > .name {
+/* color: #27406A; */
+}
+
+.manifest-editor .variable-or-property > .title > label,
+.manifest-editor textbox {
+ font-family: monospace;
+}
+
+.manifest-editor .variable-or-property > .title > .token-string {
+/* color: #54BC6A; */
+ font-weight: bold;
+}
+
+.manifest-editor .variable-or-property > .title > .token-boolean,
+.manifest-editor .variable-or-property > .title > .token-number {
+/* color: #009BD4; */
+ font-weight: bold;
+}
+
+.manifest-editor .variable-or-property > .title > .token-undefined {
+/* color: #bbb; */
+}
+
+.manifest-editor .variable-or-property > .title > .token-null {
+/* color: #999; */
+}
+
+.manifest-editor .variable-or-property > .title > .token-other {
+/* color: #333; */
+}
+
+.manifest-editor .variables-view-variable {
+ border-bottom: none;
+}
+
+.manifest-editor .variables-view-delete,
+.manifest-editor .variables-view-delete:hover,
+.manifest-editor .variables-view-delete:active,
+.manifest-editor .variable-or-property:focus .variables-view-delete,
+.manifest-editor .variables-view-add-property,
+.manifest-editor .variables-view-add-property:hover,
+.manifest-editor .variables-view-add-property:active,
+.manifest-editor .variable-or-property:focus .variables-view-add-property {
+ list-style-image: none;
+ -moz-image-region: initial;
+}
+
+.manifest-editor .variables-view-delete::before,
+.manifest-editor .variables-view-add-property::before {
+ width: 11px;
+ height: 11px;
+ content: "";
+ display: inline-block;
+ background-size: 11px auto;
+}
+
+.manifest-editor .variables-view-delete::before {
+ background-image: url("app-manager/remove.svg");
+ background-size: 12px auto;
+}
+
+.manifest-editor .variables-view-add-property::before {
+ background-image: url("app-manager/add.svg");
+ -moz-margin-end: 2px;
+}
+
+/* === END manifest-editor.inc.css === */
+
+/* === END widgets.inc.css === */