diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-03-24 23:38:32 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-03-24 23:38:32 +0000 |
commit | 9d4e659fce4e0cc7cb36fce9fedb42a3e4c38496 (patch) | |
tree | 31e104f7ab8cf3199351d35f0628664b75d84653 /lib/Rewrite/HTMLRewrite.cpp | |
parent | 4fdd29b13e75f6f1802a925ac3d58f98eaf5d895 (diff) |
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
Diffstat (limited to 'lib/Rewrite/HTMLRewrite.cpp')
-rw-r--r-- | lib/Rewrite/HTMLRewrite.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Rewrite/HTMLRewrite.cpp b/lib/Rewrite/HTMLRewrite.cpp index 788b41bd0e..6538d9e072 100644 --- a/lib/Rewrite/HTMLRewrite.cpp +++ b/lib/Rewrite/HTMLRewrite.cpp @@ -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()); |