From eda3c36b1c38ec19515f0a6da2ae6413334edc0d Mon Sep 17 00:00:00 2001 From: PayBas Date: Mon, 2 Jun 2014 19:23:56 +0200 Subject: [PATCH] [ticket/12648] Improve UCP/MCP/Posting tabs PHPBB3-12648 --- phpBB/styles/prosilver/template/forum_fn.js | 4 +- .../styles/prosilver/template/mcp_header.html | 2 +- .../styles/prosilver/template/mcp_topic.html | 12 +- .../prosilver/template/posting_editor.html | 8 +- .../styles/prosilver/template/ucp_header.html | 2 +- phpBB/styles/prosilver/theme/colours.css | 47 +++--- phpBB/styles/prosilver/theme/cp.css | 147 ++++++------------ 7 files changed, 82 insertions(+), 140 deletions(-) diff --git a/phpBB/styles/prosilver/template/forum_fn.js b/phpBB/styles/prosilver/template/forum_fn.js index 7e4875d7bc..ea2b815e77 100644 --- a/phpBB/styles/prosilver/template/forum_fn.js +++ b/phpBB/styles/prosilver/template/forum_fn.js @@ -805,7 +805,7 @@ function parse_document(container) ul = $this.children(), tabs = ul.children().not('[data-skip-responsive]'), links = tabs.children('a'), - item = ul.append('').find('li.responsive-tab'), + item = ul.append('').find('li.responsive-tab'), menu = item.find('.dropdown-contents'), maxHeight = 0, lastWidth = false, @@ -847,7 +847,7 @@ function parse_document(container) for (i = total - 1; i >= 0; i --) { tab = availableTabs.eq(i); - menu.prepend(tab.clone(true)); + menu.prepend(tab.clone(true).removeClass('tab')); tab.hide(); if ($this.height() <= maxHeight) { menu.find('a').click(function() { check(true); }); diff --git a/phpBB/styles/prosilver/template/mcp_header.html b/phpBB/styles/prosilver/template/mcp_header.html index bdfa254741..df03de725a 100644 --- a/phpBB/styles/prosilver/template/mcp_header.html +++ b/phpBB/styles/prosilver/template/mcp_header.html @@ -11,7 +11,7 @@
diff --git a/phpBB/styles/prosilver/template/mcp_topic.html b/phpBB/styles/prosilver/template/mcp_topic.html index a83b42dba0..cf93c90b06 100644 --- a/phpBB/styles/prosilver/template/mcp_topic.html +++ b/phpBB/styles/prosilver/template/mcp_topic.html @@ -13,14 +13,14 @@
diff --git a/phpBB/styles/prosilver/template/posting_editor.html b/phpBB/styles/prosilver/template/posting_editor.html index 081c267a94..5d533c6bb1 100644 --- a/phpBB/styles/prosilver/template/posting_editor.html +++ b/phpBB/styles/prosilver/template/posting_editor.html @@ -101,13 +101,11 @@