box-sizing: border-box;
}
+.message > .prefix,
.message > .timestamp {
flex: none;
color: #8050B0;
- margin: 4px 6px 0 0;
+ margin: 3px 6px 0 0;
}
.message > .indent {
.message > .icon::before {
content: "";
- background-image: url("chrome://browser/skin/devtools/webconsole.png");
- background-position: 8px 8px;
+ background-image: url("chrome://browser/skin/devtools/webconsole.svg");
+ background-position: 12px 12px;
background-repeat: no-repeat;
- background-size: 48px 40px;
- width: 8px;
- height: 8px;
+ background-size: 72px 60px;
+ width: 12px;
+ height: 12px;
display: inline-block;
}
-@media (min-resolution: 2dppx) {
- .message > .icon::before {
- background-image: url("chrome://browser/skin/devtools/webconsole@2x.png");
- }
-}
-
.message > .message-body-wrapper {
flex: 1 1 100%;
margin: 3px;
display: flex;
}
-.message-body {
+.message-body > * {
white-space: pre-wrap;
word-wrap: break-word;
}
.message-flex-body > .message-body {
display: block;
- flex: 1 1 main-size;
+ flex: 1 1 auto;
vertical-align: middle;
}
}
#output-container.hideTimestamps > .message > .indent {
- background-color: #000000; /* .theme-body */
+ background-color: var(--theme-body-background);
}
.filtered-by-type,
/* WebConsole colored drops */
+.hud-console-filter-toolbar toolbarbutton > .toolbarbutton-text {
+ padding: 2px 2px 3px;
+}
+
.webconsole-filter-button {
-moz-user-focus: normal;
}
height: 8px;
width: 8px;
border-radius: 50%;
- margin-left: 5px;
+ -moz-margin-start: 2px;
+ -moz-margin-end: 2px;
border-width: 1px;
border-style: solid;
}
+.webconsole-filter-button > .toolbarbutton-menubutton-button {
+ -moz-box-orient: horizontal;
+}
+
.webconsole-filter-button menuitem {
-moz-image-region: auto;
}
}
.message:hover {
- background-color: #404000;
+ background-color: var(--theme-contrast-background);
}
.message[severity=error] {
}
.console-string {
- color: #FF0000;
+ color: var(--theme-highlight-orange);
+}
+
+.message[severity=error] .console-string {
+ color: #000000;
}
.theme-selected .console-string,
}
.message[category=network][severity=error] > .icon::before {
- background-position: -8px 0;
+ background-position: -12px 0;
}
.message[category=network] > .message-body {
}
.message[category=network]:not(.navigation-marker) .url {
- flex: 1 1 main-size;
+ flex: 1 1 auto;
/* Make sure the URL is very small initially, let flex change width as needed. */
width: 100px;
min-width: 5em;
margin: 0 6px;
}
+.message[category=network] .xhr {
+ background-color: var(--theme-body-color-alt);
+ color: var(--theme-body-background);
+ border-radius: 3px;
+ font-weight: bold;
+ font-size: 10px;
+ padding: 2px;
+ line-height: 10px;
+ -moz-margin-end: 1ex;
+}
+
/* CSS styles */
.webconsole-filter-button[category="css"] > .toolbarbutton-menubutton-button:before {
background-image: linear-gradient(#7575BF, #4E4E7F);
}
.message[category=cssparser][severity=error] > .icon::before {
- background-position: -8px -8px;
+ background-position: -12px -12px;
}
.message[category=cssparser][severity=warn] > .icon::before {
- background-position: -16px -8px;
+ background-position: -24px -12px;
}
/* JS styles */
}
.message[category=exception][severity=error] > .icon::before {
- background-position: -8px -16px;
+ background-position: -12px -24px;
}
.message[category=exception][severity=warn] > .icon::before {
- background-position: -16px -16px;
+ background-position: -24px -24px;
}
/* Web Developer styles */
.message[category=console][severity=error] > .icon::before,
.message[category=output][severity=error] > .icon::before {
- background-position: -8px -24px;
+ background-position: -12px -36px;
}
.message[category=console][severity=warn] > .icon::before {
- background-position: -16px -24px;
+ background-position: -24px -36px;
}
.message[category=console][severity=info] > .icon::before {
- background-position: -24px -24px;
+ background-position: -36px -36px;
}
/* Input and output styles */
}
.message[category=input] > .icon::before {
- background-position: -32px -24px;
+ background-position: -48px -36px;
}
.message[category=output] > .icon::before {
- background-position: -40px -24px;
+ background-position: -60px -36px;
}
/* JSTerm Styles */
background-size: 16px 16px;
}
-@media (min-resolution: 2dppx) {
+@media (min-resolution: 1.1dppx) {
.jsterm-input-node {
background-image: -moz-image-rect(url('chrome://browser/skin/devtools/commandline-icon@2x.png'), 0, 64, 32, 32);
}
.inlined-variables-view .message-body {
display: flex;
flex-direction: column;
+ resize: vertical;
+ overflow: auto;
+ min-height: 200px;
}
.inlined-variables-view iframe {
}
.message[category=security][severity=error] > .icon::before {
- background-position: -8px -32px;
+ background-position: -12px -48px;
}
.message[category=security][severity=warn] > .icon::before {
- background-position: -16px -32px;
+ background-position: -24px -48px;
}
.navigation-marker {
.stacktrace .function {
display: block;
- flex: 1 1 main-size;
+ flex: 1 1 auto;
}
.cm-s-mozilla a[class] {
/* Replace these values with CSS variables as available */
.jsterm-input-container {
- background-color: #000000; /* tabToolbarBackgroundColor */
- border-color: #9C9CFF; /* mainBackgroundColor */
+ background-color: var(--theme-toolbar-background);
+ border-color: var(--theme-splitter-color);
}
.jsterm-input-node {
- color: #E7ADE7; /* textColor */
+ color: var(--theme-highlight-pink);
}
.jsterm-complete-node {
- color: #A09090; /* commentColor */
+ color: var(--theme-comment);
}
.navigation-marker .url {
- background: #000000; /* mainBackgroundColor */
+ background: var(--theme-body-background);
}
.inlined-variables-view iframe {
}
.webconsole-filter-button > .toolbarbutton-menubutton-button:before {
width: 12px;
- height: 12x;
+ height: 12px;
margin-left: 1px;
}
.toolbarbutton-menubutton-dropmarker {
.toolbarbutton-text {
display: -moz-box;
}
+ /*
.devtools-toolbarbutton {
margin-top: 3px;
}
.hud-console-filter-toolbar .devtools-toolbarbutton {
margin-top: 5px;
}
+ */
}
/* === END webconsole.inc.css === */