Changeset 17815 for trunk/FACT++/www


Ignore:
Timestamp:
05/09/14 18:39:17 (10 years ago)
Author:
tbretz
Message:
Added CodeMirror theme.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/www/viewer/index.css

    r17741 r17815  
    1 .CodeMirror
    2 {
    3     border: 0;
    4     font-size:9pt
    5 }
     1.CodeMirror { border: 0; font-size:9pt; }
    62
    7 .cm-s-blackboard.CodeMirror
    8 {
    9     background: #000000;
    10     color: #F8F8F8;
    11 }
     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;}
    1221
    1322.CodeMirror-focused .cm-matchhighlight
     
    1726    background-repeat: repeat-x;
    1827}
     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*/
    1939
    2040.myaccordion .ui-accordion-header
Note: See TracChangeset for help on using the changeset viewer.