source: trunk/FACT++/www/viewer/index.css@ 17937

Last change on this file since 17937 was 17840, checked in by tbretz, 11 years ago
Some updates to the CodeMirror colorizer.
File size: 2.0 KB
Line 
1.CodeMirror { border: 0; font-size:9pt; }
2
3.cm-s-fact.CodeMirror { background: #000000; color: /*#F8F8F8*/ lightgrey; font-weight:bold; }
4.cm-s-fact .CodeMirror-selected { background: #253B76 !important; }
5.cm-s-fact .CodeMirror-gutters { background: #0C1021; border-right: 0; }
6.cm-s-fact .CodeMirror-linenumber { color: #888; }
7.cm-s-fact .CodeMirror-cursor { border-left: 1px solid #C7C7C7 !important; }
8
9.cm-s-fact .cm-keyword { color: #F8F8F8 /*#FBDE2D*/; } /* new, var, for, if, return */
10.cm-s-fact .cm-atom { color: #C8C8C8; } /* null */
11.cm-s-fact .cm-number { color: /*red*/ #D8FA3C; } /* 0, 1, 2, 3, ... */
12
13.cm-s-fact .cm-variable { color: #FFEA80; } /* global variables */
14.cm-s-fact .cm-variable-2 { color:#FFB450; } /* local variables */
15.cm-s-fact .cm-property { color: #FF6400; } /* properties */
16
17.cm-s-fact .cm-operator { color: lightblue;/*blueviolet*/ #FBDE2D;}
18.cm-s-fact .cm-comment { color: olive/*#5EAE5E*/; }
19.cm-s-fact .cm-string { color: #61CE3C; }
20.cm-s-fact .cm-string-2 { color: #61CE3C; }
21
22.cm-s-fact .CodeMirror-activeline-background {background: #252020 !important;}
23.cm-s-fact .CodeMirror-matchingbracket {color:red !important; font-weight:bold !important;}
24
25.CodeMirror-focused .cm-matchhighlight
26{
27 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAFklEQVQI12NgYGBgkKzc8x9CMDAwAAAmhwSbidEoSQAAAABJRU5ErkJggg==);
28 background-position: bottom;
29 background-repeat: repeat-x;
30}
31
32/* From FTE:
33 keyword: white
34 atom: grey
35 variable: grey
36 number: red
37 operator: dark cyan
38 comment: military green
39 string: yellow
40 brackets: dark cyan
41*/
42
43.myaccordion .ui-accordion-header
44{
45 background-color: #ccc;
46 margin: 0px;
47 font-size:10pt;
48 padding-left: 25px;
49 padding-right: 25px;
50 padding-top: 0px;
51 padding-bottom: 0px;
52}
53
54.myaccordion .ui-accordion-content
55{
56 color: #000;
57 font-size: 10pt;
58 padding-top: 1ex;
59 padding-bottom: 1em;
60 padding-left: 2ex;
61}
Note: See TracBrowser for help on using the repository browser.