summaryrefslogtreecommitdiffstats
path: root/skins/standard
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2008-12-09 19:09:59 +0100
committerlpsolit%gmail.com <>2008-12-09 19:09:59 +0100
commit8b8bef25754c8adf9388049278d645506e7d85b0 (patch)
tree65c82db22a50a6bf6641b21fa8aa735ff6ddd563 /skins/standard
parent8cb33cb1b96bf40e32f51f68b521f307fc96a23e (diff)
downloadbugzilla-8b8bef25754c8adf9388049278d645506e7d85b0.tar.gz
bugzilla-8b8bef25754c8adf9388049278d645506e7d85b0.tar.xz
Bug 460752: Move hardcoded CSS from attachment/diff-header.html.tmpl into a separate CSS file - Patch by Frédéric Buclin <LpSolit@gmail.com> r=ghendricks a=LpSolit
Diffstat (limited to 'skins/standard')
-rw-r--r--skins/standard/create_attachment.css70
1 files changed, 70 insertions, 0 deletions
diff --git a/skins/standard/create_attachment.css b/skins/standard/create_attachment.css
index dcb19836d..9ed515178 100644
--- a/skins/standard/create_attachment.css
+++ b/skins/standard/create_attachment.css
@@ -34,3 +34,73 @@ table#flags td {
vertical-align: baseline;
font-size: small;
}
+
+/* Rules used to view patches in diff mode. */
+
+.file_head {
+ font-weight: bold;
+ font-size: 1em;
+ background-color: #c3c3c3;
+ border: 1px solid black;
+}
+
+.file_head a {
+ text-decoration: none;
+ font-family: monospace;
+ font-size: 1.1em;
+}
+
+.file_collapse {
+ display: none;
+}
+
+.section_head {
+ background-color: #f0f0f0;
+ border: 1px solid black;
+ text-align: left;
+}
+
+table.file_table {
+ table-layout: fixed;
+ width: 100%;
+ empty-cells: show;
+ border-spacing: 0px;
+ border-collapse: collapse;
+ /* draw border below last open context section in listing */
+ border-bottom: 1px solid black;
+}
+
+tbody.file pre {
+ display: inline;
+ white-space: pre-wrap; /* CSS 3 & CSS 2.1 */
+ white-space: -moz-pre-wrap; /* Gecko < 1.9.1 */
+ white-space: -o-pre-wrap; /* Opera 7 */
+ font-size: 0.9em;
+}
+
+tbody.file pre:empty {
+ display: block;
+}
+
+.changed {
+ background-color: lightblue;
+}
+
+.added {
+ background-color: lightgreen;
+}
+
+.removed {
+ background-color: #FFCC99;
+}
+
+.num {
+ background-color: #ffe9ae;
+ text-align:right;
+ padding: 0 0.3em;
+ width: 3em;
+}
+
+.warning {
+ color: red
+}