keep bold keywords for static highlighter

This commit is contained in:
nightwing 2012-06-30 11:37:26 +04:00
commit fa79d72d7f

View file

@ -22,6 +22,10 @@
background: #fff; background: #fff;
} }
.ace-github .ace_keyword {
font-weight: bold;
}
.ace-github .ace_string { .ace-github .ace_string {
color: #D14; color: #D14;
} }
@ -51,6 +55,14 @@
color: #0086B3; color: #0086B3;
} }
.ace-github .ace_paren {
font-weight: bold;
}
.ace-github .ace_boolean {
font-weight: bold;
}
.ace-github .ace_string.ace_regexp { .ace-github .ace_string.ace_regexp {
color: #009926; color: #009926;
font-weight: normal; font-weight: normal;
@ -60,6 +72,10 @@
color: teal; color: teal;
} }
.ace-github .ace_constant.ace_language {
font-weight: bold;
}
.ace-github .ace_text-layer { .ace-github .ace_text-layer {
} }
@ -82,3 +98,8 @@
box-shadow: 0 0 3px 0px white; box-shadow: 0 0 3px 0px white;
border-radius: 2px; border-radius: 2px;
} }
/* bold keywords cause cursor issues for some fonts */
/* this disables bold style for editor and keeps for static highlighter */
.ace-github.ace_editor .ace_line > span {
font-weight: normal !important;
}