Index: trunk/extensions/LiquidThreads/lqt.css |
— | — | @@ -395,27 +395,27 @@ |
396 | 396 | border-color: #aaa; |
397 | 397 | }*/ |
398 | 398 | |
399 | | -.lqt_post .lqt_footer:hover a, .lqt_nonindent_message:hover a, .lqt_threadlevel_commands:hover a { |
| 399 | +.lqt_post .lqt_footer .lqt_footer_commands:hover a, .lqt_nonindent_message:hover a, .lqt_threadlevel_commands:hover a { |
400 | 400 | color: #002bb8; |
401 | 401 | text-decoration: none; |
402 | 402 | } |
403 | | -.lqt_post .lqt_footer:hover a:visited, .lqt_nonindent_message:hover a:visited, .lqt_threadlevel_commands:hover a:visited { |
| 403 | +.lqt_post .lqt_footer .lqt_footer_commands:hover a:visited, .lqt_nonindent_message:hover a:visited, .lqt_threadlevel_commands:hover a:visited { |
404 | 404 | color: #5a3696; |
405 | 405 | text-decoration: none; |
406 | 406 | } |
407 | | -.lqt_post .lqt_footer:hover a:active, .lqt_nonindent_message:hover a:active, .lqt_threadlevel_commands:hover a:active { |
| 407 | +.lqt_post .lqt_footer .lqt_footer_commands:hover a:active, .lqt_nonindent_message:hover a:active, .lqt_threadlevel_commands:hover a:active { |
408 | 408 | color: #faa700; |
409 | 409 | text-decoration: none; |
410 | 410 | } |
411 | | -.lqt_post .lqt_footer:hover a.stub, .lqt_nonindent_message:hover a.stub, .lqt_threadlevel_commands:hover a.stub { |
| 411 | +.lqt_post .lqt_footer .lqt_footer_commands:hover a.stub, .lqt_nonindent_message:hover a.stub, .lqt_threadlevel_commands:hover a.stub { |
412 | 412 | color: #772233; |
413 | 413 | text-decoration: none; |
414 | 414 | } |
415 | | -.lqt_post .lqt_footer:hover a.new, #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 { |
| 415 | +.lqt_post .lqt_footer .lqt_footer_commands:hover a.new, #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 { |
416 | 416 | color: #ba0000; |
417 | 417 | text-decoration: none; |
418 | 418 | } |
419 | | -.lqt_post .lqt_footer:hover a.new:visited, #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 { |
| 419 | +.lqt_post .lqt_footer .lqt_footer_commands:hover a.new:visited, #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 { |
420 | 420 | color: #a55858; |
421 | 421 | text-decoration: none; |
422 | 422 | } |
— | — | @@ -438,6 +438,13 @@ |
439 | 439 | .lqt_post_color_5 a { color: #0098cd !important; } |
440 | 440 | .lqt_post_color_6 a { color: #00cd98 !important; } |
441 | 441 | |
| 442 | +.lqt_footer_sig:hover .lqt_post_color_1 a { color: #cd9800 !important; } |
| 443 | +.lqt_footer_sig:hover .lqt_post_color_2 a { color: #cd0098 !important; } |
| 444 | +.lqt_footer_sig:hover .lqt_post_color_3 a { color: #98cd00 !important; } |
| 445 | +.lqt_footer_sig:hover .lqt_post_color_4 a { color: #9800cd !important; } |
| 446 | +.lqt_footer_sig:hover .lqt_post_color_5 a { color: #0098cd !important; } |
| 447 | +.lqt_footer_sig:hover .lqt_post_color_6 a { color: #00cd98 !important; } |
| 448 | +.lqt_footer_sig:hover a { text-decoration: none; } |
442 | 449 | |
443 | 450 | li#ca-nstab-thread { |
444 | 451 | /* from #ca-talk */ |
Index: trunk/extensions/LiquidThreads/LqtBaseView.php |
— | — | @@ -704,6 +704,14 @@ |
705 | 705 | } |
706 | 706 | } |
707 | 707 | |
| 708 | + function colorTest() { |
| 709 | + $this->output->addHTML( '<div class="lqt_footer"><li class="lqt_footer_sig">' ); |
| 710 | + for( $i = 1; $i <= self::number_of_user_colors; $i++ ) { |
| 711 | + $this->output->addHTML("<span class=\"lqt_post_color_{$i}\"><a href=\"foo\">DavidMcCabe</a></span>"); |
| 712 | + } |
| 713 | + $this->output->addHTML('</li></div>'); |
| 714 | + } |
| 715 | + |
708 | 716 | function showThreadFooter( $thread ) { |
709 | 717 | global $wgLang; // TODO global. |
710 | 718 | |
— | — | @@ -717,6 +725,7 @@ |
718 | 726 | |
719 | 727 | $this->output->addHTML(<<<HTML |
720 | 728 | <ul class="lqt_footer"> |
| 729 | +<span class="lqt_footer_sig"> |
721 | 730 | <li class="lqt_author_sig lqt_post_color_{$color_number}">$sig</li> |
722 | 731 | HTML |
723 | 732 | ); |
— | — | @@ -729,9 +738,11 @@ |
730 | 739 | $this->output->addHTML("<li class=\"lqt_edited_notice lqt_post_color_{$editedness_color_number}\">".'<a href="'.$editedness_url.'">'.wfMsg('lqt_edited_notice').'</a>'.'</li>'); |
731 | 740 | } |
732 | 741 | |
733 | | - $this->output->addHTML("<li>$timestamp</li>"); |
| 742 | + $this->output->addHTML("</span><li>$timestamp</li>"); |
734 | 743 | |
735 | | - $this->output->addHTML($this->listItemsForCommands($this->threadFooterCommands($thread))); |
| 744 | + $this->output->addHTML('<span class="lqt_footer_commands">' . |
| 745 | + $this->listItemsForCommands($this->threadFooterCommands($thread)) . |
| 746 | + '</span>'); |
736 | 747 | |
737 | 748 | $this->output->addHTML('</ul>'); |
738 | 749 | } |
— | — | @@ -833,7 +844,7 @@ |
834 | 845 | |
835 | 846 | function showThread( $thread ) { |
836 | 847 | global $wgLang; # TODO global. |
837 | | - |
| 848 | + |
838 | 849 | if( $this->lastUnindentedSuperthread ) { |
839 | 850 | $tmp = $this->lastUnindentedSuperthread; |
840 | 851 | $msg = wfMsg('lqt_in_response_to', |