fifth part of syncing LCARStrek with Firefox 29 windows theme changes
[themes.git] / LCARStrek / browser / devtools / widgets.css
index 2161a5112db7bd8f6fea26ee53c9c22b18742986..95d314603f37dad2a0dbee498355eab1862061ec 100644 (file)
@@ -3,10 +3,11 @@
  * 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/. */
 
+/* === BEGIN widgets.inc.css === */
+
 /* Generic pane helpers */
 
 .generic-toggled-side-pane {
-  min-width: 50px;
   -moz-margin-start: 0px !important;
   /* Unfortunately, transitions don't work properly with locale-aware properties,
      so both the left and right margins are set via js, while the start margin
@@ -21,6 +22,8 @@
 
 .breadcrumbs-widget-container {
   -moz-margin-end: 3px;
+  max-height: 25px; /* Set max-height for proper sizing on linux */
+  height: 25px; /* Set height to prevent starting small waiting for content */
   /* A fake 1px-shadow is included in the border-images of the
      breadcrumbs-widget-items, to match toolbar-buttons style.
      This negative margin compensates the extra row of pixels created
 /*  margin: -1px 0;*/
 }
 
-/* Preloading hack, LTR */
-
-.breadcrumbs-widget-container:-moz-locale-dir(ltr)::after {
-  content: '';
-  display: block;
-  background-image:
-    url("breadcrumbs/ltr-start.png"),
-    url("breadcrumbs/ltr-start-selected.png"),
-    url("breadcrumbs/ltr-start-pressed.png"),
-    url("breadcrumbs/ltr-start-selected-pressed.png"),
-    url("breadcrumbs/ltr-middle.png"),
-    url("breadcrumbs/ltr-middle-selected.png"),
-    url("breadcrumbs/ltr-middle-pressed.png"),
-    url("breadcrumbs/ltr-middle-selected-pressed.png"),
-    url("breadcrumbs/ltr-end.png"),
-    url("breadcrumbs/ltr-end-selected.png"),
-    url("breadcrumbs/ltr-end-pressed.png"),
-    url("breadcrumbs/ltr-end-selected-pressed.png");
-}
-
-/* Preloading hack, RTL */
-
-.breadcrumbs-widget-container:-moz-locale-dir(rtl)::after {
-  content: '';
-  display: block;
-  background-image:
-    url("breadcrumbs/rtl-start.png"),
-    url("breadcrumbs/rtl-start-selected.png"),
-    url("breadcrumbs/rtl-start-pressed.png"),
-    url("breadcrumbs/rtl-start-selected-pressed.png"),
-    url("breadcrumbs/rtl-middle.png"),
-    url("breadcrumbs/rtl-middle-selected.png"),
-    url("breadcrumbs/rtl-middle-pressed.png"),
-    url("breadcrumbs/rtl-middle-selected-pressed.png"),
-    url("breadcrumbs/rtl-end.png"),
-    url("breadcrumbs/rtl-end-selected.png"),
-    url("breadcrumbs/rtl-end-pressed.png"),
-    url("breadcrumbs/rtl-end-selected-pressed.png");
-}
-
 .scrollbutton-up,
 .scrollbutton-down {
-  min-height: 25px;
-  margin-top: 0;
-  margin-bottom: 0;
+  background: transparent;
+  box-shadow: none;
+  border: none;
+  margin: 0;
+  padding: 0;
 }
 
 .scrollbutton-up {
   -moz-margin-end: 0;
 }
 
-.scrollbutton-up:not([disabled]):active:hover,
-.scrollbutton-down:not([disabled]):active:hover {
-}
-
 .scrollbutton-up > .toolbarbutton-icon,
 .scrollbutton-down > .toolbarbutton-icon {
   /* margin: 0 5px; */
   border-bottom-right-radius: 0;
 }
 
-.scrollbutton-up > .toolbarbutton-icon:-moz-locale-dir(rtl),
-.scrollbutton-down > .toolbarbutton-icon:-moz-locale-dir(ltr) {
-/*  transform: scaleX(-1); */
+/* Draw shadows to indicate there is more content 'behind' scrollbuttons. */
+/*
+.scrollbutton-up:-moz-locale-dir(ltr),
+.scrollbutton-down:-moz-locale-dir(rtl) {
+  border-right: solid 1px rgba(255, 255, 255, .1);
+  border-left: solid 1px transparent;
+  box-shadow: 3px 0px 3px -3px #181d20;
 }
 
-.breadcrumbs-widget-item {
-  background-color: #000000;
-  overflow: hidden;
-  min-width: 85px;
-  max-width: 250px;
-  min-height: 25px;
-  border-style: solid;
-  border-width: 2px 13px;
-  border-radius: 0;
-  margin: 0 -11px 0 0;
-  padding: 0 9px;
-  outline: none;
-  color: #FF9F00;
+.scrollbutton-down:-moz-locale-dir(ltr),
+.scrollbutton-up:-moz-locale-dir(rtl) {
+  border-right: solid 1px transparent;
+  border-left: solid 1px rgba(255, 255, 255, .1);
+  box-shadow: -3px 0px 3px -3px #181d20;
 }
 
-.breadcrumbs-widget-item:hover {
-  background-color: #FFCF00;
-  color: #000000;
+.scrollbutton-up[disabled],
+.scrollbutton-down[disabled] {
+  box-shadow: none;
+  border-color: transparent;
 }
+*/
 
-.breadcrumbs-widget-item[checked]:not(:hover) {
-  background-color: #008484;
-  color: #000000;
+.scrollbutton-up > .toolbarbutton-icon:-moz-locale-dir(rtl),
+.scrollbutton-down > .toolbarbutton-icon:-moz-locale-dir(ltr) {
+/*  transform: scaleX(-1); */
 }
 
-.breadcrumbs-widget-item[siblings-menu-open],
-.breadcrumbs-widget-item:active {
-  background-color: #FF9F00;
-  color: #000000;
+/* The breadcrumb separator elements are used as background images with
+ * -moz-element, so we position them offscreen since we don't care about
+ * seeing the original elements.
+ */
+.breadcrumb-separator-container {
+  position: fixed;
+  top: -1000px;
+  left: -1000px;
 }
 
-.breadcrumbs-widget-item:-moz-focusring > label {
-  border-bottom: 1px dotted #008484;
+#breadcrumb-separator-before,
+#breadcrumb-separator-after,
+#breadcrumb-separator-normal {
+  width: 12px;
+  height: 25px;
+  overflow: hidden;
 }
 
-.breadcrumbs-widget-item:-moz-focusring > .button-box {
-  border-width: 0;
+#breadcrumb-separator-before,
+#breadcrumb-separator-after:after {
+  background: #9C9CFF; /* Select Highlight Blue */
 }
 
-.breadcrumbs-widget-item[checked] .breadcrumbs-widget-item-tag {
-  /* color: hsl(208,100%,60%); */
+#breadcrumb-separator-after,
+#breadcrumb-separator-before:after {
+  background: #9C9CFF; /* Toolbars */
 }
 
-.breadcrumbs-widget-item[checked] .breadcrumbs-widget-item-id {
-  /* color: hsl(205,100%,70%); */
+/* This chevron arrow cannot be replicated easily in CSS, so we are using
+ * a background image for it (still keeping it in a separate element so
+ * we can handle RTL support with a CSS transform).
+ */
+#breadcrumb-separator-normal {
+  background: url("breadcrumbs-divider@2x.png") no-repeat center right;
+  background-size: 12px 24px;
 }
 
-.breadcrumbs-widget-item[checked] .breadcrumbs-widget-item-pseudo-classes {
-  color: #FF9F00;
+/* Fake a triangle by rotating a rectangle inside the elements */
+#breadcrumb-separator-before:after,
+#breadcrumb-separator-after:after {
+  content: "";
+  display: block;
+  width: 25px;
+  height: 25px;
+  transform: translateX(-18px) rotate(45deg);
+  -moz-box-sizing: border-box;
 }
 
-.breadcrumbs-widget-item-id,
-.breadcrumbs-widget-item-classes {
-  /* color: #8d99a6; */
+.breadcrumbs-widget-item {
+  background-color: #000000;
+  min-height: 25px;
+  min-width: 65px;
+  margin: 0;
+  padding: 0 8px 0 20px;
+  border: none;
+  outline: none;
+  color: #FF9F00;
 }
 
-.breadcrumbs-widget-item-pseudo-classes {
-  color: #FFCF00;
+.breadcrumbs-widget-item:hover {
+  background-color: #FFCF00;
+  color: #000000;
 }
 
-/* Breadcrumbs LTR */
-
-.breadcrumbs-widget-item:-moz-locale-dir(ltr) {
-  border-image: url("breadcrumbs/ltr-middle.png") 2 13 2 13 fill stretch;
+.breadcrumbs-widget-item[checked]:not(:hover) {
+  background-color: #008484;
+  color: #000000;
 }
 
-.breadcrumbs-widget-item:not([checked]):hover:active:-moz-locale-dir(ltr) {
-  border-image: url("breadcrumbs/ltr-middle-pressed.png") 2 13 2 13 fill stretch;
+.breadcrumbs-widget-item[siblings-menu-open],
+.breadcrumbs-widget-item:active {
+  background-color: #FF9F00;
+  color: #000000;
 }
 
-.breadcrumbs-widget-item[checked]:-moz-locale-dir(ltr) {
-  border-image: url("breadcrumbs/ltr-middle-selected.png") 2 13 2 13 fill stretch;
+.breadcrumbs-widget-item:not([checked]) {
+  background: -moz-element(#breadcrumb-separator-normal) no-repeat center left;
+ }
+.breadcrumbs-widget-item[checked] + .breadcrumbs-widget-item {
+  background: -moz-element(#breadcrumb-separator-after) no-repeat 0 0;
 }
 
-.breadcrumbs-widget-item[checked]:hover:active:-moz-locale-dir(ltr) {
-  border-image: url("breadcrumbs/ltr-middle-selected-pressed.png") 2 13 2 13 fill stretch;
+.breadcrumbs-widget-item[checked] {
+  background: -moz-element(#breadcrumb-separator-before) no-repeat 0 0;
+  background-color: #008484; /* Select Highlight Blue */
 }
 
-.breadcrumbs-widget-item:first-of-type:-moz-locale-dir(ltr) {
-  border-image: url("breadcrumbs/ltr-start.png") 2 13 2 13 fill stretch;
+.breadcrumbs-widget-item:first-child {
+  background-image: none;
 }
 
-.breadcrumbs-widget-item:first-of-type:not([checked]):hover:active:-moz-locale-dir(ltr) {
-  border-image: url("breadcrumbs/ltr-start-pressed.png") 2 13 2 13 fill stretch;
+/* RTL support: move the images that were on the left to the right,
+ * and move images that were on the right to the left.
+ */
+.breadcrumbs-widget-item:-moz-locale-dir(rtl) {
+  padding: 0 20px 0 8px;
 }
 
-.breadcrumbs-widget-item:first-of-type[checked]:-moz-locale-dir(ltr) {
-  border-image: url("breadcrumbs/ltr-start-selected.png") 2 13 2 13 fill stretch;
+.breadcrumbs-widget-item:-moz-locale-dir(rtl),
+.breadcrumbs-widget-item[checked] + .breadcrumbs-widget-item:-moz-locale-dir(rtl) {
+  background-position: center right;
 }
 
-.breadcrumbs-widget-item:first-of-type[checked]:hover:active:-moz-locale-dir(ltr) {
-  border-image: url("breadcrumbs/ltr-start-selected-pressed.png") 2 13 2 13 fill stretch;
+#breadcrumb-separator-before:-moz-locale-dir(rtl),
+#breadcrumb-separator-after:-moz-locale-dir(rtl),
+#breadcrumb-separator-normal:-moz-locale-dir(rtl) {
+  transform: scaleX(-1);
 }
 
-.breadcrumbs-widget-item:last-of-type:-moz-locale-dir(ltr) {
-  border-image: url("breadcrumbs/ltr-end.png") 2 13 2 13 fill stretch;
+#breadcrumb-separator-before:-moz-locale-dir(rtl):after,
+#breadcrumb-separator-after:-moz-locale-dir(rtl):after {
+  transform: translateX(-5px) rotate(45deg);
 }
 
-.breadcrumbs-widget-item:last-of-type:not([checked]):hover:active:-moz-locale-dir(ltr) {
-  border-image: url("breadcrumbs/ltr-end-pressed.png") 2 13 2 13 fill stretch;
+.breadcrumbs-widget-item[checked] .breadcrumbs-widget-item-id,
+.breadcrumbs-widget-item[checked] .breadcrumbs-widget-item-tag,
+.breadcrumbs-widget-item[checked] .breadcrumbs-widget-item-pseudo-classes,
+.breadcrumbs-widget-item[checked] .breadcrumbs-widget-item-classes {
+  color: #FF9F00; /* Foreground (Text) - Light */
 }
 
-.breadcrumbs-widget-item:last-of-type[checked]:-moz-locale-dir(ltr) {
-  border-image: url("breadcrumbs/ltr-end-selected.png") 2 13 2 13 fill stretch;
+.breadcrumbs-widget-item {
+  color: #FF9F00; /* Foreground (Text) - Light */
 }
 
-.breadcrumbs-widget-item:last-of-type[checked]:hover:active:-moz-locale-dir(ltr) {
-  border-image: url("breadcrumbs/ltr-end-selected-pressed.png") 2 13 2 13 fill stretch;
+.breadcrumbs-widget-item-id {
+  color: #A09090; /* Foreground (Text) - Grey */
 }
 
-.breadcrumbs-widget-container[overflows] > .breadcrumbs-widget-item:first-of-type:-moz-locale-dir(ltr) {
+.breadcrumbs-widget-item-classes {
+  color: #FF9F00; /* Content (Text) - Light */
 }
 
-.breadcrumbs-widget-container[overflows] > .breadcrumbs-widget-item:last-of-type:-moz-locale-dir(ltr) {
+.breadcrumbs-widget-item-pseudo-classes {
+  color: #FFCF00; /* Light Orange */
 }
 
-/* Breadcrumbs RTL */
-
-.breadcrumbs-widget-item:-moz-locale-dir(rtl) {
-  border-image: url("breadcrumbs/rtl-middle.png") 2 13 2 13 fill stretch;
-}
+/* SimpleListWidget */
 
-.breadcrumbs-widget-item:not([checked]):hover:active:-moz-locale-dir(rtl) {
-  border-image: url("breadcrumbs/rtl-middle-pressed.png") 2 13 2 13 fill stretch;
+.simple-list-widget-container {
+  /* Hack: force hardware acceleration */
+  transform: translateZ(1px);
 }
 
-.breadcrumbs-widget-item[checked]:-moz-locale-dir(rtl) {
-  border-image: url("breadcrumbs/rtl-middle-selected.png") 2 13 2 13 fill stretch;
+.simple-list-widget-item.selected {
+  background-color: #008484; /* Select Highlight Blue */
+  color: #FFCF00; /* Light foreground text */
 }
 
-.breadcrumbs-widget-item[checked]:hover:active:-moz-locale-dir(rtl) {
-  border-image: url("breadcrumbs/rtl-middle-selected-pressed.png") 2 13 2 13 fill stretch;
+.simple-list-widget-item:not(.selected):hover {
+  background-color: #FFCF00;
+  color: #FFCF00;
 }
 
-.breadcrumbs-widget-item:first-of-type:-moz-locale-dir(rtl) {
-  border-image: url("breadcrumbs/rtl-start.png") 2 13 2 13 fill stretch;
+.simple-list-widget-perma-text,
+.simple-list-widget-empty-text {
+  color: #8050B0;
+  padding: 4px 8px;
 }
 
-.breadcrumbs-widget-item:first-of-type:not([checked]):hover:active:-moz-locale-dir(rtl) {
-  border-image: url("breadcrumbs/rtl-start-pressed.png") 2 13 2 13 fill stretch;
-}
+/* FastListWidget */
 
-.breadcrumbs-widget-item:first-of-type[checked]:-moz-locale-dir(rtl) {
-  border-image: url("breadcrumbs/rtl-start-selected.png") 2 13 2 13 fill stretch;
+.fast-list-widget-container {
+  /* Hack: force hardware acceleration */
+  transform: translateZ(1px);
 }
 
-.breadcrumbs-widget-item:first-of-type[checked]:hover:active:-moz-locale-dir(rtl) {
-  border-image: url("breadcrumbs/rtl-start-selected-pressed.png") 2 13 2 13 fill stretch;
+/* dark/light theme */
+.fast-list-widget-empty-text {
+  padding: 12px;
+  font-weight: 600;
+  color: #8050B0;
 }
 
-.breadcrumbs-widget-item:last-of-type:-moz-locale-dir(rtl) {
-  border-image: url("breadcrumbs/rtl-end.png") 2 13 2 13 fill stretch;
-}
+/* SideMenuWidget */
 
-.breadcrumbs-widget-item:last-of-type:not([checked]):hover:active:-moz-locale-dir(rtl) {
-  border-image: url("breadcrumbs/rtl-end-pressed.png") 2 13 2 13 fill stretch;
-}
+/* SideMenuWidget container */
 
-.breadcrumbs-widget-item:last-of-type[checked]:-moz-locale-dir(rtl) {
-  border-image: url("breadcrumbs/rtl-end-selected.png") 2 13 2 13 fill stretch;
-}
+.side-menu-widget-container {
+  /* Hack: force hardware acceleration */
+  transform: translateZ(1px);
 
-.breadcrumbs-widget-item:last-of-type[checked]:hover:active:-moz-locale-dir(rtl) {
-  border-image: url("breadcrumbs/rtl-end-selected-pressed.png") 2 13 2 13 fill stretch;
+  background-color: #000000;
+  color: #FF9F00;
 }
 
-.breadcrumbs-widget-container[overflows] > .breadcrumbs-widget-item:first-of-type:-moz-locale-dir(rtl) {
+.side-menu-widget-container:-moz-locale-dir(ltr),
+.side-menu-widget-empty-text:-moz-locale-dir(ltr) {
 }
 
-.breadcrumbs-widget-container[overflows] > .breadcrumbs-widget-item:last-of-type:-moz-locale-dir(rtl) {
+.side-menu-widget-container:-moz-locale-dir(rtl),
+.side-menu-widget-empty-text:-moz-locale-dir(rtl)[with-arrows=true]:-moz-locale-dir(rtl) {
 }
 
-/* SideMenuWidget */
-
-.side-menu-widget-container {
-  background-color: #000000;
-  color: #FF9F00;
+.side-menu-widget-group {
+  /* To allow visibility of the dark margin shadow. */
+/*  -moz-margin-end: 1px; */
 }
 
-.side-menu-widget-container[with-arrow=true]:-moz-locale-dir(ltr),
-.side-menu-widget-group[with-arrow=true]:-moz-locale-dir(ltr),
-.side-menu-widget-item[with-arrow=true]:-moz-locale-dir(ltr) {
+.side-menu-widget-container[with-arrows=true] .side-menu-widget-item {
+  /* To compensate for the arrow image's dark margin. */
+/*  -moz-margin-end: -1px; */
 }
 
-.side-menu-widget-container[with-arrow=true]:-moz-locale-dir(rtl),
-.side-menu-widget-group[with-arrow=true]:-moz-locale-dir(rtl),
-.side-menu-widget-item[with-arrow=true]:-moz-locale-dir(rtl) {
-}
+/* SideMenuWidget groups */
 
 .side-menu-widget-group-title {
-  background-color: #A09090;
   padding: 4px;
+
+  background-color: #A09090;
   color: #000000;
-  transition-property: background-color;
-  transition-duration: 0.3s;
 }
 
-.side-menu-widget-group:hover > .side-menu-widget-group-title {
-  background-color: #FFCF00;
-}
+/* SideMenuWidget items */
 
 .side-menu-widget-item {
   border-top: 1px solid #9C9CFF;
-  cursor: pointer;
+  /* To compensate for the top and bottom borders */
+  margin-top: -1px;
+  margin-bottom: -1px;
+  background-clip: padding-box;
 }
 
 .side-menu-widget-item:last-of-type {
   color: #000000;
 }
 
+.side-menu-widget-item-arrow {
+  -moz-margin-start: -7px;
+  width: 7px; /* The image's width is 7 pixels */
+  /* Cover the border of the side-menu-widget-item */
+  margin-top: -1px;
+  margin-bottom: -1px;
+}
+
 .side-menu-widget-item.selected > .side-menu-widget-item-arrow {
   background-size: auto, 1px 100%;
   background-repeat: no-repeat;
 }
 
 .side-menu-widget-item.selected > .side-menu-widget-item-arrow:-moz-locale-dir(ltr) {
-  background-image: url("itemArrow-ltr.png"), linear-gradient(to right, #000000, #000000);
-  background-position: center right, top right;
+  background-position: center right;
 }
 
 .side-menu-widget-item.selected > .side-menu-widget-item-arrow:-moz-locale-dir(rtl) {
-  background-image: url("itemArrow-rtl.png"), linear-gradient(to right, #000000, #000000);
-  background-position: center left, top left;
+  background-position: center left;
 }
 
-.side-menu-widget-item-arrow {
-  -moz-margin-start: -8px;
-  width: 8px;
+.theme-light .side-menu-widget-item.selected > .side-menu-widget-item-arrow:-moz-locale-dir(ltr) {
+  background-image: url("itemArrow-ltr.svg");
 }
 
-.side-menu-widget-item-contents {
-  padding: 4px;
+.theme-light .side-menu-widget-item.selected > .side-menu-widget-item-arrow:-moz-locale-dir(rtl) {
+  background-image: url("itemArrow-rtl.svg");
 }
 
-.side-menu-widget-item label {
-  cursor: inherit;
+/* SideMenuWidget items contents */
+
+.side-menu-widget-item-contents {
+  padding: 4px;
+  /* To avoid having content overlapping the arrow image. */
+  -moz-padding-end: 8px;
 }
 
 .side-menu-widget-item-other {
+  /* To avoid having content overlapping the arrow image. */
+  -moz-padding-end: 8px;
+  /* To compensate for the .side-menu-widget-item-contents padding. */
+  -moz-margin-start: -4px;
+  -moz-margin-end: -8px;
+
   background-color: #000000;
-  margin: 0 -4px;
-  -moz-padding-start: 5px;
 }
 
 .side-menu-widget-item-other.selected {
   color: #000000;
 }
 
-.side-menu-widget-item.selected .side-menu-widget-item-other:first-of-type {
-  border-top: 1px dotted #9C9CFF;
-  margin-top: 3px;
-}
-
 .side-menu-widget-item-other:first-of-type {
   margin-top: 4px;
+/*  border-top-left-radius: 4px; */
 }
 
 .side-menu-widget-item-other:last-of-type {
   color: #9C9CFF;
 }
 
-.side-menu-widget-empty-notice-container {
-  background-color: #000000;
+/* SideMenuWidget checkboxes */
+
+.side-menu-widget-group-checkbox {
+  margin: 0;
+  -moz-margin-end: 4px;
+}
+
+.side-menu-widget-item-checkbox {
+  margin: 0;
+  -moz-margin-start: 4px;
+  -moz-margin-end: -4px;
+}
+
+/* SideMenuWidget misc */
+
+.side-menu-widget-empty-text {
   padding: 12px;
-  color: #A09090;
+
+  background-color: #000000;
   font-weight: 600;
+  color: #A09090;
 }
 
 /* VariablesView */
 
-.variables-view-container {
-  background: #000000;
+.variables-view-container:not([empty]) {
+  /* Hack: force hardware acceleration */
+  transform: translateZ(1px);
 }
 
 .variables-view-empty-notice {
   color: #000000;
 }
 
-.variables-view-scope:focus > .title {
-  background-color: #008484;
-  color: #000000;
-}
+/* Generic variables traits */
 
-.variables-view-scope > .variables-view-element-details:not(:empty) {
-  margin-top: 1px;
-  -moz-margin-start: 2px;
-  -moz-margin-end: 1px;
+.variables-view-variable:not(:last-child) {
+  border-bottom: 1px solid #A09090;
 }
 
-.variables-view-scope > .variables-view-element-details.enum:not(:empty) {
-  border-bottom: 1px solid #9C9CFF;
+.variables-view-variable > .title > .name {
+  font-weight: 600;
 }
 
-/* Generic traits applied to both variables and properties */
-
-.variable-or-property {
-  transition: background 1s ease-in-out;
-  color: #FF9F00;
-}
+/* Generic variables *and* properties traits */
 
-.variable-or-property[changed] {
-  background: rgba(255, 207, 0, 0.3);
-  transition-duration: 0.4s;
+.variable-or-property:focus > .title > label {
+  color: inherit !important;
 }
 
 .variable-or-property > .title > .value {
-  -moz-padding-start: 6px;
-  -moz-padding-end: 4px;
-}
-
-.variable-or-property:focus > .title {
-  background-color: #008484;
-  color: #000000;
-  border-radius: 5px;
-}
-
-.variable-or-property[editable] > .title > .value {
-  cursor: text;
+  -moz-box-flex: 1;
 }
 
-.variable-or-property:not([non-header]) > .variables-view-element-details {
-  -moz-margin-start: 10px;
+.variable-or-property > .title > .arrow {
+  -moz-margin-start: 3px;
 }
 
-/* Custom variables and properties traits */
-
-.variables-view-variable {
-  -moz-margin-start: 1px;
-  -moz-margin-end: 1px;
-  border-bottom: 1px solid #A09090;
+.variable-or-property:not([untitled]) > .variables-view-element-details {
+  -moz-margin-start: 7px;
 }
 
-.variables-view-variable > .title > .name {
-  font-weight: 600;
-}
+/* Traits applied when variables or properties are changed or overridden */
 
-.variables-view-variable:not(:focus) > .title > .name {
-  color: #FF9F00;
+.variable-or-property:not([overridden]) {
+  transition: background 1s ease-in-out, color 1s ease-in-out;
 }
 
-.variables-view-property:not(:focus) > .title > .name {
-  color: #E7ADE7;
-}
-
-/* Token value colors */
-
-.variable-or-property:not(:focus) > .title > .token-undefined {
-  color: #8050B0;
+.variable-or-property:not([overridden])[changed] {
+  color: #000000;
+  transition-duration: .4s;
 }
 
-.variable-or-property:not(:focus) > .title > .token-null {
-  color: #008484;
+.variable-or-property[overridden] {
+  background: rgba(160,144,144,0.0.5);
 }
 
-.variable-or-property:not(:focus) > .title > .token-boolean {
-  color: #FFCF00;
+.variable-or-property[overridden] .title > label {
+  /* Cross out the title for this variable and all child properties. */
+  font-style: italic;
+  text-decoration: line-through;
+  border-bottom: none !important;
+  color: #A09090;
+  opacity: 0.7;
 }
 
-.variable-or-property:not(:focus) > .title > .token-number {
-  color: #E7ADE7;
-}
+/* Traits applied when variables or properties are editable */
 
-.variable-or-property:not(:focus) > .title > .token-string {
-  color: #9C9CFF;
+.variable-or-property[editable] > .title > .value {
+  cursor: text;
 }
 
-.variable-or-property:not(:focus) > .title > .token-other {
-  color: #FF9F00;
+.variable-or-property[overridden] .title > .value {
+  /* Disallow editing this variable and all child properties. */
+  pointer-events: none;
 }
 
-/* Non enumerable, configurable and writable variables and properties */
+/* Custom configurable/enumerable/writable or frozen/sealed/extensible
+ * variables and properties */
 
-.variable-or-property[proto] > .title > .name,
-.variable-or-property[non-enumerable]:not([self]):not([exception]) > .title > .name {
-  opacity: 0.5;
+.variable-or-property[non-enumerable]:not([self]):not([pseudo-item]) > .title > .name {
+  opacity: 0.6;
 }
 
-.variable-or-property[non-configurable] > .title > .name {
+.variable-or-property[non-configurable]:not([pseudo-item]) > .title > .name {
   border-bottom: 1px dashed #9C9CFF;
 }
 
-.variable-or-property[non-configurable][non-writable] > .title > .name {
+.variable-or-property[non-writable]:not([pseudo-item]) > .title > .name {
   border-bottom: 1px dashed #FF0000;
 }
 
-.variable-or-property[safe-getter] > .title > .name {
+.variable-or-property[safe-getter]:not([pseudo-item]) > .title > .name {
   border-bottom: 1px dashed #A09090;
 }
 
-.variable-or-property[non-writable] > .title:after {
-  content: " ";
-  display: inline-block;
-  background: url("chrome://browser/skin/identity-icons-https.png") no-repeat;
+.variable-or-property-non-writable-icon {
+  background: url("chrome://browser/skin/devtools/vview-lock.png") no-repeat;
   width: 16px;
   height: 16px;
   opacity: 0.5;
 }
 
 @media (min-resolution: 2dppx) {
-  .variable-or-property[non-writable] > .title:after {
-    background-image: url("chrome://browser/skin/identity-icons-https@2x.png");
+  .variable-or-property-non-writable-icon > .title:after {
+    background-image: url("chrome://browser/skin/devtools/vview-lock@2x.png");
     background-size: 32px;
   }
 }
 
-.variable-or-property[exception]:not(:focus) > .title > .name {
-  color: #FF0000;
+.variable-or-property-frozen-label,
+.variable-or-property-sealed-label,
+.variable-or-property-non-extensible-label {
+  -moz-padding-end: 4px;
+}
+
+.variable-or-property:not(:focus) > .title > .variable-or-property-frozen-label,
+.variable-or-property:not(:focus) > .title > .variable-or-property-sealed-label,
+.variable-or-property:not(:focus) > .title > .variable-or-property-non-extensible-label {
+  color: #A09090;
+}
+
+/* Aligned values */
+
+.variables-view-container[aligned-values] .title > .separator {
+  -moz-box-flex: 1;
+}
+
+.variables-view-container[aligned-values] .title > .value {
+  -moz-box-flex: 0;
+  width: 70vw;
+}
+
+.variables-view-container[aligned-values] .title > .element-value-input {
+  width: calc(70vw - 10px);
+}
+
+/* Actions first */
+
+.variables-view-container[actions-first] .variables-view-delete,
+.variables-view-container[actions-first] .variables-view-open-inspector,
+.variables-view-container[actions-first] .variables-view-add-property {
+  -moz-box-ordinal-group: 0;
+}
+
+.variables-view-container[actions-first] [invisible] {
+  visibility: hidden;
 }
 
 /* Variables and properties tooltips */
   margin: 0 2px 0 2px;
 }
 
-.variable-or-property[non-enumerable] > tooltip > label[value=enumerable],
-.variable-or-property[non-configurable] > tooltip > label[value=configurable],
-.variable-or-property[non-writable] > tooltip > label[value=writable] {
+.variable-or-property[non-enumerable] > tooltip > label.enumerable,
+.variable-or-property[non-configurable] > tooltip > label.configurable,
+.variable-or-property[non-writable] > tooltip > label.writable
+.variable-or-property[non-extensible] > tooltip > label.extensible {
+  color: #A09090;
   text-decoration: line-through;
 }
 
-.variable-or-property:not([safe-getter]) > tooltip > label[value=native-getter] {
-  display: none;
+.variable-or-property[overridden] > tooltip > label.overridden {
+  -moz-padding-start: 4px;
+  -moz-border-start: 1px dotted #9C9CFF;
+}
+
+.variable-or-property[safe-getter] > tooltip > label.WebIDL {
+  -moz-padding-start: 4px;
+  -moz-border-start: 1px dotted #9C9CFF;
+  color: #008484;
 }
 
 /* Variables and properties editing */
 
 .variables-view-delete {
-  list-style-image: url("chrome://global/skin/icons/close.png");
-  -moz-image-region: rect(0, 16px, 16px, 0);
-  opacity: 0;
+  list-style-image: url("chrome://browser/skin/devtools/vview-delete.png");
+  -moz-image-region: rect(0,16px,16px,0);
 }
 
 .variables-view-delete:hover {
-  opacity: 1;
+  -moz-image-region: rect(0,48px,16px,32px);
 }
 
-*:hover > .title > .variables-view-delete:not(:hover),
-*:focus > .title > .variables-view-delete:not(:hover) {
-  opacity: 0.5;
-  transition: opacity 0.2s ease-in-out;
+.variables-view-delete:active {
+  -moz-image-region: rect(0,32px,16px,16px);
 }
 
-.variables-view-delete > .toolbarbutton-text {
-  display: none;
+.variable-or-property:focus .variables-view-delete {
+/*  -moz-image-region: rect(0,16px,16px,0); */
 }
 
 .variables-view-edit {
-  background: url("chrome://browser/skin/tabview/edit-light.png") center no-repeat;
-  width: 20px;
-  height: 16px;
+  list-style-image: url("chrome://browser/skin/devtools/vview-edit.png");
+  -moz-image-region: rect(0,16px,16px,0);
+  cursor: pointer;
+  padding-left: 2px;
+}
+
+.variables-view-edit:hover {
+ -moz-image-region: rect(0,48px,16px,32px);
+}
+
+.variables-view-edit:active {
+  -moz-image-region: rect(0,32px,16px,16px);
+}
+
+.variable-or-property:focus .variables-view-edit {
+/*  -moz-image-region: rect(0,16px,16px,0); */
+}
+
+.variables-view-open-inspector {
+  list-style-image: url("chrome://browser/skin/devtools/vview-open-inspector.png");
+  -moz-image-region: rect(0,16px,16px,0);
   cursor: pointer;
 }
 
+.variables-view-open-inspector:hover {
+  -moz-image-region: rect(0,48px,16px,32px);
+}
+
+.variables-view-open-inspector:active {
+  -moz-image-region: rect(0,32px,16px,16px);
+}
+
+.variable-or-property:focus .variables-view-open-inspector {
+/*  -moz-image-region: rect(0,16px,16px,0); */
+}
+
 .variables-view-throbber {
   background: url("chrome://global/skin/icons/loading_16.png") center no-repeat;
   width: 16px;
 }
 
 .element-value-input {
-  -moz-margin-start: 4px !important;
+  -moz-margin-start: -2px !important;
   -moz-margin-end: 2px !important;
 }
 
 .element-name-input {
   -moz-margin-start: -2px !important;
   -moz-margin-end: 2px !important;
-  color: #E7ADE7;
   font-weight: 600;
 }
 
 .element-value-input,
 .element-name-input {
   border: 1px solid #008484 !important;
+  color: inherit;
 }
 
 /* Variables and properties searching */
   min-height: 24px;
 }
 
-.variable-or-property[non-match] {
+.variable-or-property[unmatched] {
   border: none;
   margin: 0;
 }
 .arrow {
   background: url("chrome://global/skin/tree/twisty-closed.gif") center center no-repeat;
   width: 9px;
-  height: 20px;
+  height: 16px;
   -moz-margin-start: 5px;
   -moz-margin-end: 5px;
 }
 }
 
 .arrow[open] {
-  background-image: url("chrome://global/skin/tree/twisty-open.png");
+  background-image: url("chrome://global/skin/tree/twisty-open.gif");
 }
 
 .variables-view-scope > .title > .arrow[open] {
 .arrow[invisible] {
   visibility: hidden;
 }
+
+/* Charts */
+
+.generic-chart-container {
+  /* Hack: force hardware acceleration */
+  transform: translateZ(1px);
+}
+
+.theme-dark .generic-chart-container {
+  color: #A09090; /* Light foreground text */
+}
+
+.theme-dark .chart-colored-blob {
+  fill: #9C9CFF; /* Light content text */
+  background: #9C9CFF;
+}
+
+/* Charts: Pie */
+
+.pie-chart-slice {
+  stroke-width: 1px;
+  cursor: pointer;
+}
+
+.theme-dark .pie-chart-slice {
+  stroke: #A09090;
+}
+
+.theme-dark .pie-chart-slice[largest] {
+  stroke-width: 2px;
+  stroke: #9C9CFF;
+}
+
+.pie-chart-label {
+  text-anchor: middle;
+  dominant-baseline: middle;
+  pointer-events: none;
+}
+
+.theme-dark .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 #A09090; /* Grey foreground text */
+}
+
+.table-chart-summary-label {
+  font-weight: 600;
+  padding: 1px 0px;
+}
+
+.table-chart-summary-label {
+  color: #A09090; /* Light foreground text */
+}
+
+/* === 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: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 === */