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

Last change on this file since 17839 was 17815, checked in by tbretz, 11 years ago
Added CodeMirror theme.
File size: 1.9 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.cm-s-fact .cm-variable { color: #FFA440; }
13.cm-s-fact .cm-operator { color: lightblue;/*blueviolet*/ #FBDE2D;}
14.cm-s-fact .cm-comment { color: olive/*#5EAE5E*/; }
15.cm-s-fact .cm-string { color: #61CE3C; }
16.cm-s-fact .cm-string-2 { color: #61CE3C; }
17.cm-s-fact .cm-property { color: #FF6400; }
18
19.cm-s-fact .CodeMirror-activeline-background {background: #252020 !important;}
20.cm-s-fact .CodeMirror-matchingbracket {color:red !important; font-weight:bold !important;}
21
22.CodeMirror-focused .cm-matchhighlight
23{
24 background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAFklEQVQI12NgYGBgkKzc8x9CMDAwAAAmhwSbidEoSQAAAABJRU5ErkJggg==);
25 background-position: bottom;
26 background-repeat: repeat-x;
27}
28
29/* From FTE:
30 keyword: white
31 atom: grey
32 variable: grey
33 number: red
34 operator: dark cyan
35 comment: military green
36 string: yellow
37 brackets: dark cyan
38*/
39
40.myaccordion .ui-accordion-header
41{
42 background-color: #ccc;
43 margin: 0px;
44 font-size:10pt;
45 padding-left: 25px;
46 padding-right: 25px;
47 padding-top: 0px;
48 padding-bottom: 0px;
49}
50
51.myaccordion .ui-accordion-content
52{
53 color: #000;
54 font-size: 10pt;
55 padding-top: 1ex;
56 padding-bottom: 1em;
57 padding-left: 2ex;
58}
Note: See TracBrowser for help on using the repository browser.