diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-03-19 22:44:21 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-03-19 22:44:21 +0000 |
commit | eeacc5203ae1defadbe647b3b22b0432e23f4393 (patch) | |
tree | b382a2c27f10692d31a0157f7d4318d2eef62acb /lib/Rewrite/HTMLRewrite.cpp | |
parent | db87ca09df48d3cc6ac868debd68c72c878a0daa (diff) |
Change colors of HTML message bubble.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48563 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Rewrite/HTMLRewrite.cpp')
-rw-r--r-- | lib/Rewrite/HTMLRewrite.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/Rewrite/HTMLRewrite.cpp b/lib/Rewrite/HTMLRewrite.cpp index 7f408c74f4..76c44b718c 100644 --- a/lib/Rewrite/HTMLRewrite.cpp +++ b/lib/Rewrite/HTMLRewrite.cpp @@ -136,7 +136,8 @@ void html::AddHeaderFooterInternalBuiltinCSS(Rewriter& R, unsigned FileID) { std::ostringstream os; os << "<html>\n<head>\n" - << "<style type=\"text/css\">\n" + << "<style type=\"text/css\">\n" + << " body { color:#000000; background-color:#ffffff }\n" << " .code { border-spacing:0px; width:100%; }\n" << " .code { font-family: \"Andale Mono\", fixed; font-size:10pt }\n" << " .code { line-height: 1.2em }\n" @@ -144,11 +145,13 @@ void html::AddHeaderFooterInternalBuiltinCSS(Rewriter& R, unsigned FileID) { << " .num { text-align:right; font-size: smaller }\n" << " .line { padding-left: 1ex; border-left: 3px solid #ccc }\n" << " .line { white-space: pre }\n" - << " .msg { background-color:#fcff4c }\n" + << " .msg { background-color:#ff8000; color:#000000 }\n" + << " .msg { border: solid 1px #944a00 }\n" << " .msg { font-family:Helvetica, sans-serif; font-size: smaller }\n" << " .msg { font-weight: bold }\n" << " .msg { float:left }\n" - << " .msg { padding:5px; margin-top:10px; margin-bottom:10px }\n" + << " .msg { padding:0.5em 1ex 0.5em 1ex }\n" + << " .msg { margin-top:10px; margin-bottom:10px }\n" << "</style>\n</head>\n<body>"; R.InsertStrBefore(StartLoc, os.str()); |