| 1 | /* ***** BEGIN LICENSE BLOCK ***** |
| 2 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
| 3 | * |
| 4 | * The contents of this file are subject to the Mozilla Public License Version |
| 5 | * 1.1 (the "License"); you may not use this file except in compliance with |
| 6 | * the License. You may obtain a copy of the License at |
| 7 | * http://www.mozilla.org/MPL/ |
| 8 | * |
| 9 | * Software distributed under the License is distributed on an "AS IS" basis, |
| 10 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License |
| 11 | * for the specific language governing rights and limitations under the |
| 12 | * License. |
| 13 | * |
| 14 | * The Original Code is DevTools code |
| 15 | * |
| 16 | * The Initial Developer of the Original Code is |
| 17 | * Mozilla Corporation |
| 18 | * Portions created by the Initial Developer are Copyright (C) 2010 |
| 19 | * the Initial Developer. All Rights Reserved. |
| 20 | * |
| 21 | * Contributor(s): |
| 22 | * David Dahl <ddahl@mozilla.com> |
| 23 | |
| 24 | * Alternatively, the contents of this file may be used under the terms of |
| 25 | * either the GNU General Public License Version 2 or later (the "GPL"), or |
| 26 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
| 27 | * in which case the provisions of the GPL or the LGPL are applicable instead |
| 28 | * of those above. If you wish to allow use of your version of this file only |
| 29 | * under the terms of either the GPL or the LGPL, and not to allow others to |
| 30 | * use your version of this file under the terms of the MPL, indicate your |
| 31 | * decision by deleting the provisions above and replace them with the notice |
| 32 | * and other provisions required by the GPL or the LGPL. If you do not delete |
| 33 | * the provisions above, a recipient may use your version of this file under |
| 34 | * the terms of any one of the MPL, the GPL or the LGPL. |
| 35 | * |
| 36 | * ***** END LICENSE BLOCK ***** */ |
| 37 | |
| 38 | .hud-box { |
| 39 | border-bottom: 3px solid #000000; |
| 40 | } |
| 41 | |
| 42 | .hud-box.animated { |
| 43 | -moz-transition: height 350ms; |
| 44 | } |
| 45 | |
| 46 | .hud-outer-wrapper { |
| 47 | width: 100%; |
| 48 | height: 100%; |
| 49 | } |
| 50 | |
| 51 | .hud-console-wrapper { |
| 52 | width: 100%; |
| 53 | overflow: auto; |
| 54 | } |
| 55 | |
| 56 | .hud-main-label { |
| 57 | font-size: 1em; |
| 58 | padding-top: 0.33em; |
| 59 | font-weight: bold; |
| 60 | } |
| 61 | |
| 62 | .hud-output-node div { |
| 63 | -moz-user-select: text; |
| 64 | white-space: pre-wrap; |
| 65 | -moz-user-focus: normal; |
| 66 | } |
| 67 | |
| 68 | .hud-clickable { |
| 69 | cursor: pointer; |
| 70 | text-decoration: underline; |
| 71 | } |
| 72 | |
| 73 | .hud-network { |
| 74 | color: blue; |
| 75 | } |
| 76 | |
| 77 | .hud-error { |
| 78 | color: red; |
| 79 | } |
| 80 | |
| 81 | .hud-log { |
| 82 | color: black; |
| 83 | } |
| 84 | |
| 85 | .hud-warn { |
| 86 | color: orange; |
| 87 | } |
| 88 | |
| 89 | .hud-info { |
| 90 | color: green; |
| 91 | } |
| 92 | |
| 93 | .hud-exception { |
| 94 | color: red; font-weight: bold; |
| 95 | } |
| 96 | |
| 97 | .hud-msg-node { |
| 98 | width: 100%; |
| 99 | margin-top: 0.3em; |
| 100 | margin-bottom: 0.3em; |
| 101 | padding-left: 1em; |
| 102 | -moz-user-select: text; |
| 103 | white-space: pre-wrap; |
| 104 | -moz-user-focus: normal; |
| 105 | } |
| 106 | |
| 107 | .hud-output-node { |
| 108 | border-bottom: 1px solid #ddd; |
| 109 | border-top: 1px solid #ddd; |
| 110 | overflow-x: auto; overflow: auto; |
| 111 | font: 1em monospace; background-color: white; |
| 112 | width: 100%; |
| 113 | } |
| 114 | |
| 115 | .hud-filtered-by-type, |
| 116 | .hud-filtered-by-string { |
| 117 | display: none; |
| 118 | } |
| 119 | |
| 120 | .hud-group:first-child > .hud-divider { |
| 121 | display: none; |
| 122 | } |
| 123 | |
| 124 | /* JSTerm Styles */ |
| 125 | |
| 126 | .jsterm-wrapper-node { |
| 127 | font-family: monospace; |
| 128 | font-size: 1em; |
| 129 | background-color: #000; |
| 130 | border: 1px solid #333; |
| 131 | padding: 0.1em; |
| 132 | width: 100%; |
| 133 | height: 400px; |
| 134 | } |
| 135 | |
| 136 | .jsterm-output-node { |
| 137 | width: 100%; |
| 138 | height: 400px; |
| 139 | color: white; |
| 140 | background-color: black; |
| 141 | overflow: auto; |
| 142 | overflow-x: auto; |
| 143 | position: absolute; |
| 144 | -moz-box-direction: reverse; |
| 145 | } |
| 146 | |
| 147 | .jsterm-scroll-to-node { |
| 148 | height: 1px; width: 1px; position: relative; top: 92%; display: block; |
| 149 | } |
| 150 | |
| 151 | .jsterm-input-node { |
| 152 | font-family: monospace; |
| 153 | font-size: 9pt; |
| 154 | background: url("chrome://global/skin/icons/commandline.png") 4px 3px no-repeat; |
| 155 | border: none; |
| 156 | padding: 0px 0px 0px 16px; |
| 157 | } |
| 158 | |
| 159 | .jsterm-input-node > .textbox-input-box > .textbox-textarea { |
| 160 | overflow-x: hidden; |
| 161 | } |
| 162 | |
| 163 | .jsterm-output-line { |
| 164 | font-size: 1em; |
| 165 | } |
| 166 | |
| 167 | .hud-console-filter-toolbar { |
| 168 | padding: 1px 0px; |
| 169 | -moz-box-align: center; |
| 170 | } |
| 171 | |
| 172 | .jsterm-close-button { |
| 173 | background: none; |
| 174 | border: none; |
| 175 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); |
| 176 | margin: 0px; |
| 177 | min-width: 0px; |
| 178 | padding: 1px 3px 1px 7px; |
| 179 | -moz-user-focus: ignore; |
| 180 | } |
| 181 | |
| 182 | .jsterm-close-button:hover, .jsterm-close-button:active { |
| 183 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); |
| 184 | } |