Minor CSS tweaking: use webkit style CSS properties for shadows/rounded edges
for message bubbles.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48754 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Rewrite/HTMLRewrite.cpp b/lib/Rewrite/HTMLRewrite.cpp
index 788b41b..6538d9e 100644
--- a/lib/Rewrite/HTMLRewrite.cpp
+++ b/lib/Rewrite/HTMLRewrite.cpp
@@ -147,14 +147,16 @@
<< " .line { padding-left: 1ex; border-left: 3px solid #ccc }\n"
<< " .line { white-space: pre }\n"
<< " .msg { background-color:#ff8000; color:#000000 }\n"
+ << " .msg { -webkit-box-shadow:1px 1px 7px #000 }\n"
+ << " .msg { -webkit-border-radius:5px }\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:0.5em 1ex 0.5em 1ex }\n"
<< " .msg { margin-top:10px; margin-bottom:10px }\n"
- << " .mrange { color:#ff8000 }\n"
- << " .mrange { border-bottom: 1px dotted #ff8000 }\n"
+ << " .mrange { background-color:#ffcc66 }\n"
+ << " .mrange { border-bottom: 1px solid #ff8000 }\n"
<< "</style>\n</head>\n<body>";
R.InsertStrBefore(StartLoc, os.str());