[cfe-commits] r48754 - /cfe/trunk/lib/Rewrite/HTMLRewrite.cpp

Ted Kremenek kremenek at apple.com
Mon Mar 24 16:38:32 PDT 2008


Author: kremenek
Date: Mon Mar 24 18:38:32 2008
New Revision: 48754

URL: http://llvm.org/viewvc/llvm-project?rev=48754&view=rev
Log:
Minor CSS tweaking: use webkit style CSS properties for shadows/rounded edges
for message bubbles.

Modified:
    cfe/trunk/lib/Rewrite/HTMLRewrite.cpp

Modified: cfe/trunk/lib/Rewrite/HTMLRewrite.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Rewrite/HTMLRewrite.cpp?rev=48754&r1=48753&r2=48754&view=diff

==============================================================================
--- cfe/trunk/lib/Rewrite/HTMLRewrite.cpp (original)
+++ cfe/trunk/lib/Rewrite/HTMLRewrite.cpp Mon Mar 24 18:38:32 2008
@@ -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());





More information about the cfe-commits mailing list