|
| 1 | +body { |
| 2 | + background: #3A3B46; |
| 3 | + color: #F8F8F2; |
| 4 | + font-family: Arial, serif; |
| 5 | + font-size: 12px; |
| 6 | +} |
| 7 | + |
| 8 | +pre { |
| 9 | + width: 100%; |
| 10 | + overflow: auto; |
| 11 | +} |
| 12 | + |
| 13 | +a, a:visited { |
| 14 | + color: #F8F8F2; |
| 15 | +} |
| 16 | + |
| 17 | +/* |
| 18 | + * HTML Renderers - General |
| 19 | + */ |
| 20 | + |
| 21 | +.Differences { |
| 22 | + width: 100%; |
| 23 | + border-collapse: collapse; |
| 24 | + border-spacing: 0; |
| 25 | + empty-cells: show; |
| 26 | +} |
| 27 | + |
| 28 | +.Differences thead th { |
| 29 | + text-align: left; |
| 30 | + border-bottom: 1px solid #000000; |
| 31 | + background: #AAAAAA; |
| 32 | + color: #000000; |
| 33 | + padding: 4px; |
| 34 | +} |
| 35 | + |
| 36 | +.Differences tbody th { |
| 37 | + text-align: right; |
| 38 | + background: #AAAAAA; |
| 39 | + color: #272822; |
| 40 | + width: 4em; |
| 41 | + padding: 1px 2px; |
| 42 | + border-right: 1px solid #000000; |
| 43 | + vertical-align: top; |
| 44 | + font-size: 13px; |
| 45 | +} |
| 46 | + |
| 47 | +.Differences td { |
| 48 | + padding: 1px 2px; |
| 49 | + font-family: Consolas, monospace; |
| 50 | + font-size: 13px; |
| 51 | +} |
| 52 | + |
| 53 | +.Differences .Skipped { |
| 54 | + background: #F7F7F7; |
| 55 | +} |
| 56 | + |
| 57 | +/* |
| 58 | + * HTML Side by Side Diff |
| 59 | + */ |
| 60 | +.DifferencesSideBySide .ChangeInsert td.Left { |
| 61 | + background: green; |
| 62 | +} |
| 63 | + |
| 64 | +.DifferencesSideBySide .ChangeInsert td.Right { |
| 65 | + background: green; |
| 66 | +} |
| 67 | + |
| 68 | +.DifferencesSideBySide .ChangeDelete td.Left { |
| 69 | + background: #FF8888; |
| 70 | + color: #272822; |
| 71 | +} |
| 72 | + |
| 73 | +.DifferencesSideBySide .ChangeDelete td.Right { |
| 74 | + background: #FFAAAA; |
| 75 | + color: #272822; |
| 76 | +} |
| 77 | + |
| 78 | +.DifferencesSideBySide .ChangeReplace .Left { |
| 79 | + background: #FFEE99; |
| 80 | + color: #272822; |
| 81 | +} |
| 82 | + |
| 83 | +.DifferencesSideBySide .ChangeReplace .Right { |
| 84 | + background: #FFDD88; |
| 85 | + color: #272822; |
| 86 | +} |
| 87 | + |
| 88 | +.Differences ins, |
| 89 | +.Differences del { |
| 90 | + text-decoration: none; |
| 91 | +} |
| 92 | + |
| 93 | +.DifferencesSideBySide .ChangeReplace ins, |
| 94 | +.DifferencesSideBySide .ChangeReplace del { |
| 95 | + background: #EEBB00; |
| 96 | +} |
| 97 | + |
| 98 | +/* |
| 99 | + * HTML Inline Diff |
| 100 | + */ |
| 101 | + |
| 102 | +.DifferencesInline .ChangeReplace { |
| 103 | + color: #272822; |
| 104 | +} |
| 105 | + |
| 106 | +.DifferencesInline .ChangeReplace .Left, |
| 107 | +.DifferencesInline .ChangeDelete .Left { |
| 108 | + background: #FFDDDD; |
| 109 | + color: #272822; |
| 110 | +} |
| 111 | + |
| 112 | +.DifferencesInline .ChangeReplace .Right, |
| 113 | +.DifferencesInline .ChangeInsert .Right { |
| 114 | + background: #DDFFDD; |
| 115 | +} |
| 116 | + |
| 117 | +.DifferencesInline .ChangeReplace ins { |
| 118 | + background: green; |
| 119 | +} |
| 120 | + |
| 121 | +.DifferencesInline .ChangeReplace del { |
| 122 | + background: #EE9999; |
| 123 | + color: #272822; |
| 124 | +} |
| 125 | + |
| 126 | +/* |
| 127 | + * HTML Unified Diff |
| 128 | + */ |
| 129 | + |
| 130 | +/* Line removed in new */ |
| 131 | +.DifferencesUnified .ChangeDelete .Left::before { |
| 132 | + content: "- \00a0"; |
| 133 | +} |
| 134 | + |
| 135 | +.DifferencesUnified .ChangeDelete .Left { |
| 136 | + background: #EE9999; |
| 137 | + color: #272822; |
| 138 | +} |
| 139 | + |
| 140 | +/* Line modified in old and new */ |
| 141 | +.DifferencesUnified .ChangeReplace { |
| 142 | + background: #FFEE99; |
| 143 | + color: #272822; |
| 144 | + display: table; |
| 145 | +} |
| 146 | + |
| 147 | +/* Line in old replaced by line in new */ |
| 148 | +.DifferencesUnified .ChangeReplace .Left:first-child:before { |
| 149 | + content: "\250C \00a0"; |
| 150 | +} |
| 151 | + |
| 152 | +.DifferencesUnified .ChangeReplace .Left:before { |
| 153 | + content: "\251C \00a0"; |
| 154 | +} |
| 155 | + |
| 156 | +.DifferencesUnified .ChangeReplace .Left { |
| 157 | + background: #FFEE99; |
| 158 | +} |
| 159 | + |
| 160 | +/* Line in new replaced line in old */ |
| 161 | +.DifferencesUnified .ChangeReplace .Right:last-of-type:before { |
| 162 | + content: "\2514 \00a0"; |
| 163 | +} |
| 164 | + |
| 165 | +.DifferencesUnified .ChangeReplace .Right:before { |
| 166 | + content: "\251C \00a0"; |
| 167 | +} |
| 168 | + |
| 169 | +.DifferencesUnified .ChangeReplace .Right { |
| 170 | + background: #FFEE99; |
| 171 | +} |
| 172 | + |
| 173 | +/* Line inserted in new */ |
| 174 | +.DifferencesUnified .ChangeInsert .Right:before { |
| 175 | + content: "+ \00A0"; |
| 176 | +} |
| 177 | + |
| 178 | +/* Character inserted in line of new */ |
| 179 | +.DifferencesUnified .ChangeReplace ins { |
| 180 | + background: #99EE99; |
| 181 | +} |
| 182 | + |
| 183 | +/* Character removed from line in old */ |
| 184 | +.DifferencesUnified .ChangeReplace del { |
| 185 | + background: #EE9999; |
| 186 | +} |
0 commit comments