1- /* Codemirror Mustache tags to style like our tag-editor tags (sorta) */
2- @import url ('https://fonts.googleapis.com/css?family=Source+Code+Pro' );
1+ /* Custom theme to be more friendly to non-developers */
2+ .cm-s-cc {
3+ background : # fff ;
4+ color : # 424242 ;
5+ line-height : 22px ;
6+ font-family : 'Roboto Mono' , Menlo, Monaco, Consolas, "Courier New" , monospace !important ;
7+ font-size : 13px ;
8+ font-weight : normal;
9+ padding : 0px ;
10+ }
11+
12+ .cm-s-cc .CodeMirror-gutters {
13+ background : # fff ;
14+ color : # 616161 ;
15+ border : none;
16+ }
17+ /*.cm-s-cc .CodeMirror-cursors { visibility: visible !important; }*/
18+ .cm-s-cc .CodeMirror-cursor { border-left : 1px solid # 303030 !important ; background : # 303030 ; width : 2px ; }
19+ .cm-s-cc .CodeMirror-guttermarker ,
20+ .cm-s-cc .CodeMirror-guttermarker-subtle ,
21+ .cm-s-cc .CodeMirror-linenumber { color : rgb (83 , 127 , 126 ); }
22+ .cm-s-cc .CodeMirror-activeline-background { background : # b0bec5 ; }
23+ /*.cm-s-cc .CodeMirror-selected { background: #b0bec5; }*/
24+ .cm-s-cc .cm-comment { color : # 616161 ; }
25+ .cm-s-cc .cm-string { color : # 009688 ; }
26+ .cm-s-cc .cm-string-2 { color : # 80CBC4 ; }
27+ .cm-s-cc .cm-number { color : # 7e57c2 ; }
28+ .cm-s-cc .cm-atom { color : # 7e57c2 ; }
29+ .cm-s-cc .cm-keyword { color : # ff5722 ; }
30+ .cm-s-cc .cm-variable { color : # 009688 ; }
31+ .cm-s-cc .cm-def { color : # FD971F ; }
32+ .cm-s-cc .cm-property { color : # 0288d1 ; }
33+ .cm-s-cc .cm-tag { color : # 1c75d1 ; }
34+ .cm-s-cc .cm-error { color : # EC5F67 ; }
35+ .cm-s-cc .cm-meta { color : # 80CBC4 ; }
36+ .cm-s-cc .cm-operator { color : rgb (60 , 73 , 128 ); }
37+ .cm-s-cc .cm-variable-2 { color : # 80CBC4 ; }
38+ .cm-s-cc .cm-variable-3 { color : # 82B1FF ; }
39+ .cm-s-cc .cm-builtin { color : # ad9e53 ; }
40+ .cm-s-cc .cm-attribute { color : # caa155 ; }
41+ .cm-s-cc .cm-qualifier { color : # a69850 ; }
42+ .cm-s-cc .CodeMirror-matchingbracket { font-weight : bold; color : # 3c4980 !important ; }
343
44+ /* Codemirror Mustache tags to style like our tag-editor tags (sorta) */
445.cm-mustache ,
546.cm-mustache-danger ,
647.cm-mustache-warn {
7- color : # fff ;
8- background-color : # 216EAB ;
48+ color : # 424242 ;
49+ background-color : rgba ( 187 , 210 , 236 , 0.8 ) ;
950 border-radius : 3px ;
51+ padding : 2px ;
1052}
1153
1254.cm-mustache-danger {
13- background-color : # d9534f ;
55+ /*background-color: #d9534f;*/
56+ background-color : rgba (255 , 124 , 114 , 0.8 );
1457}
1558
1659.cm-mustache-warn {
17- background-color : # e2a231 ;
60+ /*background-color: #e2a231;*/
61+ background-color : rgba (255 , 195 , 86 , 0.8 );
62+ }
63+ .cm-mustache .CodeMirror-matchingbracket ,
64+ .cm-mustache-danger .CodeMirror-matchingbracket ,
65+ .cm-mustache-warn .CodeMirror-matchingbracket {
66+ color : # 424242 !important ;
67+ font-weight : bold;
68+ border-radius : 3px ;
69+ padding : 2px 0 ;
70+ /*margin: 0 -1px;*/
1871}
1972
20- .CodeMirror {
21- font-family : 'Source Code Pro' , monospace;
22- font-size : 13 px ;
23- font-weight : normal ;
73+ .cm-mustache . CodeMirror-selected ,
74+ . cm-mustache-danger . CodeMirror-selected ,
75+ . cm-mustache-warn . CodeMirror-selected {
76+ background : # fff ;
2477}
0 commit comments