]> granicus.if.org Git - clang/commitdiff
Minor CSS tweaking: use webkit style CSS properties for shadows/rounded edges
authorTed Kremenek <kremenek@apple.com>
Mon, 24 Mar 2008 23:38:32 +0000 (23:38 +0000)
committerTed Kremenek <kremenek@apple.com>
Mon, 24 Mar 2008 23:38:32 +0000 (23:38 +0000)
for message bubbles.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48754 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Rewrite/HTMLRewrite.cpp

index 788b41bd0ea7b647e97f6a9494b0f762fdd804f5..6538d9e072f49d1cef5b2f7a6c38ff96e5bdba34 100644 (file)
@@ -147,14 +147,16 @@ void html::AddHeaderFooterInternalBuiltinCSS(Rewriter& R, unsigned FileID) {
        << " .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());