From 50ae39b44cb48fa78a17de57328dd05eb372342a Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Sun, 8 Apr 2012 21:12:31 +0200 Subject: [PATCH] add orion styling just so that scratchpad and style editor work in newer builds - this is synched with 14.0a1 trunk as of 2012-04-08 --- .../browser/devtools/orion-breakpoint.png | Bin 0 -> 224 bytes .../browser/devtools/orion-container.css | 39 ++++ .../browser/devtools/orion-debug-location.png | Bin 0 -> 199 bytes LCARStrek/browser/devtools/orion-task.png | Bin 0 -> 212 bytes LCARStrek/browser/devtools/orion.css | 191 ++++++++++++++++++ 5 files changed, 230 insertions(+) create mode 100644 LCARStrek/browser/devtools/orion-breakpoint.png create mode 100644 LCARStrek/browser/devtools/orion-container.css create mode 100644 LCARStrek/browser/devtools/orion-debug-location.png create mode 100644 LCARStrek/browser/devtools/orion-task.png create mode 100644 LCARStrek/browser/devtools/orion.css diff --git a/LCARStrek/browser/devtools/orion-breakpoint.png b/LCARStrek/browser/devtools/orion-breakpoint.png new file mode 100644 index 0000000000000000000000000000000000000000..834e4a42cd90bc27a555827d24ccea43c48ded01 GIT binary patch literal 224 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!73?$#)eFPF>Q&Fc z(9$wz&j0`O8UCMV_{zTh8%SMAkY6x^!?PP{AWo9Ey9+}HtE>l*!&%@FS5sWM5O0(h8m(A|Zy$EIG6vOmkvnm{%lFnQf?h4QLR9r>mdK II;Vst0Lb4zyZ`_I literal 0 HcmV?d00001 diff --git a/LCARStrek/browser/devtools/orion-container.css b/LCARStrek/browser/devtools/orion-container.css new file mode 100644 index 00000000..e29c298e --- /dev/null +++ b/LCARStrek/browser/devtools/orion-container.css @@ -0,0 +1,39 @@ +/* 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/. */ + +.viewTooltip { + display: none; /* TODO: add tooltips support, see bug 721752 */ + font-family: monospace; + font-size: 13px; + background-color: #9C9CFF; + color: #000000; + padding: 2px; + border-radius: 4px; + border: 1px solid #FFCF00; + z-index: 100; + position: fixed; + overflow: hidden; + white-space: pre; +} + +.viewTooltip em { + font-style: normal; + font-weight: bold; +} + +.annotationHTML { + cursor: pointer; + width: 16px; + height: 16px; + display: inline-block; + vertical-align: middle; + background-position: center; + background-repeat: no-repeat; +} +.annotationHTML.task { + background-image: url("chrome://browser/skin/devtools/orion-task.png"); +} +.annotationHTML.breakpoint { + background-image: url("chrome://browser/skin/devtools/orion-breakpoint.png"); +} diff --git a/LCARStrek/browser/devtools/orion-debug-location.png b/LCARStrek/browser/devtools/orion-debug-location.png new file mode 100644 index 0000000000000000000000000000000000000000..88dd4e9f3af4e6e0dd42f967f35d7cf95d45913a GIT binary patch literal 199 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!D3?x-;bCrM;V{wqX6T`Z5GB1G~wg8_H*Qlua zIdlH|7R~zzk}e7I3ubV5b|VeMN%D4gVd!9$^#F1>3p^r=85sDEfH31!Z9ZwBAbW|Y zuPgf<77ihPwaeOK-+@B9o-U3d9M_W*fFLO$fo%~R+cRdKGyD=W>mdKI;Vst0H$g(k^lez literal 0 HcmV?d00001 diff --git a/LCARStrek/browser/devtools/orion-task.png b/LCARStrek/browser/devtools/orion-task.png new file mode 100644 index 0000000000000000000000000000000000000000..26574e63ff799b035cdd0fc5da1406dd783d2a6f GIT binary patch literal 212 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!93?!50ihlx9jKx9jP7LeL$-D$|I0Jk_TzMEG z7+PBX|NkG{w?+e`q9n*Kn8D%MjWiG^$=lt9p@UV{1EjpbBeIx*fm;}a85w5HkpK#^ zmw5WRvfp9h5aQ!a>$&$0C}i&G;uyklJvo7a@z{j`cD8F5E-*+4nlXB~GgTe~DWM4fy*@YQ literal 0 HcmV?d00001 diff --git a/LCARStrek/browser/devtools/orion.css b/LCARStrek/browser/devtools/orion.css new file mode 100644 index 00000000..6c0a5538 --- /dev/null +++ b/LCARStrek/browser/devtools/orion.css @@ -0,0 +1,191 @@ +/* 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/. */ + +.viewContainer { + background: #cddae5; /* This will be seen as the continuation of the ruler */ + font-family: monospace; + font-size: inherit; /* inherit browser's default monospace font size */ +} + +.view { + color: #FF9F00; /* Default text color */ + background: #000000; /* Background of the editor */ + padding-left: 4px; +} + +.readonly > .view { + background: #000000; +} + +.ruler { + background: #402800; + color: #E7ADE7; +} +.ruler.annotations { + width: 16px; + padding-left: 4px; +} +.ruler.lines { + border-right: 1px solid #794900; + min-width: 1.4em; + padding-left: 4px; + padding-right: 4px; + text-align: end; +} + +.ruler.linesWithAnnotations { + min-width: 0; + padding-left: 0; +} + +.ruler.overview { + border-left: 1px solid #794900; + width: 14px; + text-align: start; +} + +/* Styles for the annotation ruler (first line) */ +.annotationHTML { + cursor: pointer; + width: 16px; + height: 16px; + display: inline-block; + vertical-align: middle; + background-position: center; + background-repeat: no-repeat; +} +.annotationHTML.task { + background-image: url("chrome://browser/skin/devtools/orion-task.png"); +} +.annotationHTML.breakpoint { + background-image: url("chrome://browser/skin/devtools/orion-breakpoint.png"); +} +.annotationHTML.debugLocation { + background-image: url("chrome://browser/skin/devtools/orion-debug-location.png"); +} + +/* Styles for the overview ruler */ +.annotationOverview { + cursor: pointer; + border-radius: 2px; + left: 2px; + width: 8px; +} +.annotationOverview.task { + background-color: #004000; + border: 1px solid #33FF33; +} +.annotationOverview.breakpoint { + background-color: #262640; + border: 1px solid #9C9CFF; +} +.annotationOverview.debugLocation { + background-color: #404000; + border: 1px solid #33FF33; +} +.annotationOverview.currentBracket { + background-color: #808080; + border: 1px solid #FF0000; +} +.annotationOverview.matchingBracket { + background-color: #808080; + border: 1px solid #FF0000; +} + +/* Styles for text range */ +.annotationRange { + background-repeat: repeat-x; + background-position: left bottom; +} +.annotationRange.task { + outline: 1px dashed rgba(0, 255, 0, 0.5); +} +.annotationRange.matchingBracket { + outline: 1px solid #008484; +} + +.token_singleline_comment { + color: #33CC33; /* green */ +} + +.token_multiline_comment { + color: #33CC33; /* green */ +} + +.token_doc_comment { + color: #33CC33; /* green */ +} + +.token_doc_html_markup { + color: #E7ADE7; /* purple */ +} + +.token_doc_tag { + color: #E7ADE7; /* purple */ +} + +.token_task_tag { /* "TODO" */ + color: black; + background: #FFCF00; +} + +.token_string { + color: #9C9CFF; /* blue */ + font-style: italic; +} + +.token_keyword { + color: #E7ADE7; /* purple */ +} + +.token_space { + /* images/white_space.png */ + background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAIAAABv85FHAAAABnRSTlMA/wAAAACkwsAdAAAAIUlEQVR4nGP4z8CAC+GUIEXuABhgkTuABEiRw2cmae4EAH05X7xDolNRAAAAAElFTkSuQmCC"); + background-repeat: no-repeat; + background-position: center center; +} + +.token_tab { + /* images/white_tab.png */ + background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAJCAIAAACJ2loDAAAABnRSTlMA/wD/AP83WBt9AAAAMklEQVR4nGP4TwRgoK6i52c3bz5w6zMSA6tJn28d2Lx589nnCAYu63AaSLxJRLoJPwAAeNk0aG4opfMAAAAASUVORK5CYII="); + background-repeat: no-repeat; + background-position: left center; +} + +.line_caret, +.annotationLine.currentLine { /* Current line */ + background: #402800; /* lighter than the background */ +} + +.readonly .line_caret, +.readonly .annotationLine.currentLine { + background: #402800; /* a bit darker than the background */ +} + +/* Styling for html syntax highlighting */ +.entity-name-tag { + color: #E7ADE7; /* purple */ +} + +.entity-other-attribute-name { + color: #E7ADE7; /* purple */ +} + +.punctuation-definition-comment { + color: #33CC33; /* green */ +} + +.comment { + color: #33CC33; /* green */ +} + +.string-quoted { + color: #9C9CFF; /* blue */ + font-style: italic; +} + +.invalid { + color: red; + font-weight: bold; +} -- 2.35.3