1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-15 03:55:23 +02:00

Merge remote-tracking branch 'Noxwizard/ticket/10819' into develop-olympus

* Noxwizard/ticket/10819:
  [ticket/10819] Remove support for older browsers
  [ticket/10819] Forgot this causes vertical scrollbars on IE
  [ticket/10819] Improve side-by-side diff styling
This commit is contained in:
Andreas Fischer 2012-05-06 00:43:01 +02:00
commit 9d542aec1e

View File

@ -119,6 +119,7 @@ table.hrdiff {
overflow: hidden; overflow: hidden;
border-bottom: 1px solid #999; border-bottom: 1px solid #999;
table-layout: fixed; table-layout: fixed;
background: transparent;
} }
table.hrdiff th { table.hrdiff th {
@ -128,7 +129,8 @@ table.hrdiff th {
font-family: Verdana,Helvetica,sans-serif; font-family: Verdana,Helvetica,sans-serif;
font-size: 11px; font-size: 11px;
border-bottom: 1px solid #999; border-bottom: 1px solid #999;
background: transparent; border-right: 1px solid #999;
background: #D9D9D9;
} }
table.hrdiff thead th { table.hrdiff thead th {
@ -142,29 +144,23 @@ table.hrdiff tr:first-child th {
} }
table.hrdiff tbody th { table.hrdiff tbody th {
padding: 2em 1px 1px 1px;
font-size: 80%; font-size: 80%;
border-top: 1px solid #999; border-top: 1px solid #999;
} }
table.hrdiff tbody td.old { table.hrdiff tbody td {
border-left: 1px solid #999;
border-right: 1px solid #999;
}
table.hrdiff tbody td.new {
border-right: 1px solid #999; border-right: 1px solid #999;
} }
table.hrdiff td pre { table.hrdiff td pre {
overflow: auto; font-family: "Consolas", monospace;
display: block; font-size: 1.1em;
width: 100%; white-space: pre-wrap; /* css-3 */
overflow: auto; word-wrap: break-word; /* Internet Explorer 5.5+ */
display: block;
} }
table.hrdiff .unmodified { table.hrdiff .unmodified {
background: #fff; background: transparent;
} }
table.hrdiff .added { table.hrdiff .added {