X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fdevtools%2Fwebconsole.css;h=db74540566db0e0975eacc285c505df0f2a5d0c9;hp=e71ffa56ef7e997123c8d1f33ae9a677166583f8;hb=e26e19e6c44b1bf357067b86f7606df982ab76f7;hpb=84abe3e37a3cc17e23400d9f19eecac3a8134d72 diff --git a/LCARStrek/browser/devtools/webconsole.css b/LCARStrek/browser/devtools/webconsole.css index e71ffa56..db745405 100644 --- a/LCARStrek/browser/devtools/webconsole.css +++ b/LCARStrek/browser/devtools/webconsole.css @@ -1,46 +1,9 @@ -/* ***** 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; +/* 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; } .hud-outer-wrapper { @@ -59,7 +22,7 @@ color: #8050B0; margin-top: 0; margin-bottom: 0; - font: 12px "Liberation Mono", Consolas, "Courier New", monospace; + font-family: "Liberation Mono", Consolas, "Courier New", monospace; } .hud-msg-node { @@ -90,7 +53,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 +73,7 @@ background-color: #FF0000; border-radius: 40px; /* font: message-box; */ - font-size: 10px; + font-size: 0.9em; font-weight: 600; } @@ -135,7 +98,7 @@ .jsterm-input-node, .jsterm-complete-node { - font: 12px "Liberation Mono", Consolas, "Courier New", monospace; + font-family: "Liberation Mono", Consolas, "Courier New", monospace; } .hud-output-node { @@ -150,22 +113,21 @@ display: none; } -.webconsole-clear-console-button > .toolbarbutton-icon { - display: none; -} - -.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:hover:active > .toolbarbutton-menubutton-button, -.webconsole-filter-button[open="true"] > .toolbarbutton-menubutton-button { +.webconsole-filter-button[checked=true] { + /* 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 +140,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 +154,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 +172,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 +190,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, @@ -246,6 +212,15 @@ -moz-image-region: rect(24px, 32px, 32px, 24px); } +webconsole-mixed-content { + color: #FF0000; +} + +.webconsole-mixed-content-link { + color: #9C9CFF; + margin: 0; +} + /* Input and output styles */ .webconsole-msg-input > .webconsole-msg-icon-container, .webconsole-msg-output > .webconsole-msg-icon-container { @@ -259,7 +234,7 @@ .webconsole-msg-output { -moz-image-region: rect(24px, 48px, 32px, 40px); } - +/* .webconsole-close-button { border: none; padding-top: 4px; @@ -271,42 +246,17 @@ .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: url("chrome://browser/skin/devtools/commandline.png") 4px 3px no-repeat; } :-moz-any(.jsterm-input-node, @@ -318,25 +268,13 @@ color: #8050B0; } -.jsterm-output-line { - font-size: 1em; -} - -.hud-console-filter-toolbar { - -moz-box-align: center; -} - -.web-console-panel { - -moz-appearance: none; - background-color: black; -} +/* Filter */ -.web-console-panel > .hud-box { - height: 100%; - width: 100%; - background-color: black; -} +/* + * 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-splitter { - border: 0; +.hud-filter-box { + width: 200px; }