diff --git a/phpBB/styles/prosilver/template/forum_fn.js b/phpBB/styles/prosilver/template/forum_fn.js
index dfcfa09d76..3a871b6461 100644
--- a/phpBB/styles/prosilver/template/forum_fn.js
+++ b/phpBB/styles/prosilver/template/forum_fn.js
@@ -684,5 +684,14 @@ function insert_single_user(formId, user)
$('.responsive-tabs').hide();
}
});
+
+ // Hide *CP navigation if there is only 1 item
+ $('#navigation').each(function() {
+ var items = $(this).children('ol, ul').children('li');
+ if (items.length == 1)
+ {
+ $(this).addClass('responsive-hide');
+ }
+ });
});
})(jQuery);
diff --git a/phpBB/styles/prosilver/template/mcp_front.html b/phpBB/styles/prosilver/template/mcp_front.html
index 402cfe029a..fd224f80bc 100644
--- a/phpBB/styles/prosilver/template/mcp_front.html
+++ b/phpBB/styles/prosilver/template/mcp_front.html
@@ -147,7 +147,7 @@
{L_LATEST_LOGS}
-
+
{L_ACTION} |
diff --git a/phpBB/styles/prosilver/template/mcp_logs.html b/phpBB/styles/prosilver/template/mcp_logs.html
index 492c8cf201..658e8cf97f 100644
--- a/phpBB/styles/prosilver/template/mcp_logs.html
+++ b/phpBB/styles/prosilver/template/mcp_logs.html
@@ -21,7 +21,7 @@
-
+
{L_USERNAME} |
diff --git a/phpBB/styles/prosilver/theme/responsive.css b/phpBB/styles/prosilver/theme/responsive.css
index c4f6394c9a..aa0da9af91 100644
--- a/phpBB/styles/prosilver/theme/responsive.css
+++ b/phpBB/styles/prosilver/theme/responsive.css
@@ -96,7 +96,7 @@ ul.topiclist li.header dd {
display: none !important;
}
-ul.topiclist dt, ul.topiclist dt .list-inner {
+ul.topiclist li.row dt, ul.topiclist li.row dt .list-inner {
margin-right: 0;
}
@@ -218,11 +218,63 @@ ul.topiclist.forums dd.topics dfn, ul.topiclist.topics dd.posts dfn {
}
#navigation li:first-child a {
- border-radius: 5px 5px 0 0;
+ border-top-left-radius: 5px;
+ border-top-right-radius: 5px;
}
#navigation li:last-child a {
- border-radius: 0 0 5px 5px;
+ border-bottom-left-radius: 5px;
+ border-bottom-right-radius: 5px;
+}
+
+/* Responsive tables
+----------------------------------------*/
+table.responsive, table.responsive thead, table.responsive tbody, table.responsive tr, table.responsive th, table.responsive td {
+ display: block;
+ width: auto;
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
+}
+
+table.responsive thead {
+ display: none;
+}
+
+table.responsive tr {
+ overflow: hidden;
+ margin: 5px 0;
+}
+
+table.mcp-logs td:nth-child(2) {
+ width: 50%;
+ float: left;
+}
+
+table.mcp-logs td:nth-child(3) {
+ margin-left: 50%;
+ text-align: right;
+}
+
+table.mcp-logs td:nth-child(4), table.mcp-logs td:nth-child(5),
+table.mcp-logs-full td:nth-child(1), table.mcp-logs-full td:nth-child(2) {
+ width: 33%;
+ float: left;
+}
+
+table.mcp-logs td:nth-child(4),
+table.mcp-logs-full td:nth-child(4) {
+ clear: left;
+}
+
+table.mcp-logs td:nth-child(5),
+table.mcp-logs-full td:nth-child(2) {
+ text-align: center;
+}
+
+table.mcp-logs td:nth-child(6),
+table.mcp-logs-full td:nth-child(3) {
+ margin-left: 66%;
+ text-align: right;
}
/* Misc stuff