r55006 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r55005‎ | r55006 | r55007 >
Date:11:10, 14 August 2009
Author:werdna
Status:deferred
Tags:
Comment:
Remove a whole bunch of old useless cruft from the CSS file
Modified paths:
  • /trunk/extensions/LiquidThreads/lqt.css (modified) (history)

Diff [purge]

Index: trunk/extensions/LiquidThreads/lqt.css
@@ -23,14 +23,6 @@
2424 padding-bottom: 0.75em;
2525 }
2626
27 -.lqt_newer_older {
28 - margin-right: 1em;
29 -}
30 -.lqt_newer_older_disabled {
31 - margin-right: 1em;
32 - color: #999;
33 -}
34 -
3527 .lqt_start_discussion {
3628 display: table; /* Became necessary in Safari recently; don't know why it wasn't before. */
3729 vertical-align: middle;
@@ -43,6 +35,7 @@
4436 float: right;
4537 font-weight: bold;
4638 }
 39+
4740 .lqt_header_content {
4841 border-bottom: 2px solid #ddd;
4942 border-right: 2px solid #ddd;
@@ -54,6 +47,7 @@
5548 float: left;
5649 width: 100%;
5750 }
 51+
5852 .lqt_header_commands {
5953 float: right;
6054 clear: both;
@@ -62,6 +56,7 @@
6357 margin-top: 0.5em;
6458 font-size: 90%;
6559 }
 60+
6661 .lqt_header_commands li {
6762 display: inline;
6863 padding-right: 0.6em;
@@ -73,22 +68,10 @@
7469 margin-bottom: 0.5em;
7570 }
7671
77 -.lqt_summary_notice {
78 - display: table; /* Occupy only the width of the text, */
79 - width: auto; /* not the entire available width. */
80 - font-size: smaller;
81 - border: 1px solid #c0c090;
82 - background: #eeeeee;
83 - margin: 1em 0;
84 - padding: 0.5em 1em;
85 -}
86 -.lqt_summary_notice a {
87 - font-weight: bold;
88 -}
89 -
9072 .lqt_thread_permalink_summary {
9173 margin-right: 5em;
9274 }
 75+
9376 .lqt_thread_permalink_summary_body {
9477 background-color: #eee;
9578 border: 1px solid #ddd;
@@ -97,11 +80,13 @@
9881 padding-right: 1em;
9982 margin: 2em 1em 1em 1em;
10083 }
 84+
10185 .lqt_thread_permalink_summary_title {
10286 float: left;
10387 margin-left: 1em;
10488 font-weight: bold;
10589 }
 90+
10691 .lqt_thread_permalink_summary_edit {
10792 float: right;
10893 margin-right: 1em;
@@ -109,120 +94,21 @@
11095 font-size: smaller;
11196 }
11297
113 -.lqt_subject_increment {
114 - color: #999;
115 -}
116 -
117 -
118 -/*********************************
119 -The archive and TOC on talkpages.
120 -**********************************/
121 -
122 -.lqt_archive_teaser_empty {
123 - clear: both;
124 - font-weight: bold;
125 -}
126 -.lqt_archive_teaser {
127 - float: left;
128 - display: table;
129 - width: auto;
130 -}
131 -.lqt_toc_wrapper {
132 - float: left;
133 - margin-right: 3.5em; /* Space before archive */
134 -}
135 -.lqt_toc_archive_wrapper {
136 - margin-top: 0.5em;
137 - margin-bottom: 1.5em;
138 -}
139 -.lqt_archive_teaser ul,
140 -.lqt_toc_wrapper ul {
141 - list-style-type: none;
142 - list-style-image: none;
143 - text-align: left;
144 - padding-left: 0;
145 - margin-top: 0;
146 - margin-left: 0;
147 - margin-bottom: 0.6em;
148 -}
149 -.lqt_archive_teaser ul li,
150 -.lqt_toc_wrapper ul li {
151 - padding-left: 1em;
152 - border-left: solid 1px #ddd;
153 -}
154 -h2.lqt_recently_archived,
155 -h2.lqt_toc_title {
156 - border: none;
157 - font-size: 100%;
158 - font-weight: bold;
159 - margin-bottom: 0 !important;
160 -}
161 -.lqt_archive_teaser .lqt_browse_archive {
162 - float: right;
163 - font-weight: bold;
164 - margin-top: 0;
165 -}
166 -
167 -
168 -/*********************************
169 -The archive page.
170 -**********************************/
171 -
172 -.lqt_search_annotations {
173 - float: left;
174 - text-align: right;
175 - font-style: italic;
176 -}
177 -
178 -#lqt_archive_search_form {
179 - clear: left;
180 - border: 1px solid #ddd;
181 - margin: 0.5em 0;
182 - background-color: #eee;
183 - padding: 0.4em;
184 - display: table;
185 - width: auto;
186 -}
187 -#lqt_archive_search_form table {
188 - background-color: transparent;
189 -}
190 -.lqt_archive_listing {
191 - clear: left;
192 -}
193 -.lqt_archive_listing td {
194 - padding-right: 2em;
195 - padding-bottom: 1em;
196 - vertical-align: top;
197 -}
198 -.lqt_archive_listing td p:first-child {
199 - /* The summary is wrapped in <p> tags by the wikitext parser,
200 - * which messes up the vertical alignment. */
201 - margin: 0;
202 - padding: 0;
203 -}
204 -.lqt_archive_listing th {
205 - text-align: left;
206 - vertical-align: baseline;
207 - font-weight: bold;
208 - border-bottom: 1px solid #ddd;
209 -}
210 -
21198 .lqt_hidden {
21299 display: none;
213100 }
214101
215102 .lqt_post_changed_by_history {
216 - padding: 0.5em 1em;
 103+ padding: 0.5em !important;
217104 background-color: #eeeeee;
218 - border: solid 1pt #ffaa66;
 105+ border: solid 1pt #66aaff;
219106 display: table;
220 - width: auto;
221107 }
222108
223109 .lqt_post_new_message {
224 - padding: 0.5em 1em;
 110+ padding: 0.5em !important;
225111 background-color: #eeeeee !important;
226 - border: solid 1pt #ffaa66;
 112+ border: solid 1pt #66aaff;
227113 display: table;
228114 width: auto;
229115 }
@@ -231,63 +117,17 @@
232118 padding: 0.75em 1.5em;
233119 margin-bottom: 1em;
234120 background-color: #eeeeee;
235 - border: solid 1pt #ffaa66;
236 - display: table;
237 - width: auto;
 121+ border: solid 1pt #66aaff;
 122+ text-align: center;
 123+ margin-left: 20%;
 124+ margin-right: 20%;
238125 }
239126
240 -.lqt_thread_disclosure_triangle {
241 - margin-right: 4pt;
242 -}
243 -
244 -.lqt_deleted_notice {
245 - color: #999;
246 - font-style: italic;
247 -}
248 -
249 -.lqt_deleted_notice a {
250 - color: #5874d1;
251 -}
252 -.lqt_deleted_notice a:visited {
253 - color: #937cba;
254 -}
255 -.lqt_deleted_notice a:active {
256 - color: #faa700;
257 -}
258 -
259 -.lqt_channel_body {
260 - background-color: white;
261 -}
262 -
263 -.ns-98 #content {
264 - background-color: white;
265 -}
266 -
267127 .lqt_post {
268128 padding: 0;
269129 clear: both;
270130 }
271131
272 -.lqt_post_highlight {
273 - border: solid 1px #fabd23;
274 - margin-top: 0.1in;
275 - padding: 0.2em;
276 -}
277 -
278 -.lqt_replies {
279 - margin-left: 0.25in;
280 -}
281 -
282 -.lqt_nonindent_message {
283 - color: #777;
284 - font-size: smaller;
285 -}
286 -
287 -.lqt_header {
288 - clear: both;
289 - padding-right: 7em; /* so as not to bump into threadlevel_commands. */
290 -}
291 -
292132 .lqt_threadlevel_commands {
293133 /* shift up to be in line with the h2. */
294134 position: relative;
@@ -305,105 +145,12 @@
306146 padding-right: 0.6em;
307147 }
308148
309 -.lqt_footer {
310 - margin: 0;
311 - color: #777;
312 - padding-top: 0;
313 - padding-bottom: 0;
314 - display: table;
315 - width: auto;
316 - margin-left: -0.6em;
317 - float: right;
318 -}
319 -
320 -.lqt_footer li {
321 - display: inline;
322 - list-style-type: none;
323 -}
324 -
325 -/* This doesn't work in IE, so we need to replace it. What we want is
326 - * padding-left on the surrounding ul, but then we would need to place
327 - * the background color on the ul, and there is a *gap*. */
328 -.lqt_footer li:first-child {
329 - padding-left: 0.6em;
330 -}
331 -
332149 #lqt_subject_field {
333150 margin-top: 0.7em;
334151 margin-bottom: 0.5em;
335152 width: 80%;
336153 }
337154
338 -.lqt_post .lqt_footer a,
339 -.lqt_nonindent_message a,
340 -.lqt_threadlevel_commands a {
341 - color: #5874d1;
342 -}
343 -.lqt_post .lqt_footer a:visited,
344 -.lqt_nonindent_message a:visited,
345 -.lqt_threadlevel_commands a:visited {
346 - color: #937cba;
347 -}
348 -.lqt_post .lqt_footer a:active,
349 -.lqt_nonindent_message a:active,
350 -.lqt_threadlevel_commands a:active {
351 - color: #faa700;
352 -}
353 -.lqt_post .lqt_footer a.stub,
354 -.lqt_nonindent_message a.stub,
355 -.lqt_threadlevel_commands a.stub {
356 - color: #a66e7a;
357 -}
358 -.lqt_post .lqt_footer a.new,
359 -#p-personal a.new, .lqt_threadlevel_commands a.new,
360 -.lqt_nonindent_message a.new, #p-personal a.new,
361 -.lqt_threadlevel_commands a.new,
362 -#p-personal a.new {
363 - color: #d25858;
364 -}
365 -.lqt_post .lqt_footer a.new:visited,
366 -#p-personal a.new:visited,
367 -.lqt_threadlevel_commands a.new:visited,
368 -.lqt_nonindent_message a.new:visited,
369 -#p-personal a.new:visited,
370 -.lqt_threadlevel_commands a.new:visited,
371 -#p-personal a.new:visited {
372 - color: #c49292;
373 -}
374 -
375 -.lqt_post .lqt_footer .lqt_footer_commands:hover a,
376 -.lqt_nonindent_message:hover a, .lqt_threadlevel_commands:hover a {
377 - color: #002bb8;
378 - text-decoration: none;
379 -}
380 -.lqt_post .lqt_footer .lqt_footer_commands:hover a:visited,
381 -.lqt_nonindent_message:hover a:visited, .lqt_threadlevel_commands:hover a:visited {
382 - color: #5a3696;
383 - text-decoration: none;
384 -}
385 -.lqt_post .lqt_footer .lqt_footer_commands:hover a:active,
386 -.lqt_nonindent_message:hover a:active, .lqt_threadlevel_commands:hover a:active {
387 - color: #faa700;
388 - text-decoration: none;
389 -}
390 -.lqt_post .lqt_footer .lqt_footer_commands:hover a.stub,
391 -.lqt_nonindent_message:hover a.stub, .lqt_threadlevel_commands:hover a.stub {
392 - color: #772233;
393 - text-decoration: none;
394 -}
395 -.lqt_post .lqt_footer .lqt_footer_commands:hover a.new,
396 -#p-personal a.new, .lqt_threadlevel_commands:hover a.new, .lqt_nonindent_message:hover a.new, #p-personal a.new, .lqt_threadlevel_commands:hover a.new, #p-personal a.new {
397 - color: #ba0000;
398 - text-decoration: none;
399 -}
400 -.lqt_post .lqt_footer .lqt_footer_commands:hover a.new:visited,
401 -#p-personal a.new:visited, .lqt_threadlevel_commands:hover a.new:visited, .lqt_nonindent_message:hover a.new:visited, #p-personal a.new:visited, .lqt_threadlevel_commands:hover a.new:visited, #p-personal a.new:visited {
402 - color: #a55858;
403 - text-decoration: none;
404 -}
405 -
406 -.lqt_footer_sig:hover a { text-decoration: none; }
407 -
408155 li#ca-nstab-thread {
409156 /* from #ca-talk */
410157 margin-right: 1.6em;
@@ -413,10 +160,12 @@
414161 font-size:85%;
415162 float:right;
416163 }
 164+
417165 .lqt_view_options input {
418166 /* This doesn't cascade for some reason. */
419167 font-size:85%;
420168 }
 169+
421170 .lqt_go_sort {
422171 font-weight:bold;
423172 }
@@ -425,10 +174,12 @@
426175 font-style: italic;
427176 margin: 0.5em 1em;
428177 }
 178+
429179 .lqt_rc_ellipsis {
430180 font-style: normal;
431181 font-weight: bold;
432182 }
 183+
433184 .lqt_rc_author_notice_others {
434185 color: #cd9800;
435186 }
@@ -459,7 +210,6 @@
460211 }
461212
462213 .lqt-thread-toolbar {
463 - /*border-bottom: 1px solid #aaaaaa;*/
464214 clear: both;
465215 line-height: 2em;
466216 margin-bottom: 1em;

Status & tagging log