diff options
author | Pushkar Joshi | 2012-02-08 15:42:40 -0800 |
---|---|---|
committer | Pushkar Joshi | 2012-02-08 15:42:40 -0800 |
commit | 18243deb66ab14a014756bfb0be1a52648c7771a (patch) | |
tree | c64660f7f69840cac5186fd730221335bd0a67af /scss/imports/codemirror | |
parent | 802e92eb70b00849dadacf2c6590d27edbe65d99 (diff) | |
parent | 0537f8f29e7b8dd48fd08f20b1533fbe92a54c4b (diff) | |
download | ninja-18243deb66ab14a014756bfb0be1a52648c7771a.tar.gz |
Merge branch 'master' into pentool
Conflicts:
js/helper-classes/RDGE/GLWorld.js
js/helper-classes/RDGE/MaterialsLibrary.js
Diffstat (limited to 'scss/imports/codemirror')
-rw-r--r-- | scss/imports/codemirror/_codemirror.scss | 75 | ||||
-rw-r--r-- | scss/imports/codemirror/_css.scss | 15 | ||||
-rw-r--r-- | scss/imports/codemirror/_javascript.scss | 12 |
3 files changed, 102 insertions, 0 deletions
diff --git a/scss/imports/codemirror/_codemirror.scss b/scss/imports/codemirror/_codemirror.scss new file mode 100644 index 00000000..281e7a9a --- /dev/null +++ b/scss/imports/codemirror/_codemirror.scss | |||
@@ -0,0 +1,75 @@ | |||
1 | /* <copyright> | ||
2 | This file contains proprietary software owned by Motorola Mobility, Inc.<br/> | ||
3 | No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/> | ||
4 | (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. | ||
5 | </copyright> */ | ||
6 | |||
7 | .CodeMirror { | ||
8 | overflow: auto; | ||
9 | height: 300px; | ||
10 | line-height: 1em; | ||
11 | font-family: monospace; | ||
12 | _position: relative; /* IE6 hack */ | ||
13 | background: white; | ||
14 | } | ||
15 | |||
16 | .CodeMirror-gutter { | ||
17 | position: absolute; left: 0; top: 0; | ||
18 | background-color: #f7f7f7; | ||
19 | border-right: 1px solid #eee; | ||
20 | min-width: 2em; | ||
21 | height: 100%; | ||
22 | } | ||
23 | .CodeMirror-gutter-text { | ||
24 | color: #aaa; | ||
25 | text-align: right; | ||
26 | padding: .4em .2em .4em .4em; | ||
27 | } | ||
28 | .CodeMirror-lines { | ||
29 | padding: .4em; | ||
30 | } | ||
31 | |||
32 | .CodeMirror pre { | ||
33 | border-width: 0; margin: 0; padding: 0; background: transparent; | ||
34 | font-family: inherit; | ||
35 | } | ||
36 | |||
37 | .CodeMirror-cursor { | ||
38 | z-index: 10; | ||
39 | position: absolute; | ||
40 | visibility: hidden; | ||
41 | border-left: 1px solid black !important; | ||
42 | } | ||
43 | .CodeMirror-focused .CodeMirror-cursor { | ||
44 | visibility: visible; | ||
45 | } | ||
46 | |||
47 | span.CodeMirror-selected { | ||
48 | background: #ccc !important; | ||
49 | color: HighlightText !important; | ||
50 | } | ||
51 | .CodeMirror-focused span.CodeMirror-selected { | ||
52 | background: Highlight !important; | ||
53 | } | ||
54 | |||
55 | |||
56 | .CodeMirror-matchingbracket {color: #0f0 !important;} | ||
57 | .CodeMirror-nonmatchingbracket {color: #f22 !important;} | ||
58 | |||
59 | .completions { | ||
60 | position: absolute; | ||
61 | z-index: 10; | ||
62 | overflow: hidden; | ||
63 | -webkit-box-shadow: 2px 3px 5px rgba(0, 0, 0, .2); | ||
64 | -moz-box-shadow: 2px 3px 5px rgba(0, 0, 0, .2); | ||
65 | box-shadow: 2px 3px 5px rgba(0, 0, 0, .2); | ||
66 | } | ||
67 | |||
68 | .completions select { | ||
69 | background: #fafafa; | ||
70 | outline: none; | ||
71 | border: none; | ||
72 | padding: 0; | ||
73 | margin: 0; | ||
74 | font-family: monospace; | ||
75 | } | ||
diff --git a/scss/imports/codemirror/_css.scss b/scss/imports/codemirror/_css.scss new file mode 100644 index 00000000..fb870e84 --- /dev/null +++ b/scss/imports/codemirror/_css.scss | |||
@@ -0,0 +1,15 @@ | |||
1 | /* <copyright> | ||
2 | This file contains proprietary software owned by Motorola Mobility, Inc.<br/> | ||
3 | No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/> | ||
4 | (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. | ||
5 | </copyright> */ | ||
6 | |||
7 | span.css-at {color: #708;} | ||
8 | span.css-unit {color: #281;} | ||
9 | span.css-value {color: #708;} | ||
10 | span.css-identifier {color: black;} | ||
11 | span.css-selector {color: #11B;} | ||
12 | span.css-important {color: #00F;} | ||
13 | span.css-colorcode {color: #299;} | ||
14 | span.css-comment {color: #A70;} | ||
15 | span.css-string {color: #A22;} | ||
diff --git a/scss/imports/codemirror/_javascript.scss b/scss/imports/codemirror/_javascript.scss new file mode 100644 index 00000000..1124e279 --- /dev/null +++ b/scss/imports/codemirror/_javascript.scss | |||
@@ -0,0 +1,12 @@ | |||
1 | /* <copyright> | ||
2 | This file contains proprietary software owned by Motorola Mobility, Inc.<br/> | ||
3 | No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/> | ||
4 | (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. | ||
5 | </copyright> */ | ||
6 | |||
7 | span.js-keyword {color: #90b;} | ||
8 | span.js-atom {color: #291;} | ||
9 | span.js-variabledef {color: #00f;} | ||
10 | span.js-localvariable {color: #049;} | ||
11 | span.js-comment {color: #a70;} | ||
12 | span.js-string {color: #a22;} | ||