Index: trunk/phase3/skins/common/diff.css |
— | — | @@ -74,67 +74,3 @@ |
75 | 75 | table: */ |
76 | 76 | /* overflow: visible; */ |
77 | 77 | } |
78 | | - |
79 | | -/* |
80 | | - * Styles for the HTML Diff |
81 | | - */ |
82 | | -div.diff-switchtype { |
83 | | - text-align: center; |
84 | | - font-weight: bold; |
85 | | - font-size: smaller; |
86 | | -} |
87 | | - |
88 | | -span.diff-html-added { |
89 | | - font-size: 100%; |
90 | | - background-color: #20ff20 |
91 | | -} |
92 | | - |
93 | | -span.diff-html-removed { |
94 | | - font-size: 100%; |
95 | | - text-decoration: line-through; |
96 | | - background-color: #ff2020 |
97 | | -} |
98 | | - |
99 | | -span.diff-html-changed { |
100 | | - background: url(images/diffunderline.gif) bottom repeat-x; |
101 | | - /* Hack for IE5.5, see http://lists.wikimedia.org/pipermail/wikitech-l/2008-November/040273.html */ |
102 | | - *background-color: #c6c6fd; /* light blue */ |
103 | | -} |
104 | | - |
105 | | -span.diff-html-added img { |
106 | | - border: 5px solid #ccffcc; |
107 | | -} |
108 | | - |
109 | | -span.diff-html-removed img { |
110 | | - border: 5px solid #fdc6c6; |
111 | | -} |
112 | | - |
113 | | -span.diff-html-changed img { |
114 | | - border: 5px dotted #000099; |
115 | | -} |
116 | | - |
117 | | -span.diff-html-changed { |
118 | | - position: relative; /* this is key */ |
119 | | - cursor: help; |
120 | | -} |
121 | | - |
122 | | -span.diff-html-changed span.tip { |
123 | | - display: none; /* so is this */ |
124 | | -} |
125 | | - |
126 | | -/* tooltip will display on :hover event */ |
127 | | - |
128 | | -span.diff-html-changed:hover span.tip { |
129 | | - display: block; |
130 | | - z-index: 95; |
131 | | - position: absolute; |
132 | | - top: 2.5em; |
133 | | - left: 0; |
134 | | - width: auto; |
135 | | - line-height: 1.2em; |
136 | | - padding: 3px 7px 4px 6px; |
137 | | - border: 1px solid #336; |
138 | | - background-color: #f7f7ee; |
139 | | - font-size: 10px; |
140 | | - text-align: left; |
141 | | -} |