| 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 100ms; |
| 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 | .webconsole-clear-console-button > .toolbarbutton-icon { |
| 121 | display: none; |
| 122 | } |
| 123 | |
| 124 | -moz-box-orient: horizontal; |
| 125 | list-style-image: url("chrome://global/skin/icons/webconsole.png"); |
| 126 | } |
| 127 | |
| 128 | /* Network button */ |
| 129 | .webconsole-filter-button[category="net"] { |
| 130 | -moz-image-region: rect(0, 40px, 10px, 30px); |
| 131 | } |
| 132 | |
| 133 | /* CSS button */ |
| 134 | .webconsole-filter-button[category="css"] { |
| 135 | -moz-image-region: rect(10px, 40px, 20px, 30px); |
| 136 | } |
| 137 | |
| 138 | /* JS button */ |
| 139 | .webconsole-filter-button[category="js"] { |
| 140 | -moz-image-region: rect(20px, 40px, 30px, 30px); |
| 141 | } |
| 142 | |
| 143 | /* Web Developer button */ |
| 144 | .webconsole-filter-button[category="webdev"] { |
| 145 | -moz-image-region: rect(30px, 40px, 40px, 30px); |
| 146 | } |
| 147 | |
| 148 | .webconsole-close-button { |
| 149 | border: none; |
| 150 | padding: 3px; |
| 151 | list-style-image: url("chrome://global/skin/icons/close.png"); |
| 152 | -moz-image-region: rect(0, 16px, 16px, 0); |
| 153 | -moz-appearance: none; |
| 154 | } |
| 155 | |
| 156 | .webconsole-close-button:hover { |
| 157 | -moz-image-region: rect(0, 32px, 16px, 16px); |
| 158 | } |
| 159 | |
| 160 | .webconsole-close-button:hover:active { |
| 161 | -moz-image-region: rect(0, 48px, 16px, 32px); |
| 162 | } |
| 163 | |
| 164 | /* JSTerm Styles */ |
| 165 | |
| 166 | .jsterm-wrapper-node { |
| 167 | font-family: monospace; |
| 168 | font-size: 1em; |
| 169 | background-color: #000; |
| 170 | border: 1px solid #333; |
| 171 | padding: 0.1em; |
| 172 | width: 100%; |
| 173 | height: 400px; |
| 174 | } |
| 175 | |
| 176 | .jsterm-output-node { |
| 177 | width: 100%; |
| 178 | height: 400px; |
| 179 | color: white; |
| 180 | background-color: black; |
| 181 | overflow: auto; |
| 182 | overflow-x: auto; |
| 183 | position: absolute; |
| 184 | -moz-box-direction: reverse; |
| 185 | } |
| 186 | |
| 187 | .jsterm-scroll-to-node { |
| 188 | height: 1px; width: 1px; position: relative; top: 92%; display: block; |
| 189 | } |
| 190 | |
| 191 | .jsterm-input-node, |
| 192 | .jsterm-complete-node { |
| 193 | font-family: monospace; |
| 194 | font-size: 9pt; |
| 195 | border: none; |
| 196 | padding: 0 0 0 16px; |
| 197 | } |
| 198 | |
| 199 | .jsterm-input-node { |
| 200 | background: url("chrome://global/skin/icons/commandline.png") 4px 3px no-repeat; |
| 201 | } |
| 202 | |
| 203 | :-moz-any(.jsterm-input-node, |
| 204 | .jsterm-complete-node) > .textbox-input-box > .textbox-textarea { |
| 205 | overflow-x: hidden; |
| 206 | } |
| 207 | |
| 208 | .jsterm-complete-node > .textbox-input-box > .textbox-textarea { |
| 209 | color: #8050B0; |
| 210 | } |
| 211 | |
| 212 | .jsterm-output-line { |
| 213 | font-size: 1em; |
| 214 | } |
| 215 | |
| 216 | .hud-console-filter-toolbar { |
| 217 | padding: 1px 0px; |
| 218 | -moz-box-align: center; |
| 219 | } |