Index: trunk/extensions/ArticleFeedbackv5/modules/jquery.articleFeedbackv5/jquery.articleFeedbackv5.special.css |
— | — | @@ -523,9 +523,18 @@ |
524 | 524 | text-decoration: none; |
525 | 525 | } |
526 | 526 | #articlefeedbackv5-activity-log { |
527 | | - width: 300px; |
| 527 | + width: 350px; |
528 | 528 | height: 360px; |
529 | 529 | } |
| 530 | +.articleFeedbackv5-activity-feedback { |
| 531 | + padding: 10px 10px; |
| 532 | + height: 29px; |
| 533 | +} |
| 534 | +.articleFeedbackv5-activity-feedback-permalink { |
| 535 | + position: absolute; |
| 536 | + top: 62px; |
| 537 | + right: 22px; |
| 538 | +} |
530 | 539 | .articleFeedbackv5-activity-pane { |
531 | 540 | height: 70px; |
532 | 541 | } |
— | — | @@ -549,3 +558,13 @@ |
550 | 559 | color: red; |
551 | 560 | padding: 0 5px; |
552 | 561 | } |
| 562 | +.articleFeedbackv5-post-screen { |
| 563 | + z-index: 99; |
| 564 | + margin: 0 -10px 0 0; |
| 565 | + position: absolute; |
| 566 | + top: 0; |
| 567 | + left: 0; |
| 568 | + width: 100%; |
| 569 | + height: 100%; |
| 570 | + background-color: #dae2eb; |
| 571 | +} |
Index: trunk/extensions/ArticleFeedbackv5/modules/jquery.articleFeedbackv5/jquery.articleFeedbackv5.special.js |
— | — | @@ -457,7 +457,6 @@ |
458 | 458 | |
459 | 459 | // }}} |
460 | 460 | // {{{ markHidden |
461 | | - |
462 | 461 | /** |
463 | 462 | * Utility method: Marks a feedback row hidden |
464 | 463 | * |
— | — | @@ -472,11 +471,10 @@ |
473 | 472 | $( '<span class="articleFeedbackv5-feedback-hidden-marker"></span>' ) |
474 | 473 | .text( mw.msg( 'articlefeedbackv5-hidden' ) ) |
475 | 474 | .insertBefore( $row.find( '.articleFeedbackv5-comment-wrap h3' ) ); |
| 475 | + $.articleFeedbackv5special.maskPost( $row ); |
476 | 476 | }; |
477 | | - |
478 | 477 | // }}} |
479 | 478 | // {{{ unmarkHidden |
480 | | - |
481 | 479 | /** |
482 | 480 | * Utility method: Unmarks as hidden a feedback row |
483 | 481 | * |
— | — | @@ -487,10 +485,19 @@ |
488 | 486 | .data( 'hidden', false ); |
489 | 487 | $row.find( '.articleFeedbackv5-feedback-hidden-marker' ).remove(); |
490 | 488 | }; |
491 | | - |
492 | 489 | // }}} |
| 490 | + // {{{ maskPost |
| 491 | + $.articleFeedbackv5special.maskPost = function( $row ) { |
| 492 | + var $screen = $( '<div></div>' ) |
| 493 | + .addClass( 'articleFeedbackv5-post-screen' ) |
| 494 | + .height( $row.innerHeight() ) |
| 495 | + .click( function( e ) { |
| 496 | + $( e.target ).remove(); |
| 497 | + }); |
| 498 | + $row.prepend( $screen ); |
| 499 | + } |
| 500 | + // }}} |
493 | 501 | // {{{ markDeleted |
494 | | - |
495 | 502 | /** |
496 | 503 | * Utility method: Marks a feedback row deleted |
497 | 504 | * |
— | — | @@ -505,6 +512,7 @@ |
506 | 513 | var $marker = $( '<span class="articleFeedbackv5-feedback-deleted-marker"></span>' ) |
507 | 514 | .text( mw.msg( 'articlefeedbackv5-deleted' ) ) |
508 | 515 | .insertBefore( $row.find( '.articleFeedbackv5-comment-wrap h3' ) ); |
| 516 | + $.articleFeedbackv5special.maskPost( $row ); |
509 | 517 | }; |
510 | 518 | |
511 | 519 | // }}} |
— | — | @@ -1021,7 +1029,7 @@ |
1022 | 1030 | }, |
1023 | 1031 | |
1024 | 1032 | // Cancel oversight request action |
1025 | | - 'unrequestOversight': { |
| 1033 | + 'unrequestoversight': { |
1026 | 1034 | 'hasTipsy': true, |
1027 | 1035 | 'tipsyHtml': undefined, |
1028 | 1036 | 'click': $.articleFeedbackv5special.toggleTipsy, |