X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fdevtools%2Fwebconsole.css;h=4c4c3c33d654c4e5b752cbb93e8c7a140383ff97;hp=e71ffa56ef7e997123c8d1f33ae9a677166583f8;hb=b27cc46e639c7b6f88a224a7492701957379c32c;hpb=84abe3e37a3cc17e23400d9f19eecac3a8134d72 diff --git a/LCARStrek/browser/devtools/webconsole.css b/LCARStrek/browser/devtools/webconsole.css index e71ffa56..4c4c3c33 100644 --- a/LCARStrek/browser/devtools/webconsole.css +++ b/LCARStrek/browser/devtools/webconsole.css @@ -1,65 +1,35 @@ -/* ***** 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 - - * 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 ***** */ - -.hud-box { - border-bottom: 3px solid #000000; -} - -.hud-box.animated { - -moz-transition: height 100ms; -} - -.hud-outer-wrapper { - width: 100%; - height: 100%; -} - -.hud-console-wrapper { - width: 100%; - overflow: auto; +/* 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/. */ + +window { + padding: 0; } +.webconsole-timestamp, +.webconsole-msg-body, +.jsterm-input-node, +.jsterm-complete-node { + font-family: "Liberation Mono", Consolas, "Courier New", monospace; +} + +/* + * This hardcoded width likely due to a toolkit Windows specific bug. + * See http://hg.mozilla.org/mozilla-central/annotate/f38d6df93cad/toolkit/themes/winstripe/global/textbox-aero.css#l7 + */ + +.hud-filter-box { + width: 200px; +} + +/* === webconsole.inc.css === */ + /* General output styles */ .webconsole-timestamp { color: #8050B0; margin-top: 0; margin-bottom: 0; - font: 12px "Liberation Mono", Consolas, "Courier New", monospace; } .hud-msg-node { @@ -73,12 +43,6 @@ height: 8px; } -.hud-output-node div { - -moz-user-select: text; - white-space: pre-wrap; - -moz-user-focus: normal; -} - .hud-clickable { cursor: pointer; text-decoration: underline; @@ -90,7 +54,7 @@ -moz-margin-start: 3px; -moz-margin-end: 6px; white-space: pre-wrap; - font: 12px "Liberation Mono", Consolas, "Courier New", monospace; + font-family: "Liberation Mono", Consolas, "Courier New", monospace; } .webconsole-msg-body-piece { @@ -110,7 +74,7 @@ background-color: #FF0000; border-radius: 40px; /* font: message-box; */ - font-size: 10px; + font-size: 0.9em; font-weight: 600; } @@ -128,20 +92,23 @@ text-align: end; } +.webconsole-mixed-content { + color: #FF0000; +} + +.webconsole-mixed-content-link { + color: #3333FF; + margin: 0; +} + .hud-msg-node[selected="true"] > .webconsole-timestamp, .hud-msg-node[selected="true"] > .webconsole-location { color: inherit; } -.jsterm-input-node, -.jsterm-complete-node { - font: 12px "Liberation Mono", Consolas, "Courier New", monospace; -} - .hud-output-node { -moz-appearance: none; border-bottom: 1px solid #9C9CFF; - border-top: 1px solid #9C9CFF; margin: 0; } @@ -150,22 +117,32 @@ display: none; } -.webconsole-clear-console-button > .toolbarbutton-icon { - display: none; +.hidden-message { + display: block; + visibility: hidden; + height: 0; + overflow: hidden; } -.webconsole-filter-button > .toolbarbutton-menubutton-button { - -moz-box-orient: horizontal; - list-style-image: url("chrome://browser/skin/devtools/webconsole.png"); +/* WebConsole colored drops */ + +.webconsole-filter-button { + -moz-user-focus: normal; } -.webconsole-filter-button:hover:active > .toolbarbutton-menubutton-button, -.webconsole-filter-button[open="true"] > .toolbarbutton-menubutton-button { +.webconsole-filter-button[checked] { + /* color: white !important; */ } -.webconsole-filter-button { - -moz-margin-start: 3px; - padding: 0 !important; +.webconsole-filter-button > .toolbarbutton-menubutton-button:before { + content: ""; + display: inline-block; + height: 8px; + width: 8px; + border-radius: 50%; + margin-left: 5px; + border-width: 1px; + border-style: solid; } .webconsole-filter-button menuitem { @@ -178,12 +155,13 @@ } /* Network styles */ -.webconsole-filter-button[category="net"] { - -moz-image-region: rect(0, 8px, 8px, 0); +.webconsole-filter-button[category="net"] > .toolbarbutton-menubutton-button:before { + background-image: linear-gradient(#BF9B00, #7F6700); + border-color: #FFCF00; } .webconsole-msg-network > .webconsole-msg-icon-container { - -moz-border-start: solid #000 6px; + -moz-border-start: solid #FFCF00 6px; } .webconsole-msg-network.webconsole-msg-error { @@ -191,12 +169,13 @@ } /* CSS styles */ -.webconsole-filter-button[category="css"] { - -moz-image-region: rect(8px, 8px, 16px, 0); +.webconsole-filter-button[category="css"] > .toolbarbutton-menubutton-button:before { + background-image: linear-gradient(#7575BF, #4E4E7F); + border-color: #9C9CFF; } .webconsole-msg-cssparser > .webconsole-msg-icon-container { - -moz-border-start: solid #00b6f0 6px; + -moz-border-start: solid #9C9CFF 6px; } .webconsole-msg-cssparser.webconsole-msg-error { @@ -208,12 +187,13 @@ } /* JS styles */ -.webconsole-filter-button[category="js"] { - -moz-image-region: rect(16px, 8px, 24px, 0); +.webconsole-filter-button[category="js"] > .toolbarbutton-menubutton-button:before { + background-image: linear-gradient(#BF7700, #7F4F00); + border-color: #FF9F00; } .webconsole-msg-exception > .webconsole-msg-icon-container { - -moz-border-start: solid #fb9500 6px; + -moz-border-start: solid #FF9F00 6px; } .webconsole-msg-exception.webconsole-msg-error { @@ -225,12 +205,13 @@ } /* Web Developer styles */ -.webconsole-filter-button[category="logging"] { - -moz-image-region: rect(24px, 8px, 32px, 0); +.webconsole-filter-button[category="logging"] > .toolbarbutton-menubutton-button:before { + background-image: linear-gradient(#5F3B83, #3F2756); + border-color: #8050B0; } .webconsole-msg-console > .webconsole-msg-icon-container { - -moz-border-start: solid #cbcbcb 6px; + -moz-border-start: solid #8050B0 6px; } .webconsole-msg-console.webconsole-msg-error, @@ -260,53 +241,16 @@ -moz-image-region: rect(24px, 48px, 32px, 40px); } -.webconsole-close-button { - border: none; - padding-top: 4px; - padding-bottom: 5px; - list-style-image: url("chrome://global/skin/icons/close-button.gif"); -} - -.webconsole-close-button:hover, -.webconsole-close-button:hover:active { - list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); -} - /* JSTerm Styles */ -.jsterm-wrapper-node { - font-family: "Liberation Mono", Consolas, "Courier New", monospace; - font-size: 1em; - background-color: #000; - border: 1px solid #333; - padding: 0.1em; - width: 100%; - height: 400px; -} - -.jsterm-output-node { - width: 100%; - height: 400px; - color: white; - background-color: black; - overflow: auto; - overflow-x: auto; - position: absolute; - -moz-box-direction: reverse; -} - -.jsterm-scroll-to-node { - height: 1px; width: 1px; position: relative; top: 92%; display: block; -} - .jsterm-input-node, .jsterm-complete-node { - border: none; - padding: 0 0 0 16px; + -moz-padding-start: 16px; + margin: 3px 0 0 0; } .jsterm-input-node { - background: url("chrome://global/skin/icons/commandline.png") 4px 3px no-repeat; + background: -moz-image-rect(url("chrome://browser/skin/devtools/commandline-icon.png"), 0, 32, 16, 16) no-repeat; } :-moz-any(.jsterm-input-node, @@ -318,25 +262,33 @@ color: #8050B0; } -.jsterm-output-line { - font-size: 1em; +.webconsole-msg-inspector iframe { + height: 7em; + margin-bottom: 15px; + -moz-margin-end: 15px; + border-radius: 4px; } -.hud-console-filter-toolbar { - -moz-box-align: center; +#webconsole-sidebar > tabs { + height: 0; + border: none; } -.web-console-panel { - -moz-appearance: none; - background-color: black; +/* Security styles */ + +.webconsole-msg-security > .webconsole-msg-icon-container { + -moz-border-start: solid #FF0000 6px; +} + +.webconsole-filter-button[category="security"] > .toolbarbutton-menubutton-button:before { + background-color: #FF0000; + border-color: #FFCF00; } -.web-console-panel > .hud-box { - height: 100%; - width: 100%; - background-color: black; +.webconsole-msg-security.webconsole-msg-error { + -moz-image-region: rect(32px, 16px, 40px, 8px); } -.hud-splitter { - border: 0; +.webconsole-msg-security.webconsole-msg-warn { + -moz-image-region: rect(32px, 24px, 40px, 16px); }