gecko/browser/themes/gnomestripe/devtools/debugger.css

242 lines
3.3 KiB
CSS

/* -*- Mode: javascript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ft=javascript ts=2 et sw=2 tw=80: */
/* 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/. */
#body {
background: -moz-dialog;
}
div,
span {
font: inherit;
}
/**
* Debugger content
*/
#dbg-content {
padding: 6px;
}
#dbg-content > * > .vbox {
background-color: #fff;
border: 1px solid #bbb;
box-shadow: 0 -5px 10px -3px #ccc;
-moz-margin-end: -1px;
}
#dbg-content > * > .title {
text-shadow: 0 1px #fff;
}
/**
* Debugger statusbar
*/
#dbg-statusbar {
font: -moz-list;
padding: 2px;
-moz-padding-start: 5px;
}
/**
* Lists and headers
*/
.list-item {
padding: 2px;
font: -moz-list;
}
.list-item.selected {
background: Highlight;
color: HighlightText;
}
.list-item.empty {
color: GrayText;
}
/**
* Stack frames
*/
#stackframes {
background-color: white;
}
.dbg-stackframe {
-moz-padding-start: 4px;
-moz-padding-end: 4px;
}
.dbg-stackframe-name {
font-weight: 600;
}
/**
* Properties elements
*/
#variables {
background-color: white;
}
/**
* Generic element details container
*/
.details {
-moz-margin-start: 10px;
font: -moz-list;
}
/**
* Scope element
*/
.scope > .title {
margin-top: 1px;
-moz-margin-start: 1px;
-moz-padding-start: 2px;
background: -moz-linear-gradient(bottom,
rgb(160,175,205) 0,
rgb(120,140,175) 100%);
border-bottom: 1px solid #888;
box-shadow: 0 0 4px #ccc;
text-shadow: 0 1px #777;
color: #fff;
font: -moz-list;
}
.scope > .title > .name {
padding-top: 2px;
padding-bottom: 2px;
}
.scope > .details {
-moz-margin-start: 2px;
-moz-margin-end: 2px;
}
/**
* Variable element
*/
.variable {
-moz-margin-start: 1px;
-moz-margin-end: 1px;
margin-top: 2px;
border-bottom: 1px dotted #aaa;
border-radius: 8px;
-moz-transition: background 1s ease-in-out;
background: #fff;
}
.variable[changed] {
-moz-transition-duration: 0.4s;
background: rgba(255, 255, 0, 0.65);
}
.variable[added] {
-moz-transition-duration: 0.4s;
background: rgba(0, 255, 0, 0.15);
}
.variable > .title > .arrow {
margin-top: -2px;
}
.variable > .title > .name {
color: #048;
font-weight: 600;
}
/**
* Property element
*/
.property > .title > .arrow {
margin-top: -2px;
}
.property > .title > .key {
color: #881090;
}
/**
* Property colors
*/
.token-undefined {
-moz-padding-start: 6px;
color: #bbb;
}
.token-null {
-moz-padding-start: 6px;
color: #999;
}
.token-boolean {
-moz-padding-start: 6px;
color: #777;
}
.token-number {
-moz-padding-start: 6px;
color: #c40a16;
}
.token-string {
-moz-padding-start: 6px;
color: #1c00cf;
}
.token-other {
-moz-padding-start: 6px;
color: #333;
}
/**
* Expand/collapse arrow
*/
.arrow {
-moz-appearance: treetwisty;
-moz-margin-start: 10px;
-moz-margin-end: 5px;
}
.arrow[open] {
-moz-appearance: treetwistyopen;
}
/**
* Animations
*/
.details[open] {
-moz-animation-duration: 0.25s;
-moz-animation-name: showblock;
}
@-moz-keyframes showblock {
from {
opacity: 0;
-moz-transform-origin: top;
-moz-transform: scaleY(0);
}
to {
opacity: 1;
-moz-transform-origin: top;
-moz-transform: scaleY(1);
}
}