http://www.mediawiki.org/wiki/Special:Code/MediaWiki/54934
Revision: 54934 Author: werdna Date: 2009-08-13 12:48:01 +0000 (Thu, 13 Aug 2009) Log Message: ----------- Update JS/CSS for the thread toolbar being at the bottom, not the top. Updates CSS class names, and moves JS-added reply forms below, rather than above the toolbar Modified Paths: -------------- trunk/extensions/LiquidThreads/lqt.css trunk/extensions/LiquidThreads/lqt.js Modified: trunk/extensions/LiquidThreads/lqt.css =================================================================== --- trunk/extensions/LiquidThreads/lqt.css 2009-08-13 12:45:22 UTC (rev 54933) +++ trunk/extensions/LiquidThreads/lqt.css 2009-08-13 12:48:01 UTC (rev 54934) @@ -458,31 +458,31 @@ padding-top: 1em; } -.lqt-thread-header { +.lqt-thread-toolbar { /*border-bottom: 1px solid #aaaaaa;*/ clear: both; line-height: 2em; margin-bottom: 1em; } -.lqt-thread-header-info > span { +.lqt-thread-toolbar-info > span { padding-left: 1em; padding-right: 1em; } -.lqt-thread-header-signature { +.lqt-thread-toolbar-signature { padding-left: 0 !important; } -.lqt-thread-header-author { +.lqt-thread-toolbar-author { font-weight: bold; } -.lqt-thread-header-edited-author { +.lqt-thread-toolbar-edited-author { font-weight: bold; } -.lqt-thread-header-edited-others { +.lqt-thread-toolbar-edited-others { font-weight: bold; color: #aa8800; } @@ -497,7 +497,7 @@ text-align: right; } -.lqt-thread-header-commands:hover { +.lqt-thread-toolbar-commands:hover { background-color: #eeeeee; } @@ -507,12 +507,12 @@ color: #002BB8; } -.lqt-thread-header-commands:hover .lqt-thread-actions-trigger { +.lqt-thread-toolbar-commands:hover .lqt-thread-actions-trigger { border: 1px solid #aaaaaa; border-bottom: none; } -.lqt-thread-header-commands ul { +.lqt-thread-toolbar-commands ul { display: none; position: absolute; list-style-type: none !important; @@ -523,11 +523,11 @@ margin: 0 !important; } -.lqt-thread-header-commands:hover ul { +.lqt-thread-toolbar-commands:hover ul { display: block; } -.lqt-thread-header-command-list li { +.lqt-thread-toolbar-command-list li { padding-left: 0.5em; padding-right: 0.5em; margin-top: 0; @@ -572,14 +572,14 @@ margin-left: 2em; } -.lqt-thread-header-rhs { +.lqt-thread-toolbar-rhs { /*float: right;*/ /*font-size: 85%;*/ margin: 0; text-wrap: suppress; } -.lqt-thread-header-commands { +.lqt-thread-toolbar-commands { padding: 0; margin: 0; display: inline-block; Modified: trunk/extensions/LiquidThreads/lqt.js =================================================================== --- trunk/extensions/LiquidThreads/lqt.js 2009-08-13 12:45:22 UTC (rev 54933) +++ trunk/extensions/LiquidThreads/lqt.js 2009-08-13 12:48:01 UTC (rev 54934) @@ -11,7 +11,7 @@ var prefixLength = "lqt-reply-id-".length; var thread_id = link.id.substring( prefixLength ); var container = document.getElementById( 'lqt_thread_id_'+thread_id ); - var footer_cmds = getElementsByClassName( container, '*', 'lqt_post' )[0]; + var footer_cmds = getElementsByClassName( container, '*', 'lqt-thread-toolbar' )[0]; var query = '&lqt_method=reply&lqt_operand='+thread_id; liquidThreads.injectEditForm( query, container, footer_cmds.nextSibling, e.preload ); _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs