2012-02-06 11:35:19 -08:00
|
|
|
/* 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/. */
|
2011-10-12 05:52:45 -07:00
|
|
|
|
2011-11-01 03:30:19 -07:00
|
|
|
.viewContainer {
|
2011-12-18 08:02:54 -08:00
|
|
|
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 */
|
2011-11-01 03:30:19 -07:00
|
|
|
}
|
2011-10-12 05:52:45 -07:00
|
|
|
|
2011-12-10 09:03:57 -08:00
|
|
|
.view {
|
2012-01-03 08:52:57 -08:00
|
|
|
color: black; /* Default text color */
|
2011-12-18 08:02:54 -08:00
|
|
|
background: #f0f0ff; /* Background of the editor */
|
2012-02-21 10:05:46 -08:00
|
|
|
padding-left: 4px;
|
2011-12-10 09:03:57 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.readonly > .view {
|
2011-12-18 08:02:54 -08:00
|
|
|
background: #f0f0ff;
|
2011-12-10 09:03:57 -08:00
|
|
|
}
|
|
|
|
|
2012-02-18 02:58:54 -08:00
|
|
|
.ruler {
|
2011-12-18 08:02:54 -08:00
|
|
|
background: #cddae5;
|
|
|
|
color: #7a8a99;
|
2012-02-18 02:58:54 -08:00
|
|
|
}
|
|
|
|
.ruler.annotations {
|
|
|
|
width: 16px;
|
|
|
|
padding-left: 4px;
|
|
|
|
}
|
|
|
|
.ruler.lines {
|
|
|
|
border-right: 1px solid #b4c4d3;
|
|
|
|
min-width: 1.4em;
|
2011-12-18 08:02:54 -08:00
|
|
|
padding-left: 4px;
|
|
|
|
padding-right: 4px;
|
|
|
|
text-align: end;
|
2011-12-10 09:03:57 -08:00
|
|
|
}
|
|
|
|
|
2012-02-18 02:58:54 -08:00
|
|
|
.ruler.linesWithAnnotations {
|
|
|
|
min-width: 0;
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ruler.overview {
|
|
|
|
border-left: 1px solid #b4c4d3;
|
|
|
|
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");
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Styles for the overview ruler */
|
|
|
|
.annotationOverview {
|
|
|
|
cursor: pointer;
|
|
|
|
border-radius: 2px;
|
|
|
|
left: 2px;
|
|
|
|
width: 8px;
|
|
|
|
}
|
|
|
|
.annotationOverview.task {
|
|
|
|
background-color: lightgreen;
|
|
|
|
border: 1px solid green;
|
|
|
|
}
|
|
|
|
.annotationOverview.breakpoint {
|
|
|
|
background-color: lightblue;
|
|
|
|
border: 1px solid blue;
|
|
|
|
}
|
|
|
|
.annotationOverview.currentBracket {
|
|
|
|
background-color: lightgray;
|
|
|
|
border: 1px solid red;
|
|
|
|
}
|
|
|
|
.annotationOverview.matchingBracket {
|
|
|
|
background-color: lightgray;
|
|
|
|
border: 1px solid red;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* 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 grey;
|
|
|
|
}
|
|
|
|
|
2011-12-10 09:03:57 -08:00
|
|
|
.token_singleline_comment {
|
2011-12-18 08:02:54 -08:00
|
|
|
color: #45a946; /* green */
|
2011-12-10 09:03:57 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.token_multiline_comment {
|
2011-12-18 08:02:54 -08:00
|
|
|
color: #45a946; /* green */
|
2011-12-10 09:03:57 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.token_doc_comment {
|
2011-12-18 08:02:54 -08:00
|
|
|
color: #45a946; /* green */
|
2011-12-10 09:03:57 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.token_doc_html_markup {
|
2011-12-18 08:02:54 -08:00
|
|
|
color: #dd0058; /* purple */
|
2011-12-10 09:03:57 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.token_doc_tag {
|
2011-12-18 08:02:54 -08:00
|
|
|
color: #dd0058; /* purple */
|
2011-12-10 09:03:57 -08:00
|
|
|
}
|
|
|
|
|
2011-12-18 08:02:54 -08:00
|
|
|
.token_task_tag { /* "TODO" */
|
|
|
|
color: black;
|
|
|
|
background: yellow;
|
2011-12-10 09:03:57 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.token_string {
|
2011-12-18 08:02:54 -08:00
|
|
|
color: #1e66b1; /* blue */
|
|
|
|
font-style: italic;
|
2011-12-10 09:03:57 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.token_keyword {
|
2011-12-18 08:02:54 -08:00
|
|
|
color: #dd0058; /* purple */
|
2011-12-10 09:03:57 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.token_space {
|
2011-12-18 08:02:54 -08:00
|
|
|
/* images/white_space.png */
|
|
|
|
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAIAAABv85FHAAAABnRSTlMA/wAAAACkwsAdAAAAIUlEQVR4nGP4z8CAC+GUIEXuABhgkTuABEiRw2cmae4EAH05X7xDolNRAAAAAElFTkSuQmCC");
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center center;
|
2011-12-10 09:03:57 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.token_tab {
|
2011-12-18 08:02:54 -08:00
|
|
|
/* images/white_tab.png */
|
|
|
|
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAJCAIAAACJ2loDAAAABnRSTlMA/wD/AP83WBt9AAAAMklEQVR4nGP4TwRgoK6i52c3bz5w6zMSA6tJn28d2Lx589nnCAYu63AaSLxJRLoJPwAAeNk0aG4opfMAAAAASUVORK5CYII=");
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: left center;
|
2011-12-10 09:03:57 -08:00
|
|
|
}
|
|
|
|
|
2011-12-18 08:02:54 -08:00
|
|
|
.line_caret { /* Current line */
|
|
|
|
background: #dae2ee; /* lighter than the background */
|
2011-12-10 09:03:57 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.readonly .line_caret {
|
2011-12-18 08:02:54 -08:00
|
|
|
background: #cddae5; /* a bit darker than the background */
|
2011-12-10 09:03:57 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Styling for html syntax highlighting */
|
|
|
|
.entity-name-tag {
|
2011-12-18 08:02:54 -08:00
|
|
|
color: #dd0058; /* purple */
|
2011-12-10 09:03:57 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.entity-other-attribute-name {
|
2011-12-18 08:02:54 -08:00
|
|
|
color: #dd0058; /* purple */
|
2011-12-10 09:03:57 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.punctuation-definition-comment {
|
2011-12-18 08:02:54 -08:00
|
|
|
color: #45a946; /* green */
|
2011-12-10 09:03:57 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.comment {
|
2011-12-18 08:02:54 -08:00
|
|
|
color: #45a946; /* green */
|
2011-12-10 09:03:57 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.string-quoted {
|
2011-12-18 08:02:54 -08:00
|
|
|
color: #1e66b1; /* blue */
|
|
|
|
font-style: italic;
|
2011-12-10 09:03:57 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
.invalid {
|
2011-12-18 08:02:54 -08:00
|
|
|
color: red;
|
|
|
|
font-weight: bold;
|
2011-12-10 09:03:57 -08:00
|
|
|
}
|