From d3b9c87b420f0deeeffdb02cec6cd46f9f5a25b2 Mon Sep 17 00:00:00 2001 From: Cesar G Date: Thu, 15 May 2014 13:43:08 -0700 Subject: [ticket/12155] Use the new .button class as the basis for the post buttons. PHPBB3-12155 --- phpBB/styles/prosilver/template/forum_fn.js | 7 +++- phpBB/styles/prosilver/template/mcp_post.html | 15 +++++---- phpBB/styles/prosilver/template/mcp_topic.html | 13 +++++++- .../prosilver/template/posting_topic_review.html | 19 ++++++++--- .../styles/prosilver/template/ucp_pm_history.html | 8 +++-- .../prosilver/template/ucp_pm_viewmessage.html | 18 +++++++--- .../styles/prosilver/template/viewtopic_body.html | 38 ++++++++++++++++++---- 7 files changed, 92 insertions(+), 26 deletions(-) (limited to 'phpBB/styles/prosilver/template') diff --git a/phpBB/styles/prosilver/template/forum_fn.js b/phpBB/styles/prosilver/template/forum_fn.js index 1594d73517..87754269cd 100644 --- a/phpBB/styles/prosilver/template/forum_fn.js +++ b/phpBB/styles/prosilver/template/forum_fn.js @@ -681,7 +681,7 @@ function parse_document(container) /** * Responsive link lists */ - container.find('.linklist:not(.navlinks, [data-skip-responsive]), .postbody ul.profile-icons:not([data-skip-responsive])').each(function() { + container.find('.linklist:not(.navlinks, [data-skip-responsive]), .postbody .post-buttons:not([data-skip-responsive])').each(function() { var $this = $(this), $body = $('body'), filterSkip = '.breadcrumbs, [data-skip-responsive]', @@ -769,6 +769,11 @@ function parse_document(container) menu.prepend(clone.not('.rightside')); menu.find('li.leftside, li.rightside').removeClass('leftside rightside'); menu.find('.inputbox').parents('li:first').css('white-space', 'normal'); + + if ($this.hasClass('post-buttons')) { + menu.find('.button').removeClass('button icon-button'); + $('.responsive-menu-link', item).addClass('button icon-button').prepend(''); + } copied = true; } else { diff --git a/phpBB/styles/prosilver/template/mcp_post.html b/phpBB/styles/prosilver/template/mcp_post.html index 2b4ebec5c8..49aa00de1c 100644 --- a/phpBB/styles/prosilver/template/mcp_post.html +++ b/phpBB/styles/prosilver/template/mcp_post.html @@ -50,13 +50,16 @@

{POST_SUBJECT}

- -