From f0c3317fc33ea1c50127a9f77d81659861a8e9e1 Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Sun, 4 Jul 2010 22:22:00 +0200 Subject: [PATCH] update both themes for winstripe changes up to 2010-07-02 --- EarlyBlue/global/headsUpDisplay.css | 157 ++++++++++++++++++++ EarlyBlue/global/resizer.css | 36 ++--- EarlyBlue/mozapps/extensions/extensions.css | 3 +- LCARStrek/global/headsUpDisplay.css | 157 ++++++++++++++++++++ LCARStrek/global/resizer.css | 36 ++--- LCARStrek/mozapps/extensions/extensions.css | 3 +- 6 files changed, 348 insertions(+), 44 deletions(-) create mode 100644 EarlyBlue/global/headsUpDisplay.css create mode 100644 LCARStrek/global/headsUpDisplay.css diff --git a/EarlyBlue/global/headsUpDisplay.css b/EarlyBlue/global/headsUpDisplay.css new file mode 100644 index 00000000..a57272c9 --- /dev/null +++ b/EarlyBlue/global/headsUpDisplay.css @@ -0,0 +1,157 @@ +/* ***** 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: 1px solid #CCD0DD; +} + +.hud-outer-wrapper { + width: 100%; + height: 100%; +} + +.hud-console-wrapper { + width: 100%; + overflow: auto; +} + +.hud-main-label { + font-size: 1em; + padding-top: 0.33em; + font-weight: bold; +} + +.hud-output-node div { + -moz-user-select: text; +} + +.hud-output-node .hud-network { + color: blue; +} + +.hud-output-node .hud-error { + color: red; +} + +.hud-output-node .hud-log { + color: black; +} + +.hud-output-node .hud-warn { + color: orange; +} + +.hud-output-node .hud-info { + color: green; +} + +.hud-output-node .hud-exception { + color: red; font-weight: bold; +} + +.hud-hidden { + display: none; +} + +.hud-msg-node { + width: 100%; + margin-top: 0.3em; + margin-bottom: 0.3em; + padding-left: 0.3em; + border-bottom: 1px solid #eee; +} + +.hud-output-node { + border-bottom: 1px solid #ddd; + border-top: 1px solid #ddd; + overflow-x: auto; overflow: auto; + font: 1em monospace; background-color: white; + width: 100%; +} + +/* JSTerm Styles */ + +.jsterm-wrapper-node { + font-family: 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-output-node div { + -moz-user-select: text; +} + +.jsterm-scroll-to-node { + height: 1px; width: 1px; position: relative; top: 92%; display: block; +} + +.jsterm-input-node { + width: 98%; + font-family: monospace; + font-size: 1.2em; + line-height: 1.6em; + background-color: black; + color: white; +} + +.jsterm-output-line { + font-size: 1.2em; +} + +.hud-filter-btn { + margin: 2px !important; +} + +.hud-console-filter-toolbar { + padding: 1px 0px; + -moz-box-align: center; +} diff --git a/EarlyBlue/global/resizer.css b/EarlyBlue/global/resizer.css index 7b6425f6..d0878ee2 100644 --- a/EarlyBlue/global/resizer.css +++ b/EarlyBlue/global/resizer.css @@ -1,10 +1,22 @@ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); -/* resizer { - background-color: #CCD0DD; + -moz-appearance: resizer; + background: url("chrome://global/skin/icons/resizer.png") no-repeat; + cursor: se-resize; + width: 15px; + height: 15px; +} + +resizer[rtl="true"], +resizer[dir="bottomend"]:-moz-locale-dir(rtl) { + -moz-transform: scaleX(-1); +} + +resizer[dir="bottomleft"], +resizer[dir="bottomend"][rtl="true"] { + cursor: sw-resize; } -*/ resizer[dir="top"], resizer[dir="bottom"] { @@ -20,24 +32,6 @@ resizer[dir="topleft"] { cursor: nw-resize; } -resizer[dir="bottomright"], -resizer[dir="bottomend"]:-moz-locale-dir(ltr) { - cursor: se-resize; -} - resizer[dir="topright"] { cursor: ne-resize; } - -resizer[dir="bottomleft"], -resizer[dir="bottomend"]:-moz-locale-dir(rtl) { - cursor: sw-resize; -} - -resizer[dir="bottomright"]:-moz-locale-dir(ltr), -resizer[dir="bottomend"] { - background-image: url("chrome://global/skin/icons/resizer.png"); - background-position: bottom right; - width: 15px; - height: 15px; -} diff --git a/EarlyBlue/mozapps/extensions/extensions.css b/EarlyBlue/mozapps/extensions/extensions.css index 034b43f1..c11da816 100644 --- a/EarlyBlue/mozapps/extensions/extensions.css +++ b/EarlyBlue/mozapps/extensions/extensions.css @@ -335,7 +335,8 @@ -moz-box-align: end; } -.addon .name { +.addon .name, +.addon .version { font-size: 150%; margin-bottom: 0px; } diff --git a/LCARStrek/global/headsUpDisplay.css b/LCARStrek/global/headsUpDisplay.css new file mode 100644 index 00000000..24b972df --- /dev/null +++ b/LCARStrek/global/headsUpDisplay.css @@ -0,0 +1,157 @@ +/* ***** 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-outer-wrapper { + width: 100%; + height: 100%; +} + +.hud-console-wrapper { + width: 100%; + overflow: auto; +} + +.hud-main-label { + font-size: 1em; + padding-top: 0.33em; + font-weight: bold; +} + +.hud-output-node div { + -moz-user-select: text; +} + +.hud-output-node .hud-network { + color: blue; +} + +.hud-output-node .hud-error { + color: red; +} + +.hud-output-node .hud-log { + color: black; +} + +.hud-output-node .hud-warn { + color: orange; +} + +.hud-output-node .hud-info { + color: green; +} + +.hud-output-node .hud-exception { + color: red; font-weight: bold; +} + +.hud-hidden { + display: none; +} + +.hud-msg-node { + width: 100%; + margin-top: 0.3em; + margin-bottom: 0.3em; + padding-left: 0.3em; + border-bottom: 1px solid #eee; +} + +.hud-output-node { + border-bottom: 1px solid #ddd; + border-top: 1px solid #ddd; + overflow-x: auto; overflow: auto; + font: 1em monospace; background-color: white; + width: 100%; +} + +/* JSTerm Styles */ + +.jsterm-wrapper-node { + font-family: 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-output-node div { + -moz-user-select: text; +} + +.jsterm-scroll-to-node { + height: 1px; width: 1px; position: relative; top: 92%; display: block; +} + +.jsterm-input-node { + width: 98%; + font-family: monospace; + font-size: 1.2em; + line-height: 1.6em; + background-color: black; + color: white; +} + +.jsterm-output-line { + font-size: 1.2em; +} + +.hud-filter-btn { + margin: 2px !important; +} + +.hud-console-filter-toolbar { + padding: 1px 0px; + -moz-box-align: center; +} diff --git a/LCARStrek/global/resizer.css b/LCARStrek/global/resizer.css index 9e67c1b9..d0878ee2 100644 --- a/LCARStrek/global/resizer.css +++ b/LCARStrek/global/resizer.css @@ -1,10 +1,22 @@ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); -/* resizer { - background-color: #000000; + -moz-appearance: resizer; + background: url("chrome://global/skin/icons/resizer.png") no-repeat; + cursor: se-resize; + width: 15px; + height: 15px; +} + +resizer[rtl="true"], +resizer[dir="bottomend"]:-moz-locale-dir(rtl) { + -moz-transform: scaleX(-1); +} + +resizer[dir="bottomleft"], +resizer[dir="bottomend"][rtl="true"] { + cursor: sw-resize; } -*/ resizer[dir="top"], resizer[dir="bottom"] { @@ -20,24 +32,6 @@ resizer[dir="topleft"] { cursor: nw-resize; } -resizer[dir="bottomright"], -resizer[dir="bottomend"]:-moz-locale-dir(ltr) { - cursor: se-resize; -} - resizer[dir="topright"] { cursor: ne-resize; } - -resizer[dir="bottomleft"], -resizer[dir="bottomend"]:-moz-locale-dir(rtl) { - cursor: sw-resize; -} - -resizer[dir="bottomright"]:-moz-locale-dir(ltr), -resizer[dir="bottomend"] { - background-image: url("chrome://global/skin/icons/resizer.png"); - background-position: bottom right; - width: 15px; - height: 15px; -} diff --git a/LCARStrek/mozapps/extensions/extensions.css b/LCARStrek/mozapps/extensions/extensions.css index f57fb800..9d59e478 100644 --- a/LCARStrek/mozapps/extensions/extensions.css +++ b/LCARStrek/mozapps/extensions/extensions.css @@ -337,7 +337,8 @@ -moz-box-align: end; } -.addon .name { +.addon .name, +.addon .version { font-size: 150%; margin-bottom: 0px; } -- 2.43.0