Permalink
Browse files

disable syntax highlight for code block not translated yet

  • Loading branch information...
1 parent faf2777 commit d90b3cda0adf06808b4be7b6570a90948a06b751 Yutaka HARA committed Jun 4, 2012
Showing with 7 additions and 5 deletions.
  1. +7 −5 app/assets/stylesheets/main.css.sass
@@ -96,17 +96,14 @@ html, body
#doc
margin: 1em
- pre
+ pre.ruby
@include code-pre
.paragraph
.current_text
.not_translated
color: #888
- pre.original_text
- background: white
- color: black
- margin-left: 0
+ .original_text
color: #888
textarea
@@ -157,4 +154,9 @@ span.ruby-constant
span.ruby-value, span.ruby-regexp, span.ruby-string
color: #0d0
+.not_translated
+ .ruby
+ color: #aaa
+ span.ruby-comment, span.ruby-operator, span.ruby-keyword, span.ruby-identifier, span.ruby-constant, span.ruby-value, span.ruby-regexp, span.ruby-string
+ color: #aaa

0 comments on commit d90b3cd

Please sign in to comment.