2010-06-22 09:51:50 -07:00
|
|
|
/* ***** BEGIN LICENSE BLOCK *****
|
|
|
|
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
|
|
|
*
|
|
|
|
* The contents of this file are subject to the Mozilla Public License Version
|
|
|
|
* 1.1 (the "License"); you may not use this file except in compliance with
|
|
|
|
* the License. You may obtain a copy of the License at
|
|
|
|
* http://www.mozilla.org/MPL/
|
|
|
|
*
|
|
|
|
* Software distributed under the License is distributed on an "AS IS" basis,
|
|
|
|
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
|
|
* for the specific language governing rights and limitations under the
|
|
|
|
* License.
|
|
|
|
*
|
|
|
|
* The Original Code is DevTools code
|
|
|
|
*
|
|
|
|
* The Initial Developer of the Original Code is
|
|
|
|
* Mozilla Corporation
|
|
|
|
* Portions created by the Initial Developer are Copyright (C) 2010
|
|
|
|
* the Initial Developer. All Rights Reserved.
|
|
|
|
*
|
|
|
|
* Contributor(s):
|
|
|
|
* David Dahl <ddahl@mozilla.com>
|
2010-08-13 10:36:05 -07:00
|
|
|
* Patrick Walton <pcwalton@mozilla.com>
|
2010-06-22 09:51:50 -07:00
|
|
|
|
|
|
|
* Alternatively, the contents of this file may be used under the terms of
|
|
|
|
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
|
|
|
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
|
|
* in which case the provisions of the GPL or the LGPL are applicable instead
|
|
|
|
* of those above. If you wish to allow use of your version of this file only
|
|
|
|
* under the terms of either the GPL or the LGPL, and not to allow others to
|
|
|
|
* use your version of this file under the terms of the MPL, indicate your
|
|
|
|
* decision by deleting the provisions above and replace them with the notice
|
|
|
|
* and other provisions required by the GPL or the LGPL. If you do not delete
|
|
|
|
* the provisions above, a recipient may use your version of this file under
|
|
|
|
* the terms of any one of the MPL, the GPL or the LGPL.
|
|
|
|
*
|
|
|
|
* ***** END LICENSE BLOCK ***** */
|
|
|
|
|
2010-08-17 13:46:23 -07:00
|
|
|
%include shared.inc
|
|
|
|
|
2010-06-22 09:51:50 -07:00
|
|
|
.hud-box {
|
2010-10-24 02:03:47 -07:00
|
|
|
border-bottom: 1px solid #aaa;
|
|
|
|
text-shadow: none;
|
2010-06-22 09:51:50 -07:00
|
|
|
}
|
|
|
|
|
2010-11-10 08:10:26 -08:00
|
|
|
.hud-box.animated {
|
2010-12-02 02:50:29 -08:00
|
|
|
-moz-transition: height 100ms;
|
2010-11-10 08:10:26 -08:00
|
|
|
}
|
|
|
|
|
2010-12-07 12:45:31 -08:00
|
|
|
.hud-splitter {
|
|
|
|
border-bottom: solid #a5a5a5 1px;
|
|
|
|
background: url("chrome://global/skin/splitter/dimple.png") no-repeat center,
|
|
|
|
-moz-linear-gradient(top, #fcfcfc, #dfdfdf);
|
|
|
|
}
|
|
|
|
|
2010-06-22 09:51:50 -07:00
|
|
|
.hud-outer-wrapper {
|
2010-10-24 02:17:06 -07:00
|
|
|
width: 100%;
|
2010-10-24 02:03:47 -07:00
|
|
|
height: 100%;
|
2010-06-22 09:51:50 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.hud-console-wrapper {
|
2010-10-24 02:17:06 -07:00
|
|
|
width: 100%;
|
|
|
|
overflow: auto;
|
2010-06-22 09:51:50 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.hud-main-label {
|
2010-10-24 02:03:47 -07:00
|
|
|
font-size: 1em;
|
|
|
|
padding-top: 0.33em;
|
|
|
|
font-weight: bold;
|
2010-06-22 09:51:50 -07:00
|
|
|
}
|
|
|
|
|
2010-09-07 15:37:47 -07:00
|
|
|
.hud-clickable {
|
2010-11-10 08:10:25 -08:00
|
|
|
cursor: pointer;
|
2010-10-24 02:03:47 -07:00
|
|
|
text-decoration: underline;
|
2010-09-07 15:37:47 -07:00
|
|
|
}
|
|
|
|
|
2010-11-10 08:10:25 -08:00
|
|
|
.hud-network {
|
2010-10-24 02:03:47 -07:00
|
|
|
color: blue;
|
2010-06-22 09:51:50 -07:00
|
|
|
}
|
|
|
|
|
2010-11-10 08:10:25 -08:00
|
|
|
.hud-error {
|
2010-10-24 02:03:47 -07:00
|
|
|
color: red;
|
2010-06-22 09:51:50 -07:00
|
|
|
}
|
|
|
|
|
2010-11-10 08:10:25 -08:00
|
|
|
.hud-log {
|
2010-10-24 02:03:47 -07:00
|
|
|
color: black;
|
2010-06-22 09:51:50 -07:00
|
|
|
}
|
|
|
|
|
2010-11-10 08:10:25 -08:00
|
|
|
.hud-warn {
|
2010-10-24 02:03:47 -07:00
|
|
|
color: orange;
|
2010-06-22 09:51:50 -07:00
|
|
|
}
|
|
|
|
|
2010-11-10 08:10:25 -08:00
|
|
|
.hud-info {
|
2010-10-24 02:03:47 -07:00
|
|
|
color: green;
|
2010-06-22 09:51:50 -07:00
|
|
|
}
|
|
|
|
|
2010-11-10 08:10:25 -08:00
|
|
|
.hud-exception {
|
2010-10-24 02:17:06 -07:00
|
|
|
color: red;
|
|
|
|
font-weight: bold;
|
2010-06-22 09:51:50 -07:00
|
|
|
}
|
|
|
|
|
2010-09-07 15:37:47 -07:00
|
|
|
.hud-msg-node {
|
2010-10-24 02:03:47 -07:00
|
|
|
width: 100%;
|
|
|
|
margin-top: 0.3em;
|
|
|
|
margin-bottom: 0.3em;
|
2010-11-10 08:10:25 -08:00
|
|
|
padding-left: 1em;
|
|
|
|
-moz-user-select: text;
|
|
|
|
white-space: pre-wrap;
|
|
|
|
-moz-user-focus: normal;
|
2010-06-22 09:51:50 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.hud-output-node {
|
2010-10-24 02:17:06 -07:00
|
|
|
border-bottom: 1px solid #ddd;
|
|
|
|
border-top: 1px solid #ddd;
|
|
|
|
overflow-x: auto;
|
|
|
|
overflow: auto;
|
|
|
|
font: 1em monospace;
|
|
|
|
background-color: white;
|
2010-10-24 02:03:47 -07:00
|
|
|
width: 100%;
|
2010-06-22 09:51:50 -07:00
|
|
|
}
|
|
|
|
|
2010-10-24 02:03:47 -07:00
|
|
|
.hud-filtered-by-type,
|
|
|
|
.hud-filtered-by-string {
|
|
|
|
display: none;
|
2010-08-18 16:53:49 -07:00
|
|
|
}
|
|
|
|
|
2010-12-02 02:50:29 -08:00
|
|
|
.webconsole-filter-button,
|
|
|
|
.webconsole-clear-console-button {
|
|
|
|
-moz-appearance: none;
|
|
|
|
border: @roundButtonBorder@;
|
|
|
|
background: @roundButtonBackground@;
|
|
|
|
box-shadow: @roundButtonShadow@;
|
|
|
|
color: buttontext;
|
|
|
|
margin: 1px 0;
|
|
|
|
padding: 0;
|
2010-08-09 11:35:33 -07:00
|
|
|
}
|
|
|
|
|
2010-12-02 02:50:29 -08:00
|
|
|
.webconsole-filter-button {
|
|
|
|
border-radius: 10000px;
|
|
|
|
-moz-margin-start: 6px;
|
|
|
|
-moz-box-orient: horizontal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.webconsole-clear-console-button {
|
|
|
|
border-radius: 3px;
|
|
|
|
-moz-margin-end: 6px;
|
|
|
|
-moz-margin-start: 4px;
|
|
|
|
padding: 1px 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.webconsole-filter-button[checked="true"] {
|
|
|
|
box-shadow: @roundButtonPressedShadow@;
|
|
|
|
background: #d0d0d0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.webconsole-filter-button > .toolbarbutton-menubutton-button {
|
|
|
|
-moz-appearance: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 1px 0;
|
|
|
|
list-style-image: url("chrome://global/skin/icons/webconsole.png");
|
|
|
|
-moz-box-orient: horizontal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.webconsole-filter-button:hover:active,
|
|
|
|
.webconsole-clear-console-button:hover:active {
|
|
|
|
text-shadow: @loweredShadow@;
|
|
|
|
box-shadow: @roundButtonPressedShadow@;
|
|
|
|
background: @roundButtonPressedBackground@;
|
|
|
|
}
|
|
|
|
|
|
|
|
.webconsole-clear-console-button > .toolbarbutton-text {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.webconsole-filter-button > .toolbarbutton-menubutton-button > .toolbarbutton-text {
|
|
|
|
margin: 0 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.webconsole-filter-button > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
|
|
|
|
-moz-margin-start: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.webconsole-filter-button > .toolbarbutton-menubutton-dropmarker {
|
|
|
|
padding: 6px 3px 2px;
|
|
|
|
-moz-border-start: dotted #aaaaaa 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Network button */
|
|
|
|
.webconsole-filter-button[category="net"] {
|
|
|
|
-moz-image-region: rect(0, 40px, 10px, 30px);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* CSS button */
|
|
|
|
.webconsole-filter-button[category="css"] {
|
|
|
|
-moz-image-region: rect(10px, 40px, 20px, 30px);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* JS button */
|
|
|
|
.webconsole-filter-button[category="js"] {
|
|
|
|
-moz-image-region: rect(20px, 40px, 30px, 30px);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Web Developer button */
|
|
|
|
.webconsole-filter-button[category="webdev"] {
|
|
|
|
-moz-image-region: rect(30px, 40px, 40px, 30px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.webconsole-close-button {
|
|
|
|
list-style-image: url("chrome://global/skin/icons/closetab.png");
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
-moz-margin-start: 3px;
|
|
|
|
-moz-margin-end: -14px;
|
|
|
|
min-width: 0;
|
|
|
|
-moz-appearance: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.webconsole-close-button:hover {
|
|
|
|
list-style-image: url("chrome://global/skin/icons/closetab-hover.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
.webconsole-close-button:hover:active {
|
|
|
|
list-style-image: url("chrome://global/skin/icons/closetab-active.png");
|
2010-08-10 03:58:37 -07:00
|
|
|
}
|
|
|
|
|
2010-06-22 09:51:50 -07:00
|
|
|
/* JSTerm Styles */
|
|
|
|
|
|
|
|
.jsterm-wrapper-node {
|
2010-10-24 02:17:06 -07:00
|
|
|
font-family: monospace;
|
2010-10-24 02:03:47 -07:00
|
|
|
font-size: 1em;
|
2010-10-24 02:17:06 -07:00
|
|
|
background-color: #000;
|
|
|
|
border: 1px solid #333;
|
2010-10-24 02:03:47 -07:00
|
|
|
padding: 0.1em;
|
|
|
|
width: 100%;
|
|
|
|
height: 400px;
|
2010-06-22 09:51:50 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.jsterm-output-node {
|
2010-10-24 02:17:06 -07:00
|
|
|
width: 100%;
|
|
|
|
height: 400px;
|
|
|
|
color: white;
|
|
|
|
background-color: black;
|
|
|
|
overflow: auto;
|
|
|
|
overflow-x: auto;
|
|
|
|
position: absolute;
|
2010-10-24 02:03:47 -07:00
|
|
|
-moz-box-direction: reverse;
|
2010-06-22 09:51:50 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.jsterm-scroll-to-node {
|
2010-10-24 02:17:06 -07:00
|
|
|
height: 1px;
|
|
|
|
width: 1px;
|
|
|
|
position: relative;
|
|
|
|
top: 92%;
|
|
|
|
display: block;
|
2010-06-22 09:51:50 -07:00
|
|
|
}
|
|
|
|
|
2010-12-09 02:56:44 -08:00
|
|
|
.jsterm-input-node,
|
|
|
|
.jsterm-complete-node {
|
2010-10-24 02:03:47 -07:00
|
|
|
font-family: monospace;
|
|
|
|
font-size: 9pt;
|
2010-11-10 08:10:25 -08:00
|
|
|
border: none;
|
2010-12-09 02:56:44 -08:00
|
|
|
padding: 0 0 0 16px;
|
2010-11-10 08:10:25 -08:00
|
|
|
-moz-appearance: none;
|
2010-06-22 09:51:50 -07:00
|
|
|
}
|
|
|
|
|
2010-12-09 02:56:44 -08:00
|
|
|
.jsterm-input-node {
|
|
|
|
background: url("chrome://global/skin/icons/commandline.png") 4px 2px no-repeat;
|
2010-08-10 15:04:43 -07:00
|
|
|
}
|
|
|
|
|
2010-12-09 02:56:44 -08:00
|
|
|
:-moz-any(.jsterm-input-node,
|
|
|
|
.jsterm-complete-node) > .textbox-input-box > .textbox-textarea {
|
|
|
|
overflow-x: hidden;
|
2010-10-05 04:01:44 -07:00
|
|
|
}
|
|
|
|
|
2010-12-09 02:56:44 -08:00
|
|
|
.jsterm-complete-node > .textbox-input-box > .textbox-textarea {
|
|
|
|
color: GrayText;
|
2010-10-05 04:01:44 -07:00
|
|
|
}
|
|
|
|
|
2010-06-22 09:51:50 -07:00
|
|
|
.jsterm-output-line {
|
2010-10-24 02:03:47 -07:00
|
|
|
font-size: 1em;
|
2010-06-22 09:51:50 -07:00
|
|
|
}
|
|
|
|
|
2010-06-24 17:16:35 -07:00
|
|
|
.hud-console-filter-toolbar {
|
2010-11-10 08:10:25 -08:00
|
|
|
background: @scopeBarBackground@;
|
|
|
|
border-bottom: @scopeBarSeparatorBorder@;
|
2010-10-24 02:03:47 -07:00
|
|
|
padding: 0px 1px;
|
2010-11-10 08:10:25 -08:00
|
|
|
-moz-appearance: none;
|
2010-10-24 02:03:47 -07:00
|
|
|
-moz-box-align: center;
|
2010-06-22 09:51:50 -07:00
|
|
|
}
|
2010-09-08 17:08:29 -07:00
|
|
|
|
2010-09-17 08:45:11 -07:00
|
|
|
.hud-console-filter-toolbar:-moz-lwtheme {
|
2010-11-10 08:10:25 -08:00
|
|
|
border-top: @scopeBarSeparatorBorder@;
|
2010-09-17 08:45:11 -07:00
|
|
|
}
|
|
|
|
|